spree_extension 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/spree_extension/service_module.rb +2 -2
- data/spree_extension.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ac3ae3686faedb7c0251c7d715544d23beaaca1ad013eb219ac2836deb9aadaa
|
4
|
+
data.tar.gz: d8c050cd0a6a2dd3a70ea1a2b840b795ae1a20af2b6d623f9d1cf3db364e4fe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc865828d6d9f3d510e6bf2e7d534d9e86083fc4da665389cdeef11c5471a66597e2eb47d81d71048d734f7f6b7aa8f2f37601c13ea7a9f042325a5bc15c8ed
|
7
|
+
data.tar.gz: 75c249babc951a7a54e46b5d9c605c65591b450ceeacbb09008b1509020595606acb082df91b007916a3e666f4414ae4825b5de1f3ebad7001d3087bd8f87caf
|
@@ -29,13 +29,13 @@ unless defined?(Spree::ServiceModule)
|
|
29
29
|
|
30
30
|
ResultError = Struct.new(:value) do
|
31
31
|
def to_s
|
32
|
-
return value.full_messages.join(', ') if value
|
32
|
+
return value.full_messages.join(', ') if value && value.respond_to?(:full_messages)
|
33
33
|
|
34
34
|
value.to_s
|
35
35
|
end
|
36
36
|
|
37
37
|
def to_h
|
38
|
-
return value.messages if value
|
38
|
+
return value.messages if value && value.respond_to?(:messages)
|
39
39
|
|
40
40
|
{}
|
41
41
|
end
|
data/spree_extension.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'spree_extension'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.9'
|
4
4
|
s.summary = 'Common tools and helpers for Spree Extensions developers'
|
5
5
|
s.description = 'Common tools and helpers for Spree Extensions developers'
|
6
6
|
s.authors = ['Damian Legawiec']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damian Legawiec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -71,8 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
|
-
|
75
|
-
rubygems_version: 2.6.10
|
74
|
+
rubygems_version: 3.0.2
|
76
75
|
signing_key:
|
77
76
|
specification_version: 4
|
78
77
|
summary: Common tools and helpers for Spree Extensions developers
|