spree_frontend 2.1.12 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/{store → spree/frontend}/cart.png +0 -0
  3. data/app/assets/images/{store → spree/frontend}/select_arrow.gif +0 -0
  4. data/app/assets/javascripts/spree/frontend.js +5 -0
  5. data/app/assets/javascripts/{store → spree/frontend}/cart.js.coffee +7 -1
  6. data/app/assets/javascripts/spree/frontend/checkout.js.coffee +11 -0
  7. data/app/assets/javascripts/{store/checkout.js.coffee → spree/frontend/checkout/address.js.coffee} +12 -40
  8. data/app/assets/javascripts/spree/frontend/checkout/payment.js.coffee +64 -0
  9. data/app/assets/javascripts/{store → spree/frontend}/product.js.coffee +2 -3
  10. data/app/assets/stylesheets/{store/spree_frontend.css → spree/frontend.css} +1 -1
  11. data/app/assets/stylesheets/{store → spree/frontend}/_variables.scss +0 -0
  12. data/app/assets/stylesheets/{store → spree/frontend}/screen.css.scss +37 -4
  13. data/app/controllers/spree/checkout_controller.rb +2 -44
  14. data/app/controllers/spree/content_controller.rb +1 -6
  15. data/app/controllers/spree/home_controller.rb +1 -0
  16. data/app/controllers/spree/orders_controller.rb +14 -25
  17. data/app/controllers/spree/products_controller.rb +5 -22
  18. data/app/controllers/spree/store_controller.rb +23 -0
  19. data/app/controllers/spree/taxons_controller.rb +1 -0
  20. data/app/views/spree/checkout/_address.html.erb +2 -0
  21. data/app/views/spree/checkout/_delivery.html.erb +1 -1
  22. data/app/views/spree/checkout/_payment.html.erb +4 -6
  23. data/app/views/spree/checkout/_summary.html.erb +41 -15
  24. data/app/views/spree/checkout/edit.html.erb +6 -2
  25. data/app/views/spree/checkout/payment/_gateway.html.erb +7 -3
  26. data/app/views/spree/content/test.html.erb +1 -0
  27. data/app/views/spree/home/index.html.erb +3 -1
  28. data/app/views/spree/orders/_adjustment_row.html.erb +6 -0
  29. data/app/views/spree/orders/_adjustments.html.erb +19 -9
  30. data/app/views/spree/orders/_form.html.erb +13 -1
  31. data/app/views/spree/orders/_line_item.html.erb +1 -1
  32. data/app/views/spree/orders/edit.html.erb +14 -18
  33. data/app/views/spree/payments/_payment.html.erb +15 -0
  34. data/app/views/spree/products/_cart_form.html.erb +11 -10
  35. data/app/views/spree/products/index.html.erb +3 -1
  36. data/app/views/spree/products/show.html.erb +34 -32
  37. data/app/views/spree/shared/_frontend_routes.html.erb +3 -0
  38. data/app/views/spree/shared/_google_analytics.html.erb +7 -7
  39. data/app/views/spree/shared/_head.html.erb +3 -2
  40. data/app/views/spree/shared/_link_to_cart.html.erb +1 -0
  41. data/app/views/spree/shared/_main_nav_bar.html.erb +7 -1
  42. data/app/views/spree/shared/_order_details.html.erb +40 -14
  43. data/app/views/spree/shared/_products.html.erb +8 -5
  44. data/app/views/spree/shared/_search.html.erb +6 -4
  45. data/app/views/spree/shared/_taxonomies.html.erb +5 -3
  46. data/app/views/spree/store/cart_link.html.erb +1 -0
  47. data/app/views/spree/taxons/show.html.erb +6 -5
  48. data/config/routes.rb +1 -0
  49. data/lib/spree/frontend.rb +0 -7
  50. data/lib/spree/frontend/engine.rb +1 -2
  51. data/lib/spree/frontend/preference_rescue.rb +25 -0
  52. metadata +25 -16
  53. data/app/assets/javascripts/store/spree_frontend.js +0 -5
@@ -22,6 +22,8 @@
22
22
  <% else %>
23
23
 
24
24
  <div data-hook="homepage_products">
25
- <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
25
+ <% cache(cache_key_for_products) do %>
26
+ <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
27
+ <% end %>
26
28
  </div>
27
29
  <% end %>
@@ -1,49 +1,51 @@
1
- <div data-hook="product_show" itemscope itemtype="http://schema.org/Product">
2
- <% @body_id = 'product-details' %>
3
-
4
- <div class="columns six alpha" data-hook="product_left_part">
5
- <div class="row" data-hook="product_left_part_wrap">
1
+ <% cache [current_currency, @product] do %>
2
+ <div data-hook="product_show" itemscope itemtype="http://schema.org/Product">
3
+ <% @body_id = 'product-details' %>
4
+
5
+ <div class="columns six alpha" data-hook="product_left_part">
6
+ <div class="row" data-hook="product_left_part_wrap">
7
+
8
+ <div id="product-images" data-hook="product_images">
9
+ <div id="main-image" data-hook>
10
+ <%= render :partial => 'image' %>
11
+ </div>
12
+ <div id="thumbnails" data-hook>
13
+ <%= render :partial => 'thumbnails' %>
14
+ </div>
15
+ </div>
6
16
 
7
- <div id="product-images" data-hook="product_images">
8
- <div id="main-image" data-hook>
9
- <%= render :partial => 'image' %>
17
+ <div data-hook="product_properties">
18
+ <%= render :partial => 'properties' %>
10
19
  </div>
11
- <div id="thumbnails" data-hook>
12
- <%= render :partial => 'thumbnails' %>
20
+
21
+ <div data-hook="promotions">
22
+ <%= render :partial => 'promotions' %>
13
23
  </div>
14
- </div>
15
24
 
16
- <div data-hook="product_properties">
17
- <%= render :partial => 'properties' %>
18
25
  </div>
26
+ </div>
19
27
 
20
- <div data-hook="promotions">
21
- <%= render :partial => 'promotions' %>
22
- </div>
28
+ <div class="columns ten omega" data-hook="product_right_part">
29
+ <div class="row" data-hook="product_right_part_wrap">
23
30
 
24
- </div>
25
- </div>
31
+ <div id="product-description" data-hook="product_description">
26
32
 
27
- <div class="columns ten omega" data-hook="product_right_part">
28
- <div class="row" data-hook="product_right_part_wrap">
33
+ <h1 class="product-title" itemprop="name"><%= accurate_title %></h1>
29
34
 
30
- <div id="product-description" data-hook="product_description">
35
+ <div itemprop="description" data-hook="description">
36
+ <%= product_description(@product) rescue Spree.t(:product_has_no_description) %>
37
+ </div>
31
38
 
32
- <h1 class="product-title" itemprop="name"><%= accurate_title %></h1>
39
+ <div id="cart-form" data-hook="cart_form">
40
+ <%= render :partial => 'cart_form' %>
41
+ </div>
33
42
 
34
- <div itemprop="description" data-hook="description">
35
- <%= product_description(@product) rescue Spree.t(:product_has_no_description) %>
36
43
  </div>
37
44
 
38
- <div id="cart-form" data-hook="cart_form">
39
- <%= render :partial => 'cart_form' %>
40
- </div>
45
+ <%= render :partial => 'taxons' %>
41
46
 
42
47
  </div>
43
-
44
- <%= render :partial => 'taxons' %>
45
-
46
48
  </div>
47
- </div>
48
49
 
49
- </div>
50
+ </div>
51
+ <% end %>
@@ -0,0 +1,3 @@
1
+ <script>
2
+ Spree.routes.cart_link = "<%= spree.cart_link_url %>"
3
+ </script>
@@ -5,19 +5,19 @@
5
5
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
6
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
7
7
 
8
- ga('create', '<%= tracker.analytics_id %>','<%= Spree::Config[:site_url].sub!(/^www./,'') %>');
8
+ ga('create', '<%= tracker.analytics_id %>');
9
9
  ga('send', 'pageview');
10
10
 
11
11
  <% if flash[:commerce_tracking] && @order.present? %>
12
12
  <%# more info: https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce %>
13
13
  ga('require', 'ecommerce', 'ecommerce.js');
14
14
  ga('ecommerce:addTransaction', {
15
- 'id': '<%= j @order.number %>', // Transaction ID. Required.
16
- 'affiliation': '<%= Spree::Config[:site_name] %>', // Affiliation or store name.
17
- 'revenue': '<%= @order.total %>', // Grand Total.
18
- 'shipping': '<%= @order.adjustments.shipping.sum(:amount) %>', // Shipping.
19
- 'tax': '<%= @order.adjustments.tax.sum(:amount) %>', // Tax.
20
- 'currency': '<%= current_currency %>' // local currency code.
15
+ 'id': '<%= j @order.number %>', // Transaction ID. Required.
16
+ 'affiliation': '<%= Spree::Config[:site_name] %>', // Affiliation or store name.
17
+ 'revenue': '<%= @order.total %>', // Grand Total.
18
+ 'shipping': '<%= @order.shipments.sum("cost + promo_total") %>', // Shipping.
19
+ 'tax': '<%= @order.all_adjustments.tax.sum(:amount) %>', // Tax.
20
+ 'currencyCode': '<%= current_currency %>' // local currency code.
21
21
  });
22
22
  <% @order.line_items.each do |line_item| %>
23
23
  ga('ecommerce:addItem', {
@@ -5,11 +5,12 @@
5
5
  <%== meta_data_tags %>
6
6
  <%= canonical_tag %>
7
7
  <%= favicon_link_tag image_path('favicon.ico') %>
8
- <%= stylesheet_link_tag 'store/all', :media => 'screen' %>
8
+ <%= stylesheet_link_tag 'spree/frontend/all', :media => 'screen' %>
9
9
  <%= csrf_meta_tags %>
10
- <%= javascript_include_tag 'store/all' %>
10
+ <%= javascript_include_tag 'spree/frontend/all' %>
11
11
  <!--[if lt IE 9]>
12
12
  <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6/html5shiv.min.js"></script>
13
13
  <![endif]-->
14
14
  <%= render "spree/shared/routes" %>
15
+ <%= render "spree/shared/frontend_routes" %>
15
16
  <%= yield :head %>
@@ -0,0 +1 @@
1
+ <%= link_to_cart %>
@@ -1,6 +1,12 @@
1
1
  <nav class="columns sixteen">
2
2
  <ul id="main-nav-bar" class="inline" data-hook>
3
3
  <li id="home-link" data-hook><%= link_to Spree.t(:home), spree.root_path %></li>
4
- <li id="link-to-cart" data-hook><%= link_to_cart %></li>
4
+ <li id="link-to-cart" data-hook>
5
+ <noscript>
6
+ <%= link_to Spree.t(:cart), '/cart' %>
7
+ </noscript>
8
+ &nbsp;
9
+ </li>
10
+ <script>Spree.fetch_cart()</script>
5
11
  </ul>
6
12
  </nav>
@@ -19,9 +19,10 @@
19
19
  <h6><%= Spree.t(:shipments) %> <%= link_to "(#{Spree.t(:edit)})", checkout_state_path(:delivery) unless @order.completed? %></h6>
20
20
  <div class="delivery">
21
21
  <% order.shipments.each do |shipment| %>
22
- <%= shipment.stock_location.name %>
23
- <%= shipment.shipping_method.name %>
24
- <br/>
22
+ <div>
23
+ <i class='icon-truck'></i>
24
+ <%= Spree.t(:shipment_details, :stock_location => shipment.stock_location.name, :shipping_method => shipment.shipping_method.name) %>
25
+ </div>
25
26
  <% end %>
26
27
  </div>
27
28
  <%= render(:partial => 'spree/shared/shipment_tracking', :locals => {:order => @order}) if @order.shipped? %>
@@ -85,29 +86,54 @@
85
86
  <td class="total"><span id="order_total"><%= @order.display_total.to_html %></span></td>
86
87
  </tr>
87
88
  </tfoot>
88
- <% if order.line_item_adjustment_totals.present? %>
89
- <tfoot id="price-adjustments" data-hook="order_details_price_adjustments">
90
- <% @order.line_item_adjustment_totals.each do |key, total| %>
91
- <tr class="total">
92
- <td colspan="4"><strong><%= key %></strong></td>
93
- <td class="total"><span><%= total %></span></td>
94
- </tr>
95
- <% end %>
96
- </tfoot>
97
- <% end %>
89
+
98
90
  <tfoot id="subtotal" data-hook="order_details_subtotal">
99
91
  <tr class="total" id="subtotal-row">
100
92
  <td colspan="4"><b><%= Spree.t(:subtotal) %>:</b></td>
101
93
  <td class="total"><span><%= @order.display_item_total.to_html %></span></td>
102
94
  </tr>
103
95
  </tfoot>
96
+
97
+ <% if @order.line_item_adjustments.exists? %>
98
+ <% if order.all_adjustments.promotion.eligible.exists? %>
99
+ <tfoot id="price-adjustments" data-hook="order_details_price_adjustments">
100
+ <% order.all_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %>
101
+ <tr class="total">
102
+ <td colspan="4"><%= Spree.t(:promotion) %>: <strong><%= label %></strong></td>
103
+ <td class="total"><span><%= Spree::Money.new(adjustments.sum(&:amount)) %></span></td>
104
+ </tr>
105
+ <% end %>
106
+ </tfoot>
107
+ <% end %>
108
+ <% end %>
109
+
110
+ <% if order.all_adjustments.tax.exists? %>
111
+ <tfoot id="tax-adjustments" data-hook="order_details_tax_adjustments">
112
+ <% order.all_adjustments.tax.group_by(&:label).each do |label, adjustments| %>
113
+ <tr class="total">
114
+ <td colspan="4"><%= Spree.t(:tax) %>: <strong><%= label %></strong></td>
115
+ <td class="total"><span><%= Spree::Money.new(adjustments.sum(&:amount)) %></span></td>
116
+ </tr>
117
+ <% end %>
118
+ </tfoot>
119
+ <% end %>
120
+ <tfoot id='shipment-total'>
121
+ <% order.shipments.group_by { |s| s.shipping_method.name }.each do |name, shipments| %>
122
+ <tr class="total" data-hook='shipment-row'>
123
+ <td colspan="4"><%= Spree.t(:shipping) %>: <strong><%= name %></strong></td>
124
+ <td class="total"><span><%= Spree::Money.new(shipments.sum(&:discounted_cost)).to_html %></span></td>
125
+ </tr>
126
+ <% end %>
127
+ </tfoot>
128
+
104
129
  <tfoot id="order-charges" data-hook="order_details_adjustments">
105
130
  <% @order.adjustments.eligible.each do |adjustment| %>
106
- <% next if (adjustment.originator_type == 'Spree::TaxRate') and (adjustment.amount == 0) %>
131
+ <% next if (adjustment.source_type == 'Spree::TaxRate') and (adjustment.amount == 0) %>
107
132
  <tr class="total">
108
133
  <td colspan="4"><strong><%= adjustment.label %></strong></td>
109
134
  <td class="total"><span><%= adjustment.display_amount.to_html %></span></td>
110
135
  </tr>
111
136
  <% end %>
112
137
  </tfoot>
138
+
113
139
  </table>
@@ -18,12 +18,15 @@
18
18
  <% if products.any? %>
19
19
  <ul id="products" class="inline product-listing" data-hook>
20
20
  <% products.each do |product| %>
21
+ <% url = product_url(product, :taxon_id => @taxon.try(:id)) %>
21
22
  <li id="product_<%= product.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega secondary", :name => "classes") %>" data-hook="products_list_item" itemscope itemtype="http://schema.org/Product">
22
- <div class="product-image">
23
- <%= link_to small_image(product, :itemprop => "image"), product, :itemprop => 'url' %>
24
- </div>
25
- <%= link_to truncate(product.name, :length => 50), product, :class => 'info', :itemprop => "name", :title => product.name %>
26
- <span class="price selling" itemprop="price"><%= display_price(product) %></span>
23
+ <% cache(@taxon.present? ? [current_currency, @taxon, product] : [current_currency, product]) do %>
24
+ <div class="product-image">
25
+ <%= link_to small_image(product, :itemprop => "image"), url, :itemprop => 'url' %>
26
+ </div>
27
+ <%= link_to truncate(product.name, :length => 50), url, :class => 'info', :itemprop => "name", :title => product.name %>
28
+ <span class="price selling" itemprop="price"><%= display_price(product) %></span>
29
+ <% end %>
27
30
  </li>
28
31
  <% end %>
29
32
  <% reset_cycle("classes") %>
@@ -1,9 +1,11 @@
1
1
  <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
2
2
  <%= form_tag spree.products_path, :method => :get do %>
3
- <%= select_tag :taxon,
4
- options_for_select([[Spree.t(:all_departments), '']] +
5
- @taxons.map {|t| [t.name, t.id]},
6
- @taxon ? @taxon.id : params[:taxon]), 'aria-label' => 'Taxon' %>
3
+ <% cache(cache_key_for_taxons) do %>
4
+ <%= select_tag :taxon,
5
+ options_for_select([[Spree.t(:all_departments), '']] +
6
+ @taxons.map {|t| [t.name, t.id]},
7
+ @taxon ? @taxon.id : params[:taxon]), 'aria-label' => 'Taxon' %>
8
+ <% end %>
7
9
  <%= search_field_tag :keywords, params[:keywords], :placeholder => Spree.t(:search) %>
8
10
  <%= submit_tag Spree.t(:search), :name => nil %>
9
11
  <% end %>
@@ -1,6 +1,8 @@
1
1
  <nav id="taxonomies" class="sidebar-item" data-hook>
2
- <% get_taxonomies.each do |taxonomy| %>
3
- <h6 class='taxonomy-root'><%= Spree.t(:shop_by_taxonomy, :taxonomy => taxonomy.name) %></h6>
4
- <%= taxons_tree(taxonomy.root, @taxon, Spree::Config[:max_level_in_taxons_menu] || 1) %>
2
+ <% @taxonomies.each do |taxonomy| %>
3
+ <% cache taxonomy do %>
4
+ <h6 class='taxonomy-root'><%= Spree.t(:shop_by_taxonomy, :taxonomy => taxonomy.name) %></h6>
5
+ <%= taxons_tree(taxonomy.root, @taxon, Spree::Config[:max_level_in_taxons_menu] || 1) %>
6
+ <% end %>
5
7
  <% end %>
6
8
  </nav>
@@ -0,0 +1 @@
1
+ <%= link_to_cart %>
@@ -11,9 +11,10 @@
11
11
  <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
12
12
  </div>
13
13
 
14
- <% unless params[:keywords].present? %>
15
- <div data-hook="taxon_children">
16
- <%= render :partial => 'taxon', :collection => @taxon.children %>
17
- </div>
14
+ <% unless params[:keywords].present? %>
15
+ <div data-hook="taxon_children">
16
+ <% cache @taxon do %>
17
+ <%= render :partial => 'taxon', :collection => @taxon.children %>
18
+ <% end %>
19
+ </div>
18
20
  <% end %>
19
-
@@ -33,4 +33,5 @@ Spree::Core::Engine.add_routes do
33
33
  get '/unauthorized', :to => 'home#unauthorized', :as => :unauthorized
34
34
  get '/content/cvv', :to => 'content#cvv', :as => :cvv
35
35
  get '/content/*path', :to => 'content#show', :as => :content
36
+ get '/cart_link', :to => 'store#cart_link', :as => :cart_link
36
37
  end
@@ -13,10 +13,3 @@ require 'spree/responder'
13
13
  require 'spree/frontend/middleware/seo_assist'
14
14
 
15
15
  require 'spree/frontend/engine'
16
-
17
- if defined?(ActionView)
18
- require 'awesome_nested_set/helper'
19
- ActionView::Base.class_eval do
20
- include CollectiveIdea::Acts::NestedSet::Helper
21
- end
22
- end
@@ -6,14 +6,13 @@ module Spree
6
6
  # sets the manifests / assets to be precompiled, even when initialize_on_precompile is false
7
7
  initializer "spree.assets.precompile", :group => :all do |app|
8
8
  app.config.assets.precompile += %w[
9
- store/all.*
9
+ spree/frontend/all*
10
10
  ]
11
11
  end
12
12
 
13
13
  initializer "spree.frontend.environment", :before => :load_config_initializers do |app|
14
14
  Spree::Frontend::Config = Spree::FrontendConfiguration.new
15
15
  end
16
-
17
16
  end
18
17
  end
19
18
  end
@@ -0,0 +1,25 @@
1
+ module Spree
2
+ class OldPrefs < ActiveRecord::Base
3
+ self.table_name = "spree_preferences"
4
+ belongs_to :owner, :polymorphic => true
5
+ attr_accessor :owner_klass
6
+ end
7
+
8
+ class PreferenceRescue
9
+ def self.try
10
+ OldPrefs.where(:key => nil).each do |old_pref|
11
+ next unless owner = (old_pref.owner rescue nil)
12
+ unless old_pref.owner_type == "Spree::Activator" || old_pref.owner_type == "Spree::Configuration"
13
+ begin
14
+ old_pref.key = [owner.class.name, old_pref.name, owner.id].join('::').underscore
15
+ old_pref.value_type = owner.preference_type(old_pref.name)
16
+ puts "Migrating Preference: #{old_pref.key}"
17
+ old_pref.save
18
+ rescue NoMethodError => ex
19
+ puts ex.message
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
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: 2.1.12
4
+ version: 2.2.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: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2014-02-26 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: 2.1.12
19
+ version: 2.2.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: 2.1.12
26
+ version: 2.2.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: 2.1.12
33
+ version: 2.2.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: 2.1.12
40
+ version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -144,15 +144,17 @@ files:
144
144
  - app/assets/images/icons/delete.png
145
145
  - app/assets/images/icons/update.png
146
146
  - app/assets/images/spinner.gif
147
- - app/assets/images/store/cart.png
148
- - app/assets/images/store/select_arrow.gif
149
- - app/assets/javascripts/store/cart.js.coffee
150
- - app/assets/javascripts/store/checkout.js.coffee
151
- - app/assets/javascripts/store/product.js.coffee
152
- - app/assets/javascripts/store/spree_frontend.js
153
- - app/assets/stylesheets/store/_variables.scss
154
- - app/assets/stylesheets/store/screen.css.scss
155
- - app/assets/stylesheets/store/spree_frontend.css
147
+ - app/assets/images/spree/frontend/cart.png
148
+ - app/assets/images/spree/frontend/select_arrow.gif
149
+ - app/assets/javascripts/spree/frontend.js
150
+ - app/assets/javascripts/spree/frontend/cart.js.coffee
151
+ - app/assets/javascripts/spree/frontend/checkout.js.coffee
152
+ - app/assets/javascripts/spree/frontend/checkout/address.js.coffee
153
+ - app/assets/javascripts/spree/frontend/checkout/payment.js.coffee
154
+ - app/assets/javascripts/spree/frontend/product.js.coffee
155
+ - app/assets/stylesheets/spree/frontend.css
156
+ - app/assets/stylesheets/spree/frontend/_variables.scss
157
+ - app/assets/stylesheets/spree/frontend/screen.css.scss
156
158
  - app/controllers/spree/checkout_controller.rb
157
159
  - app/controllers/spree/content_controller.rb
158
160
  - app/controllers/spree/home_controller.rb
@@ -172,13 +174,16 @@ files:
172
174
  - app/views/spree/checkout/payment/_check.html.erb
173
175
  - app/views/spree/checkout/payment/_gateway.html.erb
174
176
  - app/views/spree/content/cvv.html.erb
177
+ - app/views/spree/content/test.html.erb
175
178
  - app/views/spree/home/index.html.erb
176
179
  - app/views/spree/layouts/spree_application.html.erb
180
+ - app/views/spree/orders/_adjustment_row.html.erb
177
181
  - app/views/spree/orders/_adjustments.html.erb
178
182
  - app/views/spree/orders/_form.html.erb
179
183
  - app/views/spree/orders/_line_item.html.erb
180
184
  - app/views/spree/orders/edit.html.erb
181
185
  - app/views/spree/orders/show.html.erb
186
+ - app/views/spree/payments/_payment.html.erb
182
187
  - app/views/spree/products/_cart_form.html.erb
183
188
  - app/views/spree/products/_image.html.erb
184
189
  - app/views/spree/products/_promotions.html.erb
@@ -190,9 +195,11 @@ files:
190
195
  - app/views/spree/shared/_address.html.erb
191
196
  - app/views/spree/shared/_filters.html.erb
192
197
  - app/views/spree/shared/_footer.html.erb
198
+ - app/views/spree/shared/_frontend_routes.html.erb
193
199
  - app/views/spree/shared/_google_analytics.html.erb
194
200
  - app/views/spree/shared/_head.html.erb
195
201
  - app/views/spree/shared/_header.html.erb
202
+ - app/views/spree/shared/_link_to_cart.html.erb
196
203
  - app/views/spree/shared/_main_nav_bar.html.erb
197
204
  - app/views/spree/shared/_nav_bar.html.erb
198
205
  - app/views/spree/shared/_order_details.html.erb
@@ -202,6 +209,7 @@ files:
202
209
  - app/views/spree/shared/_sidebar.html.erb
203
210
  - app/views/spree/shared/_taxonomies.html.erb
204
211
  - app/views/spree/shared/unauthorized.html.erb
212
+ - app/views/spree/store/cart_link.html.erb
205
213
  - app/views/spree/taxons/_taxon.html.erb
206
214
  - app/views/spree/taxons/show.html.erb
207
215
  - config/initializers/canonical_rails.rb
@@ -213,6 +221,7 @@ files:
213
221
  - lib/spree/frontend.rb
214
222
  - lib/spree/frontend/engine.rb
215
223
  - lib/spree/frontend/middleware/seo_assist.rb
224
+ - lib/spree/frontend/preference_rescue.rb
216
225
  - lib/spree_frontend.rb
217
226
  - lib/tasks/rake_util.rb
218
227
  - lib/tasks/taxon.rake
@@ -529,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
529
538
  requirements:
530
539
  - none
531
540
  rubyforge_project: spree_frontend
532
- rubygems_version: 2.2.2
541
+ rubygems_version: 2.2.0
533
542
  signing_key:
534
543
  specification_version: 4
535
544
  summary: Frontend e-commerce functionality for the Spree project.