solidus_backend 3.0.0 → 3.0.1

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 315290b6e48b401dd97d18bd073a608cedc2fdf6c346ad0e7bea42193924a5cb
4
- data.tar.gz: ba2533644e15901c01599ac5e9fee5d1fca7f369a095ce047b3210b484571847
3
+ metadata.gz: efa1e8e4ed76655a54de7bfa571e16ff869216722bfef15006dddb2748676cb0
4
+ data.tar.gz: 9119a85ad6f661c566446425b224fe975026d509c53a42da7a59bf0dd6c0bfc1
5
5
  SHA512:
6
- metadata.gz: 977dfe266f8f2bb40f3e63f372907c42108e82a9712b069159fa6170a5bd5d0c5716acc6369da3a6c42666cfae9d9fdfc328d272eed4768dc31ae6d58ea7b176
7
- data.tar.gz: 6d157925f631e7f43d716ae46d0a556501e34bb5efc8b6a959f263a1755e0432ad9669ab04b41cfa8fcf1415e1e91209c036dfae520acb2615429c60af33c186
6
+ metadata.gz: b473137b585a7ee43e757b0cf7bfe4232f1b43ad5f5725b72448b84a310db04a4be6251b31a8ced31152013ea5c7862b6d3c0cddd0e520482e71d1b73b682e3f
7
+ data.tar.gz: 99eba5d27ed1c2d61376ad8c5b38132245ac59786020fc33b83826f12fd0c2278a7b794da55d58be08aae15c82076bb8ca722dbd9a1ebedd48398740faa6a1cb
@@ -184,7 +184,7 @@ class Spree::Admin::ResourceController < Spree::Admin::BaseController
184
184
  .find_by!(self.class.parent_data[:find_by] => params["#{parent_model_name}_id"])
185
185
  instance_variable_set("@#{parent_model_name}", @parent)
186
186
  rescue ActiveRecord::RecordNotFound => e
187
- resource_not_found(flash_class: e.model.constantize, redirect_url: spree.polymorphic_url([:admin, parent_model_name.pluralize]))
187
+ resource_not_found(flash_class: e.model.constantize, redirect_url: spree.polymorphic_url([:admin, parent_model_name.pluralize.to_sym]))
188
188
  end
189
189
 
190
190
  def parent?
@@ -11,7 +11,7 @@ module Spree
11
11
  translated_event = t(event, scope: [:spree, :admin, :order, :events])
12
12
  links << button_to(
13
13
  translated_event,
14
- [event, :admin, @order],
14
+ [event.to_sym, :admin, @order],
15
15
  method: :put,
16
16
  data: { confirm: t(:order_sure_want_to, event: translated_event, scope: :spree) }
17
17
  )
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: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2021-05-10 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: 3.0.0
19
+ version: 3.0.1
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.0
26
+ version: 3.0.1
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: 3.0.0
33
+ version: 3.0.1
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.0
40
+ version: 3.0.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement