Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ruby version constraints to allow Ruby v2.6 #12

Merged
merged 3 commits into from
Feb 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ rvm:
- 2.3
- 2.4
- 2.5
- 2.6
env:
-
- ACTIVE_RECORD_VERSION=4.0.0
Expand All @@ -21,11 +22,20 @@ matrix:
env: ACTIVE_RECORD_VERSION=4.0.0
- rvm: 2.5
env: ACTIVE_RECORD_VERSION=4.1.0
- rvm: 2.6
env: ACTIVE_RECORD_VERSION=4.0.0
- rvm: 2.6
env: ACTIVE_RECORD_VERSION=4.1.0
before_install:
- gem update --system
- gem --version
install:
- gem install bundler
# Bundler v2 only supports Ruby v2.3 and above
# For Ruby v2.2, install Bundler v1.x
- if [ $TRAVIS_RUBY_VERSION == "2.2" ];
then gem install bundler -v '< 2';
else gem install bundler;
fi
- bundle --version
- bundle install --jobs=3 --retry=3
script:
Expand Down
2 changes: 1 addition & 1 deletion acts_as_hashids.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = ['>= 2.2.2', '< 2.6']
spec.required_ruby_version = ['>= 2.2.2', '< 2.7']

spec.add_runtime_dependency 'activerecord', '>= 4.0', '< 6.0'
spec.add_runtime_dependency 'hashids', '~> 1.0'
Expand Down