Permalink
Browse files

Rails 3.1

  • Loading branch information...
1 parent 9ce7a28 commit 2ce211dd682eba11221ac1ca944fa5891be8199f @RISCfuture committed Aug 31, 2011
Showing with 23 additions and 18 deletions.
  1. +22 −18 Gemfile.lock
  2. +1 −0 spec/spec_helper.rb
View
@@ -1,27 +1,31 @@
GEM
remote: http://rubygems.org/
specs:
- RedCloth (4.2.7)
- activemodel (3.0.9)
- activesupport (= 3.0.9)
- builder (~> 2.1.2)
- i18n (~> 0.5.0)
- activerecord (3.0.9)
- activemodel (= 3.0.9)
- activesupport (= 3.0.9)
- arel (~> 2.0.10)
- tzinfo (~> 0.3.23)
- activesupport (3.0.9)
- arel (2.0.10)
- builder (2.1.2)
- diff-lcs (1.1.2)
- factory_girl (1.3.3)
+ RedCloth (4.2.8)
+ activemodel (3.1.0)
+ activesupport (= 3.1.0)
+ bcrypt-ruby (~> 3.0.0)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.0)
+ activemodel (= 3.1.0)
+ activesupport (= 3.1.0)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activesupport (3.1.0)
+ multi_json (~> 1.0)
+ arel (2.2.1)
+ bcrypt-ruby (3.0.0)
+ builder (3.0.0)
+ diff-lcs (1.1.3)
+ factory_girl (2.0.5)
git (1.2.5)
- i18n (0.5.0)
- jeweler (1.6.2)
+ i18n (0.6.0)
+ jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
+ multi_json (1.0.3)
pg (0.11.0)
rake (0.9.2)
rspec (2.6.0)
@@ -32,7 +36,7 @@ GEM
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
- tzinfo (0.3.28)
+ tzinfo (0.3.29)
yard (0.7.2)
PLATFORMS
View
@@ -23,5 +23,6 @@ class Model < ActiveRecord::Base
Model.connection.execute "DROP TYPE IF EXISTS state_type"
Model.connection.execute "CREATE TYPE state_type AS ENUM ('pending', 'processing', 'completed', 'failed')"
Model.connection.execute "CREATE TABLE models (id SERIAL PRIMARY KEY, state state_type DEFAULT 'pending')"
+ Model.connection.reconnect!
end
end

0 comments on commit 2ce211d

Please sign in to comment.