erp_commerce 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/GPL-3-LICENSE +674 -0
  2. data/README.rdoc +2 -0
  3. data/Rakefile +32 -0
  4. data/app/assets/javascripts/erp_commerce/application.js +9 -0
  5. data/app/assets/stylesheets/erp_commerce/application.css +7 -0
  6. data/app/controllers/erp_commerce/application_controller.rb +4 -0
  7. data/app/helpers/erp_commerce/application_helper.rb +4 -0
  8. data/app/models/credit_card.rb +54 -0
  9. data/app/models/credit_card_account.rb +4 -0
  10. data/app/models/credit_card_account_party_role.rb +8 -0
  11. data/app/models/credit_card_account_purpose.rb +6 -0
  12. data/app/models/credit_card_token.rb +12 -0
  13. data/app/models/extensions/charge_line.rb +3 -0
  14. data/app/models/extensions/currency.rb +3 -0
  15. data/app/models/extensions/financial_txn.rb +3 -0
  16. data/app/models/extensions/order_txn.rb +3 -0
  17. data/app/models/extensions/party.rb +21 -0
  18. data/app/models/extensions/product_instance.rb +5 -0
  19. data/app/models/extensions/product_type.rb +3 -0
  20. data/app/models/fee.rb +7 -0
  21. data/app/models/fee_type.rb +4 -0
  22. data/app/models/payment.rb +38 -0
  23. data/app/models/payment_gateway.rb +4 -0
  24. data/app/models/payment_gateway_action.rb +2 -0
  25. data/app/models/price.rb +25 -0
  26. data/app/models/price_component.rb +8 -0
  27. data/app/models/price_component_type.rb +3 -0
  28. data/app/models/pricing_plan.rb +37 -0
  29. data/app/models/pricing_plan_assignment.rb +6 -0
  30. data/app/models/pricing_plan_component.rb +36 -0
  31. data/app/models/valid_price_plan_component.rb +8 -0
  32. data/app/views/layouts/erp_commerce/application.html.erb +14 -0
  33. data/app/widgets/orders/base.rb +40 -0
  34. data/app/widgets/orders/javascript/orders.js +11 -0
  35. data/app/widgets/orders/views/index.html.erb +63 -0
  36. data/app/widgets/product_catalog/base.rb +56 -0
  37. data/app/widgets/product_catalog/javascript/product_catalog.js +62 -0
  38. data/app/widgets/product_catalog/views/add_to_cart.html.erb +10 -0
  39. data/app/widgets/product_catalog/views/index.html.erb +69 -0
  40. data/app/widgets/product_catalog/views/show.html.erb +23 -0
  41. data/app/widgets/shopping_cart/base.rb +178 -0
  42. data/app/widgets/shopping_cart/javascript/shopping_cart.js +107 -0
  43. data/app/widgets/shopping_cart/views/cart_items.html.erb +83 -0
  44. data/app/widgets/shopping_cart/views/confirmation.html.erb +10 -0
  45. data/app/widgets/shopping_cart/views/demographics.html.erb +142 -0
  46. data/app/widgets/shopping_cart/views/login.html.erb +1 -0
  47. data/app/widgets/shopping_cart/views/payment.html.erb +81 -0
  48. data/app/widgets/shopping_cart/views/price_summary.html.erb +4 -0
  49. data/config/routes.rb +2 -0
  50. data/db/data_migrations/20101011152441_payment_gateway_actions.rb +27 -0
  51. data/db/migrate/20100823174238_erp_commerce_base.rb +174 -0
  52. data/db/migrate/20100913154134_setup_payments.rb +57 -0
  53. data/db/migrate/20101103132342_pricing_migrations.rb +169 -0
  54. data/db/migrate/20110921150854_create_fees.rb +50 -0
  55. data/lib/erp_commerce/active_merchant_wrappers/brain_tree_gateway_wrapper.rb +66 -0
  56. data/lib/erp_commerce/active_merchant_wrappers/credit_card_validation.rb +34 -0
  57. data/lib/erp_commerce/active_merchant_wrappers.rb +2 -0
  58. data/lib/erp_commerce/engine.rb +15 -0
  59. data/lib/erp_commerce/extensions/active_record/acts_as_fee.rb +64 -0
  60. data/lib/erp_commerce/extensions/active_record/acts_as_priceable.rb +57 -0
  61. data/lib/erp_commerce/extensions.rb +2 -0
  62. data/lib/erp_commerce/order_helper.rb +254 -0
  63. data/lib/erp_commerce/version.rb +3 -0
  64. data/lib/erp_commerce.rb +8 -0
  65. data/lib/tasks/erp_commerce_tasks.rake +4 -0
  66. data/spec/dummy/Rakefile +7 -0
  67. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  68. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  69. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  70. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  71. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  72. data/spec/dummy/config/application.rb +49 -0
  73. data/spec/dummy/config/boot.rb +10 -0
  74. data/spec/dummy/config/database.yml +8 -0
  75. data/spec/dummy/config/environment.rb +5 -0
  76. data/spec/dummy/config/environments/spec.rb +27 -0
  77. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  78. data/spec/dummy/config/initializers/inflections.rb +10 -0
  79. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  80. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  81. data/spec/dummy/config/initializers/session_store.rb +8 -0
  82. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  83. data/spec/dummy/config/locales/en.yml +5 -0
  84. data/spec/dummy/config/routes.rb +3 -0
  85. data/spec/dummy/config.ru +4 -0
  86. data/spec/dummy/public/404.html +26 -0
  87. data/spec/dummy/public/422.html +26 -0
  88. data/spec/dummy/public/500.html +26 -0
  89. data/spec/dummy/public/favicon.ico +0 -0
  90. data/spec/dummy/script/rails +6 -0
  91. data/spec/models/credit_card_account_party_role_spec.rb +11 -0
  92. data/spec/models/credit_card_account_purpose_spec.rb +11 -0
  93. data/spec/models/credit_card_account_spec.rb +11 -0
  94. data/spec/models/credit_card_spec.rb +11 -0
  95. data/spec/models/fee_spec.rb +11 -0
  96. data/spec/models/fee_type_spec.rb +11 -0
  97. data/spec/models/payment_gateway_action_spec.rb +11 -0
  98. data/spec/models/payment_gateway_spec.rb +11 -0
  99. data/spec/models/payment_spec.rb +11 -0
  100. data/spec/models/price_component_spec.rb +11 -0
  101. data/spec/models/price_component_type_spec.rb +11 -0
  102. data/spec/models/price_spec.rb +11 -0
  103. data/spec/models/pricing_plan_assignment_spec.rb +11 -0
  104. data/spec/models/pricing_plan_component_spec.rb +11 -0
  105. data/spec/models/pricing_plan_spec.rb +11 -0
  106. data/spec/models/valid_price_plan_component_spec.rb +11 -0
  107. data/spec/spec_helper.rb +60 -0
  108. metadata +285 -0
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CreditCardAccountPartyRole do
4
+ it "can be instantiated" do
5
+ CreditCardAccountPartyRole.new.should be_an_instance_of(CreditCardAccountPartyRole)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ CreditCardAccountPartyRole.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CreditCardAccountPurpose do
4
+ it "can be instantiated" do
5
+ CreditCardAccountPurpose.new.should be_an_instance_of(CreditCardAccountPurpose)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ CreditCardAccountPurpose.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CreditCardAccount do
4
+ it "can be instantiated" do
5
+ CreditCardAccount.new.should be_an_instance_of(CreditCardAccount)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ CreditCardAccount.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CreditCard do
4
+ it "can be instantiated" do
5
+ CreditCard.new.should be_an_instance_of(CreditCard)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ CreditCard.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fee do
4
+ it "can be instantiated" do
5
+ Fee.new.should be_an_instance_of(Fee)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ Fee.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe FeeType do
4
+ it "can be instantiated" do
5
+ FeeType.new.should be_an_instance_of(FeeType)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ FeeType.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PaymentGatewayAction do
4
+ it "can be instantiated" do
5
+ PaymentGatewayAction.new.should be_an_instance_of(PaymentGatewayAction)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PaymentGatewayAction.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PaymentGateway do
4
+ it "can be instantiated" do
5
+ PaymentGateway.new.should be_an_instance_of(PaymentGateway)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PaymentGateway.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Payment do
4
+ it "can be instantiated" do
5
+ Payment.new.should be_an_instance_of(Payment)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ Payment.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PriceComponent do
4
+ it "can be instantiated" do
5
+ PriceComponent.new.should be_an_instance_of(PriceComponent)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PriceComponent.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PriceComponentType do
4
+ it "can be instantiated" do
5
+ PriceComponentType.new.should be_an_instance_of(PriceComponentType)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PriceComponentType.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Price do
4
+ it "can be instantiated" do
5
+ Price.new.should be_an_instance_of(Price)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ Price.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PricingPlanAssignment do
4
+ it "can be instantiated" do
5
+ PricingPlanAssignment.new.should be_an_instance_of(PricingPlanAssignment)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PricingPlanAssignment.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PricingPlanComponent do
4
+ it "can be instantiated" do
5
+ PricingPlanComponent.new.should be_an_instance_of(PricingPlanComponent)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PricingPlanComponent.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe PricingPlan do
4
+ it "can be instantiated" do
5
+ PricingPlan.new.should be_an_instance_of(PricingPlan)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ PricingPlan.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe ValidPricePlanComponent do
4
+ it "can be instantiated" do
5
+ ValidPricePlanComponent.new.should be_an_instance_of(ValidPricePlanComponent)
6
+ end
7
+
8
+ it "can be saved successfully" do
9
+ ValidPricePlanComponent.create().should be_persisted
10
+ end
11
+ end
@@ -0,0 +1,60 @@
1
+ require 'spork'
2
+ require 'rake'
3
+
4
+ Spork.prefork do
5
+ # Loading more in this block will cause your tests to run faster. However,
6
+ # if you change any configuration or code from libraries loaded here, you'll
7
+ # need to restart spork for it take effect.
8
+
9
+ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
10
+ DUMMY_APP_ROOT=File.join(File.dirname(__FILE__), '/dummy')
11
+
12
+ require 'active_support'
13
+ require 'active_model'
14
+ require 'active_record'
15
+ require 'action_controller'
16
+
17
+ # Configure Rails Envinronment
18
+ ENV["RAILS_ENV"] = "spec"
19
+ require File.expand_path(DUMMY_APP_ROOT + "/config/environment.rb", __FILE__)
20
+
21
+ ActiveRecord::Base.configurations = YAML::load(IO.read(DUMMY_APP_ROOT + "/config/database.yml"))
22
+ ActiveRecord::Base.establish_connection(ENV["DB"] || "spec")
23
+ ActiveRecord::Migration.verbose = false
24
+
25
+ # Requires supporting ruby files with custom matchers and macros, etc,
26
+ # in spec/support/ and its subdirectories.
27
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
28
+
29
+ require 'rspec/rails'
30
+ require 'erp_dev_svcs'
31
+
32
+ RSpec.configure do |config|
33
+ config.use_transactional_fixtures = true
34
+ config.include Sorcery::TestHelpers::Rails
35
+ config.include ErpDevSvcs
36
+ config.include ErpDevSvcs::ControllerSupport, :type => :controller
37
+ end
38
+ end
39
+
40
+ Spork.each_run do
41
+ #We have to execute the migrations from dummy app directory
42
+ Dir.chdir DUMMY_APP_ROOT
43
+ `rake db:drop`
44
+ Dir.chdir ENGINE_RAILS_ROOT
45
+
46
+ #We have to execute the migrations from dummy app directory
47
+ Dir.chdir DUMMY_APP_ROOT
48
+ `rake db:migrate`
49
+ Dir.chdir ENGINE_RAILS_ROOT
50
+
51
+ ErpDevSvcs::FactorySupport.load_engine_factories
52
+
53
+ require 'simplecov'
54
+ SimpleCov.start 'rails' do
55
+ add_filter "spec/"
56
+ end
57
+ #Need to explictly load the files in lib/ until we figure out how to
58
+ #get rails to autoload them for spec like it used to...
59
+ Dir[File.join(ENGINE_RAILS_ROOT, "lib/**/*.rb")].each {|f| load f}
60
+ end
metadata ADDED
@@ -0,0 +1,285 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: erp_commerce
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Rick Koloski, Russell Holmes
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-01-06 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: aasm
16
+ requirement: &2157183620 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
21
+ version: 2.3.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2157183620
25
+ - !ruby/object:Gem::Dependency
26
+ name: activemerchant
27
+ requirement: &2157182820 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
32
+ version: 1.17.0
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2157182820
36
+ - !ruby/object:Gem::Dependency
37
+ name: erp_app
38
+ requirement: &2157182000 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2157182000
47
+ - !ruby/object:Gem::Dependency
48
+ name: erp_agreements
49
+ requirement: &2157180900 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *2157180900
58
+ - !ruby/object:Gem::Dependency
59
+ name: erp_orders
60
+ requirement: &2157179840 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *2157179840
69
+ - !ruby/object:Gem::Dependency
70
+ name: erp_products
71
+ requirement: &2157178380 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *2157178380
80
+ - !ruby/object:Gem::Dependency
81
+ name: erp_txns_and_accts
82
+ requirement: &2157177380 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *2157177380
91
+ - !ruby/object:Gem::Dependency
92
+ name: erp_dev_svcs
93
+ requirement: &2157176540 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *2157176540
102
+ description: The CompassAE Commerce Engine uses the engines that implement Parties,
103
+ Products and Orders, and adds the ability to conduct commerce. It implements a pricing
104
+ engine, fees, payment gateways.
105
+ email:
106
+ - russonrails@gmail.com
107
+ executables: []
108
+ extensions: []
109
+ extra_rdoc_files: []
110
+ files:
111
+ - app/assets/javascripts/erp_commerce/application.js
112
+ - app/assets/stylesheets/erp_commerce/application.css
113
+ - app/controllers/erp_commerce/application_controller.rb
114
+ - app/helpers/erp_commerce/application_helper.rb
115
+ - app/models/credit_card.rb
116
+ - app/models/credit_card_account.rb
117
+ - app/models/credit_card_account_party_role.rb
118
+ - app/models/credit_card_account_purpose.rb
119
+ - app/models/credit_card_token.rb
120
+ - app/models/extensions/charge_line.rb
121
+ - app/models/extensions/currency.rb
122
+ - app/models/extensions/financial_txn.rb
123
+ - app/models/extensions/order_txn.rb
124
+ - app/models/extensions/party.rb
125
+ - app/models/extensions/product_instance.rb
126
+ - app/models/extensions/product_type.rb
127
+ - app/models/fee.rb
128
+ - app/models/fee_type.rb
129
+ - app/models/payment.rb
130
+ - app/models/payment_gateway.rb
131
+ - app/models/payment_gateway_action.rb
132
+ - app/models/price.rb
133
+ - app/models/price_component.rb
134
+ - app/models/price_component_type.rb
135
+ - app/models/pricing_plan.rb
136
+ - app/models/pricing_plan_assignment.rb
137
+ - app/models/pricing_plan_component.rb
138
+ - app/models/valid_price_plan_component.rb
139
+ - app/views/layouts/erp_commerce/application.html.erb
140
+ - app/widgets/orders/base.rb
141
+ - app/widgets/orders/javascript/orders.js
142
+ - app/widgets/orders/views/index.html.erb
143
+ - app/widgets/product_catalog/base.rb
144
+ - app/widgets/product_catalog/javascript/product_catalog.js
145
+ - app/widgets/product_catalog/views/add_to_cart.html.erb
146
+ - app/widgets/product_catalog/views/index.html.erb
147
+ - app/widgets/product_catalog/views/show.html.erb
148
+ - app/widgets/shopping_cart/base.rb
149
+ - app/widgets/shopping_cart/javascript/shopping_cart.js
150
+ - app/widgets/shopping_cart/views/cart_items.html.erb
151
+ - app/widgets/shopping_cart/views/confirmation.html.erb
152
+ - app/widgets/shopping_cart/views/demographics.html.erb
153
+ - app/widgets/shopping_cart/views/login.html.erb
154
+ - app/widgets/shopping_cart/views/payment.html.erb
155
+ - app/widgets/shopping_cart/views/price_summary.html.erb
156
+ - config/routes.rb
157
+ - db/data_migrations/20101011152441_payment_gateway_actions.rb
158
+ - db/migrate/20100823174238_erp_commerce_base.rb
159
+ - db/migrate/20100913154134_setup_payments.rb
160
+ - db/migrate/20101103132342_pricing_migrations.rb
161
+ - db/migrate/20110921150854_create_fees.rb
162
+ - lib/erp_commerce/active_merchant_wrappers/brain_tree_gateway_wrapper.rb
163
+ - lib/erp_commerce/active_merchant_wrappers/credit_card_validation.rb
164
+ - lib/erp_commerce/active_merchant_wrappers.rb
165
+ - lib/erp_commerce/engine.rb
166
+ - lib/erp_commerce/extensions/active_record/acts_as_fee.rb
167
+ - lib/erp_commerce/extensions/active_record/acts_as_priceable.rb
168
+ - lib/erp_commerce/extensions.rb
169
+ - lib/erp_commerce/order_helper.rb
170
+ - lib/erp_commerce/version.rb
171
+ - lib/erp_commerce.rb
172
+ - lib/tasks/erp_commerce_tasks.rake
173
+ - GPL-3-LICENSE
174
+ - Rakefile
175
+ - README.rdoc
176
+ - spec/dummy/app/assets/javascripts/application.js
177
+ - spec/dummy/app/assets/stylesheets/application.css
178
+ - spec/dummy/app/controllers/application_controller.rb
179
+ - spec/dummy/app/helpers/application_helper.rb
180
+ - spec/dummy/app/views/layouts/application.html.erb
181
+ - spec/dummy/config/application.rb
182
+ - spec/dummy/config/boot.rb
183
+ - spec/dummy/config/database.yml
184
+ - spec/dummy/config/environment.rb
185
+ - spec/dummy/config/environments/spec.rb
186
+ - spec/dummy/config/initializers/backtrace_silencers.rb
187
+ - spec/dummy/config/initializers/inflections.rb
188
+ - spec/dummy/config/initializers/mime_types.rb
189
+ - spec/dummy/config/initializers/secret_token.rb
190
+ - spec/dummy/config/initializers/session_store.rb
191
+ - spec/dummy/config/initializers/wrap_parameters.rb
192
+ - spec/dummy/config/locales/en.yml
193
+ - spec/dummy/config/routes.rb
194
+ - spec/dummy/config.ru
195
+ - spec/dummy/public/404.html
196
+ - spec/dummy/public/422.html
197
+ - spec/dummy/public/500.html
198
+ - spec/dummy/public/favicon.ico
199
+ - spec/dummy/Rakefile
200
+ - spec/dummy/script/rails
201
+ - spec/models/credit_card_account_party_role_spec.rb
202
+ - spec/models/credit_card_account_purpose_spec.rb
203
+ - spec/models/credit_card_account_spec.rb
204
+ - spec/models/credit_card_spec.rb
205
+ - spec/models/fee_spec.rb
206
+ - spec/models/fee_type_spec.rb
207
+ - spec/models/payment_gateway_action_spec.rb
208
+ - spec/models/payment_gateway_spec.rb
209
+ - spec/models/payment_spec.rb
210
+ - spec/models/price_component_spec.rb
211
+ - spec/models/price_component_type_spec.rb
212
+ - spec/models/price_spec.rb
213
+ - spec/models/pricing_plan_assignment_spec.rb
214
+ - spec/models/pricing_plan_component_spec.rb
215
+ - spec/models/pricing_plan_spec.rb
216
+ - spec/models/valid_price_plan_component_spec.rb
217
+ - spec/spec_helper.rb
218
+ homepage: http://development.compassagile.com
219
+ licenses: []
220
+ post_install_message:
221
+ rdoc_options: []
222
+ require_paths:
223
+ - lib
224
+ required_ruby_version: !ruby/object:Gem::Requirement
225
+ none: false
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ required_rubygems_version: !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ requirements: []
237
+ rubyforge_project:
238
+ rubygems_version: 1.8.10
239
+ signing_key:
240
+ specification_version: 3
241
+ summary: The CompassAE Commerce Engine uses the engines that implement Parties, Products
242
+ and Orders, and adds the ability to conduct commerce.
243
+ test_files:
244
+ - spec/dummy/app/assets/javascripts/application.js
245
+ - spec/dummy/app/assets/stylesheets/application.css
246
+ - spec/dummy/app/controllers/application_controller.rb
247
+ - spec/dummy/app/helpers/application_helper.rb
248
+ - spec/dummy/app/views/layouts/application.html.erb
249
+ - spec/dummy/config/application.rb
250
+ - spec/dummy/config/boot.rb
251
+ - spec/dummy/config/database.yml
252
+ - spec/dummy/config/environment.rb
253
+ - spec/dummy/config/environments/spec.rb
254
+ - spec/dummy/config/initializers/backtrace_silencers.rb
255
+ - spec/dummy/config/initializers/inflections.rb
256
+ - spec/dummy/config/initializers/mime_types.rb
257
+ - spec/dummy/config/initializers/secret_token.rb
258
+ - spec/dummy/config/initializers/session_store.rb
259
+ - spec/dummy/config/initializers/wrap_parameters.rb
260
+ - spec/dummy/config/locales/en.yml
261
+ - spec/dummy/config/routes.rb
262
+ - spec/dummy/config.ru
263
+ - spec/dummy/public/404.html
264
+ - spec/dummy/public/422.html
265
+ - spec/dummy/public/500.html
266
+ - spec/dummy/public/favicon.ico
267
+ - spec/dummy/Rakefile
268
+ - spec/dummy/script/rails
269
+ - spec/models/credit_card_account_party_role_spec.rb
270
+ - spec/models/credit_card_account_purpose_spec.rb
271
+ - spec/models/credit_card_account_spec.rb
272
+ - spec/models/credit_card_spec.rb
273
+ - spec/models/fee_spec.rb
274
+ - spec/models/fee_type_spec.rb
275
+ - spec/models/payment_gateway_action_spec.rb
276
+ - spec/models/payment_gateway_spec.rb
277
+ - spec/models/payment_spec.rb
278
+ - spec/models/price_component_spec.rb
279
+ - spec/models/price_component_type_spec.rb
280
+ - spec/models/price_spec.rb
281
+ - spec/models/pricing_plan_assignment_spec.rb
282
+ - spec/models/pricing_plan_component_spec.rb
283
+ - spec/models/pricing_plan_spec.rb
284
+ - spec/models/valid_price_plan_component_spec.rb
285
+ - spec/spec_helper.rb