• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

locomotivemtl / charcoal-cache
96%
master: 93%

Build:
Build:
LAST BUILD BRANCH: 0.2.3
DEFAULT BRANCH: master
Repo Added 12 Apr 2018 03:36PM UTC
Files 6
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 0.2.0
branch: 0.2.0
CHANGE BRANCH
x
Reset
  • 0.2.0
  • 0.1.0
  • 0.1.1
  • 0.1.2
  • 0.1.3
  • 0.1.4
  • 0.2.1
  • 0.2.2
  • 0.2.2.1
  • 0.2.2.2
  • 0.2.2.3
  • 0.2.3
  • feature/refactor-facade
  • joel/cache-key-callback
  • master
  • mcaskill-develop

pending completion
27

push

travis-ci

mcaskill
Refactor CachePoolFacade

Added:
- Method `CachePoolFacade::has()` to check if the cache item hits
- Method `CachePoolFacade::set()` to store a literal value (renamed previous `set()` to `save()`)
- Unit tests for `CachePoolFacade`

Changed:
- Replaced cache setter/getter with `CachePoolAwareTrait`
- Replaced 60 second TTL with 1 hour (via `CacheConfig::HOUR_IN_SECONDS`)
- Renamed the option/setter/getter "ttl" to "default_ttl"
- Renamed parameter `$lambda` to `$resolve` on method `CachePoolFacade::get()`
- Renamed `CachePoolFacade::set()` method to `save()` (added new `set()`)
- Methods `save()` and `delete()` on `CachePoolFacade` to return a boolean instead of self
- Method `CachePoolFacade::delete()` to accept multiple keys
- Cleanup documentation of class, properties, methods

Removed:
- Logger from `CachePoolFacade`

Fixed:
- Various lint issues

32 of 32 new or added lines in 2 files covered. (100.0%)

332 of 345 relevant lines covered (96.23%)

16.18 hits per line

Relevant lines Covered
Build:
Build:
345 RELEVANT LINES 332 COVERED LINES
16.18 HITS PER LINE
Source Files on 0.2.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27 0.2.0 Refactor CachePoolFacade Added: - Method `CachePoolFacade::has()` to check if the cache item hits - Method `CachePoolFacade::set()` to store a literal value (renamed previous `set()` to `save()`) - Unit tests for `CachePoolFacade` Changed: - Rep... push 11 Mar 2019 03:12PM UTC mcaskill travis-ci pending completion  
See All Builds (44)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc