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

RestPack / restpack_serializer / 382
99%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2018 08:02AM UTC
Jobs 1
Files 14
Run time 2s
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
382

Pull #144

travis-ci

web-flow
Drop protected_attributes_continued development dependency

When the first Active Record fixtures were added to the test suite in
<a class=hub.com/RestPack/restpack_serializer/commit/0ba7f778447454275bc46e035358aeaf56e5e0e5">0ba7f7784<a href="https://github.com/RestPack/restpack_serializer/commit/15747d8566710587a1b4ae93c1b7418115eb412d">, a call to `attr_accessible`
was included in each model.

Later `protected_attributes` was added as a development dependency in
<a class="double-link" href="https://github.com/RestPack/restpack_serializer/commit/c9403c5603a31a0799696258d95eeacda0814628">c9403c560</a><a href="https://github.com/RestPack/restpack_serializer/commit/15747d8566710587a1b4ae93c1b7418115eb412d"> to allow the `attr_accessible`
calls to continue to work on Rails 4.

Later still in </a><a class="double-link" href="https://github.com/RestPack/restpack_serializer/commit/b1a928c2dbcf000d29da055d299379d8822526aa">b1a928c2d</a>, the dependency
was switched to `protected_attributes_continued` as the original
`protected_attributes` gem doesn't support Rails 5.

Now that Rails 5.2 has been released, the test suite is failing because
`protected_attributes_continued` isn't compatible with it.

However, I don't think the `attr_accessible` calls were ever necessary:
if I check out 0ba7f778447454275bc46e035358aeaf56e5e0e5 and remove them,
the test suite still passes. restpack_serializer doesn't perform mass
assignment on those models (or any assignment at all).
Pull Request #144: Drop protected_attributes_continued development dependency

726 of 731 relevant lines covered (99.32%)

1.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 382.1 (2.3.1) 07 Jun 2018 08:02AM UTC 0
99.32
Travis Job 382.1
Source Files on build 382
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #382
  • Pull Request #144
  • PR Base - master (#380)
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