Merge pull request #162 from jnv/mri1.9

Test with MRI 1.9.3
This commit is contained in:
Ben Mabey 2012-12-05 13:32:31 -08:00
commit 84b8d8d1e9
4 changed files with 18 additions and 25 deletions

View file

@ -1,8 +1,7 @@
language: ruby
rvm:
- 1.8.7
# TODO: fix ruby 1.9x build issues...
# - 1.9.3
- 1.9.3
# TODO: make this work with the regular rake command
script: "bundle exec rake spec"
gemfile:

19
Gemfile
View file

@ -3,7 +3,7 @@ source "http://rubygems.org"
group :development do
gem "rake"
gem "ruby-debug"
#gem "ruby-debug"
gem "bundler"
gem "jeweler"
@ -32,12 +32,21 @@ end
group :test do
gem "rspec-rails"
gem "rspactor"
gem "rcov"
gem "ZenTest"
#gem "rspactor"
#gem "rcov"
#gem "ZenTest"
end
group :cucumber do
gem "cucumber"
gem 'sqlite3-ruby'
end
platforms :mri_18 do
gem 'sqlite3-ruby', :group => :cucumber
#gem 'mysql', :group => :development
end
platforms :mri_19 do
gem 'sqlite3', :group => :cucumber
#gem 'mysql2', :group => :development
end

View file

@ -1,7 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
ZenTest (4.8.1)
actionpack (3.2.6)
activemodel (= 3.2.6)
activesupport (= 3.2.6)
@ -29,7 +28,6 @@ GEM
bson_ext (1.6.4)
bson (~> 1.6.4)
builder (3.0.0)
columnize (0.3.6)
couch_potato (0.5.7)
activemodel
couchrest (>= 1.0.1)
@ -113,8 +111,6 @@ GEM
journey (1.0.4)
json (1.7.3)
json_pure (1.4.6)
linecache (0.46)
rbx-require-relative (> 0.0.4)
listen (0.4.7)
rb-fchange (~> 0.0.5)
rb-fsevent (~> 0.9.1)
@ -160,13 +156,10 @@ GEM
rb-fsevent (0.9.1)
rb-inotify (0.8.8)
ffi (>= 0.5.0)
rbx-require-relative (0.0.9)
rcov (1.0.0)
rdoc (3.12)
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
rspactor (0.6.4)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
@ -180,11 +173,6 @@ GEM
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.11.0)
ruby-debug (0.10.4)
columnize (>= 0.1)
ruby-debug-base (~> 0.10.4.0)
ruby-debug-base (0.10.4)
linecache (>= 0.3)
sequel (3.21.0)
sprockets (2.1.3)
hike (~> 1.2)
@ -203,7 +191,6 @@ PLATFORMS
ruby
DEPENDENCIES
ZenTest
activerecord
bson_ext
bundler
@ -222,10 +209,8 @@ DEPENDENCIES
mysql2
pg
rake
rcov
rspactor
rspec-rails
ruby-debug
sequel (~> 3.21.0)
sqlite3
sqlite3-ruby
tzinfo

View file

@ -8,7 +8,7 @@ module ActiveRecord
[MysqlAdapter, Mysql2Adapter, SQLite3Adapter, JdbcAdapter, PostgreSQLAdapter, IBM_DBAdapter].each do |adapter|
describe adapter, "#truncate_table" do
it "responds" do
adapter.instance_methods.should include('truncate_table')
adapter.instance_methods.should include(:truncate_table)
end
end
end