From 20f300bd451b843660afe3354c3f6b8905f1475d Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 15 Sep 2018 15:45:19 +0200 Subject: [PATCH] [FEATURE] Officially support Rails 5.2 Closes #45 --- .travis.yml | 1 + CHANGELOG.md | 7 ++++--- currency_select.gemspec | 3 ++- gemfiles/Gemfile.rails-5-2 | 7 +++++++ 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 gemfiles/Gemfile.rails-5-2 diff --git a/.travis.yml b/.travis.yml index 5dc2917..0b68e34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ gemfile: - gemfiles/Gemfile.rails-4-2 - gemfiles/Gemfile.rails-5-0 - gemfiles/Gemfile.rails-5-1 + - gemfiles/Gemfile.rails-5-2 install: - bundle install diff --git a/CHANGELOG.md b/CHANGELOG.md index 2121bc2..59e7273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## x.y.z (unreleased) ### Added +- Officially support Rails 5.2 + ([#51](https://github.com/braingourmets/currency_select/pull/51)) - Add Ruby 2.5.1 to the Travis build matrix ([#49](https://github.com/braingourmets/currency_select/pull/49)) @@ -38,8 +40,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Deprecated - Support for Rails < 5.0.0 will be removed in version 2.0.0. - Support for Rails < 4.2.0 will be removed in version 1.0.0. -- Support for Ruby < 2.2.2 will be removed in version 2.0.0. -- Support for Ruby < 2.0.0 will be removed in version 1.0.0. +- Support for Ruby < 2.3.0 will be removed in version 1.0.0. ### Removed - Remove pre-Rails-4.0-specific code @@ -54,7 +55,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ([#27](https://github.com/braingourmets/currency_select/pull/27)) - Use ISO codes as select values, not the IDs ([#24](https://github.com/braingourmets/currency_select/pull/24)) -- Fix the the Gemfile +- Fix the Gemfile ([#19](https://github.com/braingourmets/currency_select/pull/19)) - Fix the order of name attribute and ID in the specs ([#18](https://github.com/braingourmets/currency_select/pull/18)) diff --git a/currency_select.gemspec b/currency_select.gemspec index d1546fa..fc9fb1a 100644 --- a/currency_select.gemspec +++ b/currency_select.gemspec @@ -17,7 +17,8 @@ Gem::Specification.new do |s| s.files = %w(lib/currency_select.rb rails/init.rb CHANGELOG.md CODE_OF_CONDUCT.md currency_select.gemspec Gemfile LICENSE Rakefile README.md VERSION) s.extra_rdoc_files = %w(CHANGELOG.md LICENSE README.rdoc) - s.add_runtime_dependency 'actionview' + s.add_runtime_dependency 'actionview', '>= 4.2.0', '< 6.0' s.add_runtime_dependency 'money' + s.add_development_dependency 'rspec-rails' end diff --git a/gemfiles/Gemfile.rails-5-2 b/gemfiles/Gemfile.rails-5-2 new file mode 100644 index 0000000..18df5b6 --- /dev/null +++ b/gemfiles/Gemfile.rails-5-2 @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source 'http://rubygems.org' + +gem 'rails', '~> 5.2.0' + +gemspec path: '../'