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

curationexperts / cypripedium / fc6f8ef0-1a50-4132-a134-63c79eec12be / 1
98%
main: 99%

Build:
Build:
LAST BUILD BRANCH: fix_deploy
DEFAULT BRANCH: main
Ran 05 Nov 2024 03:38AM UTC
Files 86
Run time 1s
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

05 Nov 2024 03:31AM UTC coverage: 98.324% (+0.02%) from 98.3%
fc6f8ef0-1a50-4132-a134-63c79eec12be.1

Pull #621

circleci

mark-dce
[FIX] Display full deprecation messages

**ISSUE**
We are not getting details of the deprecation warnings.

The cbeer/deprecation gem uses an old calling signature
for warnings, but Hyrax and related code expect to use the calling
signature in ActiveSupport::Deprecation. So, the warn method
was reading the message as the context and setting the message to
nil, giving a very generic message.

**FIX**
Check to see whether the first argument being passed is a string,
which means the call is using the two-parameter calling signature,
or a class or other object, which means the call is using the
three-parameter calling signature.

**BEFORE**
>DEPRECATION WARNING: You are using deprecated behavior which will be removed from the next major or minor release. (called from block in <top (required)> at /Users/mark/_no_backup_/Projects/cypripedium/config/initializers/hyrax.rb:47) (1 times); e.g.:
>
>DEPRECATION WARNING: You are using deprecated behavior which will be removed from the next major or minor release. (called from new at /Users/mark/_no_backup_/Projects/cypripedium/app/lib/rdf_xml_service.rb:9) (2 times); e.g.:

**AFTER**
>DEPRECATION WARNING: google_analytics_id is deprecated; use analytics_id from config/analytics.yml instead. (called from block in <top (required)> at /Users/mark/_no_backup_/Projects/cypripedium/config/initializers/hyrax.rb:47) (1 times); e.g.:
>
>DEPRECATION WARNING: passing `request` is deprecated; pass a host as `hostname:` instead. (called from new at /Users/mark/_no_backup_/Projects/cypripedium/app/lib/rdf_xml_service.rb:9) (2 times); e.g.:
Pull Request #621: [FIX] Display full deprecation messages

1056 of 1074 relevant lines covered (98.32%)

11.42 hits per line

Source Files on job fc6f8ef0-1a50-4132-a134-63c79eec12be.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • 29ea51c9 on github
  • Prev Job for on handle_deprecations (#c5f83275-e335-42be-9ec6-cce04465242d.1)
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

© 2026 Coveralls, Inc