spree_backend 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7996142da9fa2117730e5254994679ee159fffc
4
- data.tar.gz: d48eac3fb6d644cca44fea9878406f15ce25a450
3
+ metadata.gz: f7293cfdad90b0c0d77e0a14dba7f38693d8bfe3
4
+ data.tar.gz: cd4c80af67cb2d6406041d18cacf041033184239
5
5
  SHA512:
6
- metadata.gz: ecb92ab96f6bd4938593cf7093ae467c858a90d2672584553bfaeecbc041df5f794d7946bd66674a7d1ae49187d3f937ca6275ffb823f7ee5a23f23d57e5c3cd
7
- data.tar.gz: d678cb1c06e052e9b35972ffaefac0b0e1b43dd41e862e48908f472b0b4c2161585ddb401c70542d5cf99037c4a492a345a24e5f4bc06766ac63d4326ecffd9e
6
+ metadata.gz: 9892a402e7cd357b49ba7c5a9d1ba8b37fdcee8417b2c3d64ecf00379f55594265f502f7fdf47e64072a254d3b94b4fd88d758204d2753ebe67532471e97a67e
7
+ data.tar.gz: 24071420bb31be09518eb59001676177415d90eb19292f7e368ac752fd20ae65540ec384f7378ba9167d614dd84e7cffe723a8b6e844336338e7258d9a90cc23
@@ -15,7 +15,7 @@ $.fn.variantAutocomplete = ->
15
15
  placeholder: Spree.translations.variant_placeholder
16
16
  minimumInputLength: 3
17
17
  initSelection: (element, callback) ->
18
- $.get Spree.routes.variants_search + "/" + element.val(), {}, (data) ->
18
+ $.get Spree.routes.variants_api + "/" + element.val(), { token: Spree.api_key }, (data) ->
19
19
  callback data
20
20
  ajax:
21
21
  url: Spree.url(Spree.routes.variants_api)
@@ -206,10 +206,4 @@
206
206
  <div data-hook="admin_product_form_additional_fields"></div>
207
207
 
208
208
  </div>
209
-
210
- <% unless Rails.env.test? %>
211
- <script>
212
- $('.select2-container').css();
213
- </script>
214
- <% end %>
215
209
  </div>
@@ -5,6 +5,6 @@
5
5
  <%= form_for [:admin, @role] do |f| %>
6
6
  <fieldset>
7
7
  <%= render partial: 'form', locals: { f: f } %>
8
- <%= render partial: 'spree/admin/shared/new_resource_links' %>
8
+ <%= render partial: 'spree/admin/shared/edit_resource_links' %>
9
9
  </fieldset>
10
10
  <% end %>
@@ -6,11 +6,11 @@
6
6
  <%= link_to_with_icon 'arrow-left', Spree.t(:back_to_resource_list, resource: Spree::StockMovement.model_name.human), admin_stock_location_stock_movements_path(stock_location), class: 'btn btn-default' %>
7
7
  <% end %>
8
8
 
9
- <%= render :partial => 'spree/admin/shared/error_messages', :locals => { :target => @stock_movement } %>
9
+ <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @stock_movement } %>
10
10
 
11
11
  <%= form_for [:admin, stock_location, @stock_movement] do |f| %>
12
12
  <fieldset>
13
- <%= render :partial => 'form', :locals => { :f => f } %>
14
- <%= render :partial => 'spree/admin/shared/new_resource_links', locals: { collection_url: admin_stock_location_stock_movements_path(stock_location) } %>
13
+ <%= render partial: 'form', locals: { f: f } %>
14
+ <%= render partial: 'spree/admin/shared/edit_resource_links', locals: { collection_url: admin_stock_location_stock_movements_path(stock_location) } %>
15
15
  </fieldset>
16
16
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-28 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.3
19
+ version: 3.0.4
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: 3.0.3
26
+ version: 3.0.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.3
33
+ version: 3.0.4
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: 3.0.3
40
+ version: 3.0.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -312,6 +312,7 @@ files:
312
312
  - app/views/spree/admin/payments/new.html.erb
313
313
  - app/views/spree/admin/payments/show.html.erb
314
314
  - app/views/spree/admin/payments/source_forms/_gateway.html.erb
315
+ - app/views/spree/admin/payments/source_views/_check.html.erb
315
316
  - app/views/spree/admin/payments/source_views/_gateway.html.erb
316
317
  - app/views/spree/admin/product_properties/_product_property_fields.html.erb
317
318
  - app/views/spree/admin/product_properties/index.html.erb