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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 87d8b384b1be1f29280d581b7f3399b738388f99
4
- data.tar.gz: f35b6ebf895471ba7a2149ea1d6457aab3635a23
2
+ SHA256:
3
+ metadata.gz: ac3ae3686faedb7c0251c7d715544d23beaaca1ad013eb219ac2836deb9aadaa
4
+ data.tar.gz: d8c050cd0a6a2dd3a70ea1a2b840b795ae1a20af2b6d623f9d1cf3db364e4fe8
5
5
  SHA512:
6
- metadata.gz: 50e23702153d5d431da33b7f1f025a897fd93defcb99d461ed06466065614b52311ad1b9d4053bdfeb1b5149e927cc9bdecfe9c5dae774d6eae612037b740197
7
- data.tar.gz: 05e1b03f6cea91bf1a96a38b49fc9cd79c9866db2cbb9c05c5955dcca71b22e3b072d401d228fdef6d503e28777c1b6cba1ebde4e475b5064f769ff3a47192d6
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&.respond_to?(:full_messages)
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&.respond_to?(:messages)
38
+ return value.messages if value && value.respond_to?(:messages)
39
39
 
40
40
  {}
41
41
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'spree_extension'
3
- s.version = '0.0.8'
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.8
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-03 00:00:00.000000000 Z
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
- rubyforge_project:
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