spree_frontend 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: d80ddb54422e77e1b1a005203f6af26e8b7846fd
|
4
|
+
data.tar.gz: bce8ff5bd5cf2242f47e5a831e5c7ebff8ee4fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3313564a03bf7f57fb1fdf5c5e086e2e9a08461a4376fc588816a0b3f8698917bfddf4a976f10b5abef13226e21ebb2599738aab86f9936099554bba51dd2c3
|
7
|
+
data.tar.gz: 01365fea52a647bafb4579cde8821b74a0c751a6745fd4d0b00cb0522c37e1db4730e4e6c2ad7fbeb9011f97117eb37b68a658d19b4a868546d7b42f24a6ca69
|
@@ -9,6 +9,26 @@ module Spree
|
|
9
9
|
respond_to :html
|
10
10
|
|
11
11
|
def show
|
12
|
+
ActiveSupport::Deprecation.warn(<<-EOS, caller)
|
13
|
+
ContentController#show is deprecated and will be removed in Spree 3.5
|
14
|
+
Please don't use dynamic render paths and just declare your actions in
|
15
|
+
ContentController decorator, eg.
|
16
|
+
|
17
|
+
routes.rb:
|
18
|
+
get '/content/custom_page', to: 'content#custom_page', as: :custom_page
|
19
|
+
|
20
|
+
controllers/spree/content_controller_decorator.rb:
|
21
|
+
Spree::ContentController.class_eval do
|
22
|
+
def custom_page
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
change links from:
|
27
|
+
spree.content_path('custom_page')
|
28
|
+
|
29
|
+
to:
|
30
|
+
spree.custom_page
|
31
|
+
EOS
|
12
32
|
render action: params[:path]
|
13
33
|
end
|
14
34
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
<%= Spree.t(:card_code) %><abbr class="required" title="required">*</abbr>
|
35
35
|
<% end %>
|
36
36
|
<%= text_field_tag "#{param_prefix}[verification_value]", '', options_hash.merge(id: 'card_code', class: 'form-control required cardCode', size: 5) %>
|
37
|
-
<%= link_to
|
37
|
+
<%= link_to Spree.t(:what_is_this), spree.cvv_path, target: :blank, "data-hook" => "cvv_link", id: "cvv_link" %>
|
38
38
|
</div>
|
39
39
|
</div>
|
40
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_frontend
|
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
|
@@ -255,9 +255,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: 2.2.7
|
256
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
257
|
requirements:
|
258
|
-
- - "
|
258
|
+
- - ">="
|
259
259
|
- !ruby/object:Gem::Version
|
260
|
-
version:
|
260
|
+
version: '0'
|
261
261
|
requirements:
|
262
262
|
- none
|
263
263
|
rubyforge_project:
|