pacecar 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/.gitignore +6 -0
  2. data/.travis.yml +4 -0
  3. data/Appraisals +22 -0
  4. data/Gemfile +1 -7
  5. data/Gemfile.lock +129 -0
  6. data/README.md +33 -33
  7. data/Rakefile +2 -19
  8. data/gemfiles/rails-3.0.11-database-mysql.gemfile +8 -0
  9. data/gemfiles/rails-3.0.11-database-mysql.gemfile.lock +134 -0
  10. data/gemfiles/rails-3.0.11-database-mysql2.gemfile +8 -0
  11. data/gemfiles/rails-3.0.11-database-mysql2.gemfile.lock +134 -0
  12. data/gemfiles/rails-3.0.11-database-pg.gemfile +8 -0
  13. data/gemfiles/rails-3.0.11-database-pg.gemfile.lock +134 -0
  14. data/gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile +8 -0
  15. data/gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile.lock +136 -0
  16. data/gemfiles/rails-3.0.11-database-sqlite3.gemfile +8 -0
  17. data/gemfiles/rails-3.0.11-database-sqlite3.gemfile.lock +134 -0
  18. data/gemfiles/rails-3.1.3-database-mysql.gemfile +8 -0
  19. data/gemfiles/rails-3.1.3-database-mysql.gemfile.lock +144 -0
  20. data/gemfiles/rails-3.1.3-database-mysql2.gemfile +8 -0
  21. data/gemfiles/rails-3.1.3-database-mysql2.gemfile.lock +144 -0
  22. data/gemfiles/rails-3.1.3-database-pg.gemfile +8 -0
  23. data/gemfiles/rails-3.1.3-database-pg.gemfile.lock +144 -0
  24. data/gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile +8 -0
  25. data/gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile.lock +146 -0
  26. data/gemfiles/rails-3.1.3-database-sqlite3.gemfile +8 -0
  27. data/gemfiles/rails-3.1.3-database-sqlite3.gemfile.lock +144 -0
  28. data/lib/pacecar.rb +1 -0
  29. data/lib/pacecar/helpers.rb +1 -1
  30. data/lib/pacecar/version.rb +3 -0
  31. data/pacecar.gemspec +25 -0
  32. data/spec/associations_spec.rb +32 -0
  33. data/spec/boolean_spec.rb +30 -0
  34. data/spec/datetime_spec.rb +92 -0
  35. data/spec/dummy/Rakefile +7 -0
  36. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  37. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  38. data/spec/dummy/app/models/article.rb +5 -0
  39. data/spec/dummy/app/models/comment.rb +5 -0
  40. data/spec/dummy/app/models/mammal.rb +7 -0
  41. data/spec/dummy/app/models/post.rb +14 -0
  42. data/spec/dummy/app/models/user.rb +14 -0
  43. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  44. data/spec/dummy/config.ru +4 -0
  45. data/spec/dummy/config/application.rb +45 -0
  46. data/spec/dummy/config/boot.rb +10 -0
  47. data/spec/dummy/config/database.yml +51 -0
  48. data/spec/dummy/config/environment.rb +5 -0
  49. data/spec/dummy/config/environments/development.rb +26 -0
  50. data/spec/dummy/config/environments/production.rb +49 -0
  51. data/spec/dummy/config/environments/test.rb +35 -0
  52. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  53. data/spec/dummy/config/initializers/inflections.rb +10 -0
  54. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  55. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  56. data/spec/dummy/config/initializers/session_store.rb +8 -0
  57. data/spec/dummy/config/locales/en.yml +5 -0
  58. data/spec/dummy/config/routes.rb +58 -0
  59. data/spec/dummy/db/migrate/20100419201348_create_schema.rb +37 -0
  60. data/spec/dummy/public/404.html +26 -0
  61. data/spec/dummy/public/422.html +26 -0
  62. data/spec/dummy/public/500.html +26 -0
  63. data/spec/dummy/public/favicon.ico +0 -0
  64. data/spec/dummy/public/javascripts/application.js +2 -0
  65. data/spec/dummy/public/javascripts/controls.js +965 -0
  66. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  67. data/spec/dummy/public/javascripts/effects.js +1123 -0
  68. data/spec/dummy/public/javascripts/prototype.js +6001 -0
  69. data/spec/dummy/public/javascripts/rails.js +191 -0
  70. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  71. data/spec/dummy/script/rails +6 -0
  72. data/spec/duration_spec.rb +22 -0
  73. data/spec/factories.rb +26 -0
  74. data/spec/helpers_spec.rb +49 -0
  75. data/spec/integration/navigation_spec.rb +9 -0
  76. data/spec/limit_spec.rb +25 -0
  77. data/spec/numeric_spec.rb +43 -0
  78. data/spec/order_spec.rb +22 -0
  79. data/spec/pacecar_spec.rb +7 -0
  80. data/spec/polymorph_spec.rb +18 -0
  81. data/spec/presence_spec.rb +23 -0
  82. data/spec/ranking_spec.rb +63 -0
  83. data/spec/search_spec.rb +63 -0
  84. data/spec/spec_helper.rb +38 -0
  85. data/spec/state_spec.rb +69 -0
  86. metadata +202 -10
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ spec/dummy/db/*.sqlite3
5
+ spec/dummy/log/*.log
6
+ spec/dummy/tmp/
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ rvm: 1.9.2
2
+ before_script:
3
+ - "mysql -e 'create database pacecar_test;' >/dev/null"
4
+ - "psql -c 'create database pacecar_test;' -U postgres >/dev/null"
data/Appraisals ADDED
@@ -0,0 +1,22 @@
1
+ rails_versions = ['3.0.11', '3.1.3']
2
+ database_drivers = ['mysql', 'sqlite3-ruby', 'pg', 'sqlite3']
3
+
4
+ rails_versions.each do |rails_version|
5
+ database_drivers.each do |database_driver|
6
+ appraise "rails-#{rails_version}-database-#{database_driver}" do
7
+ gem "rails", rails_version
8
+ gem database_driver
9
+ end
10
+ end
11
+ end
12
+
13
+ # The mysql2 gem needs different versions depending on which activerecord we have
14
+ appraise "rails-3.1.3-database-mysql2" do
15
+ gem "rails", "3.1.3"
16
+ gem "mysql2", "0.3.7"
17
+ end
18
+
19
+ appraise "rails-3.0.11-database-mysql2" do
20
+ gem "rails", "3.0.11"
21
+ gem "mysql2", "0.2.13"
22
+ end
data/Gemfile CHANGED
@@ -1,9 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "appraisal"
4
- gem "capybara", ">= 0.4.0"
5
-
6
- gem "mocha"
7
- gem "rspec-rails", ">= 2.4.0"
8
-
9
- gem "factory_girl_rails"
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,129 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pacecar (1.5.2)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ abstract (1.0.0)
10
+ actionmailer (3.0.3)
11
+ actionpack (= 3.0.3)
12
+ mail (~> 2.2.9)
13
+ actionpack (3.0.3)
14
+ activemodel (= 3.0.3)
15
+ activesupport (= 3.0.3)
16
+ builder (~> 2.1.2)
17
+ erubis (~> 2.6.6)
18
+ i18n (~> 0.4)
19
+ rack (~> 1.2.1)
20
+ rack-mount (~> 0.6.13)
21
+ rack-test (~> 0.5.6)
22
+ tzinfo (~> 0.3.23)
23
+ activemodel (3.0.3)
24
+ activesupport (= 3.0.3)
25
+ builder (~> 2.1.2)
26
+ i18n (~> 0.4)
27
+ activerecord (3.0.3)
28
+ activemodel (= 3.0.3)
29
+ activesupport (= 3.0.3)
30
+ arel (~> 2.0.2)
31
+ tzinfo (~> 0.3.23)
32
+ activeresource (3.0.3)
33
+ activemodel (= 3.0.3)
34
+ activesupport (= 3.0.3)
35
+ activesupport (3.0.3)
36
+ appraisal (0.4.0)
37
+ bundler
38
+ rake
39
+ arel (2.0.6)
40
+ builder (2.1.2)
41
+ capybara (0.4.0)
42
+ celerity (>= 0.7.9)
43
+ culerity (>= 0.2.4)
44
+ mime-types (>= 1.16)
45
+ nokogiri (>= 1.3.3)
46
+ rack (>= 1.0.0)
47
+ rack-test (>= 0.5.4)
48
+ selenium-webdriver (>= 0.0.27)
49
+ xpath (~> 0.1.2)
50
+ celerity (0.8.7)
51
+ childprocess (0.1.6)
52
+ ffi (~> 0.6.3)
53
+ culerity (0.2.14)
54
+ diff-lcs (1.1.2)
55
+ erubis (2.6.6)
56
+ abstract (>= 1.0.0)
57
+ factory_girl (1.3.2)
58
+ factory_girl_rails (1.0)
59
+ factory_girl (~> 1.3)
60
+ rails (>= 3.0.0.beta4)
61
+ ffi (0.6.3)
62
+ rake (>= 0.8.7)
63
+ i18n (0.5.0)
64
+ json_pure (1.4.6)
65
+ mail (2.2.12)
66
+ activesupport (>= 2.3.6)
67
+ i18n (>= 0.4.0)
68
+ mime-types (~> 1.16)
69
+ treetop (~> 1.4.8)
70
+ mime-types (1.16)
71
+ mocha (0.9.10)
72
+ rake
73
+ nokogiri (1.4.4)
74
+ polyglot (0.3.1)
75
+ rack (1.2.1)
76
+ rack-mount (0.6.13)
77
+ rack (>= 1.0.0)
78
+ rack-test (0.5.6)
79
+ rack (>= 1.0)
80
+ rails (3.0.3)
81
+ actionmailer (= 3.0.3)
82
+ actionpack (= 3.0.3)
83
+ activerecord (= 3.0.3)
84
+ activeresource (= 3.0.3)
85
+ activesupport (= 3.0.3)
86
+ bundler (~> 1.0)
87
+ railties (= 3.0.3)
88
+ railties (3.0.3)
89
+ actionpack (= 3.0.3)
90
+ activesupport (= 3.0.3)
91
+ rake (>= 0.8.7)
92
+ thor (~> 0.14.4)
93
+ rake (0.9.2)
94
+ rspec (2.4.0)
95
+ rspec-core (~> 2.4.0)
96
+ rspec-expectations (~> 2.4.0)
97
+ rspec-mocks (~> 2.4.0)
98
+ rspec-core (2.4.0)
99
+ rspec-expectations (2.4.0)
100
+ diff-lcs (~> 1.1.2)
101
+ rspec-mocks (2.4.0)
102
+ rspec-rails (2.4.1)
103
+ actionpack (~> 3.0)
104
+ activesupport (~> 3.0)
105
+ railties (~> 3.0)
106
+ rspec (~> 2.4.0)
107
+ rubyzip (0.9.4)
108
+ selenium-webdriver (0.1.2)
109
+ childprocess (~> 0.1.5)
110
+ ffi (~> 0.6.3)
111
+ json_pure
112
+ rubyzip
113
+ thor (0.14.6)
114
+ treetop (1.4.9)
115
+ polyglot (>= 0.3.1)
116
+ tzinfo (0.3.23)
117
+ xpath (0.1.3)
118
+ nokogiri (~> 1.3)
119
+
120
+ PLATFORMS
121
+ ruby
122
+
123
+ DEPENDENCIES
124
+ appraisal (~> 0.4)
125
+ capybara (>= 0.4.0)
126
+ factory_girl_rails
127
+ mocha
128
+ pacecar!
129
+ rspec-rails (>= 2.4.0)
data/README.md CHANGED
@@ -33,7 +33,7 @@ For prior rails versions, there is a rails2 branch to use:
33
33
  Usage
34
34
  -----
35
35
 
36
- Assuming a database schema...
36
+ Assuming a database schema:
37
37
 
38
38
  class CreateSchema < ActiveRecord::Migration
39
39
  def self.up
@@ -62,7 +62,7 @@ Assuming a database schema...
62
62
  end
63
63
  end
64
64
 
65
- And some basic model declarations...
65
+ And some basic model declarations:
66
66
 
67
67
  class User < ActiveRecord::Base
68
68
  include Pacecar
@@ -74,7 +74,7 @@ And some basic model declarations...
74
74
  has_recent_records :articles, :comments
75
75
  has_calculated_records :comments, :on => :rating
76
76
  end
77
-
77
+
78
78
  class Post < ActiveRecord::Base
79
79
  include Pacecar
80
80
  PUBLICATION_STATES = %w(Draft Submitted Rejected Accepted)
@@ -84,12 +84,12 @@ And some basic model declarations...
84
84
  has_state :post_type, :with => TYPES
85
85
  has_polymorph :owner
86
86
  end
87
-
87
+
88
88
  class Comment < ActiveRecord::Base
89
89
  include Pacecar
90
90
  belongs_to :user
91
91
  end
92
-
92
+
93
93
  class Article < ActiveRecord::Base
94
94
  belongs_to :user
95
95
  end
@@ -97,84 +97,84 @@ And some basic model declarations...
97
97
  All columns
98
98
  -----------
99
99
 
100
- Records where approved_at is not null, or where it is null...
100
+ Records where approved\_at is not null, or where it is null:
101
101
 
102
102
  User.approved_at_present
103
103
  User.approved_at_missing
104
104
 
105
- Records where first_name is not null, or where it is null...
105
+ Records where first\_name is not null, or where it is null:
106
106
 
107
107
  User.first_name_present
108
108
  User.first_name_missing
109
109
 
110
- Records ordered by first_name (default to 'asc', can specify to override)...
110
+ Records ordered by first\_name (default to 'asc', can specify to override):
111
111
 
112
112
  User.by_first_name
113
113
  User.by_first_name(:asc)
114
114
  User.by_first_name(:desc)
115
115
 
116
- Records where an attribute matches a search term (column LIKE "%term%")...
116
+ Records where an attribute matches a search term (column LIKE "%term%"):
117
117
 
118
118
  User.first_name_matches('John')
119
119
 
120
- Records where an attribute starts or ends with a search term...
120
+ Records where an attribute starts or ends with a search term:
121
121
 
122
122
  User.first_name_starts_with('A')
123
123
  User.first_name_ends_with('a')
124
124
 
125
- Records where an attribute matches exactly a term...
125
+ Records where an attribute matches exactly a term:
126
126
 
127
127
  User.first_name_equals('John')
128
128
 
129
- Records where any non-state text or string column matches term...
129
+ Records where any non-state text or string column matches term:
130
130
 
131
131
  User.search_for('test')
132
132
 
133
- Records where any of a list of columns match the term...
133
+ Records where any of a list of columns match the term:
134
134
 
135
135
  User.search_for 'test', :on => [:first_name, :last_name]
136
136
 
137
- Records where all of a list of columns match the term...
137
+ Records where all of a list of columns match the term:
138
138
 
139
139
  User.search_for 'test', :on => [:first_name, :last_name], :require => :all
140
140
 
141
141
  Boolean columns
142
142
  ---------------
143
143
 
144
- Records that are all admins or non-admins...
144
+ Records that are all admins or non-admins:
145
145
 
146
146
  User.admin
147
147
  User.not_admin
148
148
 
149
- The "balance" (count of true minus false for column in question)...
149
+ The "balance" (count of true minus false for column in question):
150
150
 
151
151
  User.admin_balance
152
152
 
153
153
  Datetime columns
154
154
  ----------------
155
155
 
156
- Records approved before or after certain times...
156
+ Records approved before or after certain times:
157
157
 
158
158
  User.approved_at_before(5.days.ago)
159
159
  User.approved_at_after(4.weeks.ago)
160
160
 
161
- Records with approved_at in the past or future...
161
+ Records with approved\_at in the past or future:
162
162
 
163
163
  User.approved_at_in_past
164
164
  User.approved_at_in_future
165
165
 
166
- Records with approved_at inside or outside of two times...
166
+ Records with approved\_at inside or outside of two times:
167
167
 
168
168
  User.approved_at_inside(10.days.ago, 1.day.ago)
169
169
  User.approved_at_outside(2.days.ago, 1.day.ago)
170
170
 
171
- Records with certain year, month or day...
171
+ Records with certain year, month or day:
172
172
 
173
173
  User.approved_at_in_year(2000)
174
174
  User.approved_at_in_month(01)
175
175
  User.approved_at_in_day(01)
176
176
 
177
- Records with a duration (time delta between two columns) of, over or under a certain number of days...
177
+ Records with a duration (time delta between two columns) of, over or under a certain number of days:
178
178
 
179
179
  User.with_duration_of(14, :approved_at, :rejected_at)
180
180
  User.with_duration_over(14, :approved_at, :rejected_at)
@@ -183,30 +183,30 @@ Records with a duration (time delta between two columns) of, over or under a cer
183
183
  Polymorphic relationships
184
184
  -------------------------
185
185
 
186
- Records which have an owner_type of User...
186
+ Records which have an owner\_type of User:
187
187
 
188
188
  Post.for_owner_type(User)
189
189
 
190
190
  Associations
191
191
  ------------
192
192
 
193
- Records with the most and least associated records...
193
+ Records with the most and least associated records:
194
194
 
195
195
  User.maximum_comments
196
196
  User.minimum_comments
197
197
 
198
- Records with associated records since a certain time...
198
+ Records with associated records since a certain time:
199
199
 
200
200
  User.recent_comments_since(2.days.ago)
201
201
  User.recent_comments_and_posts_since(3.days.ago)
202
202
  User.recent_comments_or_posts_since(4.days.ago)
203
203
 
204
- Records with highest and lowest association column average...
204
+ Records with highest and lowest association column average:
205
205
 
206
206
  User.by_comments_highest_rating_average
207
207
  User.by_comments_lowest_rating_average
208
208
 
209
- Records with highest and lowest association column total...
209
+ Records with highest and lowest association column total:
210
210
 
211
211
  User.by_comments_highest_rating_total
212
212
  User.by_comments_lowest_rating_total
@@ -214,12 +214,12 @@ Records with highest and lowest association column total...
214
214
  State columns
215
215
  -------------
216
216
 
217
- Records which are in a particular state, or not in a state...
217
+ Records which are in a particular state, or not in a state:
218
218
 
219
219
  Post.publication_state_draft
220
220
  Post.post_type_not_open
221
221
 
222
- Query methods on instances to check state...
222
+ Query methods on instances to check state:
223
223
 
224
224
  Post.first.publication_state_draft?
225
225
  Post.last.post_type_not_open?
@@ -227,7 +227,7 @@ Query methods on instances to check state...
227
227
  Numeric columns
228
228
  ---------------
229
229
 
230
- Records which are greater than or less than a certain value...
230
+ Records which are greater than or less than a certain value:
231
231
 
232
232
  User.age_greater_than(21)
233
233
  User.age_greater_than_or_equal_to(21)
@@ -237,7 +237,7 @@ Records which are greater than or less than a certain value...
237
237
  Limits
238
238
  ------
239
239
 
240
- First x records...
240
+ First x records:
241
241
 
242
242
  User.limited(10)
243
243
 
@@ -246,13 +246,13 @@ Named scopes
246
246
 
247
247
  Because these are all scope, you can combine them.
248
248
 
249
- To get all users that have a first_name set, who are admins and approved more than 2 weeks ago, ordered by their first name...
249
+ To get all users that have a first\_name set, who are admins and approved more than 2 weeks ago, ordered by their first name:
250
250
 
251
251
  User.first_name_present.admin.approved_at_before(2.weeks.ago).by_first_name
252
252
 
253
- To get the top 10 commenters...
253
+ To get the top 10 commenters:
254
254
 
255
- User.maximim_comments.limited(10)
255
+ User.maximum_comments.limited(10)
256
256
 
257
257
  Supported Databases
258
258
  -------------------
data/Rakefile CHANGED
@@ -1,16 +1,7 @@
1
- # encoding: UTF-8
2
- require 'rubygems'
3
- begin
4
- require 'bundler/setup'
5
- rescue LoadError
6
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
- end
8
-
9
- require 'rake'
10
- require 'rdoc/task'
1
+ require 'bundler/setup'
2
+ require 'bundler/gem_tasks'
11
3
  require 'appraisal'
12
4
 
13
- require 'rspec/core'
14
5
  require 'rspec/core/rake_task'
15
6
  RSpec::Core::RakeTask.new(:spec)
16
7
 
@@ -21,11 +12,3 @@ desc 'Test the plugin under all supported Rails versions.'
21
12
  task :all => ["appraisal:install"] do |t|
22
13
  exec('rake appraisal spec')
23
14
  end
24
-
25
- Rake::RDocTask.new(:rdoc) do |rdoc|
26
- rdoc.rdoc_dir = 'rdoc'
27
- rdoc.title = 'Pacecar'
28
- rdoc.options << '--line-numbers' << '--inline-source'
29
- rdoc.rdoc_files.include('README.rdoc')
30
- rdoc.rdoc_files.include('lib/**/*.rb')
31
- end
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "3.0.11"
6
+ gem "mysql"
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,134 @@
1
+ PATH
2
+ remote: /Users/mjankowski/Development/opensource/pacecar
3
+ specs:
4
+ pacecar (1.5.2)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ abstract (1.0.0)
10
+ actionmailer (3.0.11)
11
+ actionpack (= 3.0.11)
12
+ mail (~> 2.2.19)
13
+ actionpack (3.0.11)
14
+ activemodel (= 3.0.11)
15
+ activesupport (= 3.0.11)
16
+ builder (~> 2.1.2)
17
+ erubis (~> 2.6.6)
18
+ i18n (~> 0.5.0)
19
+ rack (~> 1.2.1)
20
+ rack-mount (~> 0.6.14)
21
+ rack-test (~> 0.5.7)
22
+ tzinfo (~> 0.3.23)
23
+ activemodel (3.0.11)
24
+ activesupport (= 3.0.11)
25
+ builder (~> 2.1.2)
26
+ i18n (~> 0.5.0)
27
+ activerecord (3.0.11)
28
+ activemodel (= 3.0.11)
29
+ activesupport (= 3.0.11)
30
+ arel (~> 2.0.10)
31
+ tzinfo (~> 0.3.23)
32
+ activeresource (3.0.11)
33
+ activemodel (= 3.0.11)
34
+ activesupport (= 3.0.11)
35
+ activesupport (3.0.11)
36
+ appraisal (0.4.0)
37
+ bundler
38
+ rake
39
+ arel (2.0.10)
40
+ builder (2.1.2)
41
+ capybara (1.1.2)
42
+ mime-types (>= 1.16)
43
+ nokogiri (>= 1.3.3)
44
+ rack (>= 1.0.0)
45
+ rack-test (>= 0.5.4)
46
+ selenium-webdriver (~> 2.0)
47
+ xpath (~> 0.1.4)
48
+ childprocess (0.2.6)
49
+ ffi (~> 1.0.6)
50
+ diff-lcs (1.1.3)
51
+ erubis (2.6.6)
52
+ abstract (>= 1.0.0)
53
+ factory_girl (2.3.2)
54
+ activesupport
55
+ factory_girl_rails (1.4.0)
56
+ factory_girl (~> 2.3.0)
57
+ railties (>= 3.0.0)
58
+ ffi (1.0.11)
59
+ i18n (0.5.0)
60
+ json (1.6.4)
61
+ mail (2.2.19)
62
+ activesupport (>= 2.3.6)
63
+ i18n (>= 0.4.0)
64
+ mime-types (~> 1.16)
65
+ treetop (~> 1.4.8)
66
+ metaclass (0.0.1)
67
+ mime-types (1.17.2)
68
+ mocha (0.10.0)
69
+ metaclass (~> 0.0.1)
70
+ multi_json (1.0.4)
71
+ mysql (2.8.1)
72
+ nokogiri (1.5.0)
73
+ polyglot (0.3.3)
74
+ rack (1.2.5)
75
+ rack-mount (0.6.14)
76
+ rack (>= 1.0.0)
77
+ rack-test (0.5.7)
78
+ rack (>= 1.0)
79
+ rails (3.0.11)
80
+ actionmailer (= 3.0.11)
81
+ actionpack (= 3.0.11)
82
+ activerecord (= 3.0.11)
83
+ activeresource (= 3.0.11)
84
+ activesupport (= 3.0.11)
85
+ bundler (~> 1.0)
86
+ railties (= 3.0.11)
87
+ railties (3.0.11)
88
+ actionpack (= 3.0.11)
89
+ activesupport (= 3.0.11)
90
+ rake (>= 0.8.7)
91
+ rdoc (~> 3.4)
92
+ thor (~> 0.14.4)
93
+ rake (0.9.2.2)
94
+ rdoc (3.12)
95
+ json (~> 1.4)
96
+ rspec (2.8.0)
97
+ rspec-core (~> 2.8.0)
98
+ rspec-expectations (~> 2.8.0)
99
+ rspec-mocks (~> 2.8.0)
100
+ rspec-core (2.8.0)
101
+ rspec-expectations (2.8.0)
102
+ diff-lcs (~> 1.1.2)
103
+ rspec-mocks (2.8.0)
104
+ rspec-rails (2.8.1)
105
+ actionpack (>= 3.0)
106
+ activesupport (>= 3.0)
107
+ railties (>= 3.0)
108
+ rspec (~> 2.8.0)
109
+ rubyzip (0.9.5)
110
+ selenium-webdriver (2.16.0)
111
+ childprocess (>= 0.2.5)
112
+ ffi (~> 1.0.9)
113
+ multi_json (~> 1.0.4)
114
+ rubyzip
115
+ thor (0.14.6)
116
+ treetop (1.4.10)
117
+ polyglot
118
+ polyglot (>= 0.3.1)
119
+ tzinfo (0.3.31)
120
+ xpath (0.1.4)
121
+ nokogiri (~> 1.3)
122
+
123
+ PLATFORMS
124
+ ruby
125
+
126
+ DEPENDENCIES
127
+ appraisal (~> 0.4)
128
+ capybara (>= 0.4.0)
129
+ factory_girl_rails
130
+ mocha
131
+ mysql
132
+ pacecar!
133
+ rails (= 3.0.11)
134
+ rspec-rails (>= 2.4.0)