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

curationexperts / cypripedium / dbad3ff8-ecce-403a-b90c-f993b5db777b
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: upgrade_cleanup
DEFAULT BRANCH: main
Ran 05 Nov 2024 04:40PM CUT
Jobs 1
Files 86
Run time 1min
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:34AM CUT coverage: 98.324% (+0.02%) from 98.3%
dbad3ff8-ecce-403a-b90c-f993b5db777b

push

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.:

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

1056 of 1074 relevant lines covered (98.32%)

11.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 dbad3ff8-ecce-403a-b90c-f993b5db777b.1 05 Nov 2024 04:40PM CUT 86
98.32
Source Files on build dbad3ff8-ecce-403a-b90c-f993b5db777b
  • Tree
  • List 86
  • Changed 3
  • Source Changed 0
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
76.92
...rers/hyrax/renderers/license_attribute_renderer.rb33 13 10 3 1.0
83.33
config/exception_middleware.rb16 6 5 1 16.0
88.89
app/helpers/work_zips_helper.rb16 9 8 1 3.0
90.0
app/renderers/hyrax/renderers/markdown_renderer.rb22 10 9 1 5.0
90.2
app/controllers/creators_controller.rb101 51 46 5 3.0
91.67
app/lib/rdf/markdown/literal.rb43 12 11 1 1.0
92.0
config/initializers/hyrax.rb225 25 23 2 1.0
95.0
app/models/user.rb44 20 19 1 13.0
96.3
app/presenters/cypripedium/citation_formatter.rb148 54 52 2 10.0
97.5
app/lib/hyrax/work_bag.rb72 40 39 1 5.0
Showing 1 to 10 of 86 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
  • ►
    98.13
    app/
  • ►
    98.89
    config/
  • Back to Repo
  • CircleCI Build #DBAD3FF8...
  • 1a545ae8 on github
  • Prev Build on handle_deprecations (#FFFC97AF...)
  • Next Build on handle_deprecations (#043D8B65...)
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