erp_commerce 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,83 @@
|
|
1
|
+
ErpProducts::ErpApp::Desktop::ProductManager::BaseController.class_eval do
|
2
|
+
|
3
|
+
#
|
4
|
+
#Prices
|
5
|
+
#
|
6
|
+
|
7
|
+
def currencies
|
8
|
+
Currency.include_root_in_json = false
|
9
|
+
render :inline => "{currencies:#{Currency.all.to_json(:only => [:id, :internal_identifier])}}"
|
10
|
+
end
|
11
|
+
|
12
|
+
def prices
|
13
|
+
result = {:prices => []}
|
14
|
+
|
15
|
+
product_type = ProductType.find(params[:id])
|
16
|
+
product_type.pricing_plans.each do |pricing_plan|
|
17
|
+
result[:prices] << {
|
18
|
+
:pricing_plan_id => pricing_plan.id,
|
19
|
+
:price => pricing_plan.money_amount,
|
20
|
+
:currency => pricing_plan.currency.id,
|
21
|
+
:currency_display => pricing_plan.currency.internal_identifier,
|
22
|
+
:from_date => pricing_plan.from_date,
|
23
|
+
:thru_date => pricing_plan.thru_date,
|
24
|
+
:description => pricing_plan.description,
|
25
|
+
:comments => pricing_plan.comments
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
render :json => result
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
#pricing uses one form for new models and updates. So we use one action
|
34
|
+
def new_and_update_price
|
35
|
+
result = {}
|
36
|
+
|
37
|
+
if params[:pricing_plan_id].blank?
|
38
|
+
pricing_plan = PricingPlan.new(
|
39
|
+
:money_amount => params[:price],
|
40
|
+
:comments => params[:comments],
|
41
|
+
:currency => Currency.find(params[:currency]),
|
42
|
+
:from_date => Date.strptime(params[:from_date], '%m/%d/%Y').to_date,
|
43
|
+
:thru_date => Date.strptime(params[:thru_date], '%m/%d/%Y').to_date,
|
44
|
+
:description => params[:description],
|
45
|
+
:is_simple_amount => true
|
46
|
+
)
|
47
|
+
|
48
|
+
if pricing_plan.save
|
49
|
+
product_type = ProductType.find(params[:product_type_id])
|
50
|
+
product_type.pricing_plans << pricing_plan
|
51
|
+
if product_type.save
|
52
|
+
result[:success] = true
|
53
|
+
else
|
54
|
+
pricing_plan.destroy
|
55
|
+
result[:success] = false
|
56
|
+
end
|
57
|
+
else
|
58
|
+
result[:success] = false
|
59
|
+
end
|
60
|
+
else
|
61
|
+
pricing_plan = PricingPlan.find(params[:pricing_plan_id])
|
62
|
+
pricing_plan.money_amount = params[:price]
|
63
|
+
pricing_plan.currency = Currency.find(params[:currency])
|
64
|
+
pricing_plan.from_date = Date.strptime(params[:from_date], '%m/%d/%Y').to_date
|
65
|
+
pricing_plan.thru_date = Date.strptime(params[:thru_date], '%m/%d/%Y').to_date
|
66
|
+
pricing_plan.description = params[:description]
|
67
|
+
pricing_plan.comments = params[:comments]
|
68
|
+
|
69
|
+
if pricing_plan.save
|
70
|
+
result[:success] = true
|
71
|
+
else
|
72
|
+
result[:success] = false
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
render :json => result
|
77
|
+
end
|
78
|
+
|
79
|
+
def delete_price
|
80
|
+
render :json => (PricingPlan.find(params[:id]).destroy) ? {:success => true} : {:success => false}
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
data/lib/erp_commerce/version.rb
CHANGED
data/lib/erp_commerce.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_commerce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
16
|
-
requirement: &
|
16
|
+
requirement: &2161317020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.3.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2161317020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activemerchant
|
27
|
-
requirement: &
|
27
|
+
requirement: &2161316520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,65 +32,21 @@ dependencies:
|
|
32
32
|
version: 1.20.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: erp_app
|
38
|
-
requirement: &76792110 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - =
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 3.0.1
|
44
|
-
type: :runtime
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *76792110
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: erp_agreements
|
49
|
-
requirement: &76791190 !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
|
-
requirements:
|
52
|
-
- - =
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0.1
|
55
|
-
type: :runtime
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: *76791190
|
35
|
+
version_requirements: *2161316520
|
58
36
|
- !ruby/object:Gem::Dependency
|
59
37
|
name: erp_orders
|
60
|
-
requirement: &
|
61
|
-
none: false
|
62
|
-
requirements:
|
63
|
-
- - =
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: 3.0.1
|
66
|
-
type: :runtime
|
67
|
-
prerelease: false
|
68
|
-
version_requirements: *76790200
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: erp_products
|
71
|
-
requirement: &76815210 !ruby/object:Gem::Requirement
|
38
|
+
requirement: &2161316060 !ruby/object:Gem::Requirement
|
72
39
|
none: false
|
73
40
|
requirements:
|
74
|
-
- -
|
41
|
+
- - ~>
|
75
42
|
- !ruby/object:Gem::Version
|
76
|
-
version: 3.0
|
43
|
+
version: '3.0'
|
77
44
|
type: :runtime
|
78
45
|
prerelease: false
|
79
|
-
version_requirements: *
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: erp_txns_and_accts
|
82
|
-
requirement: &76814070 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
|
-
requirements:
|
85
|
-
- - =
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 3.0.1
|
88
|
-
type: :runtime
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: *76814070
|
46
|
+
version_requirements: *2161316060
|
91
47
|
- !ruby/object:Gem::Dependency
|
92
48
|
name: prismpay
|
93
|
-
requirement: &
|
49
|
+
requirement: &2161315680 !ruby/object:Gem::Requirement
|
94
50
|
none: false
|
95
51
|
requirements:
|
96
52
|
- - ! '>='
|
@@ -98,18 +54,18 @@ dependencies:
|
|
98
54
|
version: '0'
|
99
55
|
type: :runtime
|
100
56
|
prerelease: false
|
101
|
-
version_requirements: *
|
57
|
+
version_requirements: *2161315680
|
102
58
|
- !ruby/object:Gem::Dependency
|
103
59
|
name: erp_dev_svcs
|
104
|
-
requirement: &
|
60
|
+
requirement: &2161315140 !ruby/object:Gem::Requirement
|
105
61
|
none: false
|
106
62
|
requirements:
|
107
|
-
- -
|
63
|
+
- - ~>
|
108
64
|
- !ruby/object:Gem::Version
|
109
|
-
version: 3.0
|
65
|
+
version: '3.0'
|
110
66
|
type: :development
|
111
67
|
prerelease: false
|
112
|
-
version_requirements: *
|
68
|
+
version_requirements: *2161315140
|
113
69
|
description: The CompassAE Commerce Engine uses the engines that implement Parties,
|
114
70
|
Products and Orders, and adds the ability to conduct commerce. It implements a pricing
|
115
71
|
engine, fees, payment gateways.
|
@@ -119,124 +75,125 @@ executables: []
|
|
119
75
|
extensions: []
|
120
76
|
extra_rdoc_files: []
|
121
77
|
files:
|
122
|
-
- app/widgets/orders/views/index.html.erb
|
123
|
-
- app/widgets/orders/base.rb
|
124
|
-
- app/widgets/orders/javascript/orders.js
|
125
|
-
- app/widgets/shopping_cart/views/price_summary.html.erb
|
126
|
-
- app/widgets/shopping_cart/views/confirmation.html.erb
|
127
|
-
- app/widgets/shopping_cart/views/cart_items.html.erb
|
128
|
-
- app/widgets/shopping_cart/views/demographics.html.erb
|
129
|
-
- app/widgets/shopping_cart/views/login.html.erb
|
130
|
-
- app/widgets/shopping_cart/views/payment.html.erb
|
131
|
-
- app/widgets/shopping_cart/base.rb
|
132
|
-
- app/widgets/shopping_cart/javascript/shopping_cart.js
|
133
|
-
- app/widgets/product_catalog/views/add_to_cart.html.erb
|
134
|
-
- app/widgets/product_catalog/views/index.html.erb
|
135
|
-
- app/widgets/product_catalog/views/show.html.erb
|
136
|
-
- app/widgets/product_catalog/base.rb
|
137
|
-
- app/widgets/product_catalog/javascript/product_catalog.js
|
138
|
-
- app/assets/stylesheets/erp_commerce/application.css
|
139
78
|
- app/assets/javascripts/erp_commerce/application.js
|
140
|
-
- app/
|
141
|
-
- app/
|
79
|
+
- app/assets/stylesheets/erp_commerce/application.css
|
80
|
+
- app/controllers/erp_commerce/application_controller.rb
|
81
|
+
- app/helpers/erp_commerce/application_helper.rb
|
82
|
+
- app/mailers/checkout_mailer.rb
|
83
|
+
- app/models/bank_account.rb
|
84
|
+
- app/models/bank_account_type.rb
|
85
|
+
- app/models/credit_card.rb
|
142
86
|
- app/models/credit_card_account.rb
|
143
|
-
- app/models/
|
144
|
-
- app/models/
|
87
|
+
- app/models/credit_card_account_party_role.rb
|
88
|
+
- app/models/credit_card_account_purpose.rb
|
89
|
+
- app/models/credit_card_token.rb
|
90
|
+
- app/models/extensions/charge_line.rb
|
91
|
+
- app/models/extensions/currency.rb
|
92
|
+
- app/models/extensions/financial_txn.rb
|
93
|
+
- app/models/extensions/order_txn.rb
|
94
|
+
- app/models/extensions/party.rb
|
95
|
+
- app/models/extensions/product_instance.rb
|
96
|
+
- app/models/extensions/product_type.rb
|
145
97
|
- app/models/fee.rb
|
146
|
-
- app/models/
|
147
|
-
- app/models/
|
98
|
+
- app/models/fee_type.rb
|
99
|
+
- app/models/payment.rb
|
148
100
|
- app/models/payment_gateway.rb
|
149
|
-
- app/models/
|
101
|
+
- app/models/payment_gateway_action.rb
|
150
102
|
- app/models/price.rb
|
151
103
|
- app/models/price_component.rb
|
152
|
-
- app/models/credit_card.rb
|
153
|
-
- app/models/credit_card_account_purpose.rb
|
154
|
-
- app/models/fee_type.rb
|
155
104
|
- app/models/price_component_type.rb
|
156
|
-
- app/models/
|
105
|
+
- app/models/pricing_plan.rb
|
106
|
+
- app/models/pricing_plan_assignment.rb
|
157
107
|
- app/models/pricing_plan_component.rb
|
158
|
-
- app/models/
|
159
|
-
- app/
|
160
|
-
- app/
|
161
|
-
- app/
|
162
|
-
- app/
|
163
|
-
- app/
|
164
|
-
- app/
|
165
|
-
- app/
|
166
|
-
- app/
|
167
|
-
- app/
|
168
|
-
- app/
|
169
|
-
- app/
|
170
|
-
- app/
|
108
|
+
- app/models/valid_price_plan_component.rb
|
109
|
+
- app/views/checkout_mailer/email_confirmation.html.erb
|
110
|
+
- app/views/layouts/erp_commerce/application.html.erb
|
111
|
+
- app/widgets/orders/base.rb
|
112
|
+
- app/widgets/orders/javascript/orders.js
|
113
|
+
- app/widgets/orders/views/index.html.erb
|
114
|
+
- app/widgets/product_catalog/base.rb
|
115
|
+
- app/widgets/product_catalog/javascript/product_catalog.js
|
116
|
+
- app/widgets/product_catalog/views/add_to_cart.html.erb
|
117
|
+
- app/widgets/product_catalog/views/index.html.erb
|
118
|
+
- app/widgets/product_catalog/views/show.html.erb
|
119
|
+
- app/widgets/shopping_cart/base.rb
|
120
|
+
- app/widgets/shopping_cart/javascript/shopping_cart.js
|
121
|
+
- app/widgets/shopping_cart/views/cart_items.html.erb
|
122
|
+
- app/widgets/shopping_cart/views/confirmation.html.erb
|
123
|
+
- app/widgets/shopping_cart/views/demographics.html.erb
|
124
|
+
- app/widgets/shopping_cart/views/login.html.erb
|
125
|
+
- app/widgets/shopping_cart/views/payment.html.erb
|
126
|
+
- app/widgets/shopping_cart/views/price_summary.html.erb
|
171
127
|
- config/routes.rb
|
128
|
+
- db/data_migrations/20101011152441_payment_gateway_actions.rb
|
172
129
|
- db/migrate/20100823174238_erp_commerce_base.rb
|
130
|
+
- db/migrate/20100913154134_setup_payments.rb
|
173
131
|
- db/migrate/20101103132342_pricing_migrations.rb
|
174
132
|
- db/migrate/20110921150854_create_fees.rb
|
175
133
|
- db/migrate/20120308220606_add_external_identifier_to_payments.rb
|
176
|
-
- db/migrate/20100913154134_setup_payments.rb
|
177
134
|
- db/migrate/upgrade/20120117170037_add_bank_account.rb
|
178
135
|
- db/migrate/upgrade/20120117190924_add_credit_card_to_account_roles.rb
|
179
|
-
-
|
180
|
-
- lib/erp_commerce.rb
|
181
|
-
- lib/tasks/erp_commerce_tasks.rake
|
136
|
+
- lib/erp_commerce/active_merchant_wrappers/bank_wrapper.rb
|
182
137
|
- lib/erp_commerce/active_merchant_wrappers/brain_tree_gateway_wrapper.rb
|
183
138
|
- lib/erp_commerce/active_merchant_wrappers/credit_card_validation.rb
|
184
|
-
- lib/erp_commerce/active_merchant_wrappers/bank_wrapper.rb
|
185
139
|
- lib/erp_commerce/active_merchant_wrappers/prismpay_wrapper.rb
|
186
|
-
- lib/erp_commerce/engine.rb
|
187
|
-
- lib/erp_commerce/config.rb
|
188
140
|
- lib/erp_commerce/active_merchant_wrappers.rb
|
189
|
-
- lib/erp_commerce/
|
190
|
-
- lib/erp_commerce/
|
191
|
-
- lib/erp_commerce/extensions/active_record/acts_as_priceable.rb
|
141
|
+
- lib/erp_commerce/config.rb
|
142
|
+
- lib/erp_commerce/engine.rb
|
192
143
|
- lib/erp_commerce/extensions/active_record/acts_as_fee.rb
|
144
|
+
- lib/erp_commerce/extensions/active_record/acts_as_priceable.rb
|
145
|
+
- lib/erp_commerce/extensions/compass_ae/erp_products/erp_app/desktop/product_manager/base_controller.rb
|
146
|
+
- lib/erp_commerce/extensions.rb
|
147
|
+
- lib/erp_commerce/order_helper.rb
|
193
148
|
- lib/erp_commerce/version.rb
|
149
|
+
- lib/erp_commerce.rb
|
150
|
+
- lib/tasks/erp_commerce_tasks.rake
|
194
151
|
- GPL-3-LICENSE
|
195
152
|
- Rakefile
|
196
153
|
- README.md
|
197
|
-
- spec/factories/basic.rb
|
198
|
-
- spec/spec_helper.rb
|
199
|
-
- spec/models/payment_spec.rb
|
200
|
-
- spec/models/credit_card_spec.rb
|
201
|
-
- spec/models/credit_card_account_purpose_spec.rb
|
202
|
-
- spec/models/payment_gateway_spec.rb
|
203
|
-
- spec/models/price_component_spec.rb
|
204
|
-
- spec/models/pricing_plan_spec.rb
|
205
|
-
- spec/models/fee_spec.rb
|
206
|
-
- spec/models/valid_price_plan_component_spec.rb
|
207
|
-
- spec/models/price_component_type_spec.rb
|
208
|
-
- spec/models/credit_card_account_party_role_spec.rb
|
209
|
-
- spec/models/pricing_plan_component_spec.rb
|
210
|
-
- spec/models/credit_card_account_spec.rb
|
211
|
-
- spec/models/fee_type_spec.rb
|
212
|
-
- spec/models/pricing_plan_assignment_spec.rb
|
213
|
-
- spec/models/payment_gateway_action_spec.rb
|
214
|
-
- spec/models/price_spec.rb
|
215
|
-
- spec/dummy/public/422.html
|
216
|
-
- spec/dummy/public/404.html
|
217
|
-
- spec/dummy/public/500.html
|
218
|
-
- spec/dummy/public/favicon.ico
|
219
|
-
- spec/dummy/config.ru
|
220
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
221
154
|
- spec/dummy/app/assets/javascripts/application.js
|
222
|
-
- spec/dummy/app/
|
223
|
-
- spec/dummy/app/helpers/application_helper.rb
|
155
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
224
156
|
- spec/dummy/app/controllers/application_controller.rb
|
225
|
-
- spec/dummy/
|
226
|
-
- spec/dummy/
|
227
|
-
- spec/dummy/config/boot.rb
|
157
|
+
- spec/dummy/app/helpers/application_helper.rb
|
158
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
228
159
|
- spec/dummy/config/application.rb
|
160
|
+
- spec/dummy/config/boot.rb
|
161
|
+
- spec/dummy/config/database.yml
|
162
|
+
- spec/dummy/config/environment.rb
|
229
163
|
- spec/dummy/config/environments/spec.rb
|
230
|
-
- spec/dummy/config/initializers/mime_types.rb
|
231
|
-
- spec/dummy/config/initializers/session_store.rb
|
232
164
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
233
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
234
165
|
- spec/dummy/config/initializers/inflections.rb
|
166
|
+
- spec/dummy/config/initializers/mime_types.rb
|
235
167
|
- spec/dummy/config/initializers/secret_token.rb
|
236
|
-
- spec/dummy/config/
|
237
|
-
- spec/dummy/config/
|
168
|
+
- spec/dummy/config/initializers/session_store.rb
|
169
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
170
|
+
- spec/dummy/config/locales/en.yml
|
171
|
+
- spec/dummy/config/routes.rb
|
172
|
+
- spec/dummy/config.ru
|
173
|
+
- spec/dummy/public/404.html
|
174
|
+
- spec/dummy/public/422.html
|
175
|
+
- spec/dummy/public/500.html
|
176
|
+
- spec/dummy/public/favicon.ico
|
238
177
|
- spec/dummy/Rakefile
|
239
178
|
- spec/dummy/script/rails
|
179
|
+
- spec/factories/basic.rb
|
180
|
+
- spec/models/credit_card_account_party_role_spec.rb
|
181
|
+
- spec/models/credit_card_account_purpose_spec.rb
|
182
|
+
- spec/models/credit_card_account_spec.rb
|
183
|
+
- spec/models/credit_card_spec.rb
|
184
|
+
- spec/models/fee_spec.rb
|
185
|
+
- spec/models/fee_type_spec.rb
|
186
|
+
- spec/models/payment_gateway_action_spec.rb
|
187
|
+
- spec/models/payment_gateway_spec.rb
|
188
|
+
- spec/models/payment_spec.rb
|
189
|
+
- spec/models/price_component_spec.rb
|
190
|
+
- spec/models/price_component_type_spec.rb
|
191
|
+
- spec/models/price_spec.rb
|
192
|
+
- spec/models/pricing_plan_assignment_spec.rb
|
193
|
+
- spec/models/pricing_plan_component_spec.rb
|
194
|
+
- spec/models/pricing_plan_spec.rb
|
195
|
+
- spec/models/valid_price_plan_component_spec.rb
|
196
|
+
- spec/spec_helper.rb
|
240
197
|
homepage: http://development.compassagile.com
|
241
198
|
licenses: []
|
242
199
|
post_install_message:
|
@@ -257,52 +214,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
214
|
version: '0'
|
258
215
|
requirements: []
|
259
216
|
rubyforge_project:
|
260
|
-
rubygems_version: 1.8.
|
217
|
+
rubygems_version: 1.8.15
|
261
218
|
signing_key:
|
262
219
|
specification_version: 3
|
263
220
|
summary: The CompassAE Commerce Engine uses the engines that implement Parties, Products
|
264
221
|
and Orders, and adds the ability to conduct commerce.
|
265
222
|
test_files:
|
266
|
-
- spec/factories/basic.rb
|
267
|
-
- spec/spec_helper.rb
|
268
|
-
- spec/models/payment_spec.rb
|
269
|
-
- spec/models/credit_card_spec.rb
|
270
|
-
- spec/models/credit_card_account_purpose_spec.rb
|
271
|
-
- spec/models/payment_gateway_spec.rb
|
272
|
-
- spec/models/price_component_spec.rb
|
273
|
-
- spec/models/pricing_plan_spec.rb
|
274
|
-
- spec/models/fee_spec.rb
|
275
|
-
- spec/models/valid_price_plan_component_spec.rb
|
276
|
-
- spec/models/price_component_type_spec.rb
|
277
|
-
- spec/models/credit_card_account_party_role_spec.rb
|
278
|
-
- spec/models/pricing_plan_component_spec.rb
|
279
|
-
- spec/models/credit_card_account_spec.rb
|
280
|
-
- spec/models/fee_type_spec.rb
|
281
|
-
- spec/models/pricing_plan_assignment_spec.rb
|
282
|
-
- spec/models/payment_gateway_action_spec.rb
|
283
|
-
- spec/models/price_spec.rb
|
284
|
-
- spec/dummy/public/422.html
|
285
|
-
- spec/dummy/public/404.html
|
286
|
-
- spec/dummy/public/500.html
|
287
|
-
- spec/dummy/public/favicon.ico
|
288
|
-
- spec/dummy/config.ru
|
289
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
290
223
|
- spec/dummy/app/assets/javascripts/application.js
|
291
|
-
- spec/dummy/app/
|
292
|
-
- spec/dummy/app/helpers/application_helper.rb
|
224
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
293
225
|
- spec/dummy/app/controllers/application_controller.rb
|
294
|
-
- spec/dummy/
|
295
|
-
- spec/dummy/
|
296
|
-
- spec/dummy/config/boot.rb
|
226
|
+
- spec/dummy/app/helpers/application_helper.rb
|
227
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
297
228
|
- spec/dummy/config/application.rb
|
229
|
+
- spec/dummy/config/boot.rb
|
230
|
+
- spec/dummy/config/database.yml
|
231
|
+
- spec/dummy/config/environment.rb
|
298
232
|
- spec/dummy/config/environments/spec.rb
|
299
|
-
- spec/dummy/config/initializers/mime_types.rb
|
300
|
-
- spec/dummy/config/initializers/session_store.rb
|
301
233
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
302
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
303
234
|
- spec/dummy/config/initializers/inflections.rb
|
235
|
+
- spec/dummy/config/initializers/mime_types.rb
|
304
236
|
- spec/dummy/config/initializers/secret_token.rb
|
305
|
-
- spec/dummy/config/
|
306
|
-
- spec/dummy/config/
|
237
|
+
- spec/dummy/config/initializers/session_store.rb
|
238
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
239
|
+
- spec/dummy/config/locales/en.yml
|
240
|
+
- spec/dummy/config/routes.rb
|
241
|
+
- spec/dummy/config.ru
|
242
|
+
- spec/dummy/public/404.html
|
243
|
+
- spec/dummy/public/422.html
|
244
|
+
- spec/dummy/public/500.html
|
245
|
+
- spec/dummy/public/favicon.ico
|
307
246
|
- spec/dummy/Rakefile
|
308
247
|
- spec/dummy/script/rails
|
248
|
+
- spec/factories/basic.rb
|
249
|
+
- spec/models/credit_card_account_party_role_spec.rb
|
250
|
+
- spec/models/credit_card_account_purpose_spec.rb
|
251
|
+
- spec/models/credit_card_account_spec.rb
|
252
|
+
- spec/models/credit_card_spec.rb
|
253
|
+
- spec/models/fee_spec.rb
|
254
|
+
- spec/models/fee_type_spec.rb
|
255
|
+
- spec/models/payment_gateway_action_spec.rb
|
256
|
+
- spec/models/payment_gateway_spec.rb
|
257
|
+
- spec/models/payment_spec.rb
|
258
|
+
- spec/models/price_component_spec.rb
|
259
|
+
- spec/models/price_component_type_spec.rb
|
260
|
+
- spec/models/price_spec.rb
|
261
|
+
- spec/models/pricing_plan_assignment_spec.rb
|
262
|
+
- spec/models/pricing_plan_component_spec.rb
|
263
|
+
- spec/models/pricing_plan_spec.rb
|
264
|
+
- spec/models/valid_price_plan_component_spec.rb
|
265
|
+
- spec/spec_helper.rb
|