Skip to content

Commit

Permalink
Further build tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuckel committed Sep 4, 2012
1 parent 53a51e7 commit 714fb30
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 183 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: ruby
before_script: bundle exec rake appraisal:install
script: bundle exec rake test_$DB
rvm:
- jruby-18mode
Expand All @@ -11,7 +10,6 @@ env:
- DB=hsqldb
- DB=sqlite3
gemfile:
- Gemfile
- gemfiles/rails23.gemfile
- gemfiles/rails30.gemfile
- gemfiles/rails31.gemfile
Expand Down
3 changes: 0 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ end

appraise "rails30" do
gem "activerecord", "~> 3.0.15"
gem "rails", "~> 3.0.15"
end

appraise "rails31" do
gem "activerecord", "~> 3.1.6"
gem "rails", "~> 3.1.6"
end

appraise "rails32" do
gem "activerecord", "~> 3.2.6"
gem "rails", "~> 3.2.6"
end
1 change: 0 additions & 1 deletion gemfiles/rails30.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.0.15"
gem "rails", "~> 3.0.15"

53 changes: 0 additions & 53 deletions gemfiles/rails30.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.17)
actionpack (= 3.0.17)
mail (~> 2.2.19)
actionpack (3.0.17)
activemodel (= 3.0.17)
activesupport (= 3.0.17)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.5.0)
rack (~> 1.2.5)
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
activemodel (3.0.17)
activesupport (= 3.0.17)
builder (~> 2.1.2)
Expand All @@ -24,55 +10,17 @@ GEM
activesupport (= 3.0.17)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activeresource (3.0.17)
activemodel (= 3.0.17)
activesupport (= 3.0.17)
activesupport (3.0.17)
appraisal (0.4.1)
bundler
rake
arel (2.0.10)
bouncy-castle-java (1.5.0146.1)
builder (2.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
i18n (0.5.0)
jruby-openssl (0.7.7)
bouncy-castle-java (>= 1.5.0146.1)
json (1.7.5-java)
mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.19)
polyglot (0.3.3)
rack (1.2.5)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rails (3.0.17)
actionmailer (= 3.0.17)
actionpack (= 3.0.17)
activerecord (= 3.0.17)
activeresource (= 3.0.17)
activesupport (= 3.0.17)
bundler (~> 1.0)
railties (= 3.0.17)
railties (3.0.17)
actionpack (= 3.0.17)
activesupport (= 3.0.17)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
thor (0.14.6)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)

PLATFORMS
Expand All @@ -82,5 +30,4 @@ DEPENDENCIES
activerecord (~> 3.0.15)
appraisal
jruby-openssl
rails (~> 3.0.15)
rake
1 change: 0 additions & 1 deletion gemfiles/rails31.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.1.6"
gem "rails", "~> 3.1.6"

62 changes: 0 additions & 62 deletions gemfiles/rails31.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.8)
actionpack (= 3.1.8)
mail (~> 2.3.3)
actionpack (3.1.8)
activemodel (= 3.1.8)
activesupport (= 3.1.8)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.6)
rack-cache (~> 1.2)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.4)
activemodel (3.1.8)
activesupport (= 3.1.8)
builder (~> 3.0.0)
Expand All @@ -24,9 +10,6 @@ GEM
activesupport (= 3.1.8)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.8)
activemodel (= 3.1.8)
activesupport (= 3.1.8)
activesupport (3.1.8)
multi_json (>= 1.0, < 1.3)
appraisal (0.4.1)
Expand All @@ -35,55 +18,11 @@ GEM
arel (2.2.3)
bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
erubis (2.7.0)
hike (1.2.1)
i18n (0.6.1)
jruby-openssl (0.7.7)
bouncy-castle-java (>= 1.5.0146.1)
json (1.7.5-java)
mail (2.3.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.19)
multi_json (1.2.0)
polyglot (0.3.3)
rack (1.3.6)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.8)
actionmailer (= 3.1.8)
actionpack (= 3.1.8)
activerecord (= 3.1.8)
activeresource (= 3.1.8)
activesupport (= 3.1.8)
bundler (~> 1.0)
railties (= 3.1.8)
railties (3.1.8)
actionpack (= 3.1.8)
activesupport (= 3.1.8)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)

PLATFORMS
Expand All @@ -93,5 +32,4 @@ DEPENDENCIES
activerecord (~> 3.1.6)
appraisal
jruby-openssl
rails (~> 3.1.6)
rake
1 change: 0 additions & 1 deletion gemfiles/rails32.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ gem "rake"
gem "appraisal"
gem "jruby-openssl", :group=>:development
gem "activerecord", "~> 3.2.6"
gem "rails", "~> 3.2.6"

60 changes: 0 additions & 60 deletions gemfiles/rails32.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.2.8)
actionpack (= 3.2.8)
mail (~> 2.4.4)
actionpack (3.2.8)
activemodel (= 3.2.8)
activesupport (= 3.2.8)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.0)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.1.3)
activemodel (3.2.8)
activesupport (= 3.2.8)
builder (~> 3.0.0)
Expand All @@ -22,9 +9,6 @@ GEM
activesupport (= 3.2.8)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.8)
activemodel (= 3.2.8)
activesupport (= 3.2.8)
activesupport (3.2.8)
i18n (~> 0.6)
multi_json (~> 1.0)
Expand All @@ -34,54 +18,11 @@ GEM
arel (3.0.2)
bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
erubis (2.7.0)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
jruby-openssl (0.7.7)
bouncy-castle-java (>= 1.5.0146.1)
json (1.7.5-java)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.19)
multi_json (1.3.6)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.8)
actionmailer (= 3.2.8)
actionpack (= 3.2.8)
activerecord (= 3.2.8)
activeresource (= 3.2.8)
activesupport (= 3.2.8)
bundler (~> 1.0)
railties (= 3.2.8)
railties (3.2.8)
actionpack (= 3.2.8)
activesupport (= 3.2.8)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)

PLATFORMS
Expand All @@ -91,5 +32,4 @@ DEPENDENCIES
activerecord (~> 3.2.6)
appraisal
jruby-openssl
rails (~> 3.2.6)
rake
4 changes: 4 additions & 0 deletions test/abstract_db_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def setup_rails2
end
ar_version = $LOADED_FEATURES.grep(%r{active_record/version}).first
ar_lib_path = $LOAD_PATH.detect {|p| p if File.exist?File.join(p, ar_version)}
# if the old style finder didn't work, assume we have the absolute path already
if ar_lib_path.nil? && File.exist?(ar_version)
ar_lib_path = ar_version.sub(%r{/active_record/version.*}, '')
end
ar_lib_path = ar_lib_path.sub(%r{activerecord/lib}, 'railties/lib') # edge rails
rails_lib_path = ar_lib_path.sub(/activerecord-([\d\.]+)/, 'rails-\1') # gem rails
load "#{rails_lib_path}/tasks/databases.rake"
Expand Down

0 comments on commit 714fb30

Please sign in to comment.