pacecar 1.5.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +9 -1
- data/Appraisals +9 -17
- data/Gemfile +1 -1
- data/Gemfile.lock +93 -108
- data/MIT-LICENSE +1 -1
- data/README.md +10 -109
- data/Rakefile +9 -5
- data/TESTING.md +40 -0
- data/gemfiles/rails_4_mysql2_driver.gemfile +8 -0
- data/gemfiles/rails_4_pg_driver.gemfile +8 -0
- data/gemfiles/rails_4_sqlite3_driver.gemfile +8 -0
- data/lib/pacecar.rb +0 -10
- data/lib/pacecar/boolean.rb +8 -20
- data/lib/pacecar/helpers.rb +7 -16
- data/lib/pacecar/limit.rb +9 -9
- data/lib/pacecar/order.rb +9 -9
- data/lib/pacecar/polymorph.rb +5 -5
- data/lib/pacecar/presence.rb +8 -9
- data/lib/pacecar/search.rb +8 -32
- data/lib/pacecar/state.rb +13 -9
- data/lib/pacecar/version.rb +1 -1
- data/pacecar.gemspec +18 -16
- data/spec/boolean_spec.rb +6 -18
- data/spec/dummy/app/models/mammal.rb +1 -1
- data/spec/dummy/app/models/post.rb +2 -2
- data/spec/dummy/app/models/user.rb +1 -6
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +4 -26
- data/spec/dummy/config/boot.rb +3 -9
- data/spec/dummy/config/database.yml +1 -7
- data/spec/dummy/config/environment.rb +2 -2
- data/spec/dummy/config/environments/development.rb +15 -12
- data/spec/dummy/config/environments/production.rb +57 -26
- data/spec/dummy/config/environments/test.rb +16 -15
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +9 -3
- data/spec/dummy/config/initializers/secret_token.rb +7 -2
- data/spec/dummy/config/initializers/session_store.rb +1 -6
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +20 -2
- data/spec/dummy/config/routes.rb +22 -24
- data/spec/factories.rb +2 -2
- data/spec/helpers_spec.rb +18 -26
- data/spec/integration/navigation_spec.rb +4 -5
- data/spec/limit_spec.rb +11 -11
- data/spec/order_spec.rb +8 -8
- data/spec/pacecar_spec.rb +3 -3
- data/spec/polymorph_spec.rb +6 -6
- data/spec/presence_spec.rb +9 -9
- data/spec/search_spec.rb +14 -48
- data/spec/spec_helper.rb +11 -17
- data/spec/state_spec.rb +29 -29
- metadata +76 -70
- data/gemfiles/rails-3.0.11-database-mysql.gemfile +0 -8
- data/gemfiles/rails-3.0.11-database-mysql.gemfile.lock +0 -134
- data/gemfiles/rails-3.0.11-database-mysql2.gemfile +0 -8
- data/gemfiles/rails-3.0.11-database-mysql2.gemfile.lock +0 -134
- data/gemfiles/rails-3.0.11-database-pg.gemfile +0 -8
- data/gemfiles/rails-3.0.11-database-pg.gemfile.lock +0 -134
- data/gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile +0 -8
- data/gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile.lock +0 -136
- data/gemfiles/rails-3.0.11-database-sqlite3.gemfile +0 -8
- data/gemfiles/rails-3.0.11-database-sqlite3.gemfile.lock +0 -134
- data/gemfiles/rails-3.1.3-database-mysql.gemfile +0 -8
- data/gemfiles/rails-3.1.3-database-mysql.gemfile.lock +0 -144
- data/gemfiles/rails-3.1.3-database-mysql2.gemfile +0 -8
- data/gemfiles/rails-3.1.3-database-mysql2.gemfile.lock +0 -144
- data/gemfiles/rails-3.1.3-database-pg.gemfile +0 -8
- data/gemfiles/rails-3.1.3-database-pg.gemfile.lock +0 -144
- data/gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile +0 -8
- data/gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile.lock +0 -146
- data/gemfiles/rails-3.1.3-database-sqlite3.gemfile +0 -8
- data/gemfiles/rails-3.1.3-database-sqlite3.gemfile.lock +0 -144
- data/lib/pacecar/associations.rb +0 -39
- data/lib/pacecar/datetime.rb +0 -91
- data/lib/pacecar/duration.rb +0 -51
- data/lib/pacecar/numeric.rb +0 -29
- data/lib/pacecar/ranking.rb +0 -53
- data/spec/associations_spec.rb +0 -32
- data/spec/datetime_spec.rb +0 -92
- data/spec/duration_spec.rb +0 -22
- data/spec/numeric_spec.rb +0 -43
- data/spec/ranking_spec.rb +0 -63
data/spec/state_spec.rb
CHANGED
@@ -3,66 +3,66 @@ require 'spec_helper'
|
|
3
3
|
describe 'State' do
|
4
4
|
|
5
5
|
before do
|
6
|
-
@draft_post =
|
7
|
-
@final_post =
|
8
|
-
@free_post =
|
9
|
-
@open_post =
|
6
|
+
@draft_post = create :post, publication_state: 'Draft'
|
7
|
+
@final_post = create :post, publication_state: 'Final'
|
8
|
+
@free_post = create :post, post_type: 'Free'
|
9
|
+
@open_post = create :post, post_type: 'Open'
|
10
10
|
|
11
11
|
@post = Post.new
|
12
|
-
Post::PUBLICATION_STATES.
|
12
|
+
expect(Post::PUBLICATION_STATES).to_not be_nil
|
13
13
|
end
|
14
14
|
|
15
|
-
it
|
16
|
-
Post.publication_state_draft.
|
15
|
+
it 'Returns records for a column_state _state method' do
|
16
|
+
expect(Post.publication_state_draft).to eq [@draft_post]
|
17
17
|
end
|
18
18
|
|
19
|
-
it
|
20
|
-
Post.publication_state_not_draft.
|
19
|
+
it 'Returns records for a column_not_state _state method' do
|
20
|
+
expect(Post.publication_state_not_draft).to eq [@final_post]
|
21
21
|
end
|
22
22
|
|
23
|
-
it
|
24
|
-
Post.post_type_free.
|
23
|
+
it 'Returns records for a column_state _type method' do
|
24
|
+
expect(Post.post_type_free).to eq [@free_post]
|
25
25
|
end
|
26
26
|
|
27
|
-
it
|
28
|
-
Post.post_type_not_free.
|
27
|
+
it 'Returns records for a column_not_state _type method' do
|
28
|
+
expect(Post.post_type_not_free).to eq [@open_post]
|
29
29
|
end
|
30
30
|
|
31
|
-
it
|
32
|
-
Post.post_type('Open').
|
31
|
+
it 'Returns records for a column_state method' do
|
32
|
+
expect(Post.post_type('Open')).to eq [@open_post]
|
33
33
|
end
|
34
34
|
|
35
|
-
it
|
36
|
-
Post.post_type_not('Open').
|
35
|
+
it 'Returns records for a column_state_not method' do
|
36
|
+
expect(Post.post_type_not('Open')).to eq [@free_post]
|
37
37
|
end
|
38
38
|
|
39
39
|
Post::PUBLICATION_STATES.each do |state|
|
40
|
-
it
|
41
|
-
@post.
|
40
|
+
it 'Has a query method for a #{state} state value' do
|
41
|
+
expect(@post).to respond_to("publication_state_#{state.downcase}?")
|
42
42
|
end
|
43
43
|
|
44
|
-
it
|
45
|
-
@post.
|
44
|
+
it 'Has a non query method for a #{state} state value' do
|
45
|
+
expect(@post).to respond_to("publication_state_not_#{state.downcase}?")
|
46
46
|
end
|
47
47
|
|
48
|
-
it
|
48
|
+
it 'Responds true to query method for a #{state} state value when in that state' do
|
49
49
|
@post.publication_state = state
|
50
|
-
@post.send("publication_state_#{state.downcase}?").
|
50
|
+
expect(@post.send("publication_state_#{state.downcase}?")).to be_true
|
51
51
|
end
|
52
52
|
|
53
|
-
it
|
53
|
+
it 'Responds false to not query method for a #{state} state value when in that state' do
|
54
54
|
@post.publication_state = state
|
55
|
-
@post.send("publication_state_not_#{state.downcase}?").
|
55
|
+
expect(@post.send("publication_state_not_#{state.downcase}?")).to be_false
|
56
56
|
end
|
57
57
|
|
58
|
-
it
|
58
|
+
it 'Responds false to query method for a #{state} state value when not in that state' do
|
59
59
|
@post.publication_state = 'Invalid'
|
60
|
-
@post.send("publication_state_#{state.downcase}?").
|
60
|
+
expect(@post.send("publication_state_#{state.downcase}?")).to be_false
|
61
61
|
end
|
62
62
|
|
63
|
-
it
|
63
|
+
it 'Responds true to not query method for a #{state} state value when not in that state' do
|
64
64
|
@post.publication_state = 'Invalid'
|
65
|
-
@post.send("publication_state_not_#{state.downcase}?").
|
65
|
+
expect(@post.send("publication_state_not_#{state.downcase}?")).to be_true
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pacecar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Matt Jankowski
|
@@ -16,63 +15,92 @@ authors:
|
|
16
15
|
autorequire:
|
17
16
|
bindir: bin
|
18
17
|
cert_chain: []
|
19
|
-
date:
|
18
|
+
date: 2013-08-03 00:00:00.000000000 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
23
|
-
requirement:
|
24
|
-
none: false
|
21
|
+
name: activerecord
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
25
23
|
requirements:
|
26
|
-
- -
|
24
|
+
- - '>='
|
27
25
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
29
|
-
type: :
|
26
|
+
version: 4.0.0
|
27
|
+
type: :runtime
|
30
28
|
prerelease: false
|
31
|
-
version_requirements:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.0
|
32
34
|
- !ruby/object:Gem::Dependency
|
33
|
-
name:
|
34
|
-
requirement:
|
35
|
-
none: false
|
35
|
+
name: appraisal
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
36
37
|
requirements:
|
37
|
-
- -
|
38
|
+
- - '>='
|
38
39
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0
|
40
|
+
version: '0'
|
40
41
|
type: :development
|
41
42
|
prerelease: false
|
42
|
-
version_requirements:
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: mocha
|
45
|
-
requirement:
|
46
|
-
none: false
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
47
51
|
requirements:
|
48
|
-
- -
|
52
|
+
- - '>='
|
49
53
|
- !ruby/object:Gem::Version
|
50
54
|
version: '0'
|
51
55
|
type: :development
|
52
56
|
prerelease: false
|
53
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
54
62
|
- !ruby/object:Gem::Dependency
|
55
63
|
name: rspec-rails
|
56
|
-
requirement:
|
57
|
-
none: false
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
58
65
|
requirements:
|
59
|
-
- -
|
66
|
+
- - '>='
|
60
67
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
68
|
+
version: '0'
|
62
69
|
type: :development
|
63
70
|
prerelease: false
|
64
|
-
version_requirements:
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
65
76
|
- !ruby/object:Gem::Dependency
|
66
77
|
name: factory_girl_rails
|
67
|
-
requirement:
|
68
|
-
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
86
|
requirements:
|
70
|
-
- -
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rails
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
71
95
|
- !ruby/object:Gem::Version
|
72
96
|
version: '0'
|
73
97
|
type: :development
|
74
98
|
prerelease: false
|
75
|
-
version_requirements:
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
76
104
|
description: Generated scopes for ActiveRecord classes.
|
77
105
|
email: support@thoughtbot.com
|
78
106
|
executables: []
|
@@ -87,46 +115,23 @@ files:
|
|
87
115
|
- MIT-LICENSE
|
88
116
|
- README.md
|
89
117
|
- Rakefile
|
90
|
-
-
|
91
|
-
- gemfiles/
|
92
|
-
- gemfiles/
|
93
|
-
- gemfiles/
|
94
|
-
- gemfiles/rails-3.0.11-database-pg.gemfile
|
95
|
-
- gemfiles/rails-3.0.11-database-pg.gemfile.lock
|
96
|
-
- gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile
|
97
|
-
- gemfiles/rails-3.0.11-database-sqlite3-ruby.gemfile.lock
|
98
|
-
- gemfiles/rails-3.0.11-database-sqlite3.gemfile
|
99
|
-
- gemfiles/rails-3.0.11-database-sqlite3.gemfile.lock
|
100
|
-
- gemfiles/rails-3.1.3-database-mysql.gemfile
|
101
|
-
- gemfiles/rails-3.1.3-database-mysql.gemfile.lock
|
102
|
-
- gemfiles/rails-3.1.3-database-mysql2.gemfile
|
103
|
-
- gemfiles/rails-3.1.3-database-mysql2.gemfile.lock
|
104
|
-
- gemfiles/rails-3.1.3-database-pg.gemfile
|
105
|
-
- gemfiles/rails-3.1.3-database-pg.gemfile.lock
|
106
|
-
- gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile
|
107
|
-
- gemfiles/rails-3.1.3-database-sqlite3-ruby.gemfile.lock
|
108
|
-
- gemfiles/rails-3.1.3-database-sqlite3.gemfile
|
109
|
-
- gemfiles/rails-3.1.3-database-sqlite3.gemfile.lock
|
118
|
+
- TESTING.md
|
119
|
+
- gemfiles/rails_4_mysql2_driver.gemfile
|
120
|
+
- gemfiles/rails_4_pg_driver.gemfile
|
121
|
+
- gemfiles/rails_4_sqlite3_driver.gemfile
|
110
122
|
- init.rb
|
111
123
|
- lib/pacecar.rb
|
112
|
-
- lib/pacecar/associations.rb
|
113
124
|
- lib/pacecar/boolean.rb
|
114
|
-
- lib/pacecar/datetime.rb
|
115
|
-
- lib/pacecar/duration.rb
|
116
125
|
- lib/pacecar/helpers.rb
|
117
126
|
- lib/pacecar/limit.rb
|
118
|
-
- lib/pacecar/numeric.rb
|
119
127
|
- lib/pacecar/order.rb
|
120
128
|
- lib/pacecar/polymorph.rb
|
121
129
|
- lib/pacecar/presence.rb
|
122
|
-
- lib/pacecar/ranking.rb
|
123
130
|
- lib/pacecar/search.rb
|
124
131
|
- lib/pacecar/state.rb
|
125
132
|
- lib/pacecar/version.rb
|
126
133
|
- pacecar.gemspec
|
127
|
-
- spec/associations_spec.rb
|
128
134
|
- spec/boolean_spec.rb
|
129
|
-
- spec/datetime_spec.rb
|
130
135
|
- spec/dummy/Rakefile
|
131
136
|
- spec/dummy/app/controllers/application_controller.rb
|
132
137
|
- spec/dummy/app/helpers/application_helper.rb
|
@@ -136,6 +141,9 @@ files:
|
|
136
141
|
- spec/dummy/app/models/post.rb
|
137
142
|
- spec/dummy/app/models/user.rb
|
138
143
|
- spec/dummy/app/views/layouts/application.html.erb
|
144
|
+
- spec/dummy/bin/bundle
|
145
|
+
- spec/dummy/bin/rails
|
146
|
+
- spec/dummy/bin/rake
|
139
147
|
- spec/dummy/config.ru
|
140
148
|
- spec/dummy/config/application.rb
|
141
149
|
- spec/dummy/config/boot.rb
|
@@ -145,10 +153,12 @@ files:
|
|
145
153
|
- spec/dummy/config/environments/production.rb
|
146
154
|
- spec/dummy/config/environments/test.rb
|
147
155
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
156
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
148
157
|
- spec/dummy/config/initializers/inflections.rb
|
149
158
|
- spec/dummy/config/initializers/mime_types.rb
|
150
159
|
- spec/dummy/config/initializers/secret_token.rb
|
151
160
|
- spec/dummy/config/initializers/session_store.rb
|
161
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
152
162
|
- spec/dummy/config/locales/en.yml
|
153
163
|
- spec/dummy/config/routes.rb
|
154
164
|
- spec/dummy/db/migrate/20100419201348_create_schema.rb
|
@@ -164,48 +174,42 @@ files:
|
|
164
174
|
- spec/dummy/public/javascripts/rails.js
|
165
175
|
- spec/dummy/public/stylesheets/.gitkeep
|
166
176
|
- spec/dummy/script/rails
|
167
|
-
- spec/duration_spec.rb
|
168
177
|
- spec/factories.rb
|
169
178
|
- spec/helpers_spec.rb
|
170
179
|
- spec/integration/navigation_spec.rb
|
171
180
|
- spec/limit_spec.rb
|
172
|
-
- spec/numeric_spec.rb
|
173
181
|
- spec/order_spec.rb
|
174
182
|
- spec/pacecar_spec.rb
|
175
183
|
- spec/polymorph_spec.rb
|
176
184
|
- spec/presence_spec.rb
|
177
|
-
- spec/ranking_spec.rb
|
178
185
|
- spec/search_spec.rb
|
179
186
|
- spec/spec_helper.rb
|
180
187
|
- spec/state_spec.rb
|
181
188
|
homepage: http://github.com/thoughtbot/pacecar
|
182
189
|
licenses: []
|
190
|
+
metadata: {}
|
183
191
|
post_install_message:
|
184
192
|
rdoc_options: []
|
185
193
|
require_paths:
|
186
194
|
- lib
|
187
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
-
none: false
|
189
196
|
requirements:
|
190
|
-
- -
|
197
|
+
- - '>='
|
191
198
|
- !ruby/object:Gem::Version
|
192
199
|
version: '0'
|
193
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
201
|
requirements:
|
196
|
-
- -
|
202
|
+
- - '>='
|
197
203
|
- !ruby/object:Gem::Version
|
198
204
|
version: '0'
|
199
205
|
requirements: []
|
200
206
|
rubyforge_project:
|
201
|
-
rubygems_version:
|
207
|
+
rubygems_version: 2.0.3
|
202
208
|
signing_key:
|
203
|
-
specification_version:
|
209
|
+
specification_version: 4
|
204
210
|
summary: Pacecar adds scope methods to ActiveRecord classes via database column introspection.
|
205
211
|
test_files:
|
206
|
-
- spec/associations_spec.rb
|
207
212
|
- spec/boolean_spec.rb
|
208
|
-
- spec/datetime_spec.rb
|
209
213
|
- spec/dummy/Rakefile
|
210
214
|
- spec/dummy/app/controllers/application_controller.rb
|
211
215
|
- spec/dummy/app/helpers/application_helper.rb
|
@@ -215,6 +219,9 @@ test_files:
|
|
215
219
|
- spec/dummy/app/models/post.rb
|
216
220
|
- spec/dummy/app/models/user.rb
|
217
221
|
- spec/dummy/app/views/layouts/application.html.erb
|
222
|
+
- spec/dummy/bin/bundle
|
223
|
+
- spec/dummy/bin/rails
|
224
|
+
- spec/dummy/bin/rake
|
218
225
|
- spec/dummy/config.ru
|
219
226
|
- spec/dummy/config/application.rb
|
220
227
|
- spec/dummy/config/boot.rb
|
@@ -224,10 +231,12 @@ test_files:
|
|
224
231
|
- spec/dummy/config/environments/production.rb
|
225
232
|
- spec/dummy/config/environments/test.rb
|
226
233
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
234
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
227
235
|
- spec/dummy/config/initializers/inflections.rb
|
228
236
|
- spec/dummy/config/initializers/mime_types.rb
|
229
237
|
- spec/dummy/config/initializers/secret_token.rb
|
230
238
|
- spec/dummy/config/initializers/session_store.rb
|
239
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
231
240
|
- spec/dummy/config/locales/en.yml
|
232
241
|
- spec/dummy/config/routes.rb
|
233
242
|
- spec/dummy/db/migrate/20100419201348_create_schema.rb
|
@@ -243,17 +252,14 @@ test_files:
|
|
243
252
|
- spec/dummy/public/javascripts/rails.js
|
244
253
|
- spec/dummy/public/stylesheets/.gitkeep
|
245
254
|
- spec/dummy/script/rails
|
246
|
-
- spec/duration_spec.rb
|
247
255
|
- spec/factories.rb
|
248
256
|
- spec/helpers_spec.rb
|
249
257
|
- spec/integration/navigation_spec.rb
|
250
258
|
- spec/limit_spec.rb
|
251
|
-
- spec/numeric_spec.rb
|
252
259
|
- spec/order_spec.rb
|
253
260
|
- spec/pacecar_spec.rb
|
254
261
|
- spec/polymorph_spec.rb
|
255
262
|
- spec/presence_spec.rb
|
256
|
-
- spec/ranking_spec.rb
|
257
263
|
- spec/search_spec.rb
|
258
264
|
- spec/spec_helper.rb
|
259
265
|
- spec/state_spec.rb
|
@@ -1,134 +0,0 @@
|
|
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)
|