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

MushroomObserver / mushroom-observer / 1647
91%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/puma-7.1.0
DEFAULT BRANCH: main
Ran 14 Jan 2019 06:17PM UTC
Jobs 1
Files 458
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

pending completion
1647

push

travis-ci

JoeCohen
Re-commit method to replace `altered?`

Same as #868d479 (which had been reverted by #abfc056 in order to resolve merge conflicts)

Calling `altered?`, which is a method of the cures_act_as_versioned gem, triggers warning like:
```ruby
DEPRECATION WARNING: The behavior of `changed` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes.keys` instead. (called from notify_users at /vagrant/mushroom-observer/app/models/name_description.rb:235)
```

Temporary solution:
- Define MO method `version_altered?` - to replace act_as_versioned method `altered?`
- In `version_altered?`, replace the older Rails methods which triggered the warning with newer Rails methods
- Call `version_altered?`instead `altered?` wherever the gem method triggered warnings. (There still one call to `altered?` in Name#save_with_log. This doesn't trigger a warning.)

19234 of 21064 relevant lines covered (91.31%)

418.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1647.1 (2.4.1) 14 Jan 2019 06:17PM UTC 0
91.31
Travis Job 1647.1
Source Files on build 1647
  • List 0
  • Changed 99
  • Source Changed 5
  • Coverage Changed 99
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1647
  • e433d2c1 on github
  • Prev Build on rails-5.1 (#1646)
  • Next Build on rails-5.1 (#1648)
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