solidus_backend 1.0.7 → 1.1.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/spree/backend.js +3 -0
  3. data/app/assets/javascripts/spree/backend/admin.js.erb +17 -24
  4. data/app/assets/javascripts/spree/backend/checkouts/edit.js +3 -5
  5. data/app/assets/javascripts/spree/backend/flash.coffee +17 -0
  6. data/app/assets/javascripts/spree/backend/handlebars_extensions.coffee +9 -0
  7. data/app/assets/javascripts/spree/backend/option_type_autocomplete.js.erb +6 -6
  8. data/app/assets/javascripts/spree/backend/option_value_picker.js +43 -0
  9. data/app/assets/javascripts/spree/backend/product_picker.js +10 -8
  10. data/app/assets/javascripts/spree/backend/promotions.js.coffee +101 -0
  11. data/app/assets/javascripts/spree/backend/routes.js +2 -1
  12. data/app/assets/javascripts/spree/backend/shipments.js.erb +1 -1
  13. data/app/assets/javascripts/spree/backend/stock_management/index_add_forms.coffee +1 -1
  14. data/app/assets/javascripts/spree/backend/stock_movement.js.coffee +2 -2
  15. data/app/assets/javascripts/spree/backend/stock_transfers/variant_form.coffee +1 -1
  16. data/app/assets/javascripts/spree/backend/taxon_autocomplete.js.erb +6 -6
  17. data/app/assets/javascripts/spree/backend/taxons.js.coffee +6 -7
  18. data/app/assets/javascripts/spree/backend/templates/orders/customer_details/autocomplete.hbs +17 -0
  19. data/app/assets/javascripts/spree/backend/templates/products/sortable.hbs +5 -0
  20. data/app/assets/javascripts/spree/backend/templates/promotions/calculators/fields/tiered_flat_rate.hbs +17 -0
  21. data/app/assets/javascripts/spree/backend/templates/promotions/calculators/fields/tiered_percent.hbs +17 -0
  22. data/app/assets/javascripts/spree/backend/templates/promotions/rules/option_values.hbs +10 -0
  23. data/app/assets/javascripts/spree/backend/templates/promotions/rules/option_values_select.hbs +1 -0
  24. data/app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs +19 -0
  25. data/app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb +52 -0
  26. data/app/assets/javascripts/spree/backend/templates/variants/autocomplete.hbs.erb +23 -0
  27. data/app/assets/javascripts/spree/backend/templates/variants/autocomplete_stock.hbs +51 -0
  28. data/app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs +67 -0
  29. data/app/assets/javascripts/spree/backend/templates/variants/split.hbs +27 -0
  30. data/app/assets/javascripts/spree/backend/user_picker.js +8 -8
  31. data/app/assets/javascripts/spree/backend/variant_autocomplete.js.coffee.erb +6 -8
  32. data/app/assets/stylesheets/spree/backend/components/_messages.scss +6 -3
  33. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +16 -0
  34. data/app/controllers/spree/admin/base_controller.rb +1 -1
  35. data/app/controllers/spree/admin/option_types_controller.rb +1 -3
  36. data/app/controllers/spree/admin/orders/customer_details_controller.rb +1 -1
  37. data/app/controllers/spree/admin/orders_controller.rb +6 -11
  38. data/app/controllers/spree/admin/product_properties_controller.rb +9 -0
  39. data/app/controllers/spree/admin/products_controller.rb +20 -5
  40. data/app/controllers/spree/admin/promotions_controller.rb +2 -1
  41. data/app/controllers/spree/admin/reimbursements_controller.rb +20 -0
  42. data/app/controllers/spree/admin/resource_controller.rb +1 -1
  43. data/app/controllers/spree/admin/return_authorizations_controller.rb +5 -0
  44. data/app/controllers/spree/admin/root_controller.rb +1 -1
  45. data/app/controllers/spree/admin/search_controller.rb +2 -4
  46. data/app/controllers/spree/admin/states_controller.rb +1 -1
  47. data/app/controllers/spree/admin/stock_items_controller.rb +1 -1
  48. data/app/controllers/spree/admin/stock_transfers_controller.rb +3 -14
  49. data/app/controllers/spree/admin/users_controller.rb +2 -3
  50. data/app/controllers/spree/admin/variant_property_rule_values_controller.rb +7 -0
  51. data/app/controllers/spree/admin/variants_controller.rb +1 -1
  52. data/app/controllers/spree/admin/zones_controller.rb +1 -1
  53. data/app/helpers/spree/admin/adjustments_helper.rb +4 -9
  54. data/app/helpers/spree/admin/base_helper.rb +7 -6
  55. data/app/helpers/spree/admin/navigation_helper.rb +8 -2
  56. data/app/helpers/spree/admin/orders_helper.rb +1 -1
  57. data/app/helpers/spree/admin/products_helper.rb +2 -4
  58. data/app/helpers/spree/admin/stock_movements_helper.rb +3 -3
  59. data/app/views/spree/admin/adjustments/_adjustment.html.erb +1 -1
  60. data/app/views/spree/admin/orders/_add_line_item.html.erb +0 -5
  61. data/app/views/spree/admin/orders/_add_product.html.erb +0 -3
  62. data/app/views/spree/admin/orders/_carton.html.erb +0 -1
  63. data/app/views/spree/admin/orders/_shipment.html.erb +0 -1
  64. data/app/views/spree/admin/orders/confirm/_shipment.html.erb +0 -1
  65. data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
  66. data/app/views/spree/admin/orders/customer_details/edit.html.erb +0 -1
  67. data/app/views/spree/admin/orders/index.html.erb +1 -2
  68. data/app/views/spree/admin/payment_methods/_form.html.erb +0 -4
  69. data/app/views/spree/admin/payment_methods/index.html.erb +0 -2
  70. data/app/views/spree/admin/payments/source_views/_gateway.html.erb +3 -0
  71. data/app/views/spree/admin/product_properties/index.html.erb +52 -2
  72. data/app/views/spree/admin/promotions/_actions.html.erb +14 -10
  73. data/app/views/spree/admin/promotions/_promotion_action.html.erb +5 -3
  74. data/app/views/spree/admin/promotions/_promotion_rule.html.erb +5 -3
  75. data/app/views/spree/admin/promotions/_rules.html.erb +18 -14
  76. data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +5 -28
  77. data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +5 -27
  78. data/app/views/spree/admin/promotions/edit.html.erb +6 -4
  79. data/app/views/spree/admin/promotions/index.html.erb +1 -1
  80. data/app/views/spree/admin/promotions/rules/_option_value.html.erb +13 -0
  81. data/app/views/spree/admin/refund_reasons/index.html.erb +2 -2
  82. data/app/views/spree/admin/reimbursements/edit.html.erb +1 -1
  83. data/app/views/spree/admin/return_authorizations/_form.html.erb +2 -2
  84. data/app/views/spree/admin/search/users.rabl +1 -1
  85. data/app/views/spree/admin/shared/_order_summary.html.erb +6 -0
  86. data/app/views/spree/admin/shared/_tabs.html.erb +2 -2
  87. data/app/views/spree/admin/shared/_translations.html.erb +16 -46
  88. data/app/views/spree/admin/shared/named_types/_index.html.erb +2 -2
  89. data/app/views/spree/admin/stock_items/_stock_management.html.erb +0 -2
  90. data/app/views/spree/admin/stock_movements/_form.html.erb +0 -2
  91. data/app/views/spree/admin/stock_transfers/edit.html.erb +0 -3
  92. data/app/views/spree/admin/stock_transfers/receive.html.erb +0 -2
  93. data/app/views/spree/admin/stock_transfers/show.html.erb +1 -1
  94. data/app/views/spree/admin/taxons/index.html.erb +0 -1
  95. data/app/views/spree/admin/users/_addresses_form.html.erb +4 -4
  96. data/app/views/spree/layouts/admin.html.erb +11 -9
  97. data/config/routes.rb +5 -0
  98. data/lib/spree/backend.rb +1 -2
  99. metadata +41 -139
  100. data/CHANGELOG.md +0 -1
  101. data/Gemfile +0 -6
  102. data/Rakefile +0 -15
  103. data/app/assets/javascripts/spree/backend/handlebar_extensions.js +0 -9
  104. data/app/assets/javascripts/spree/backend/promotions.js +0 -73
  105. data/app/assets/javascripts/spree/backend/stock_transfer.js.coffee +0 -196
  106. data/app/views/spree/admin/products/_autocomplete.js.erb +0 -14
  107. data/app/views/spree/admin/products/_sortable.html +0 -7
  108. data/app/views/spree/admin/stock_items/_stock_location_stock_item_template.html.erb +0 -21
  109. data/app/views/spree/admin/stock_transfers/_transfer_item_template.html.erb +0 -54
  110. data/app/views/spree/admin/variants/_autocomplete.js.erb +0 -25
  111. data/app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb +0 -69
  112. data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +0 -53
  113. data/app/views/spree/admin/variants/_split.js.erb +0 -29
  114. data/script/rails +0 -9
  115. data/solidus_backend.gemspec +0 -30
  116. data/spec/controllers/spree/admin/base_controller_spec.rb +0 -24
  117. data/spec/controllers/spree/admin/cancellations_controller_spec.rb +0 -77
  118. data/spec/controllers/spree/admin/customer_returns_controller_spec.rb +0 -234
  119. data/spec/controllers/spree/admin/general_settings_controller_spec.rb +0 -41
  120. data/spec/controllers/spree/admin/missing_products_controller_spec.rb +0 -18
  121. data/spec/controllers/spree/admin/orders/customer_details_controller_spec.rb +0 -80
  122. data/spec/controllers/spree/admin/orders_controller_spec.rb +0 -472
  123. data/spec/controllers/spree/admin/payment_methods_controller_spec.rb +0 -49
  124. data/spec/controllers/spree/admin/payments_controller_spec.rb +0 -175
  125. data/spec/controllers/spree/admin/products_controller_spec.rb +0 -45
  126. data/spec/controllers/spree/admin/promotion_actions_controller_spec.rb +0 -21
  127. data/spec/controllers/spree/admin/promotion_codes_controller_spec.rb +0 -18
  128. data/spec/controllers/spree/admin/promotion_rules_controller_spec.rb +0 -21
  129. data/spec/controllers/spree/admin/promotions_controller_spec.rb +0 -122
  130. data/spec/controllers/spree/admin/refunds_controller_spec.rb +0 -32
  131. data/spec/controllers/spree/admin/reimbursements_controller_spec.rb +0 -75
  132. data/spec/controllers/spree/admin/reports_controller_spec.rb +0 -134
  133. data/spec/controllers/spree/admin/resource_controller_spec.rb +0 -166
  134. data/spec/controllers/spree/admin/return_authorizations_controller_spec.rb +0 -226
  135. data/spec/controllers/spree/admin/return_items_controller_spec.rb +0 -27
  136. data/spec/controllers/spree/admin/root_controller_spec.rb +0 -41
  137. data/spec/controllers/spree/admin/search_controller_spec.rb +0 -104
  138. data/spec/controllers/spree/admin/shipping_methods_controller_spec.rb +0 -14
  139. data/spec/controllers/spree/admin/stock_items_controller_spec.rb +0 -50
  140. data/spec/controllers/spree/admin/stock_locations_controller_spec.rb +0 -41
  141. data/spec/controllers/spree/admin/stock_transfers_controller_spec.rb +0 -331
  142. data/spec/controllers/spree/admin/store_credits_controller_spec.rb +0 -309
  143. data/spec/controllers/spree/admin/users_controller_spec.rb +0 -236
  144. data/spec/controllers/spree/admin/variants_controller_spec.rb +0 -32
  145. data/spec/features/admin/configuration/analytics_tracker_spec.rb +0 -54
  146. data/spec/features/admin/configuration/countries_spec.rb +0 -22
  147. data/spec/features/admin/configuration/general_settings_spec.rb +0 -45
  148. data/spec/features/admin/configuration/payment_methods_spec.rb +0 -125
  149. data/spec/features/admin/configuration/shipping_methods_spec.rb +0 -64
  150. data/spec/features/admin/configuration/states_spec.rb +0 -64
  151. data/spec/features/admin/configuration/stock_locations_spec.rb +0 -50
  152. data/spec/features/admin/configuration/tax_categories_spec.rb +0 -56
  153. data/spec/features/admin/configuration/tax_rates_spec.rb +0 -30
  154. data/spec/features/admin/configuration/taxonomies_spec.rb +0 -52
  155. data/spec/features/admin/configuration/zones_spec.rb +0 -39
  156. data/spec/features/admin/homepage_spec.rb +0 -78
  157. data/spec/features/admin/locale_spec.rb +0 -30
  158. data/spec/features/admin/orders/adjustments_promotions_spec.rb +0 -53
  159. data/spec/features/admin/orders/adjustments_spec.rb +0 -126
  160. data/spec/features/admin/orders/cancelling_and_resuming_spec.rb +0 -48
  161. data/spec/features/admin/orders/cancelling_inventory_spec.rb +0 -48
  162. data/spec/features/admin/orders/customer_details_spec.rb +0 -163
  163. data/spec/features/admin/orders/line_items_spec.rb +0 -50
  164. data/spec/features/admin/orders/listing_spec.rb +0 -130
  165. data/spec/features/admin/orders/log_entries_spec.rb +0 -55
  166. data/spec/features/admin/orders/new_order_spec.rb +0 -197
  167. data/spec/features/admin/orders/order_details_spec.rb +0 -533
  168. data/spec/features/admin/orders/payments_spec.rb +0 -228
  169. data/spec/features/admin/orders/risk_analysis_spec.rb +0 -47
  170. data/spec/features/admin/orders/shipments_spec.rb +0 -65
  171. data/spec/features/admin/payments/store_credits_spec.rb +0 -21
  172. data/spec/features/admin/products/edit/images_spec.rb +0 -87
  173. data/spec/features/admin/products/edit/products_spec.rb +0 -66
  174. data/spec/features/admin/products/edit/taxons_spec.rb +0 -56
  175. data/spec/features/admin/products/edit/variants_spec.rb +0 -61
  176. data/spec/features/admin/products/option_types_spec.rb +0 -114
  177. data/spec/features/admin/products/products_spec.rb +0 -392
  178. data/spec/features/admin/products/properties_spec.rb +0 -139
  179. data/spec/features/admin/products/prototypes_spec.rb +0 -110
  180. data/spec/features/admin/products/stock_management_spec.rb +0 -82
  181. data/spec/features/admin/products/variant_spec.rb +0 -51
  182. data/spec/features/admin/promotion_adjustments_spec.rb +0 -220
  183. data/spec/features/admin/promotions/tiered_calculator_spec.rb +0 -69
  184. data/spec/features/admin/promotions/user_rule_spec.rb +0 -25
  185. data/spec/features/admin/reports_spec.rb +0 -61
  186. data/spec/features/admin/stock_transfer_spec.rb +0 -86
  187. data/spec/features/admin/store_credits_spec.rb +0 -82
  188. data/spec/features/admin/taxons_spec.rb +0 -31
  189. data/spec/features/admin/users_spec.rb +0 -270
  190. data/spec/helpers/admin/base_helper_spec.rb +0 -24
  191. data/spec/helpers/admin/navigation_helper_spec.rb +0 -73
  192. data/spec/helpers/admin/reimbursements_helper_spec.rb +0 -34
  193. data/spec/helpers/admin/stock_movements_helper_spec.rb +0 -29
  194. data/spec/helpers/admin/store_credit_events_helper_spec.rb +0 -95
  195. data/spec/helpers/promotion_rules_helper_spec.rb +0 -12
  196. data/spec/spec_helper.rb +0 -108
  197. data/spec/support/appear_before_matcher.rb +0 -8
  198. data/spec/support/ror_ringer.jpeg +0 -0
  199. data/spec/test_views/spree/admin/widgets/edit.html.erb +0 -1
  200. data/spec/test_views/spree/admin/widgets/new.html.erb +0 -1
  201. data/vendor/assets/javascripts/handlebars.js +0 -2746
@@ -6,31 +6,9 @@
6
6
  type: calculator.preference_type(:base_percent)) %>
7
7
 
8
8
  <%= label_tag nil, Spree.t(:tiers) %>
9
- <%= content_tag :div, nil, class: "hidden js-original-tiers",
10
- data: { :'original-tiers' => Hash[calculator.preferred_tiers.sort] } %>
11
- <div class="js-tiers"></div>
9
+ <%= content_tag :div, nil, class: "js-tiers", data: {
10
+ 'original-tiers' => Hash[calculator.preferred_tiers.sort],
11
+ 'form-prefix' => prefix,
12
+ 'calculator' => 'tiered_percent'
13
+ } %>
12
14
  <button class="fa fa-plus button js-add-tier"><%= Spree.t(:add) %></button>
13
-
14
- <script type="text/x-handlebars-template" id="tier-input-name">
15
- <%= prefix %>[calculator_attributes][preferred_tiers][{{base}}]
16
- </script>
17
-
18
- <script type="text/x-handlebars-template" id="tier-fields-template">
19
- <div class="fullwidth tier">
20
- <a class="fa fa-trash remove js-remove-tier"></a>
21
- <div class="two columns alpha omega">
22
- <div class="input-group">
23
- <span class="input-group-addon">$</span>
24
- <input class="js-base-input form-control" type="text" value={{baseField.value}}>
25
- </div>
26
- </div>
27
- <div class="two columns alpha omega right">
28
- <div class="input-group">
29
- <input class="js-value-input form-control right-align"
30
- name="{{valueField.name}}" type="text" value={{valueField.value}}>
31
- <span class="input-group-addon">%</span>
32
- </div>
33
- </div>
34
- <div class="clear"></div>
35
- </div>
36
- </script>
@@ -7,14 +7,18 @@
7
7
  <% content_for :page_actions do %>
8
8
  <li>
9
9
  <%= button_link_to Spree.t(:back_to_promotions_list), admin_promotions_path, :icon => 'arrow-left' %>
10
- <%= button_link_to Spree.t(:download_promotion_code_list), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), :icon => 'arrow-down' %>
10
+ <% if can?(:display, Spree::PromotionCode) %>
11
+ <%= button_link_to Spree.t(:download_promotion_code_list), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), :icon => 'arrow-down' %>
12
+ <% end %>
11
13
  </li>
12
14
  <% end %>
13
15
 
14
16
  <%= form_for @promotion, :url => object_url, :method => :put do |f| %>
15
17
  <fieldset class="no-border-top">
16
18
  <%= render :partial => 'form', :locals => { :f => f } %>
17
- <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
19
+ <% if can?(:update, @promotion) %>
20
+ <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
21
+ <% end %>
18
22
  </fieldset>
19
23
  <% end %>
20
24
 
@@ -27,5 +31,3 @@
27
31
  <%= render :partial => 'actions' %>
28
32
  </div>
29
33
  </div>
30
-
31
- <%= render :partial => "spree/admin/variants/autocomplete", :formats => [:js] %>
@@ -93,7 +93,7 @@
93
93
  <td class="align-center"><%= Spree.t(:current_promotion_usage, :count => promotion.usage_count) %></td>
94
94
  <td class="align-center"><%= promotion.expires_at.to_date.to_s(:short_date) if promotion.expires_at %></td>
95
95
  <td class="actions">
96
- <% if can?(:update, promotion) %>
96
+ <% if can?(:edit, promotion) %>
97
97
  <%= link_to_edit promotion, :no_text => true %>
98
98
  <% end %>
99
99
  <% if can?(:destroy, promotion) %>
@@ -0,0 +1,13 @@
1
+ <div class="field alpha omega eight columns promo-rule-option-values">
2
+ <div class="param-prefix hidden" data-param-prefix="<%= param_prefix %>"></div>
3
+ <div class="four columns alpha"><%= label_tag nil, Spree.t(:product) %></div>
4
+ <div class="three columns omega"><%= label_tag nil, Spree.t(:option_values) %></div>
5
+ <div class="clear"></div>
6
+
7
+ <div class="js-promo-rule-option-values"></div>
8
+
9
+ <button class="fa fa-plus button js-add-promo-rule-option-value"><%= Spree.t(:add) %></button>
10
+ </div>
11
+
12
+ <%= content_tag :div, nil, class: "hidden js-original-promo-rule-option-values",
13
+ data: { :'original-option-values' => promotion_rule.preferred_eligible_values } %>
@@ -24,7 +24,7 @@
24
24
  <thead>
25
25
  <tr data-hook="named_types_header">
26
26
  <th><%= Spree.t(:name) %></th>
27
- <th><%= Spree.t(:state) %></th>
27
+ <th><%= Spree.t(:active) %></th>
28
28
  <th class="actions"></th>
29
29
  </tr>
30
30
  </thead>
@@ -35,7 +35,7 @@
35
35
  <%= named_type.name %>
36
36
  </td>
37
37
  <td class="align-center">
38
- <%= Spree.t(named_type.active? ? :active : :inactive) %>
38
+ <%= Spree.t(named_type.active? ? :say_yes : :say_no) %>
39
39
  </td>
40
40
  <td class="actions">
41
41
  <% if can?(:update, named_type) && named_type.mutable? %>
@@ -53,7 +53,7 @@
53
53
  <% if return_item.exchange_processed? %>
54
54
  <%= return_item.exchange_variant.exchange_name %>
55
55
  <% else %>
56
- <%= item_fields.collection_select :exchange_variant_id, return_item.eligible_exchange_variants, :id, :exchange_name, { include_blank: true }, { class: "select2 fullwidth return-item-exchange-selection" } %>
56
+ <%= item_fields.collection_select :exchange_variant_id, return_item.eligible_exchange_variants(@stock_locations), :id, :exchange_name, { include_blank: true }, { class: "select2 fullwidth return-item-exchange-selection" } %>
57
57
  <% end %>
58
58
  </td>
59
59
  </tr>
@@ -54,7 +54,7 @@
54
54
  </td>
55
55
  <td class="align-center">
56
56
  <% if editable %>
57
- <%= item_fields.collection_select :exchange_variant_id, return_item.eligible_exchange_variants, :id, :options_text, { include_blank: true }, { class: "select2 fullwidth return-item-exchange-selection" } %>
57
+ <%= item_fields.collection_select :exchange_variant_id, return_item.eligible_exchange_variants(@stock_locations), :id, :options_text, { include_blank: true }, { class: "select2 fullwidth return-item-exchange-selection" } %>
58
58
  <% elsif return_item.exchange_processed? %>
59
59
  <%= return_item.exchange_variant.options_text %>
60
60
  <% end %>
@@ -77,7 +77,7 @@
77
77
 
78
78
  <%= f.field_container :stock_location do %>
79
79
  <%= f.label :stock_location, Spree.t(:stock_location) %>
80
- <%= f.select :stock_location_id, Spree::StockLocation.order_default.active.to_a.collect{|l|[l.name, l.id]}, {include_blank: true}, {class: 'select2 fullwidth', "data-placeholder" => Spree.t(:select_a_stock_location)} %>
80
+ <%= f.select :stock_location_id, @stock_locations.to_a.collect{|l|[l.name, l.id]}, {include_blank: true}, {class: 'select2 fullwidth', "data-placeholder" => Spree.t(:select_a_stock_location)} %>
81
81
  <%= f.error_message_on :stock_location_id %>
82
82
  <% end %>
83
83
 
@@ -1,4 +1,4 @@
1
- collection(@users => :users)
1
+ collection(@users)
2
2
  attributes :email, :id
3
3
  address_fields = [:firstname, :lastname,
4
4
  :address1, :address2,
@@ -2,6 +2,12 @@
2
2
  <dl class="additional-info">
3
3
  <dt id="order_status" data-hook><%= Spree.t(:status) %>:</dt>
4
4
  <dd><span class="state <%= @order.state %>"><%= Spree.t(@order.state, :scope => :order_state) %></span></dd>
5
+
6
+ <% if @order.user.present? %>
7
+ <dt data-hook='admin_order_user_link'><%= Spree.t(:user) %>:</dt>
8
+ <dd id='order_user_link'><%= link_to @order.user.email, edit_admin_user_path(@order.user) %></dd>
9
+ <% end %>
10
+
5
11
  <dt data-hook='admin_order_tab_subtotal_title'><%= Spree.t(:subtotal) %>:</dt>
6
12
  <dd id='item_total'><%= @order.display_item_total.to_html %></dd>
7
13
  <% if checkout_steps.include?("delivery") && @order.ship_total > 0 %>
@@ -11,7 +11,7 @@
11
11
  <% end %>
12
12
 
13
13
  <% if can? :admin, :general_settings %>
14
- <%= tab *Spree::BackendConfiguration::CONFIGURATION_TABS, label: 'settings', icon: 'wrench', url: spree.edit_admin_general_settings_path %>
14
+ <%= tab *Spree::BackendConfiguration::CONFIGURATION_TABS, label: Spree.t(:settings), icon: 'wrench', url: spree.edit_admin_general_settings_path %>
15
15
  <% end %>
16
16
 
17
17
  <% if can? :admin, Spree::Promotion %>
@@ -19,7 +19,7 @@
19
19
  <% end %>
20
20
 
21
21
  <% if can? :admin, Spree::StockItem %>
22
- <%= tab(:stock_items, :stock_transfers, :url => spree.admin_stock_items_path, :label => 'stock', :icon => 'cubes', match_path: %r(^/admin/stock)) %>
22
+ <%= tab(:stock_items, :stock_transfers, :url => spree.admin_stock_items_path, :label => Spree.t(:stock), :icon => 'cubes', match_path: %r(^/admin/stock)) %>
23
23
  <% end %>
24
24
 
25
25
  <% if Spree.user_class && can?(:admin, Spree.user_class) %>
@@ -3,52 +3,22 @@
3
3
  var Spree = {}
4
4
  }
5
5
  Spree.translations = <%==
6
- { :date_picker => Spree.t(:js_format,
7
- :scope => 'date_picker',
8
- :default => 'yy/mm/dd'),
9
- :abbr_day_names => I18n.t(:abbr_day_names, :scope => :date),
10
- :add => Spree.t(:add),
11
- :are_you_sure_delete => Spree.t(:are_you_sure_delete),
12
- :bill_address => Spree.t(:bill_address),
13
- :choose_a_customer => Spree.t(:choose_a_customer),
14
- :confirm_delete => Spree.t(:confirm_delete),
15
- :cut => Spree.t(:cut),
16
- :destroy => Spree.t(:destroy, :scope => :actions),
17
- :edit => Spree.t(:edit, :scope => :actions),
18
- :save => Spree.t(:save, :scope => :actions),
19
- :cancel => Spree.t(:cancel, :scope => :actions),
20
- :first_day => Spree.t(:first_day,
21
- :scope => 'date_picker',
22
- :default => 0).to_i,
23
- :find_a_taxon => Spree.t(:find_a_taxon),
24
- :item_stock_placeholder => Spree.t(:choose_location),
25
- :loading => Spree.t(:loading),
26
- :month_names => I18n.t(:month_names, :scope => :date).reject(&:blank?),
27
- :more => Spree.t(:more),
28
- :name => Spree.t(:name),
29
- :next => Spree.t(:next),
30
- :no_results => Spree.t(:no_results),
31
- :option_type_placeholder => Spree.t(:option_type_placeholder),
32
- :paste => Spree.t(:paste),
33
- :previous => Spree.t(:previous),
34
- :remove => Spree.t(:remove),
35
- :rename => Spree.t(:rename),
36
- :searching => Spree.t(:searching),
37
- :sku => Spree.t(:sku),
38
- :type_to_search => Spree.t(:type_to_search),
39
- :taxon_placeholder => Spree.t(:taxon_placeholder),
40
- :tracking => Spree.t(:tracking),
41
- :variant_placeholder => Spree.t(:variant_placeholder),
42
- :value => Spree.t(:value),
43
- :currency_separator => I18n.t('number.currency.format.separator'),
44
- :created_successfully => Spree.t(:created_successfully),
45
- :deleted_successfully => Spree.t(:deleted_successfully),
46
- :updated_successfully => Spree.t(:updated_successfully),
47
- :received_successfully => Spree.t(:received_successfully),
48
- :adding_match => Spree.t(:adding_match),
49
- :receiving_match => Spree.t(:receiving_match)
50
-
51
- }.to_json
6
+ I18n.t("spree").merge({
7
+ :date_picker => Spree.t(:js_format,
8
+ :scope => 'date_picker',
9
+ :default => 'yy/mm/dd'),
10
+ :abbr_day_names => I18n.t(:abbr_day_names, :scope => :date),
11
+ :destroy => Spree.t(:destroy, :scope => :actions),
12
+ :edit => Spree.t(:edit, :scope => :actions),
13
+ :save => Spree.t(:save, :scope => :actions),
14
+ :cancel => Spree.t(:cancel, :scope => :actions),
15
+ :first_day => Spree.t(:first_day,
16
+ :scope => 'date_picker',
17
+ :default => 0).to_i,
18
+ :item_stock_placeholder => Spree.t(:choose_location),
19
+ :month_names => I18n.t(:month_names, :scope => :date).reject(&:blank?),
20
+ :currency_separator => I18n.t('number.currency.format.separator'),
21
+ }).to_json
52
22
  %>
53
23
  </script>
54
24
  <script data-hook='admin-custom-translations'>
@@ -24,7 +24,7 @@
24
24
  <thead>
25
25
  <tr data-hook="named_types_header">
26
26
  <th><%= Spree.t(:name) %></th>
27
- <th><%= Spree.t(:state) %></th>
27
+ <th><%= Spree.t(:active) %></th>
28
28
  <th class="actions"></th>
29
29
  </tr>
30
30
  </thead>
@@ -35,7 +35,7 @@
35
35
  <%= named_type.name %>
36
36
  </td>
37
37
  <td class="align-center">
38
- <%= Spree.t(named_type.active? ? :active : :inactive) %>
38
+ <%= Spree.t(named_type.active? ? :say_yes : :say_no) %>
39
39
  </td>
40
40
  <td class="actions">
41
41
  <% if named_type.mutable? && can?(:update, named_type) %>
@@ -1,5 +1,3 @@
1
- <%= render :partial => 'stock_location_stock_item_template' %>
2
-
3
1
  <%= paginate @variants %>
4
2
 
5
3
  <table class="index stock-table number-field-update-table" id="listing_product_stock">
@@ -10,5 +10,3 @@
10
10
  <% end %>
11
11
  </div>
12
12
  </div>
13
-
14
- <%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
@@ -1,6 +1,3 @@
1
- <%= render :partial => 'transfer_item_template' %>
2
- <%= render :partial => "spree/admin/variants/autocomplete", formats: :js %>
3
-
4
1
  <%= render :partial => 'spree/admin/shared/stock_sub_menu' %>
5
2
  <%content_for :page_title do %>
6
3
  <%= "#{Spree.t(:editing_stock_transfer)} #{@stock_transfer.number}" %>
@@ -1,6 +1,4 @@
1
1
  <%= render :partial => 'spree/admin/shared/stock_sub_menu' %>
2
- <%= render :partial => 'transfer_item_template' %>
3
- <%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
4
2
 
5
3
  <% content_for :page_title do %>
6
4
  <%= "#{Spree.t(:receiving)} #{@stock_transfer.number}" %>
@@ -15,7 +15,7 @@
15
15
  <h6>
16
16
  <span><%= @stock_transfer.source_location.admin_name %></span>
17
17
  <span class='arrow'>&rarr;</span>
18
- <span><%= @stock_transfer.destination_location.admin_name %></span>
18
+ <span><%= @stock_transfer.destination_location.try!(:admin_name) %></span>
19
19
  </h6>
20
20
  </div>
21
21
 
@@ -18,4 +18,3 @@
18
18
  <div id='taxon_products' class='list-group'></div>
19
19
  </div>
20
20
 
21
- <%= render "spree/admin/products/sortable" %>
@@ -1,8 +1,8 @@
1
1
  <div data-hook="bill_address_wrapper" class="alpha six columns">
2
2
  <fieldset class="no-border-bottom">
3
3
  <legend align="center"><%= Spree.t(:billing_address) %></legend>
4
- <%= f.fields_for :bill_address, (@user.bill_address || Spree::Address.default(@user, "bill")) do |ba_form| %>
5
- <% ba_form.object ||= Spree::Address.new(country: Spree::Country.new) %>
4
+ <%= f.fields_for :bill_address, @user.bill_address do |ba_form| %>
5
+ <% ba_form.object ||= Spree::Address.build_default %>
6
6
  <%= render :partial => 'spree/admin/shared/address_form', :locals => { :f => ba_form, :type => "billing" } %>
7
7
  <% end %>
8
8
  </fieldset>
@@ -11,8 +11,8 @@
11
11
  <div data-hook="ship_address_wrapper" class="alpha six columns">
12
12
  <fieldset class="no-border-bottom">
13
13
  <legend align="center"><%= Spree.t(:shipping_address) %></legend>
14
- <%= f.fields_for :ship_address, (@user.ship_address || Spree::Address.default(@user, "ship")) do |sa_form| %>
15
- <% sa_form.object ||= Spree::Address.new(country: Spree::Country.new) %>
14
+ <%= f.fields_for :ship_address, @user.ship_address do |sa_form| %>
15
+ <% sa_form.object ||= Spree::Address.build_default %>
16
16
  <%= render :partial => 'spree/admin/shared/address_form', :locals => { :f => sa_form, :type => "shipping" } %>
17
17
  <% end %>
18
18
  </fieldset>
@@ -11,15 +11,17 @@
11
11
  <body class='admin'>
12
12
  <div id='wrapper' data-hook>
13
13
 
14
- <% if flash[:error] %>
15
- <div class="flash error"><%= flash[:error] %></div>
16
- <% end %>
17
- <% if notice %>
18
- <div class="flash notice"><%= notice %></div>
19
- <% end %>
20
- <% if flash[:success] %>
21
- <div class="flash success"><%= flash[:success] %></div>
22
- <% end %>
14
+ <div class="flash-wrapper js-flash-wrapper">
15
+ <% if flash[:error] %>
16
+ <div class="flash error"><%= flash[:error] %></div>
17
+ <% end %>
18
+ <% if notice %>
19
+ <div class="flash notice"><%= notice %></div>
20
+ <% end %>
21
+ <% if flash[:success] %>
22
+ <div class="flash success"><%= flash[:success] %></div>
23
+ <% end %>
24
+ </div>
23
25
 
24
26
  <div id="progress">
25
27
  <div class="wrapper">
data/config/routes.rb CHANGED
@@ -31,6 +31,11 @@ Spree::Core::Engine.add_routes do
31
31
  post :update_positions
32
32
  end
33
33
  end
34
+ resources :variant_property_rule_values, only: [:destroy] do
35
+ collection do
36
+ post :update_positions
37
+ end
38
+ end
34
39
  resources :images do
35
40
  collection do
36
41
  post :update_positions
data/lib/spree/backend.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  require 'rails/all'
2
2
  require 'jquery-rails'
3
3
  require 'jquery-ui-rails'
4
- require 'coffee-rails'
5
- require 'sass-rails'
6
4
  require 'bourbon'
7
5
  require 'deface'
8
6
  require 'select2-rails'
7
+ require 'handlebars_assets'
9
8
 
10
9
  require 'spree_core'
11
10
  require 'spree_api'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.1.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-12 00:00:00.000000000 Z
11
+ date: 2015-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.7
19
+ version: 1.1.0.beta1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.7
26
+ version: 1.1.0.beta1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.7
33
+ version: 1.1.0.beta1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.7
40
+ version: 1.1.0.beta1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bourbon
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,34 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: sass-rails
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: coffee-rails
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: jquery-rails
85
57
  requirement: !ruby/object:Gem::Requirement
@@ -122,15 +94,26 @@ dependencies:
122
94
  - - '='
123
95
  - !ruby/object:Gem::Version
124
96
  version: 3.5.9.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: handlebars_assets
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
125
111
  description: Admin interface for the Solidus e-commerce framework.
126
112
  email: contact@solidus.io
127
113
  executables: []
128
114
  extensions: []
129
115
  extra_rdoc_files: []
130
116
  files:
131
- - CHANGELOG.md
132
- - Gemfile
133
- - Rakefile
134
117
  - app/assets/javascripts/spree/backend.js
135
118
  - app/assets/javascripts/spree/backend/address_states.js
136
119
  - app/assets/javascripts/spree/backend/adjustments.js.coffee
@@ -138,9 +121,10 @@ files:
138
121
  - app/assets/javascripts/spree/backend/backbone-overrides.js.coffee
139
122
  - app/assets/javascripts/spree/backend/calculator.js
140
123
  - app/assets/javascripts/spree/backend/checkouts/edit.js
124
+ - app/assets/javascripts/spree/backend/flash.coffee
141
125
  - app/assets/javascripts/spree/backend/gateway.js.coffee
142
126
  - app/assets/javascripts/spree/backend/general_settings.js.coffee
143
- - app/assets/javascripts/spree/backend/handlebar_extensions.js
127
+ - app/assets/javascripts/spree/backend/handlebars_extensions.coffee
144
128
  - app/assets/javascripts/spree/backend/images/index.js.coffee
145
129
  - app/assets/javascripts/spree/backend/images/new.js.coffee
146
130
  - app/assets/javascripts/spree/backend/line_items.js.coffee
@@ -148,13 +132,14 @@ files:
148
132
  - app/assets/javascripts/spree/backend/nested-attribute.js
149
133
  - app/assets/javascripts/spree/backend/number_field_updater.coffee
150
134
  - app/assets/javascripts/spree/backend/option_type_autocomplete.js.erb
135
+ - app/assets/javascripts/spree/backend/option_value_picker.js
151
136
  - app/assets/javascripts/spree/backend/orders/edit.js
152
137
  - app/assets/javascripts/spree/backend/orders/edit_form.js
153
138
  - app/assets/javascripts/spree/backend/payments/edit.js.coffee
154
139
  - app/assets/javascripts/spree/backend/payments/new.js
155
140
  - app/assets/javascripts/spree/backend/product_picker.js
156
141
  - app/assets/javascripts/spree/backend/progress.coffee
157
- - app/assets/javascripts/spree/backend/promotions.js
142
+ - app/assets/javascripts/spree/backend/promotions.js.coffee
158
143
  - app/assets/javascripts/spree/backend/returns/expedited_exchanges_warning.coffee
159
144
  - app/assets/javascripts/spree/backend/returns/return_item_selection.js
160
145
  - app/assets/javascripts/spree/backend/routes.js
@@ -167,7 +152,6 @@ files:
167
152
  - app/assets/javascripts/spree/backend/stock_management/index_update_forms.coffee
168
153
  - app/assets/javascripts/spree/backend/stock_management/stock_item.coffee
169
154
  - app/assets/javascripts/spree/backend/stock_movement.js.coffee
170
- - app/assets/javascripts/spree/backend/stock_transfer.js.coffee
171
155
  - app/assets/javascripts/spree/backend/stock_transfers/count_update_forms.coffee
172
156
  - app/assets/javascripts/spree/backend/stock_transfers/edit.coffee
173
157
  - app/assets/javascripts/spree/backend/stock_transfers/receive.coffee
@@ -182,6 +166,18 @@ files:
182
166
  - app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee
183
167
  - app/assets/javascripts/spree/backend/taxonomy.js.coffee
184
168
  - app/assets/javascripts/spree/backend/taxons.js.coffee
169
+ - app/assets/javascripts/spree/backend/templates/orders/customer_details/autocomplete.hbs
170
+ - app/assets/javascripts/spree/backend/templates/products/sortable.hbs
171
+ - app/assets/javascripts/spree/backend/templates/promotions/calculators/fields/tiered_flat_rate.hbs
172
+ - app/assets/javascripts/spree/backend/templates/promotions/calculators/fields/tiered_percent.hbs
173
+ - app/assets/javascripts/spree/backend/templates/promotions/rules/option_values.hbs
174
+ - app/assets/javascripts/spree/backend/templates/promotions/rules/option_values_select.hbs
175
+ - app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs
176
+ - app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
177
+ - app/assets/javascripts/spree/backend/templates/variants/autocomplete.hbs.erb
178
+ - app/assets/javascripts/spree/backend/templates/variants/autocomplete_stock.hbs
179
+ - app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs
180
+ - app/assets/javascripts/spree/backend/templates/variants/split.hbs
185
181
  - app/assets/javascripts/spree/backend/user_picker.js
186
182
  - app/assets/javascripts/spree/backend/variant_autocomplete.js.coffee.erb
187
183
  - app/assets/javascripts/spree/backend/variant_management.js.coffee
@@ -280,6 +276,7 @@ files:
280
276
  - app/controllers/spree/admin/taxons_controller.rb
281
277
  - app/controllers/spree/admin/trackers_controller.rb
282
278
  - app/controllers/spree/admin/users_controller.rb
279
+ - app/controllers/spree/admin/variant_property_rule_values_controller.rb
283
280
  - app/controllers/spree/admin/variants_controller.rb
284
281
  - app/controllers/spree/admin/variants_including_master_controller.rb
285
282
  - app/controllers/spree/admin/zones_controller.rb
@@ -380,10 +377,8 @@ files:
380
377
  - app/views/spree/admin/payments/source_views/_storecredit.html.erb
381
378
  - app/views/spree/admin/product_properties/_product_property_fields.html.erb
382
379
  - app/views/spree/admin/product_properties/index.html.erb
383
- - app/views/spree/admin/products/_autocomplete.js.erb
384
380
  - app/views/spree/admin/products/_form.html.erb
385
381
  - app/views/spree/admin/products/_properties_form.erb
386
- - app/views/spree/admin/products/_sortable.html
387
382
  - app/views/spree/admin/products/edit.html.erb
388
383
  - app/views/spree/admin/products/index.html.erb
389
384
  - app/views/spree/admin/products/new.html.erb
@@ -418,6 +413,7 @@ files:
418
413
  - app/views/spree/admin/promotions/rules/_landing_page.html.erb
419
414
  - app/views/spree/admin/promotions/rules/_nth_order.html.erb
420
415
  - app/views/spree/admin/promotions/rules/_one_use_per_user.html.erb
416
+ - app/views/spree/admin/promotions/rules/_option_value.html.erb
421
417
  - app/views/spree/admin/promotions/rules/_product.html.erb
422
418
  - app/views/spree/admin/promotions/rules/_taxon.html.erb
423
419
  - app/views/spree/admin/promotions/rules/_user.html.erb
@@ -507,7 +503,6 @@ files:
507
503
  - app/views/spree/admin/states/edit.html.erb
508
504
  - app/views/spree/admin/states/index.html.erb
509
505
  - app/views/spree/admin/states/new.html.erb
510
- - app/views/spree/admin/stock_items/_stock_location_stock_item_template.html.erb
511
506
  - app/views/spree/admin/stock_items/_stock_management.html.erb
512
507
  - app/views/spree/admin/stock_items/destroy.js.erb
513
508
  - app/views/spree/admin/stock_items/index.html.erb
@@ -522,7 +517,6 @@ files:
522
517
  - app/views/spree/admin/stock_transfers/_stock_movements.html.erb
523
518
  - app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb
524
519
  - app/views/spree/admin/stock_transfers/_transfer_item_table.html.erb
525
- - app/views/spree/admin/stock_transfers/_transfer_item_template.html.erb
526
520
  - app/views/spree/admin/stock_transfers/edit.html.erb
527
521
  - app/views/spree/admin/stock_transfers/index.html.erb
528
522
  - app/views/spree/admin/stock_transfers/new.html.erb
@@ -571,11 +565,7 @@ files:
571
565
  - app/views/spree/admin/users/items.html.erb
572
566
  - app/views/spree/admin/users/new.html.erb
573
567
  - app/views/spree/admin/users/orders.html.erb
574
- - app/views/spree/admin/variants/_autocomplete.js.erb
575
- - app/views/spree/admin/variants/_autocomplete_line_items_stock.js.erb
576
- - app/views/spree/admin/variants/_autocomplete_stock.js.erb
577
568
  - app/views/spree/admin/variants/_form.html.erb
578
- - app/views/spree/admin/variants/_split.js.erb
579
569
  - app/views/spree/admin/variants/edit.html.erb
580
570
  - app/views/spree/admin/variants/index.html.erb
581
571
  - app/views/spree/admin/variants/new.html.erb
@@ -597,93 +587,6 @@ files:
597
587
  - lib/spree/backend/callbacks.rb
598
588
  - lib/spree/backend/engine.rb
599
589
  - lib/spree_backend.rb
600
- - script/rails
601
- - solidus_backend.gemspec
602
- - spec/controllers/spree/admin/base_controller_spec.rb
603
- - spec/controllers/spree/admin/cancellations_controller_spec.rb
604
- - spec/controllers/spree/admin/customer_returns_controller_spec.rb
605
- - spec/controllers/spree/admin/general_settings_controller_spec.rb
606
- - spec/controllers/spree/admin/missing_products_controller_spec.rb
607
- - spec/controllers/spree/admin/orders/customer_details_controller_spec.rb
608
- - spec/controllers/spree/admin/orders_controller_spec.rb
609
- - spec/controllers/spree/admin/payment_methods_controller_spec.rb
610
- - spec/controllers/spree/admin/payments_controller_spec.rb
611
- - spec/controllers/spree/admin/products_controller_spec.rb
612
- - spec/controllers/spree/admin/promotion_actions_controller_spec.rb
613
- - spec/controllers/spree/admin/promotion_codes_controller_spec.rb
614
- - spec/controllers/spree/admin/promotion_rules_controller_spec.rb
615
- - spec/controllers/spree/admin/promotions_controller_spec.rb
616
- - spec/controllers/spree/admin/refunds_controller_spec.rb
617
- - spec/controllers/spree/admin/reimbursements_controller_spec.rb
618
- - spec/controllers/spree/admin/reports_controller_spec.rb
619
- - spec/controllers/spree/admin/resource_controller_spec.rb
620
- - spec/controllers/spree/admin/return_authorizations_controller_spec.rb
621
- - spec/controllers/spree/admin/return_items_controller_spec.rb
622
- - spec/controllers/spree/admin/root_controller_spec.rb
623
- - spec/controllers/spree/admin/search_controller_spec.rb
624
- - spec/controllers/spree/admin/shipping_methods_controller_spec.rb
625
- - spec/controllers/spree/admin/stock_items_controller_spec.rb
626
- - spec/controllers/spree/admin/stock_locations_controller_spec.rb
627
- - spec/controllers/spree/admin/stock_transfers_controller_spec.rb
628
- - spec/controllers/spree/admin/store_credits_controller_spec.rb
629
- - spec/controllers/spree/admin/users_controller_spec.rb
630
- - spec/controllers/spree/admin/variants_controller_spec.rb
631
- - spec/features/admin/configuration/analytics_tracker_spec.rb
632
- - spec/features/admin/configuration/countries_spec.rb
633
- - spec/features/admin/configuration/general_settings_spec.rb
634
- - spec/features/admin/configuration/payment_methods_spec.rb
635
- - spec/features/admin/configuration/shipping_methods_spec.rb
636
- - spec/features/admin/configuration/states_spec.rb
637
- - spec/features/admin/configuration/stock_locations_spec.rb
638
- - spec/features/admin/configuration/tax_categories_spec.rb
639
- - spec/features/admin/configuration/tax_rates_spec.rb
640
- - spec/features/admin/configuration/taxonomies_spec.rb
641
- - spec/features/admin/configuration/zones_spec.rb
642
- - spec/features/admin/homepage_spec.rb
643
- - spec/features/admin/locale_spec.rb
644
- - spec/features/admin/orders/adjustments_promotions_spec.rb
645
- - spec/features/admin/orders/adjustments_spec.rb
646
- - spec/features/admin/orders/cancelling_and_resuming_spec.rb
647
- - spec/features/admin/orders/cancelling_inventory_spec.rb
648
- - spec/features/admin/orders/customer_details_spec.rb
649
- - spec/features/admin/orders/line_items_spec.rb
650
- - spec/features/admin/orders/listing_spec.rb
651
- - spec/features/admin/orders/log_entries_spec.rb
652
- - spec/features/admin/orders/new_order_spec.rb
653
- - spec/features/admin/orders/order_details_spec.rb
654
- - spec/features/admin/orders/payments_spec.rb
655
- - spec/features/admin/orders/risk_analysis_spec.rb
656
- - spec/features/admin/orders/shipments_spec.rb
657
- - spec/features/admin/payments/store_credits_spec.rb
658
- - spec/features/admin/products/edit/images_spec.rb
659
- - spec/features/admin/products/edit/products_spec.rb
660
- - spec/features/admin/products/edit/taxons_spec.rb
661
- - spec/features/admin/products/edit/variants_spec.rb
662
- - spec/features/admin/products/option_types_spec.rb
663
- - spec/features/admin/products/products_spec.rb
664
- - spec/features/admin/products/properties_spec.rb
665
- - spec/features/admin/products/prototypes_spec.rb
666
- - spec/features/admin/products/stock_management_spec.rb
667
- - spec/features/admin/products/variant_spec.rb
668
- - spec/features/admin/promotion_adjustments_spec.rb
669
- - spec/features/admin/promotions/tiered_calculator_spec.rb
670
- - spec/features/admin/promotions/user_rule_spec.rb
671
- - spec/features/admin/reports_spec.rb
672
- - spec/features/admin/stock_transfer_spec.rb
673
- - spec/features/admin/store_credits_spec.rb
674
- - spec/features/admin/taxons_spec.rb
675
- - spec/features/admin/users_spec.rb
676
- - spec/helpers/admin/base_helper_spec.rb
677
- - spec/helpers/admin/navigation_helper_spec.rb
678
- - spec/helpers/admin/reimbursements_helper_spec.rb
679
- - spec/helpers/admin/stock_movements_helper_spec.rb
680
- - spec/helpers/admin/store_credit_events_helper_spec.rb
681
- - spec/helpers/promotion_rules_helper_spec.rb
682
- - spec/spec_helper.rb
683
- - spec/support/appear_before_matcher.rb
684
- - spec/support/ror_ringer.jpeg
685
- - spec/test_views/spree/admin/widgets/edit.html.erb
686
- - spec/test_views/spree/admin/widgets/new.html.erb
687
590
  - vendor/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png
688
591
  - vendor/assets/images/jquery-ui/ui-bg_flat_0_eeeeee_40x100.png
689
592
  - vendor/assets/images/jquery-ui/ui-bg_flat_55_ffffff_40x100.png
@@ -699,7 +602,6 @@ files:
699
602
  - vendor/assets/images/jquery-ui/ui-icons_ffffff_256x240.png
700
603
  - vendor/assets/javascripts/backbone.js
701
604
  - vendor/assets/javascripts/equalize.js
702
- - vendor/assets/javascripts/handlebars.js
703
605
  - vendor/assets/javascripts/jquery.cookie.js
704
606
  - vendor/assets/javascripts/jquery.jstree/jquery.jstree.js
705
607
  - vendor/assets/javascripts/jquery.jstree/themes/apple/bg.jpg
@@ -730,13 +632,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
730
632
  version: 2.1.0
731
633
  required_rubygems_version: !ruby/object:Gem::Requirement
732
634
  requirements:
733
- - - ">="
635
+ - - ">"
734
636
  - !ruby/object:Gem::Version
735
- version: '0'
637
+ version: 1.3.1
736
638
  requirements:
737
639
  - none
738
640
  rubyforge_project: solidus_backend
739
- rubygems_version: 2.6.11
641
+ rubygems_version: 2.4.5
740
642
  signing_key:
741
643
  specification_version: 4
742
644
  summary: Admin interface for the Solidus e-commerce framework.