solidus_frontend 1.0.0.pre3 → 1.0.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_frontend might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 085baf546e7975f13d9ff5235b9f3a6056bcb838
4
- data.tar.gz: 79bcb30a3cb8f77e660fdbc905faa2ea74c18664
3
+ metadata.gz: 148f536038d8b07e6209728a30abc291c3fdcddb
4
+ data.tar.gz: d0312f8496ea327a021637eca0ab7a27ad961724
5
5
  SHA512:
6
- metadata.gz: 4a127ff5986ea7ea33f77094999fc0796e0bb14c54006cce4be4cbb9875b38a6e24aff1f75959c6eec34b9b9fd03e4bd4fbbcf745a1fd73eaa58bfac5d3aced5
7
- data.tar.gz: 93f19710482d788ab6e29fffa3f90daae9999eaf4623b37bf0dd990429c166a02779d2dda59e5580989a506167f559d49ea666a80dd41f9d22c3dce6c6b5b1fa
6
+ metadata.gz: ec6c75df858536c58176ea547c64981f0901b83ec5fe054c5a0970a22909c3dd0537cbf9dda1a16d4ab10f9a9b37207bebbefacff0b82a4288a89e799cf72aa9
7
+ data.tar.gz: ddb007938825e48a9eddb00b7d96f9553048a8dd1073db8cecf2281c74a2fb9bff89fac3b9e205f1ef557dfef4152aa3bb33cd3ade6a55f7ec14d6b2c6544472
@@ -1,23 +1,9 @@
1
1
  module Spree
2
2
  class ContentController < Spree::StoreController
3
- # Don't serve local files or static assets
4
- before_filter { render_404 if params[:path] =~ /(\.|\\)/ }
5
- after_action :fire_visited_path, only: :show
6
-
7
- rescue_from ActionView::MissingTemplate, :with => :render_404
8
-
9
3
  respond_to :html
10
4
 
11
- def show
12
- render :action => params[:path]
13
- end
14
-
15
5
  def cvv
16
6
  render :layout => false
17
7
  end
18
-
19
- def fire_visited_path
20
- Spree::PromotionHandler::Page.new(current_order, params[:path]).activate
21
- end
22
8
  end
23
9
  end
@@ -26,7 +26,7 @@
26
26
  <p class="field" data-hook="card_code">
27
27
  <%= label_tag "card_code", Spree.t(:card_code) %><span class="required">*</span><br />
28
28
  <%= text_field_tag "#{param_prefix}[verification_value]", '', options_hash.merge(:id => 'card_code', :class => 'required cardCode', :size => 5) %>
29
- <%= link_to "(#{Spree.t(:what_is_this)})", spree.content_path('cvv'), :target => '_blank', "data-hook" => "cvv_link", :id => "cvv_link" %>
29
+ <%= link_to "(#{Spree.t(:what_is_this)})", spree.cvv_path, :target => '_blank', "data-hook" => "cvv_link", :id => "cvv_link" %>
30
30
  </p>
31
31
 
32
32
  <% if @order.bill_address %>
data/config/routes.rb CHANGED
@@ -32,6 +32,5 @@ Spree::Core::Engine.add_routes do
32
32
 
33
33
  get '/unauthorized', :to => 'home#unauthorized', :as => :unauthorized
34
34
  get '/content/cvv', :to => 'content#cvv', :as => :cvv
35
- get '/content/*path', :to => 'content#show', :as => :content
36
35
  get '/cart_link', :to => 'store#cart_link', :as => :cart_link
37
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre3
4
+ version: 1.0.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: 2015-07-28 00:00:00.000000000 Z
11
+ date: 2015-07-31 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: 1.0.0.pre3
19
+ version: 1.0.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: 1.0.0.pre3
26
+ version: 1.0.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: 1.0.0.pre3
33
+ version: 1.0.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: 1.0.0.pre3
40
+ version: 1.0.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -147,7 +147,6 @@ files:
147
147
  - app/views/spree/checkout/payment/_check.html.erb
148
148
  - app/views/spree/checkout/payment/_gateway.html.erb
149
149
  - app/views/spree/content/cvv.html.erb
150
- - app/views/spree/content/test.html.erb
151
150
  - app/views/spree/home/index.html.erb
152
151
  - app/views/spree/layouts/spree_application.html.erb
153
152
  - app/views/spree/orders/_adjustment_row.html.erb
@@ -1 +0,0 @@
1
- Nothing to see here. Move along now.