money-rails 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/money-rails/helpers/action_view_extension.rb +1 -1
- data/lib/money-rails/version.rb +1 -1
- data/spec/helpers/action_view_extension_spec.rb +80 -0
- metadata +133 -149
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: da75b2a1634ec1a097db7c1349ee114d31719717
|
4
|
+
data.tar.gz: f379ae29deed8c86a05a3810f2c842194133aa5f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9377d3b7acbbfa3d2929a42cbfc8e4144d29dc77bf5843b11728bdf74d33c1dc1aeb4d899935ec9ca7eca461d0a4f19467c7147f32ee83e3fc0392702e1346a3
|
7
|
+
data.tar.gz: 79b80154056efb1d9ed494a837c08f5251b018b3641e8e4e811645c86d2a9ca2826116d266216592718eb73c77f109b9e8766a02a199e5edaff54622944a1523
|
data/lib/money-rails/version.rb
CHANGED
@@ -56,6 +56,86 @@ describe 'MoneyRails::ActionViewExtension' do
|
|
56
56
|
it { should be_a String }
|
57
57
|
it { should_not include Money.default_currency.decimal_mark }
|
58
58
|
it { should include Money.default_currency.symbol }
|
59
|
+
it { should_not include "00" }
|
60
|
+
end
|
61
|
+
|
62
|
+
context 'respects MoneyRails::Configuration settings' do
|
63
|
+
context 'with no_cents_if_whole: false' do
|
64
|
+
|
65
|
+
before do
|
66
|
+
MoneyRails.configure do |config|
|
67
|
+
config.no_cents_if_whole = false
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe '#humanized_money' do
|
72
|
+
subject { helper.humanized_money Money.new(12500) }
|
73
|
+
it { should be_a String }
|
74
|
+
it { should_not include Money.default_currency.decimal_mark }
|
75
|
+
it { should_not include Money.default_currency.symbol }
|
76
|
+
it { should include "00" }
|
77
|
+
end
|
78
|
+
|
79
|
+
describe '#humanized_money_with_symbol' do
|
80
|
+
subject { helper.humanized_money_with_symbol Money.new(12500) }
|
81
|
+
it { should be_a String }
|
82
|
+
it { should_not include Money.default_currency.decimal_mark }
|
83
|
+
it { should include Money.default_currency.symbol }
|
84
|
+
it { should include "00" }
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
context 'with no_cents_if_whole: nil' do
|
89
|
+
|
90
|
+
before do
|
91
|
+
MoneyRails.configure do |config|
|
92
|
+
config.no_cents_if_whole = nil
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
describe '#humanized_money' do
|
97
|
+
subject { helper.humanized_money Money.new(12500) }
|
98
|
+
it { should be_a String }
|
99
|
+
it { should_not include Money.default_currency.decimal_mark }
|
100
|
+
it { should_not include Money.default_currency.symbol }
|
101
|
+
it { should_not include "00" }
|
102
|
+
end
|
103
|
+
|
104
|
+
describe '#humanized_money_with_symbol' do
|
105
|
+
subject { helper.humanized_money_with_symbol Money.new(12500) }
|
106
|
+
it { should be_a String }
|
107
|
+
it { should_not include Money.default_currency.decimal_mark }
|
108
|
+
it { should include Money.default_currency.symbol }
|
109
|
+
it { should_not include "00" }
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
context 'with no_cents_if_whole: true' do
|
114
|
+
|
115
|
+
before do
|
116
|
+
MoneyRails.configure do |config|
|
117
|
+
config.no_cents_if_whole = true
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
describe '#humanized_money' do
|
122
|
+
subject { helper.humanized_money Money.new(12500) }
|
123
|
+
it { should be_a String }
|
124
|
+
it { should_not include Money.default_currency.decimal_mark }
|
125
|
+
it { should_not include Money.default_currency.symbol }
|
126
|
+
it { should_not include "00" }
|
127
|
+
end
|
128
|
+
|
129
|
+
describe '#humanized_money_with_symbol' do
|
130
|
+
subject { helper.humanized_money_with_symbol Money.new(12500) }
|
131
|
+
it { should be_a String }
|
132
|
+
it { should_not include Money.default_currency.decimal_mark }
|
133
|
+
it { should include Money.default_currency.symbol }
|
134
|
+
it { should_not include "00" }
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
|
59
139
|
end
|
60
140
|
|
61
141
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: money-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.11.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andreas Loupasakis
|
@@ -11,118 +10,104 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2014-
|
13
|
+
date: 2014-05-23 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: money
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- - ~>
|
19
|
+
- - "~>"
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: 6.1.1
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- - ~>
|
26
|
+
- - "~>"
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: 6.1.1
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: monetize
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- - ~>
|
33
|
+
- - "~>"
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: 0.3.0
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- - ~>
|
40
|
+
- - "~>"
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: 0.3.0
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: activesupport
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - ">="
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: '3.0'
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - ">="
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: '3.0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: railties
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- -
|
61
|
+
- - ">="
|
70
62
|
- !ruby/object:Gem::Version
|
71
63
|
version: '3.0'
|
72
64
|
type: :runtime
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- -
|
68
|
+
- - ">="
|
78
69
|
- !ruby/object:Gem::Version
|
79
70
|
version: '3.0'
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: rails
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- -
|
75
|
+
- - ">="
|
86
76
|
- !ruby/object:Gem::Version
|
87
77
|
version: '3.0'
|
88
78
|
type: :development
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- -
|
82
|
+
- - ">="
|
94
83
|
- !ruby/object:Gem::Version
|
95
84
|
version: '3.0'
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: rspec-rails
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- - ~>
|
89
|
+
- - "~>"
|
102
90
|
- !ruby/object:Gem::Version
|
103
91
|
version: '2.10'
|
104
92
|
type: :development
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- - ~>
|
96
|
+
- - "~>"
|
110
97
|
- !ruby/object:Gem::Version
|
111
98
|
version: '2.10'
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
100
|
name: database_cleaner
|
114
101
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
102
|
requirements:
|
117
|
-
- -
|
103
|
+
- - ">="
|
118
104
|
- !ruby/object:Gem::Version
|
119
105
|
version: 0.8.0
|
120
106
|
type: :development
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
109
|
requirements:
|
125
|
-
- -
|
110
|
+
- - ">="
|
126
111
|
- !ruby/object:Gem::Version
|
127
112
|
version: 0.8.0
|
128
113
|
description: This library provides integration of RubyMoney - Money gem with Rails
|
@@ -132,169 +117,168 @@ executables: []
|
|
132
117
|
extensions: []
|
133
118
|
extra_rdoc_files: []
|
134
119
|
files:
|
135
|
-
-
|
136
|
-
-
|
120
|
+
- CHANGELOG.md
|
121
|
+
- LICENSE
|
122
|
+
- README.md
|
123
|
+
- Rakefile
|
124
|
+
- config/locales/money.en.yml
|
137
125
|
- lib/generators/money_rails/initializer_generator.rb
|
138
|
-
- lib/money
|
126
|
+
- lib/generators/templates/money.rb
|
127
|
+
- lib/money-rails.rb
|
139
128
|
- lib/money-rails/active_model/validator.rb
|
140
|
-
- lib/money-rails/helpers/action_view_extension.rb
|
141
|
-
- lib/money-rails/test_helpers.rb
|
142
|
-
- lib/money-rails/engine.rb
|
143
|
-
- lib/money-rails/mongoid/two.rb
|
144
|
-
- lib/money-rails/mongoid/money.rb
|
145
|
-
- lib/money-rails/hooks.rb
|
146
|
-
- lib/money-rails/configuration.rb
|
147
129
|
- lib/money-rails/active_record/migration_extensions/options_extractor.rb
|
148
130
|
- lib/money-rails/active_record/migration_extensions/schema_statements.rb
|
149
131
|
- lib/money-rails/active_record/migration_extensions/table.rb
|
150
132
|
- lib/money-rails/active_record/monetizable.rb
|
133
|
+
- lib/money-rails/configuration.rb
|
134
|
+
- lib/money-rails/engine.rb
|
135
|
+
- lib/money-rails/helpers/action_view_extension.rb
|
136
|
+
- lib/money-rails/hooks.rb
|
151
137
|
- lib/money-rails/money.rb
|
138
|
+
- lib/money-rails/mongoid/money.rb
|
139
|
+
- lib/money-rails/mongoid/two.rb
|
140
|
+
- lib/money-rails/railtie.rb
|
141
|
+
- lib/money-rails/test_helpers.rb
|
152
142
|
- lib/money-rails/version.rb
|
153
|
-
-
|
154
|
-
- spec/
|
155
|
-
- spec/
|
156
|
-
- spec/
|
157
|
-
- spec/
|
158
|
-
- spec/
|
159
|
-
- spec/dummy/
|
160
|
-
- spec/dummy/
|
161
|
-
- spec/dummy/
|
162
|
-
- spec/dummy/
|
163
|
-
- spec/dummy/db/migrate/20120712202655_add_sale_price_cents_to_product.rb
|
164
|
-
- spec/dummy/db/migrate/20120402080348_add_bonus_cents_to_product.rb
|
165
|
-
- spec/dummy/db/migrate/20120528210103_create_dummy_products.rb
|
166
|
-
- spec/dummy/db/migrate/20120524052716_create_services.rb
|
167
|
-
- spec/dummy/db/migrate/20120331190108_create_products.rb
|
168
|
-
- spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
|
169
|
-
- spec/dummy/db/structure.sql
|
170
|
-
- spec/dummy/config/environment.rb
|
171
|
-
- spec/dummy/config/boot.rb
|
172
|
-
- spec/dummy/config/mongoid.yml
|
173
|
-
- spec/dummy/config/application.rb
|
174
|
-
- spec/dummy/config/locales/en.yml
|
175
|
-
- spec/dummy/config/locales/en-GB.yml
|
176
|
-
- spec/dummy/config/initializers/secret_token.rb
|
177
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
178
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
179
|
-
- spec/dummy/config/initializers/session_store.rb
|
180
|
-
- spec/dummy/config/initializers/money.rb
|
181
|
-
- spec/dummy/config/initializers/inflections.rb
|
182
|
-
- spec/dummy/config/initializers/mime_types.rb
|
183
|
-
- spec/dummy/config/database.yml
|
184
|
-
- spec/dummy/config/routes.rb
|
185
|
-
- spec/dummy/config/environments/development.rb
|
186
|
-
- spec/dummy/config/environments/production.rb
|
187
|
-
- spec/dummy/config/environments/test.rb
|
143
|
+
- money-rails.gemspec
|
144
|
+
- spec/active_record/migration_extensions/schema_statements_spec.rb
|
145
|
+
- spec/active_record/migration_extensions/table_spec.rb
|
146
|
+
- spec/active_record/monetizable_spec.rb
|
147
|
+
- spec/configuration_spec.rb
|
148
|
+
- spec/dummy/README.rdoc
|
149
|
+
- spec/dummy/Rakefile
|
150
|
+
- spec/dummy/app/assets/javascripts/application.js
|
151
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
152
|
+
- spec/dummy/app/controllers/application_controller.rb
|
188
153
|
- spec/dummy/app/helpers/application_helper.rb
|
189
|
-
- spec/dummy/app/models/transaction.rb
|
190
154
|
- spec/dummy/app/models/dummy_product.rb
|
191
|
-
- spec/dummy/app/models/product.rb
|
192
155
|
- spec/dummy/app/models/priceable.rb
|
156
|
+
- spec/dummy/app/models/product.rb
|
193
157
|
- spec/dummy/app/models/service.rb
|
194
|
-
- spec/dummy/app/
|
195
|
-
- spec/dummy/app/assets/javascripts/application.js
|
158
|
+
- spec/dummy/app/models/transaction.rb
|
196
159
|
- spec/dummy/app/views/layouts/application.html.erb
|
197
|
-
- spec/dummy/app/controllers/application_controller.rb
|
198
|
-
- spec/dummy/script/rails
|
199
160
|
- spec/dummy/config.ru
|
161
|
+
- spec/dummy/config/application.rb
|
162
|
+
- spec/dummy/config/boot.rb
|
163
|
+
- spec/dummy/config/database.yml
|
164
|
+
- spec/dummy/config/environment.rb
|
165
|
+
- spec/dummy/config/environments/development.rb
|
166
|
+
- spec/dummy/config/environments/production.rb
|
167
|
+
- spec/dummy/config/environments/test.rb
|
168
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
169
|
+
- spec/dummy/config/initializers/inflections.rb
|
170
|
+
- spec/dummy/config/initializers/mime_types.rb
|
171
|
+
- spec/dummy/config/initializers/money.rb
|
172
|
+
- spec/dummy/config/initializers/secret_token.rb
|
173
|
+
- spec/dummy/config/initializers/session_store.rb
|
174
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
175
|
+
- spec/dummy/config/locales/en-GB.yml
|
176
|
+
- spec/dummy/config/locales/en.yml
|
177
|
+
- spec/dummy/config/mongoid.yml
|
178
|
+
- spec/dummy/config/routes.rb
|
179
|
+
- spec/dummy/db/migrate/20120331190108_create_products.rb
|
180
|
+
- spec/dummy/db/migrate/20120402080348_add_bonus_cents_to_product.rb
|
181
|
+
- spec/dummy/db/migrate/20120524052716_create_services.rb
|
182
|
+
- spec/dummy/db/migrate/20120528181002_create_transactions.rb
|
183
|
+
- spec/dummy/db/migrate/20120528210103_create_dummy_products.rb
|
184
|
+
- spec/dummy/db/migrate/20120607210247_add_column_that_allows_nil.rb
|
185
|
+
- spec/dummy/db/migrate/20120712202655_add_sale_price_cents_to_product.rb
|
186
|
+
- spec/dummy/db/migrate/20130124023419_add_price_in_a_range_cents_to_products.rb
|
187
|
+
- spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
|
188
|
+
- spec/dummy/db/schema.rb
|
189
|
+
- spec/dummy/db/structure.sql
|
200
190
|
- spec/dummy/public/404.html
|
191
|
+
- spec/dummy/public/422.html
|
201
192
|
- spec/dummy/public/500.html
|
202
193
|
- spec/dummy/public/favicon.ico
|
203
|
-
- spec/dummy/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/
|
209
|
-
- spec/
|
194
|
+
- spec/dummy/script/rails
|
195
|
+
- spec/helpers/action_view_extension_spec.rb
|
196
|
+
- spec/helpers/form_helper_spec.rb
|
197
|
+
- spec/mongoid/three_spec.rb
|
198
|
+
- spec/mongoid/two_spec.rb
|
199
|
+
- spec/spec_helper.rb
|
200
|
+
- spec/support/database_cleaner.rb
|
210
201
|
- spec/test_helpers_spec.rb
|
211
|
-
- config/locales/money.en.yml
|
212
|
-
- CHANGELOG.md
|
213
|
-
- LICENSE
|
214
|
-
- README.md
|
215
|
-
- Rakefile
|
216
|
-
- money-rails.gemspec
|
217
202
|
homepage: https://github.com/RubyMoney/money-rails
|
218
203
|
licenses:
|
219
204
|
- MIT
|
205
|
+
metadata: {}
|
220
206
|
post_install_message:
|
221
207
|
rdoc_options: []
|
222
208
|
require_paths:
|
223
209
|
- lib
|
224
210
|
required_ruby_version: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
211
|
requirements:
|
227
|
-
- -
|
212
|
+
- - ">="
|
228
213
|
- !ruby/object:Gem::Version
|
229
214
|
version: '0'
|
230
215
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
|
-
none: false
|
232
216
|
requirements:
|
233
|
-
- -
|
217
|
+
- - ">="
|
234
218
|
- !ruby/object:Gem::Version
|
235
219
|
version: '0'
|
236
220
|
requirements: []
|
237
221
|
rubyforge_project:
|
238
|
-
rubygems_version:
|
222
|
+
rubygems_version: 2.2.2
|
239
223
|
signing_key:
|
240
|
-
specification_version:
|
224
|
+
specification_version: 4
|
241
225
|
summary: Money gem integration with Rails
|
242
226
|
test_files:
|
243
|
-
- spec/
|
244
|
-
- spec/
|
245
|
-
- spec/
|
246
|
-
- spec/
|
247
|
-
- spec/
|
248
|
-
- spec/
|
249
|
-
- spec/dummy/
|
250
|
-
- spec/dummy/
|
251
|
-
- spec/dummy/
|
252
|
-
- spec/dummy/db/migrate/20130124023419_add_price_in_a_range_cents_to_products.rb
|
253
|
-
- spec/dummy/db/migrate/20120712202655_add_sale_price_cents_to_product.rb
|
254
|
-
- spec/dummy/db/migrate/20120402080348_add_bonus_cents_to_product.rb
|
255
|
-
- spec/dummy/db/migrate/20120528210103_create_dummy_products.rb
|
256
|
-
- spec/dummy/db/migrate/20120524052716_create_services.rb
|
257
|
-
- spec/dummy/db/migrate/20120331190108_create_products.rb
|
258
|
-
- spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
|
259
|
-
- spec/dummy/db/structure.sql
|
260
|
-
- spec/dummy/config/environment.rb
|
261
|
-
- spec/dummy/config/boot.rb
|
262
|
-
- spec/dummy/config/mongoid.yml
|
263
|
-
- spec/dummy/config/application.rb
|
264
|
-
- spec/dummy/config/locales/en.yml
|
265
|
-
- spec/dummy/config/locales/en-GB.yml
|
266
|
-
- spec/dummy/config/initializers/secret_token.rb
|
267
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
268
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
269
|
-
- spec/dummy/config/initializers/session_store.rb
|
270
|
-
- spec/dummy/config/initializers/money.rb
|
271
|
-
- spec/dummy/config/initializers/inflections.rb
|
272
|
-
- spec/dummy/config/initializers/mime_types.rb
|
273
|
-
- spec/dummy/config/database.yml
|
274
|
-
- spec/dummy/config/routes.rb
|
275
|
-
- spec/dummy/config/environments/development.rb
|
276
|
-
- spec/dummy/config/environments/production.rb
|
277
|
-
- spec/dummy/config/environments/test.rb
|
227
|
+
- spec/active_record/migration_extensions/schema_statements_spec.rb
|
228
|
+
- spec/active_record/migration_extensions/table_spec.rb
|
229
|
+
- spec/active_record/monetizable_spec.rb
|
230
|
+
- spec/configuration_spec.rb
|
231
|
+
- spec/dummy/README.rdoc
|
232
|
+
- spec/dummy/Rakefile
|
233
|
+
- spec/dummy/app/assets/javascripts/application.js
|
234
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
235
|
+
- spec/dummy/app/controllers/application_controller.rb
|
278
236
|
- spec/dummy/app/helpers/application_helper.rb
|
279
|
-
- spec/dummy/app/models/transaction.rb
|
280
237
|
- spec/dummy/app/models/dummy_product.rb
|
281
|
-
- spec/dummy/app/models/product.rb
|
282
238
|
- spec/dummy/app/models/priceable.rb
|
239
|
+
- spec/dummy/app/models/product.rb
|
283
240
|
- spec/dummy/app/models/service.rb
|
284
|
-
- spec/dummy/app/
|
285
|
-
- spec/dummy/app/assets/javascripts/application.js
|
241
|
+
- spec/dummy/app/models/transaction.rb
|
286
242
|
- spec/dummy/app/views/layouts/application.html.erb
|
287
|
-
- spec/dummy/app/controllers/application_controller.rb
|
288
|
-
- spec/dummy/script/rails
|
289
243
|
- spec/dummy/config.ru
|
244
|
+
- spec/dummy/config/application.rb
|
245
|
+
- spec/dummy/config/boot.rb
|
246
|
+
- spec/dummy/config/database.yml
|
247
|
+
- spec/dummy/config/environment.rb
|
248
|
+
- spec/dummy/config/environments/development.rb
|
249
|
+
- spec/dummy/config/environments/production.rb
|
250
|
+
- spec/dummy/config/environments/test.rb
|
251
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
252
|
+
- spec/dummy/config/initializers/inflections.rb
|
253
|
+
- spec/dummy/config/initializers/mime_types.rb
|
254
|
+
- spec/dummy/config/initializers/money.rb
|
255
|
+
- spec/dummy/config/initializers/secret_token.rb
|
256
|
+
- spec/dummy/config/initializers/session_store.rb
|
257
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
258
|
+
- spec/dummy/config/locales/en-GB.yml
|
259
|
+
- spec/dummy/config/locales/en.yml
|
260
|
+
- spec/dummy/config/mongoid.yml
|
261
|
+
- spec/dummy/config/routes.rb
|
262
|
+
- spec/dummy/db/migrate/20120331190108_create_products.rb
|
263
|
+
- spec/dummy/db/migrate/20120402080348_add_bonus_cents_to_product.rb
|
264
|
+
- spec/dummy/db/migrate/20120524052716_create_services.rb
|
265
|
+
- spec/dummy/db/migrate/20120528181002_create_transactions.rb
|
266
|
+
- spec/dummy/db/migrate/20120528210103_create_dummy_products.rb
|
267
|
+
- spec/dummy/db/migrate/20120607210247_add_column_that_allows_nil.rb
|
268
|
+
- spec/dummy/db/migrate/20120712202655_add_sale_price_cents_to_product.rb
|
269
|
+
- spec/dummy/db/migrate/20130124023419_add_price_in_a_range_cents_to_products.rb
|
270
|
+
- spec/dummy/db/migrate/20140110194016_add_validates_method_amount_cents_to_products.rb
|
271
|
+
- spec/dummy/db/schema.rb
|
272
|
+
- spec/dummy/db/structure.sql
|
290
273
|
- spec/dummy/public/404.html
|
274
|
+
- spec/dummy/public/422.html
|
291
275
|
- spec/dummy/public/500.html
|
292
276
|
- spec/dummy/public/favicon.ico
|
293
|
-
- spec/dummy/
|
294
|
-
- spec/
|
295
|
-
- spec/
|
296
|
-
- spec/
|
297
|
-
- spec/
|
298
|
-
- spec/
|
299
|
-
- spec/
|
277
|
+
- spec/dummy/script/rails
|
278
|
+
- spec/helpers/action_view_extension_spec.rb
|
279
|
+
- spec/helpers/form_helper_spec.rb
|
280
|
+
- spec/mongoid/three_spec.rb
|
281
|
+
- spec/mongoid/two_spec.rb
|
282
|
+
- spec/spec_helper.rb
|
283
|
+
- spec/support/database_cleaner.rb
|
300
284
|
- spec/test_helpers_spec.rb
|