Skip to content

Commit

Permalink
Merge pull request #26 from jakedouglas/rails_6
Browse files Browse the repository at this point in the history
Rails 6 support
  • Loading branch information
iiwo authored Jan 15, 2020
2 parents 58907a0 + dd5330e commit 0d53f75
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 23 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ script:
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
gemfile:
- Gemfile
- gemfiles/activerecord_5.0.gemfile
- gemfiles/activerecord_5.1.gemfile
- gemfiles/activerecord_5.2.gemfile
- gemfiles/activerecord_6.0.gemfile
matrix:
allow_failures:
- rvm: ruby-head
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ appraise 'activerecord-5.2' do
gem 'activerecord', '~> 5.2.0'
gem 'activesupport', '~> 5.2.0'
end

appraise 'activerecord-6.0' do
gem 'activerecord', '~> 6.0.0'
gem 'activesupport', '~> 6.0.0'
end
6 changes: 3 additions & 3 deletions easy_tags.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'activerecord', '~> 5.0'
spec.add_runtime_dependency 'activesupport', '~> 5.0'
spec.add_runtime_dependency 'activerecord', '>= 5.0', '< 6.1'
spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 6.1'

spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'database_cleaner'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-console'
spec.add_development_dependency 'sqlite3', '~> 1.3.6'
spec.add_development_dependency 'sqlite3'
end
# rubocop:enable Metrics/BlockLength
8 changes: 0 additions & 8 deletions gemfiles/activerecord_5.0.gemfile

This file was deleted.

8 changes: 4 additions & 4 deletions gemfiles/activerecord_5.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source 'https://rubygems.org'
source "https://rubygems.org"

gem 'activerecord', '~> 5.1.0'
gem 'activesupport', '~> 5.1.0'
gem "activerecord", "~> 5.1.0"
gem "activesupport", "~> 5.1.0"

gemspec path: '../'
gemspec path: "../"
8 changes: 4 additions & 4 deletions gemfiles/activerecord_5.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file was generated by Appraisal

source 'https://rubygems.org'
source "https://rubygems.org"

gem 'activerecord', '~> 5.2.0'
gem 'activesupport', '~> 5.2.0'
gem "activerecord", "~> 5.2.0"
gem "activesupport", "~> 5.2.0"

gemspec path: '../'
gemspec path: "../"
8 changes: 8 additions & 0 deletions gemfiles/activerecord_6.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 6.0.0"
gem "activesupport", "~> 6.0.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion lib/easy_tags/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module EasyTags
VERSION = '0.2.2'.freeze
VERSION = '0.2.3'.freeze
end

0 comments on commit 0d53f75

Please sign in to comment.