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

curationexperts / laevigata
94%
main: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/cipher-base-1.0.6
DEFAULT BRANCH: main
Repo Added 05 Apr 2017 12:26AM UTC
Files 142
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 fix_redis_current
branch: fix_redis_current
CHANGE BRANCH
x
Reset
  • fix_redis_current
  • cache_junit_reporter
  • dependabot/npm_and_yarn/axios-0.30.0
  • dependabot/npm_and_yarn/babel/helpers-7.27.0
  • dependabot/npm_and_yarn/babel/runtime-7.27.0
  • dependabot/npm_and_yarn/brace-expansion-1.1.12
  • dependabot/npm_and_yarn/cipher-base-1.0.6
  • dependabot/npm_and_yarn/elliptic-6.6.1
  • dependabot/npm_and_yarn/nanoid-3.3.8
  • dependabot/npm_and_yarn/pbkdf2-3.1.3
  • dependabot/npm_and_yarn/sha.js-2.4.12
  • embargo_notifications
  • fix_flaky_test
  • fix_grad_service
  • fix_redis_namespace_deprecations
  • grad_dates
  • homepage-nursing
  • main
  • speedier_tests
  • spelling-misteak
  • test_ci

30 Jun 2025 09:14PM UTC coverage: 94.348% (-3.1%) from 97.411%
2f4a3481-fc3c-44b3-b076-85704ed113e0

Pull #2467

circleci

mark-dce
Remove deprecated calls to `Redis.current`

**ISSUE**
Our logs are being swamped with deprecation messages similar to:
```
`Redis.current` is deprecated and will be removed in 5.0.
  (called from: /Users/mark/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems
   /hyrax-2.9.6/lib/hyrax/redis_event_store.rb:26:in `instance')
```

**RESOLUTION**
Refactor the redis initilizer and override Hyrax class methods that
call `Redis.current` in favor of a memoized call to `Redis.new`

**REFERENCES**
This commit was heavily influenced by
https://github.com/samvera/hyrax/commit/50cc8f0f
Pull Request #2467: Remove deprecated calls to `Redis.current`

17 of 17 new or added lines in 4 files covered. (100.0%)

193 existing lines in 28 files now uncovered.

2704 of 2866 relevant lines covered (94.35%)

52.91 hits per line

Relevant lines Covered
Build:
Build:
2866 RELEVANT LINES 2704 COVERED LINES
52.91 HITS PER LINE
Source Files on fix_redis_current
  • Tree
  • List 142
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2f4a3481... fix_redis_current Remove deprecated calls to `Redis.current` **ISSUE** Our logs are being swamped with deprecation messages similar to: ``` `Redis.current` is deprecated and will be removed in 5.0. (called from: /Users/mark/.rbenv/versions/2.7.4/lib/ruby/gems/2.... Pull #2467 30 Jun 2025 09:26PM UTC mark-dce circleci
94.35
See All Builds (3733)
  • 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