spree_backend 3.4.0.rc2 → 3.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 687e185ba9c4549336a52443e9e50cf115112b94
|
4
|
+
data.tar.gz: 4d5acbfec6570e05dfb9f3968a582416d5a160fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7084137ba5f24ae20b6c9ed9329c3b406d34ea8986f1784b023f5ae74a6e46ae069349a713cd46c315899a51f726af9a6f92d7f24bf26115bc44bcd04cc54f5e
|
7
|
+
data.tar.gz: afb64e1bca89b7cbac05b144827c7fb74d3f9f27a53f3ab357b1e594384658251964bcf9cd5cda32e825ffb57fb466b666b233037f9f4bdf2cdfeab9e34c4a5e
|
@@ -50,10 +50,10 @@ module Spree
|
|
50
50
|
if @product.destroy
|
51
51
|
flash[:success] = Spree.t('notice_messages.product_deleted')
|
52
52
|
else
|
53
|
-
flash[:error] = Spree.t('notice_messages.product_not_deleted')
|
53
|
+
flash[:error] = Spree.t('notice_messages.product_not_deleted', error: @product.errors.full_messages.join(', '))
|
54
54
|
end
|
55
55
|
rescue ActiveRecord::RecordNotDestroyed => e
|
56
|
-
flash[:error] = Spree.t('notice_messages.product_not_deleted')
|
56
|
+
flash[:error] = Spree.t('notice_messages.product_not_deleted', error: e.message)
|
57
57
|
end
|
58
58
|
|
59
59
|
respond_with(@product) do |format|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
<% if @order.approved? %>
|
99
99
|
<tr>
|
100
100
|
<td><strong><%= Spree.t(:approver) %></strong></td>
|
101
|
-
<td><%= @order.approver.email %></td>
|
101
|
+
<td><%= @order.approver.try(:email) %></td>
|
102
102
|
</tr>
|
103
103
|
<tr>
|
104
104
|
<td><strong><%= Spree.t(:approved_at) %></strong></td>
|
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.4.0
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-12 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.4.0
|
19
|
+
version: 3.4.0
|
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.4.0
|
26
|
+
version: 3.4.0
|
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.4.0
|
33
|
+
version: 3.4.0
|
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.4.0
|
40
|
+
version: 3.4.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bootstrap-sass
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -531,9 +531,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
531
531
|
version: 2.2.7
|
532
532
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
533
533
|
requirements:
|
534
|
-
- - "
|
534
|
+
- - ">="
|
535
535
|
- !ruby/object:Gem::Version
|
536
|
-
version:
|
536
|
+
version: '0'
|
537
537
|
requirements:
|
538
538
|
- none
|
539
539
|
rubyforge_project:
|