Skip to content

Commit

Permalink
Update version constraint for jsonapi-renderer
Browse files Browse the repository at this point in the history
Currently (2017-02-20) the latest version is 0.1.2.

Why not use a version constraint like '~> 0.1.1'? Because
we know of no reason why 0.1.1.beta1 cannot still be used.
That said, we have done no research looking for such a reason.
  • Loading branch information
jaredbeck committed Feb 20, 2017
1 parent 00fc1fe commit 1005aa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Breaking changes:
Features:

- [#2021](https://github.com/rails-api/active_model_serializers/pull/2021) ActiveModelSerializers::Model#attributes. Originally in [#1982](https://github.com/rails-api/active_model_serializers/pull/1982). (@bf4)
- [#2057](https://github.com/rails-api/active_model_serializers/pull/2057)
Update version constraint for jsonapi-renderer to `['>= 0.1.1.beta1', '< 0.2']`
(@jaredbeck)

Fixes:

Expand Down
3 changes: 1 addition & 2 deletions active_model_serializers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ Gem::Specification.new do |spec|
# 'minitest'
# 'thread_safe'

# TODO: Latest jsonapi-renderer is 0.1.2
spec.add_runtime_dependency 'jsonapi-renderer', '0.1.1.beta1'
spec.add_runtime_dependency 'jsonapi-renderer', ['>= 0.1.1.beta1', '< 0.2']
spec.add_runtime_dependency 'case_transform', '>= 0.2'

spec.add_development_dependency 'activerecord', rails_versions
Expand Down

0 comments on commit 1005aa6

Please sign in to comment.