spree_zero_stock_products 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/app/models/taxon_decorator.rb +1 -1
- data/spree_zero_stock_products.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 635346e932d5027176449f1e3bb6458ffd8d57bd
|
4
|
+
data.tar.gz: 2ca972961db1861bde8095a3f850d4ce293bf1cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976620be239453bf65b9dceb6731437c1354306410737839cdf3f071583d71d11d5ad244b38a48de9e60d11369f75041e889cf94fc0ab401fbe8b14324310f3f
|
7
|
+
data.tar.gz: 4c4efdc80b7821b8a6e9e08ad74fbc96e5a2dd3344d9e1cfc112871d49c3956d586f1127d8ed5eebeeb8978f89242ebb71d4e9f4d5c4221099060ec6ef2dd822
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Spree Zero Stock Products
|
2
2
|
======================
|
3
|
-
[![Build Status](http://img.shields.io/travis/swrobel/spree_zero_stock_products/2-
|
3
|
+
[![Build Status](http://img.shields.io/travis/swrobel/spree_zero_stock_products/2-4-stable.svg?style=flat)](https://travis-ci.org/swrobel/spree_zero_stock_products) [![Dependency Status](http://img.shields.io/gemnasium/swrobel/spree_zero_stock_products.svg?style=flat)](https://gemnasium.com/swrobel/spree_zero_stock_products) [![Coverage Status](http://img.shields.io/coveralls/swrobel/spree_zero_stock_products/2-4-stable.svg?style=flat)](https://coveralls.io/r/swrobel/spree_zero_stock_products) [![Code Climate]( http://img.shields.io/codeclimate/github/swrobel/spree_zero_stock_products.svg?style=flat)](https://codeclimate.com/github/swrobel/spree_zero_stock_products)
|
4
4
|
|
5
5
|
Restore the `show_zero_stock_products` preference & related functionality in Spree 2.0+
|
6
6
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Spree::Taxon.class_eval do
|
2
2
|
# Returns products in this taxon that are active (and in stock, depending on settings)
|
3
|
-
durably_decorate :active_products, mode: 'soft', sha: '
|
3
|
+
durably_decorate :active_products, mode: 'soft', sha: '3661de088762ab6a5b880446ca6296200b7521eb' do
|
4
4
|
if Spree::Config[:show_zero_stock_products]
|
5
5
|
original_active_products
|
6
6
|
else
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_zero_stock_products'
|
5
|
-
s.version = '2.
|
5
|
+
s.version = '2.4.0'
|
6
6
|
s.summary = 'Restore show_zero_stock_products functionality in Spree 2.0+'
|
7
7
|
s.description = 'Restore show_zero_stock_products functionality in Spree 2.0+'
|
8
8
|
s.required_ruby_version = '>= 1.9.3'
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.require_path = 'lib'
|
18
18
|
s.requirements << 'none'
|
19
19
|
|
20
|
-
s.add_dependency 'spree_core', '~> 2.
|
20
|
+
s.add_dependency 'spree_core', '~> 2.4.0.rc'
|
21
21
|
s.add_dependency 'durable_decorator', '~> 0.2.0'
|
22
22
|
|
23
23
|
s.add_development_dependency 'database_cleaner'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_zero_stock_products
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Wrobel
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.4.0.rc
|
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.
|
26
|
+
version: 2.4.0.rc
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: durable_decorator
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|