From 1005aa60a95aa1af443b8f86dbefc145fccfb316 Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Mon, 20 Feb 2017 01:50:02 -0500 Subject: [PATCH] Update version constraint for jsonapi-renderer 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. --- CHANGELOG.md | 3 +++ active_model_serializers.gemspec | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3908d73d1..f5644549e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/active_model_serializers.gemspec b/active_model_serializers.gemspec index b81be0e10..108f166a4 100644 --- a/active_model_serializers.gemspec +++ b/active_model_serializers.gemspec @@ -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