1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

playing around with Rails version builds

This commit is contained in:
Thorsten Böttger 2013-11-27 23:52:25 +01:00
parent 819584b966
commit 15901acef8
5 changed files with 51 additions and 6 deletions

View file

@ -1,4 +1,5 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
@ -7,8 +8,27 @@ rvm:
# - jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
- rbx-2.2.1
services: mongodb
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
matrix:
allow_failures:
- rvm: rbx-2.2.1
- rvm: jruby-19mode
exclude:
- rvm: 1.9.2
gemfile: gemfiles/4.0.gemfile
- rvm: 1.9.3
gemfile: gemfiles/4.0.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/3.2.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/4.0.gemfile
- rvm: rbx-2.2.1
gemfile: gemfiles/3.2.gemfile
- rvm: rbx-2.2.1
gemfile: gemfiles/4.0.gemfile

11
Gemfile
View file

@ -1,5 +1,10 @@
source 'https://rubygems.org'
source "https://rubygems.org"
gem "sqlite3", :platforms => :ruby
gem "coveralls", :platforms => :ruby
gem 'rubysl', :platforms => :rbx
gem "jruby-openssl", :platforms => :jruby
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "rails", "3.2.15"
gemspec
gem 'rubysl', :platforms => :rbx

View file

@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.date = Time.now
s.licenses = ["MIT"]
s.add_development_dependency 'activerecord', '3.2.15'
# s.add_development_dependency 'activerecord', '3.2.15'
# s.add_development_dependency 'activerecord', '4.0.1'
s.add_development_dependency 'mongoid' if Gem::Version.create(RUBY_VERSION.dup) >= Gem::Version.create('1.9.3')
@ -21,13 +21,13 @@ Gem::Specification.new do |s|
s.add_development_dependency 'sdoc'
s.add_development_dependency 'rspec', '~> 2.14'
s.add_development_dependency 'rr'
s.add_development_dependency 'sqlite3'
# s.add_development_dependency 'sqlite3'
s.add_development_dependency 'minitest'
# s.add_development_dependency 'debugger'
# s.add_development_dependency 'pry'
s.add_development_dependency 'mime-types', '~> 1.25' # needed by coveralls (>= 2.0 needs Ruby >=1.9.2)
s.add_development_dependency 'coveralls'
# s.add_development_dependency 'coveralls'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

View file

@ -0,0 +1,10 @@
source "https://rubygems.org"
gem "sqlite3", :platforms => :ruby
gem "coveralls", :platforms => :ruby
gem 'rubysl', :platforms => :rbx
gem "jruby-openssl", :platforms => :jruby
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "rails", "3.2.15"
gemspec :path => "../"

View file

@ -0,0 +1,10 @@
source "https://rubygems.org"
gem "sqlite3", :platforms => :ruby
gem "coveralls", :platforms => :ruby
gem 'rubysl', :platforms => :rbx
gem "jruby-openssl", :platforms => :jruby
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "rails", "4.0.1"
gemspec :path => "../"