solidus_backend 2.4.0.beta1 → 2.4.0.rc1
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 +4 -4
- data/app/helpers/spree/admin/base_helper.rb +4 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ab9606f9b51959b082f6193890aa0c9d5f16b93
|
4
|
+
data.tar.gz: 140271d51020ba0ffb2722114b6a5384ff34eda4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd99488927268ce0a5d4ed23f320805b3a28645cb8d6c4d201e37203bcd61f3d1b57d87e9793f4598a1e460dc6919844506479e081ca603d786a59f4113a8c14
|
7
|
+
data.tar.gz: ffa574558bc1a91cf403d848540bb822f2cfde0b474ac6281080497cfe605e7b04748cdfb95e89b94c81e259a4ef1ee2a9270a1af9eedc8bf543e995e09b7bff
|
@@ -36,7 +36,8 @@ module Spree
|
|
36
36
|
|
37
37
|
# @deprecated Render `spree/admin/shared/preference_fields/\#{preference_type}' instead
|
38
38
|
def preference_field_tag(name, value, options)
|
39
|
-
|
39
|
+
type = options.delete(:type) || :text
|
40
|
+
render "spree/admin/shared/preference_fields/#{type}",
|
40
41
|
name: name, value: value, html_options: options
|
41
42
|
end
|
42
43
|
deprecate preference_field_tag:
|
@@ -45,7 +46,8 @@ module Spree
|
|
45
46
|
|
46
47
|
# @deprecated Render `spree/admin/shared/preference_fields/\#{preference_type}' instead
|
47
48
|
def preference_field_for(form, field, options)
|
48
|
-
|
49
|
+
type = options.delete(:type) || :text
|
50
|
+
render "spree/admin/shared/preference_fields/#{type}",
|
49
51
|
form: form, attribute: field, html_options: options
|
50
52
|
end
|
51
53
|
deprecate preference_field_for:
|
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: 2.4.0.
|
4
|
+
version: 2.4.0.rc1
|
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-10-
|
11
|
+
date: 2017-10-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: 2.4.0.
|
19
|
+
version: 2.4.0.rc1
|
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: 2.4.0.
|
26
|
+
version: 2.4.0.rc1
|
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: 2.4.0.
|
33
|
+
version: 2.4.0.rc1
|
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: 2.4.0.
|
40
|
+
version: 2.4.0.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sass-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|