Skip to content

Commit

Permalink
Test against multiple versions of activesupport
Browse files Browse the repository at this point in the history
  • Loading branch information
soupmatt committed Aug 3, 2012
1 parent 95b5526 commit 4197924
Show file tree
Hide file tree
Showing 14 changed files with 290 additions and 3 deletions.
22 changes: 20 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
language: ruby
gemfile:
- gemfiles/activesupport23.gemfile
- gemfiles/activesupport30.gemfile
- gemfiles/activesupport31.gemfile
- gemfiles/activesupport32.gemfile
rvm:
- 1.8.7
- 1.9.2
Expand All @@ -10,8 +15,6 @@ rvm:
- jruby-head
- rbx-18mode
- rbx-19mode
#jdk:
#- oraclejdk7
matrix:
allow_failures:
- rvm: jruby-18mode
Expand All @@ -20,3 +23,18 @@ matrix:
- rvm: rbx-18mode
- rvm: rbx-19mode
- rvm: ruby-head
exclude:
- rvm: 1.9.3
gemfile: gemfiles/activesupport23.gemfile
- rvm: ruby-head
gemfile: gemfiles/activesupport23.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/activesupport23.gemfile
- rvm: jruby-head
gemfile: gemfiles/activesupport23.gemfile
- rvm: rbx-19mode
gemfile: gemfiles/activesupport23.gemfile
notifications:
recipients:
- matt.campbell@vibes.com
- lance.cooper@vibes.com
19 changes: 19 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
appraise "activesupport23" do
gem "activesupport", "~> 2.3.11"
end

appraise "activesupport30" do
gem "activesupport", "~> 3.0.8"
gem "i18n"
end

appraise "activesupport31" do
gem "activesupport", "~> 3.1.2"
gem "i18n"
end

appraise "activesupport32" do
gem "activesupport", "~> 3.2.2"
end

# vim: filetype=ruby
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source "http://rubygems.org"

gem 'reliable-msg', '~>1.1' if RUBY_VERSION < '1.9'
gem 'appraisal'

gemspec
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ GEM
remote: http://rubygems.org/
specs:
activesupport (2.3.14)
appraisal (0.4.1)
bundler
rake
celluloid (0.11.1)
timers (>= 1.0.0)
git (1.2.5)
Expand Down Expand Up @@ -39,6 +42,7 @@ PLATFORMS
DEPENDENCIES
activemessaging!
activesupport
appraisal
jeweler
reliable-msg (~> 1.1)
stomp
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
require 'rubygems'
require 'bundler/setup'

require 'rake'
require 'rake/testtask'
require 'rdoc/rdoc'

require 'appraisal'

desc 'Default: run unit tests.'
task :default => :test

Expand Down
9 changes: 9 additions & 0 deletions gemfiles/activesupport23.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "reliable-msg", "~>1.1"
gem "appraisal"
gem "activesupport", "~> 2.3.11"

gemspec :path=>"../"
48 changes: 48 additions & 0 deletions gemfiles/activesupport23.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
PATH
remote: /Users/mcampbell/dev/vibes/activemessaging
specs:
activemessaging (0.10.0)
activemessaging
activesupport (>= 2.3.11)
celluloid
reliable-msg (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
activesupport (2.3.14)
appraisal (0.4.1)
bundler
rake
celluloid (0.11.1)
timers (>= 1.0.0)
git (1.2.5)
jeweler (1.8.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.7.4)
macaddr (1.6.1)
systemu (~> 2.5.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
reliable-msg (1.1.0)
uuid (>= 1.0.0)
stomp (1.2.4)
systemu (2.5.2)
timers (1.0.1)
uuid (2.3.5)
macaddr (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activemessaging!
activesupport (~> 2.3.11)
appraisal
jeweler
reliable-msg (~> 1.1)
stomp
10 changes: 10 additions & 0 deletions gemfiles/activesupport30.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "reliable-msg", "~>1.1"
gem "appraisal"
gem "activesupport", "~> 3.0.8"
gem "i18n"

gemspec :path=>"../"
50 changes: 50 additions & 0 deletions gemfiles/activesupport30.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
PATH
remote: /Users/mcampbell/dev/vibes/activemessaging
specs:
activemessaging (0.10.0)
activemessaging
activesupport (>= 2.3.11)
celluloid
reliable-msg (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
activesupport (3.0.16)
appraisal (0.4.1)
bundler
rake
celluloid (0.11.1)
timers (>= 1.0.0)
git (1.2.5)
i18n (0.6.0)
jeweler (1.8.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.7.4)
macaddr (1.6.1)
systemu (~> 2.5.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
reliable-msg (1.1.0)
uuid (>= 1.0.0)
stomp (1.2.4)
systemu (2.5.2)
timers (1.0.1)
uuid (2.3.5)
macaddr (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activemessaging!
activesupport (~> 3.0.8)
appraisal
i18n
jeweler
reliable-msg (~> 1.1)
stomp
10 changes: 10 additions & 0 deletions gemfiles/activesupport31.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "reliable-msg", "~>1.1"
gem "appraisal"
gem "activesupport", "~> 3.1.2"
gem "i18n"

gemspec :path=>"../"
52 changes: 52 additions & 0 deletions gemfiles/activesupport31.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
PATH
remote: /Users/mcampbell/dev/vibes/activemessaging
specs:
activemessaging (0.10.0)
activemessaging
activesupport (>= 2.3.11)
celluloid
reliable-msg (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
activesupport (3.1.7)
multi_json (>= 1.0, < 1.3)
appraisal (0.4.1)
bundler
rake
celluloid (0.11.1)
timers (>= 1.0.0)
git (1.2.5)
i18n (0.6.0)
jeweler (1.8.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.7.4)
macaddr (1.6.1)
systemu (~> 2.5.0)
multi_json (1.2.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
reliable-msg (1.1.0)
uuid (>= 1.0.0)
stomp (1.2.4)
systemu (2.5.2)
timers (1.0.1)
uuid (2.3.5)
macaddr (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activemessaging!
activesupport (~> 3.1.2)
appraisal
i18n
jeweler
reliable-msg (~> 1.1)
stomp
9 changes: 9 additions & 0 deletions gemfiles/activesupport32.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "reliable-msg", "~>1.1"
gem "appraisal"
gem "activesupport", "~> 3.2.2"

gemspec :path=>"../"
52 changes: 52 additions & 0 deletions gemfiles/activesupport32.gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
PATH
remote: /Users/mcampbell/dev/vibes/activemessaging
specs:
activemessaging (0.10.0)
activemessaging
activesupport (>= 2.3.11)
celluloid
reliable-msg (~> 1.1)

GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.7)
i18n (~> 0.6)
multi_json (~> 1.0)
appraisal (0.4.1)
bundler
rake
celluloid (0.11.1)
timers (>= 1.0.0)
git (1.2.5)
i18n (0.6.0)
jeweler (1.8.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.7.4)
macaddr (1.6.1)
systemu (~> 2.5.0)
multi_json (1.3.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
reliable-msg (1.1.0)
uuid (>= 1.0.0)
stomp (1.2.4)
systemu (2.5.2)
timers (1.0.1)
uuid (2.3.5)
macaddr (~> 1.0)

PLATFORMS
ruby

DEPENDENCIES
activemessaging!
activesupport (~> 3.2.2)
appraisal
jeweler
reliable-msg (~> 1.1)
stomp
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

$: << File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'active_support'
require 'active_support/all'

module ActiveMessaging
def self.app_root
Expand Down

0 comments on commit 4197924

Please sign in to comment.