spree_frontend 3.0.7 → 3.0.8

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: 5d97b016df7d55411af18f7c8c56f9e261942d60
4
- data.tar.gz: 061be94789a634cfe01ddc1a06e93d035ea7b696
3
+ metadata.gz: 3c1523dae236c28defe0fecee89c3b6281fd9be3
4
+ data.tar.gz: 46782ee5298929779990e539bc122338ce58bce3
5
5
  SHA512:
6
- metadata.gz: 14842f41ae757e52debb825e92f10350b886af39de180876bc085197e5f35bd7d9e690adf57fd880b9e33f688089bd0dea1a8a312c11c892c48ff12da936a1e6
7
- data.tar.gz: 729cbc81ee2ddf604fe8ceb65d5161096a95f192e99b0df31b531698c64ebdcd1a35d4687c70d4a4510f503e840138df1965b2edbda56fb7b20447875fc386f6
6
+ metadata.gz: 709d2ee90403e56e9551a528d29de571eb85b4c1fcdf2dd18ca405fc652f4acecb13b600ec57c7d5ffdbd83990d5e92a40d7aa2347bdafdda3bcc4c0c7f9c3a1
7
+ data.tar.gz: d57fe0d852ffbdcda23af1ee0901cecb61c2ac1b47d0c745cdd88dd1168c883174a525bce76cbd3147b73778d7e3659847b7a19caa0e64a45ce5553907f84053
data/Rakefile CHANGED
@@ -1,26 +1,12 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
  require 'rake/testtask'
4
- require 'rake/packagetask'
5
- require 'rubygems/package_task'
6
4
  require 'rspec/core/rake_task'
7
5
  require 'spree/testing_support/common_rake'
8
6
 
9
- Bundler::GemHelper.install_tasks
10
7
  RSpec::Core::RakeTask.new
11
8
 
12
- spec = eval(File.read('spree_frontend.gemspec'))
13
- Gem::PackageTask.new(spec) do |p|
14
- p.gem_spec = spec
15
- end
16
-
17
- desc "Release to gemcutter"
18
- task :release do
19
- version = File.read(File.expand_path("../../SPREE_VERSION", __FILE__)).strip
20
- cmd = "cd pkg && gem push spree_frontend-#{version}.gem"; puts cmd; system cmd
21
- end
22
-
23
- task :default => :spec
9
+ task default: :spec
24
10
 
25
11
  desc "Generates a dummy app for testing"
26
12
  task :test_app do
@@ -1,7 +1,7 @@
1
1
  module Spree
2
2
  class ContentController < Spree::StoreController
3
3
  # Don't serve local files or static assets
4
- before_filter { render_404 if params[:path] =~ /(\.|\\)/ }
4
+ before_action { render_404 if params[:path] =~ /(\.|\\)/ }
5
5
  after_action :fire_visited_path, only: :show
6
6
 
7
7
  rescue_from ActionView::MissingTemplate, :with => :render_404
@@ -0,0 +1 @@
1
+ Rails.application.config.assets.precompile += %w( favicon.ico credit_cards/* flags/* )
@@ -1,25 +1,25 @@
1
1
  # encoding: UTF-8
2
- version = File.read(File.expand_path("../../SPREE_VERSION", __FILE__)).strip
2
+ require_relative '../core/lib/spree/core/version.rb'
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.name = 'spree_frontend'
7
- s.version = version
7
+ s.version = Spree.version
8
8
  s.summary = 'Frontend e-commerce functionality for the Spree project.'
9
9
  s.description = s.summary
10
10
 
11
11
  s.author = 'Sean Schofield'
12
12
  s.email = 'sean@spreecommerce.com'
13
13
  s.homepage = 'https://spreecommerce.com'
14
- s.license = %q{BSD-3}
14
+ s.license = 'BSD-3'
15
15
 
16
16
  s.files = `git ls-files`.split("\n")
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.require_path = 'lib'
19
19
  s.requirements << 'none'
20
20
 
21
- s.add_dependency 'spree_api', version
22
- s.add_dependency 'spree_core', version
21
+ s.add_dependency 'spree_api', s.version
22
+ s.add_dependency 'spree_core', s.version
23
23
 
24
24
  s.add_dependency 'bootstrap-sass', '>= 3.3.5.1', '< 3.4'
25
25
  s.add_dependency 'canonical-rails', '~> 0.0.4'
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.0.7
4
+ version: 3.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-03-16 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.0.7
19
+ version: 3.0.8
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.0.7
26
+ version: 3.0.8
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.0.7
33
+ version: 3.0.8
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.0.7
40
+ version: 3.0.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bootstrap-sass
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -464,6 +464,7 @@ files:
464
464
  - app/views/spree/store/cart_link.html.erb
465
465
  - app/views/spree/taxons/_taxon.html.erb
466
466
  - app/views/spree/taxons/show.html.erb
467
+ - config/initializers/assets.rb
467
468
  - config/initializers/canonical_rails.rb
468
469
  - config/initializers/spree.rb
469
470
  - config/routes.rb
@@ -507,7 +508,6 @@ files:
507
508
  - spec/helpers/order_helper_spec.rb
508
509
  - spec/helpers/taxons_helper_spec.rb
509
510
  - spec/spec_helper.rb
510
- - spec/support/rspec_rails_4_2_5_1.rb
511
511
  - spec/support/shared_contexts/checkout_setup.rb
512
512
  - spec/support/shared_contexts/custom_products.rb
513
513
  - spec/support/shared_contexts/product_prototypes.rb
@@ -622,7 +622,6 @@ test_files:
622
622
  - spec/helpers/order_helper_spec.rb
623
623
  - spec/helpers/taxons_helper_spec.rb
624
624
  - spec/spec_helper.rb
625
- - spec/support/rspec_rails_4_2_5_1.rb
626
625
  - spec/support/shared_contexts/checkout_setup.rb
627
626
  - spec/support/shared_contexts/custom_products.rb
628
627
  - spec/support/shared_contexts/product_prototypes.rb
@@ -1,7 +0,0 @@
1
- # Fix for rspec-rails and rails 4.2.5.1
2
- # # This can be removed as soon as doing so doesn't cause test errors.
3
- # # See https://github.com/rspec/rspec-rails/issues/1532
4
-
5
- RSpec::Rails::ViewRendering::EmptyTemplatePathSetDecorator.class_eval do
6
- alias_method :find_all_anywhere, :find_all
7
- end