spree_core 3.0.5 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +3 -0
  4. data/Rakefile +30 -0
  5. data/app/assets/javascripts/spree.js.coffee.erb +1 -1
  6. data/app/models/spree/ability.rb +1 -1
  7. data/app/models/spree/base.rb +3 -1
  8. data/app/models/spree/order_updater.rb +2 -1
  9. data/app/models/spree/price.rb +7 -12
  10. data/app/models/spree/product.rb +3 -2
  11. data/app/models/spree/reimbursement.rb +1 -1
  12. data/app/models/spree/state.rb +2 -0
  13. data/app/models/spree/zone.rb +1 -1
  14. data/lib/spree/core/version.rb +1 -1
  15. data/lib/spree/testing_support/shoulda_matcher_configuration.rb +6 -0
  16. data/script/rails +9 -0
  17. data/spec/fixtures/thinking-cat.jpg +0 -0
  18. data/spec/helpers/base_helper_spec.rb +137 -0
  19. data/spec/helpers/products_helper_spec.rb +224 -0
  20. data/spec/lib/calculated_adjustments_spec.rb +7 -0
  21. data/spec/lib/i18n_spec.rb +123 -0
  22. data/spec/lib/search/base_spec.rb +86 -0
  23. data/spec/lib/spree/core/controller_helpers/auth_spec.rb +101 -0
  24. data/spec/lib/spree/core/controller_helpers/order_spec.rb +95 -0
  25. data/spec/lib/spree/core/controller_helpers/search_spec.rb +17 -0
  26. data/spec/lib/spree/core/controller_helpers/store_spec.rb +16 -0
  27. data/spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb +39 -0
  28. data/spec/lib/spree/core/delegate_belongs_to_spec.rb +22 -0
  29. data/spec/lib/spree/core/importer/order_spec.rb +502 -0
  30. data/spec/lib/spree/core/validators/email_spec.rb +53 -0
  31. data/spec/lib/spree/localized_number_spec.rb +38 -0
  32. data/spec/lib/spree/migrations_spec.rb +34 -0
  33. data/spec/lib/spree/money_spec.rb +122 -0
  34. data/spec/lib/tasks/exchanges_spec.rb +136 -0
  35. data/spec/mailers/order_mailer_spec.rb +124 -0
  36. data/spec/mailers/reimbursement_mailer_spec.rb +47 -0
  37. data/spec/mailers/shipment_mailer_spec.rb +63 -0
  38. data/spec/mailers/test_mailer_spec.rb +24 -0
  39. data/spec/models/spree/ability_spec.rb +246 -0
  40. data/spec/models/spree/address_spec.rb +291 -0
  41. data/spec/models/spree/adjustable/adjustments_updater_spec.rb +286 -0
  42. data/spec/models/spree/adjustment_spec.rb +163 -0
  43. data/spec/models/spree/app_configuration_spec.rb +23 -0
  44. data/spec/models/spree/asset_spec.rb +25 -0
  45. data/spec/models/spree/calculator/default_tax_spec.rb +127 -0
  46. data/spec/models/spree/calculator/flat_percent_item_total_spec.rb +25 -0
  47. data/spec/models/spree/calculator/flat_rate_spec.rb +47 -0
  48. data/spec/models/spree/calculator/flexi_rate_spec.rb +41 -0
  49. data/spec/models/spree/calculator/percent_on_line_item_spec.rb +15 -0
  50. data/spec/models/spree/calculator/price_sack_spec.rb +30 -0
  51. data/spec/models/spree/calculator/refunds/default_refund_amount_spec.rb +51 -0
  52. data/spec/models/spree/calculator/shipping.rb +8 -0
  53. data/spec/models/spree/calculator/shipping/flat_percent_item_total_spec.rb +23 -0
  54. data/spec/models/spree/calculator/shipping/flat_rate_spec.rb +13 -0
  55. data/spec/models/spree/calculator/shipping/flexi_rate_spec.rb +52 -0
  56. data/spec/models/spree/calculator/shipping/per_item_spec.rb +20 -0
  57. data/spec/models/spree/calculator/shipping/price_sack_spec.rb +29 -0
  58. data/spec/models/spree/calculator/tiered_flat_rate_spec.rb +40 -0
  59. data/spec/models/spree/calculator/tiered_percent_spec.rb +51 -0
  60. data/spec/models/spree/calculator_spec.rb +69 -0
  61. data/spec/models/spree/classification_spec.rb +93 -0
  62. data/spec/models/spree/concerns/display_money_spec.rb +43 -0
  63. data/spec/models/spree/country_spec.rb +18 -0
  64. data/spec/models/spree/credit_card_spec.rb +324 -0
  65. data/spec/models/spree/customer_return_spec.rb +262 -0
  66. data/spec/models/spree/exchange_spec.rb +75 -0
  67. data/spec/models/spree/gateway/bogus_simple.rb +20 -0
  68. data/spec/models/spree/gateway/bogus_spec.rb +13 -0
  69. data/spec/models/spree/gateway_spec.rb +54 -0
  70. data/spec/models/spree/image_spec.rb +5 -0
  71. data/spec/models/spree/inventory_unit_spec.rb +242 -0
  72. data/spec/models/spree/line_item_spec.rb +267 -0
  73. data/spec/models/spree/option_type_spec.rb +14 -0
  74. data/spec/models/spree/option_value_spec.rb +13 -0
  75. data/spec/models/spree/order/address_spec.rb +50 -0
  76. data/spec/models/spree/order/adjustments_spec.rb +29 -0
  77. data/spec/models/spree/order/callbacks_spec.rb +42 -0
  78. data/spec/models/spree/order/checkout_spec.rb +764 -0
  79. data/spec/models/spree/order/currency_updater_spec.rb +32 -0
  80. data/spec/models/spree/order/finalizing_spec.rb +117 -0
  81. data/spec/models/spree/order/helpers_spec.rb +5 -0
  82. data/spec/models/spree/order/payment_spec.rb +214 -0
  83. data/spec/models/spree/order/risk_assessment_spec.rb +84 -0
  84. data/spec/models/spree/order/shipments_spec.rb +43 -0
  85. data/spec/models/spree/order/state_machine_spec.rb +216 -0
  86. data/spec/models/spree/order/tax_spec.rb +84 -0
  87. data/spec/models/spree/order/totals_spec.rb +24 -0
  88. data/spec/models/spree/order/updating_spec.rb +18 -0
  89. data/spec/models/spree/order/validations_spec.rb +15 -0
  90. data/spec/models/spree/order_contents_spec.rb +256 -0
  91. data/spec/models/spree/order_inventory_spec.rb +228 -0
  92. data/spec/models/spree/order_merger_spec.rb +133 -0
  93. data/spec/models/spree/order_spec.rb +954 -0
  94. data/spec/models/spree/order_updater_spec.rb +283 -0
  95. data/spec/models/spree/payment/gateway_options_spec.rb +119 -0
  96. data/spec/models/spree/payment_method_spec.rb +95 -0
  97. data/spec/models/spree/payment_spec.rb +926 -0
  98. data/spec/models/spree/preference_spec.rb +80 -0
  99. data/spec/models/spree/preferences/configuration_spec.rb +30 -0
  100. data/spec/models/spree/preferences/preferable_spec.rb +348 -0
  101. data/spec/models/spree/preferences/scoped_store_spec.rb +58 -0
  102. data/spec/models/spree/preferences/store_spec.rb +46 -0
  103. data/spec/models/spree/price_spec.rb +42 -0
  104. data/spec/models/spree/product/scopes_spec.rb +148 -0
  105. data/spec/models/spree/product_duplicator_spec.rb +103 -0
  106. data/spec/models/spree/product_filter_spec.rb +26 -0
  107. data/spec/models/spree/product_option_type_spec.rb +5 -0
  108. data/spec/models/spree/product_property_spec.rb +11 -0
  109. data/spec/models/spree/product_spec.rb +474 -0
  110. data/spec/models/spree/promotion/actions/create_adjustment_spec.rb +50 -0
  111. data/spec/models/spree/promotion/actions/create_item_adjustments_spec.rb +148 -0
  112. data/spec/models/spree/promotion/actions/create_line_items_spec.rb +86 -0
  113. data/spec/models/spree/promotion/actions/free_shipping_spec.rb +36 -0
  114. data/spec/models/spree/promotion/rules/first_order_spec.rb +75 -0
  115. data/spec/models/spree/promotion/rules/item_total_spec.rb +282 -0
  116. data/spec/models/spree/promotion/rules/one_use_per_user_spec.rb +42 -0
  117. data/spec/models/spree/promotion/rules/option_value_spec.rb +90 -0
  118. data/spec/models/spree/promotion/rules/product_spec.rb +143 -0
  119. data/spec/models/spree/promotion/rules/taxon_spec.rb +102 -0
  120. data/spec/models/spree/promotion/rules/user_logged_in_spec.rb +27 -0
  121. data/spec/models/spree/promotion/rules/user_spec.rb +37 -0
  122. data/spec/models/spree/promotion_action_spec.rb +10 -0
  123. data/spec/models/spree/promotion_category_spec.rb +17 -0
  124. data/spec/models/spree/promotion_handler/cart_spec.rb +102 -0
  125. data/spec/models/spree/promotion_handler/coupon_spec.rb +323 -0
  126. data/spec/models/spree/promotion_handler/free_shipping_spec.rb +48 -0
  127. data/spec/models/spree/promotion_handler/page_spec.rb +44 -0
  128. data/spec/models/spree/promotion_rule_spec.rb +29 -0
  129. data/spec/models/spree/promotion_spec.rb +603 -0
  130. data/spec/models/spree/property_spec.rb +5 -0
  131. data/spec/models/spree/prototype_spec.rb +5 -0
  132. data/spec/models/spree/refund_spec.rb +195 -0
  133. data/spec/models/spree/reimbursement/credit_spec.rb +36 -0
  134. data/spec/models/spree/reimbursement/reimbursement_type_engine_spec.rb +140 -0
  135. data/spec/models/spree/reimbursement/reimbursement_type_validator_spec.rb +83 -0
  136. data/spec/models/spree/reimbursement_performer_spec.rb +30 -0
  137. data/spec/models/spree/reimbursement_spec.rb +215 -0
  138. data/spec/models/spree/reimbursement_tax_calculator_spec.rb +51 -0
  139. data/spec/models/spree/reimbursement_type/credit_spec.rb +53 -0
  140. data/spec/models/spree/reimbursement_type/exchange_spec.rb +46 -0
  141. data/spec/models/spree/reimbursement_type/original_payment_spec.rb +55 -0
  142. data/spec/models/spree/return_authorization_spec.rb +250 -0
  143. data/spec/models/spree/return_item/eligibility_validator/default_spec.rb +77 -0
  144. data/spec/models/spree/return_item/eligibility_validator/inventory_shipped_spec.rb +58 -0
  145. data/spec/models/spree/return_item/eligibility_validator/no_reimbursements_spec.rb +61 -0
  146. data/spec/models/spree/return_item/eligibility_validator/order_completed_spec.rb +32 -0
  147. data/spec/models/spree/return_item/eligibility_validator/rma_required_spec.rb +29 -0
  148. data/spec/models/spree/return_item/eligibility_validator/time_since_purchase_spec.rb +35 -0
  149. data/spec/models/spree/return_item/exchange_variant_eligibility/same_option_value_spec.rb +65 -0
  150. data/spec/models/spree/return_item/exchange_variant_eligibility/same_product_spec.rb +43 -0
  151. data/spec/models/spree/return_item_spec.rb +682 -0
  152. data/spec/models/spree/returns_calculator_spec.rb +14 -0
  153. data/spec/models/spree/shipment_spec.rb +740 -0
  154. data/spec/models/spree/shipping_calculator_spec.rb +45 -0
  155. data/spec/models/spree/shipping_category_spec.rb +5 -0
  156. data/spec/models/spree/shipping_method_spec.rb +88 -0
  157. data/spec/models/spree/shipping_rate_spec.rb +141 -0
  158. data/spec/models/spree/state_spec.rb +18 -0
  159. data/spec/models/spree/stock/availability_validator_spec.rb +36 -0
  160. data/spec/models/spree/stock/content_item_spec.rb +22 -0
  161. data/spec/models/spree/stock/coordinator_spec.rb +51 -0
  162. data/spec/models/spree/stock/differentiator_spec.rb +39 -0
  163. data/spec/models/spree/stock/estimator_spec.rb +154 -0
  164. data/spec/models/spree/stock/inventory_unit_builder_spec.rb +38 -0
  165. data/spec/models/spree/stock/package_spec.rb +194 -0
  166. data/spec/models/spree/stock/packer_spec.rb +70 -0
  167. data/spec/models/spree/stock/prioritizer_spec.rb +125 -0
  168. data/spec/models/spree/stock/quantifier_spec.rb +97 -0
  169. data/spec/models/spree/stock/splitter/backordered_spec.rb +29 -0
  170. data/spec/models/spree/stock/splitter/base_spec.rb +21 -0
  171. data/spec/models/spree/stock/splitter/shipping_category_spec.rb +47 -0
  172. data/spec/models/spree/stock/splitter/weight_spec.rb +32 -0
  173. data/spec/models/spree/stock_item_spec.rb +410 -0
  174. data/spec/models/spree/stock_location_spec.rb +243 -0
  175. data/spec/models/spree/stock_movement_spec.rb +56 -0
  176. data/spec/models/spree/stock_transfer_spec.rb +50 -0
  177. data/spec/models/spree/store_spec.rb +50 -0
  178. data/spec/models/spree/tax_category_spec.rb +27 -0
  179. data/spec/models/spree/tax_rate_spec.rb +382 -0
  180. data/spec/models/spree/taxon_spec.rb +74 -0
  181. data/spec/models/spree/taxonomy_spec.rb +18 -0
  182. data/spec/models/spree/tracker_spec.rb +21 -0
  183. data/spec/models/spree/user_spec.rb +130 -0
  184. data/spec/models/spree/validations/db_maximum_length_validator_spec.rb +24 -0
  185. data/spec/models/spree/variant_spec.rb +523 -0
  186. data/spec/models/spree/zone_spec.rb +444 -0
  187. data/spec/spec_helper.rb +74 -0
  188. data/spec/support/big_decimal.rb +5 -0
  189. data/spec/support/concerns/adjustment_source_spec.rb +23 -0
  190. data/spec/support/concerns/default_price_spec.rb +28 -0
  191. data/spec/support/rake.rb +13 -0
  192. data/spec/support/test_gateway.rb +2 -0
  193. data/spree_core.gemspec +48 -0
  194. metadata +185 -4
@@ -0,0 +1,5 @@
1
+ class BigDecimal
2
+ def inspect
3
+ "#<BigDecimal: #{to_s}>"
4
+ end
5
+ end
@@ -0,0 +1,23 @@
1
+ shared_examples_for "an adjustment source" do
2
+ subject(:source) { described_class.create }
3
+
4
+ before do
5
+ allow(Spree::Adjustable::AdjustmentsUpdater).to receive(:update)
6
+ order.adjustments.create(order: order, amount: 10, label: 'Adjustment', source: source)
7
+ end
8
+
9
+ describe '#destroy' do
10
+ before { source.destroy }
11
+
12
+ context 'when order incomplete' do
13
+ let(:order) { create(:order_with_line_items) }
14
+ it { expect(order.adjustments.count).to eq(0) }
15
+ end
16
+
17
+ context 'when order is complete' do
18
+ let(:order) { create(:completed_order_with_totals) }
19
+ it { expect(order.adjustments.count).to eq(1) }
20
+ it { expect(order.adjustments.reload.first.source).to be_nil }
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,28 @@
1
+ shared_examples_for "default_price" do
2
+ let(:model) { described_class }
3
+ subject(:instance) { FactoryGirl.build(model.name.demodulize.downcase.to_sym) }
4
+
5
+ describe '.has_one :default_price' do
6
+ let(:default_price_association) { model.reflect_on_association(:default_price) }
7
+
8
+ it 'should be a has one association' do
9
+ expect(default_price_association.macro).to eql :has_one
10
+ end
11
+
12
+ it 'should have a dependent destroy' do
13
+ expect(default_price_association.options[:dependent]).to eql :destroy
14
+ end
15
+
16
+ it 'should have the class name of Spree::Price' do
17
+ expect(default_price_association.options[:class_name]).to eql 'Spree::Price'
18
+ end
19
+ end
20
+
21
+ describe '#default_price' do
22
+ subject { instance.default_price }
23
+
24
+ its(:class) { should eql Spree::Price }
25
+ end
26
+
27
+ its(:has_default_price?) { should be_truthy }
28
+ end
@@ -0,0 +1,13 @@
1
+ require "rake"
2
+
3
+ shared_context "rake" do
4
+ let(:task_name) { self.class.top_level_description }
5
+ let(:task_path) { "lib/tasks/#{task_name.split(":").first}" }
6
+ subject { Rake::Task[task_name] }
7
+
8
+ before do
9
+ Rake::Task.define_task(:environment)
10
+ load File.expand_path(Rails.root + "../../#{task_path}.rake")
11
+ subject.reenable
12
+ end
13
+ end
@@ -0,0 +1,2 @@
1
+ class Spree::Gateway::Test < Spree::Gateway
2
+ end
@@ -0,0 +1,48 @@
1
+ # encoding: UTF-8
2
+ version = File.read(File.expand_path("../../SPREE_VERSION", __FILE__)).strip
3
+
4
+ Gem::Specification.new do |s|
5
+ s.platform = Gem::Platform::RUBY
6
+ s.name = 'spree_core'
7
+ s.version = version
8
+ s.summary = 'The bare bones necessary for Spree.'
9
+ s.description = 'The bare bones necessary for Spree.'
10
+
11
+ s.required_ruby_version = '>= 2.1.0'
12
+ s.required_rubygems_version = '>= 1.8.23'
13
+
14
+ s.author = 'Sean Schofield'
15
+ s.email = 'sean@spreecommerce.com'
16
+ s.homepage = 'http://spreecommerce.com'
17
+ s.license = %q{BSD-3}
18
+
19
+ s.files = `git ls-files`.split("\n")
20
+ s.require_path = 'lib'
21
+
22
+ s.add_dependency 'activemerchant', '~> 1.47.0'
23
+ s.add_dependency 'acts_as_list', '~> 0.6'
24
+ s.add_dependency 'awesome_nested_set', '~> 3.0.1'
25
+ s.add_dependency 'carmen', '~> 1.0.0'
26
+ s.add_dependency 'cancancan', '~> 1.10.1'
27
+ s.add_dependency 'deface', '~> 1.0.0'
28
+ s.add_dependency 'ffaker', '~> 1.16'
29
+ s.add_dependency 'font-awesome-rails', '~> 4.0'
30
+ s.add_dependency 'friendly_id', '~> 5.1.0'
31
+ s.add_dependency 'highline', '~> 1.6.18' # Necessary for the install generator
32
+ s.add_dependency 'json', '~> 1.7'
33
+ s.add_dependency 'kaminari', '~> 0.15', '>= 0.15.1'
34
+ s.add_dependency 'monetize', '~> 1.1'
35
+ s.add_dependency 'paperclip', '~> 4.2.0'
36
+ s.add_dependency 'paranoia', '~> 2.1.0'
37
+ s.add_dependency 'premailer-rails'
38
+ s.add_dependency 'rails', '~> 4.2.2'
39
+ s.add_dependency 'ransack', '~> 1.4.1'
40
+ s.add_dependency 'responders'
41
+ s.add_dependency 'state_machines-activerecord', '~> 0.2'
42
+ s.add_dependency 'stringex'
43
+ s.add_dependency 'truncate_html', '0.9.2'
44
+ s.add_dependency 'twitter_cldr', '~> 3.0'
45
+ s.add_dependency 'sprockets-rails', '~> 2.0'
46
+
47
+ s.add_development_dependency 'email_spec', '~> 1.6'
48
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -372,7 +372,10 @@ executables: []
372
372
  extensions: []
373
373
  extra_rdoc_files: []
374
374
  files:
375
+ - CHANGELOG.md
376
+ - Gemfile
375
377
  - LICENSE
378
+ - Rakefile
376
379
  - app/assets/images/logo/spree_50.png
377
380
  - app/assets/images/noimage/large.png
378
381
  - app/assets/images/noimage/mini.png
@@ -891,11 +894,190 @@ files:
891
894
  - lib/spree/testing_support/i18n.rb
892
895
  - lib/spree/testing_support/order_walkthrough.rb
893
896
  - lib/spree/testing_support/preferences.rb
897
+ - lib/spree/testing_support/shoulda_matcher_configuration.rb
894
898
  - lib/spree/testing_support/url_helpers.rb
895
899
  - lib/spree_core.rb
896
900
  - lib/tasks/core.rake
897
901
  - lib/tasks/email.rake
898
902
  - lib/tasks/exchanges.rake
903
+ - script/rails
904
+ - spec/fixtures/thinking-cat.jpg
905
+ - spec/helpers/base_helper_spec.rb
906
+ - spec/helpers/products_helper_spec.rb
907
+ - spec/lib/calculated_adjustments_spec.rb
908
+ - spec/lib/i18n_spec.rb
909
+ - spec/lib/search/base_spec.rb
910
+ - spec/lib/spree/core/controller_helpers/auth_spec.rb
911
+ - spec/lib/spree/core/controller_helpers/order_spec.rb
912
+ - spec/lib/spree/core/controller_helpers/search_spec.rb
913
+ - spec/lib/spree/core/controller_helpers/store_spec.rb
914
+ - spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb
915
+ - spec/lib/spree/core/delegate_belongs_to_spec.rb
916
+ - spec/lib/spree/core/importer/order_spec.rb
917
+ - spec/lib/spree/core/validators/email_spec.rb
918
+ - spec/lib/spree/localized_number_spec.rb
919
+ - spec/lib/spree/migrations_spec.rb
920
+ - spec/lib/spree/money_spec.rb
921
+ - spec/lib/tasks/exchanges_spec.rb
922
+ - spec/mailers/order_mailer_spec.rb
923
+ - spec/mailers/reimbursement_mailer_spec.rb
924
+ - spec/mailers/shipment_mailer_spec.rb
925
+ - spec/mailers/test_mailer_spec.rb
926
+ - spec/models/spree/ability_spec.rb
927
+ - spec/models/spree/address_spec.rb
928
+ - spec/models/spree/adjustable/adjustments_updater_spec.rb
929
+ - spec/models/spree/adjustment_spec.rb
930
+ - spec/models/spree/app_configuration_spec.rb
931
+ - spec/models/spree/asset_spec.rb
932
+ - spec/models/spree/calculator/default_tax_spec.rb
933
+ - spec/models/spree/calculator/flat_percent_item_total_spec.rb
934
+ - spec/models/spree/calculator/flat_rate_spec.rb
935
+ - spec/models/spree/calculator/flexi_rate_spec.rb
936
+ - spec/models/spree/calculator/percent_on_line_item_spec.rb
937
+ - spec/models/spree/calculator/price_sack_spec.rb
938
+ - spec/models/spree/calculator/refunds/default_refund_amount_spec.rb
939
+ - spec/models/spree/calculator/shipping.rb
940
+ - spec/models/spree/calculator/shipping/flat_percent_item_total_spec.rb
941
+ - spec/models/spree/calculator/shipping/flat_rate_spec.rb
942
+ - spec/models/spree/calculator/shipping/flexi_rate_spec.rb
943
+ - spec/models/spree/calculator/shipping/per_item_spec.rb
944
+ - spec/models/spree/calculator/shipping/price_sack_spec.rb
945
+ - spec/models/spree/calculator/tiered_flat_rate_spec.rb
946
+ - spec/models/spree/calculator/tiered_percent_spec.rb
947
+ - spec/models/spree/calculator_spec.rb
948
+ - spec/models/spree/classification_spec.rb
949
+ - spec/models/spree/concerns/display_money_spec.rb
950
+ - spec/models/spree/country_spec.rb
951
+ - spec/models/spree/credit_card_spec.rb
952
+ - spec/models/spree/customer_return_spec.rb
953
+ - spec/models/spree/exchange_spec.rb
954
+ - spec/models/spree/gateway/bogus_simple.rb
955
+ - spec/models/spree/gateway/bogus_spec.rb
956
+ - spec/models/spree/gateway_spec.rb
957
+ - spec/models/spree/image_spec.rb
958
+ - spec/models/spree/inventory_unit_spec.rb
959
+ - spec/models/spree/line_item_spec.rb
960
+ - spec/models/spree/option_type_spec.rb
961
+ - spec/models/spree/option_value_spec.rb
962
+ - spec/models/spree/order/address_spec.rb
963
+ - spec/models/spree/order/adjustments_spec.rb
964
+ - spec/models/spree/order/callbacks_spec.rb
965
+ - spec/models/spree/order/checkout_spec.rb
966
+ - spec/models/spree/order/currency_updater_spec.rb
967
+ - spec/models/spree/order/finalizing_spec.rb
968
+ - spec/models/spree/order/helpers_spec.rb
969
+ - spec/models/spree/order/payment_spec.rb
970
+ - spec/models/spree/order/risk_assessment_spec.rb
971
+ - spec/models/spree/order/shipments_spec.rb
972
+ - spec/models/spree/order/state_machine_spec.rb
973
+ - spec/models/spree/order/tax_spec.rb
974
+ - spec/models/spree/order/totals_spec.rb
975
+ - spec/models/spree/order/updating_spec.rb
976
+ - spec/models/spree/order/validations_spec.rb
977
+ - spec/models/spree/order_contents_spec.rb
978
+ - spec/models/spree/order_inventory_spec.rb
979
+ - spec/models/spree/order_merger_spec.rb
980
+ - spec/models/spree/order_spec.rb
981
+ - spec/models/spree/order_updater_spec.rb
982
+ - spec/models/spree/payment/gateway_options_spec.rb
983
+ - spec/models/spree/payment_method_spec.rb
984
+ - spec/models/spree/payment_spec.rb
985
+ - spec/models/spree/preference_spec.rb
986
+ - spec/models/spree/preferences/configuration_spec.rb
987
+ - spec/models/spree/preferences/preferable_spec.rb
988
+ - spec/models/spree/preferences/scoped_store_spec.rb
989
+ - spec/models/spree/preferences/store_spec.rb
990
+ - spec/models/spree/price_spec.rb
991
+ - spec/models/spree/product/scopes_spec.rb
992
+ - spec/models/spree/product_duplicator_spec.rb
993
+ - spec/models/spree/product_filter_spec.rb
994
+ - spec/models/spree/product_option_type_spec.rb
995
+ - spec/models/spree/product_property_spec.rb
996
+ - spec/models/spree/product_spec.rb
997
+ - spec/models/spree/promotion/actions/create_adjustment_spec.rb
998
+ - spec/models/spree/promotion/actions/create_item_adjustments_spec.rb
999
+ - spec/models/spree/promotion/actions/create_line_items_spec.rb
1000
+ - spec/models/spree/promotion/actions/free_shipping_spec.rb
1001
+ - spec/models/spree/promotion/rules/first_order_spec.rb
1002
+ - spec/models/spree/promotion/rules/item_total_spec.rb
1003
+ - spec/models/spree/promotion/rules/one_use_per_user_spec.rb
1004
+ - spec/models/spree/promotion/rules/option_value_spec.rb
1005
+ - spec/models/spree/promotion/rules/product_spec.rb
1006
+ - spec/models/spree/promotion/rules/taxon_spec.rb
1007
+ - spec/models/spree/promotion/rules/user_logged_in_spec.rb
1008
+ - spec/models/spree/promotion/rules/user_spec.rb
1009
+ - spec/models/spree/promotion_action_spec.rb
1010
+ - spec/models/spree/promotion_category_spec.rb
1011
+ - spec/models/spree/promotion_handler/cart_spec.rb
1012
+ - spec/models/spree/promotion_handler/coupon_spec.rb
1013
+ - spec/models/spree/promotion_handler/free_shipping_spec.rb
1014
+ - spec/models/spree/promotion_handler/page_spec.rb
1015
+ - spec/models/spree/promotion_rule_spec.rb
1016
+ - spec/models/spree/promotion_spec.rb
1017
+ - spec/models/spree/property_spec.rb
1018
+ - spec/models/spree/prototype_spec.rb
1019
+ - spec/models/spree/refund_spec.rb
1020
+ - spec/models/spree/reimbursement/credit_spec.rb
1021
+ - spec/models/spree/reimbursement/reimbursement_type_engine_spec.rb
1022
+ - spec/models/spree/reimbursement/reimbursement_type_validator_spec.rb
1023
+ - spec/models/spree/reimbursement_performer_spec.rb
1024
+ - spec/models/spree/reimbursement_spec.rb
1025
+ - spec/models/spree/reimbursement_tax_calculator_spec.rb
1026
+ - spec/models/spree/reimbursement_type/credit_spec.rb
1027
+ - spec/models/spree/reimbursement_type/exchange_spec.rb
1028
+ - spec/models/spree/reimbursement_type/original_payment_spec.rb
1029
+ - spec/models/spree/return_authorization_spec.rb
1030
+ - spec/models/spree/return_item/eligibility_validator/default_spec.rb
1031
+ - spec/models/spree/return_item/eligibility_validator/inventory_shipped_spec.rb
1032
+ - spec/models/spree/return_item/eligibility_validator/no_reimbursements_spec.rb
1033
+ - spec/models/spree/return_item/eligibility_validator/order_completed_spec.rb
1034
+ - spec/models/spree/return_item/eligibility_validator/rma_required_spec.rb
1035
+ - spec/models/spree/return_item/eligibility_validator/time_since_purchase_spec.rb
1036
+ - spec/models/spree/return_item/exchange_variant_eligibility/same_option_value_spec.rb
1037
+ - spec/models/spree/return_item/exchange_variant_eligibility/same_product_spec.rb
1038
+ - spec/models/spree/return_item_spec.rb
1039
+ - spec/models/spree/returns_calculator_spec.rb
1040
+ - spec/models/spree/shipment_spec.rb
1041
+ - spec/models/spree/shipping_calculator_spec.rb
1042
+ - spec/models/spree/shipping_category_spec.rb
1043
+ - spec/models/spree/shipping_method_spec.rb
1044
+ - spec/models/spree/shipping_rate_spec.rb
1045
+ - spec/models/spree/state_spec.rb
1046
+ - spec/models/spree/stock/availability_validator_spec.rb
1047
+ - spec/models/spree/stock/content_item_spec.rb
1048
+ - spec/models/spree/stock/coordinator_spec.rb
1049
+ - spec/models/spree/stock/differentiator_spec.rb
1050
+ - spec/models/spree/stock/estimator_spec.rb
1051
+ - spec/models/spree/stock/inventory_unit_builder_spec.rb
1052
+ - spec/models/spree/stock/package_spec.rb
1053
+ - spec/models/spree/stock/packer_spec.rb
1054
+ - spec/models/spree/stock/prioritizer_spec.rb
1055
+ - spec/models/spree/stock/quantifier_spec.rb
1056
+ - spec/models/spree/stock/splitter/backordered_spec.rb
1057
+ - spec/models/spree/stock/splitter/base_spec.rb
1058
+ - spec/models/spree/stock/splitter/shipping_category_spec.rb
1059
+ - spec/models/spree/stock/splitter/weight_spec.rb
1060
+ - spec/models/spree/stock_item_spec.rb
1061
+ - spec/models/spree/stock_location_spec.rb
1062
+ - spec/models/spree/stock_movement_spec.rb
1063
+ - spec/models/spree/stock_transfer_spec.rb
1064
+ - spec/models/spree/store_spec.rb
1065
+ - spec/models/spree/tax_category_spec.rb
1066
+ - spec/models/spree/tax_rate_spec.rb
1067
+ - spec/models/spree/taxon_spec.rb
1068
+ - spec/models/spree/taxonomy_spec.rb
1069
+ - spec/models/spree/tracker_spec.rb
1070
+ - spec/models/spree/user_spec.rb
1071
+ - spec/models/spree/validations/db_maximum_length_validator_spec.rb
1072
+ - spec/models/spree/variant_spec.rb
1073
+ - spec/models/spree/zone_spec.rb
1074
+ - spec/spec_helper.rb
1075
+ - spec/support/big_decimal.rb
1076
+ - spec/support/concerns/adjustment_source_spec.rb
1077
+ - spec/support/concerns/default_price_spec.rb
1078
+ - spec/support/rake.rb
1079
+ - spec/support/test_gateway.rb
1080
+ - spree_core.gemspec
899
1081
  - vendor/assets/javascripts/jquery-migrate-1.0.0.js
900
1082
  - vendor/assets/javascripts/jquery.payment.js
901
1083
  - vendor/assets/javascripts/jsuri.js
@@ -921,9 +1103,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
921
1103
  version: 1.8.23
922
1104
  requirements: []
923
1105
  rubyforge_project:
924
- rubygems_version: 2.4.6
1106
+ rubygems_version: 2.4.8
925
1107
  signing_key:
926
1108
  specification_version: 4
927
1109
  summary: The bare bones necessary for Spree.
928
1110
  test_files: []
929
- has_rdoc: