Skip to content

Commit

Permalink
Expand Ruby and Rails version support
Browse files Browse the repository at this point in the history
  • Loading branch information
dnrce committed Nov 2, 2014
1 parent f8786be commit f56f074
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,27 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
env:
- RAILS_VERSION='~> 3.0.0'
- RAILS_VERSION='~> 3.1.0'
- RAILS_VERSION='~> 3.2.0'
- RAILS_VERSION='~> 4.0.0'
- RAILS_VERSION='~> 4.1.0'
- RAILS_VERSION='~> 4.2.0.beta'
matrix:
fast_finish: true
exclude:
- env: RAILS_VERSION='~> 4.0.0'
rvm: 1.8.7
- env: RAILS_VERSION='~> 4.0.0'
rvm: 1.9.2
- env: RAILS_VERSION='~> 4.1.0'
rvm: 1.8.7
- env: RAILS_VERSION='~> 4.1.0'
rvm: 1.9.2
- env: RAILS_VERSION='~> 4.2.0.beta'
rvm: 1.8.7
- env: RAILS_VERSION='~> 4.2.0.beta'
rvm: 1.9.2
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source 'https://rubygems.org'

gemspec

gem 'rails', ENV['RAILS_VERSION']
4 changes: 3 additions & 1 deletion yaml_db.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Gem::Specification.new do |s|
s.files = Dir['README.md', 'init.rb', 'lib/**/*']
s.require_paths = ["lib"]

s.add_runtime_dependency "rails", "~> 3.0"
s.required_ruby_version = ">= 1.8.7"

s.add_runtime_dependency "rails", ">= 3.0", "< 4.3"
s.add_runtime_dependency "rake", ">= 0.8.7"

s.add_development_dependency "bundler", "~> 1.0"
Expand Down

0 comments on commit f56f074

Please sign in to comment.