solidus_api 1.3.0.beta1 → 1.3.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_api might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/views/spree/api/countries/index.v1.rabl +1 -1
- data/app/views/spree/api/orders/index.v1.rabl +1 -1
- data/app/views/spree/api/orders/mine.v1.rabl +1 -1
- data/app/views/spree/api/payments/index.v1.rabl +1 -1
- data/app/views/spree/api/product_properties/index.v1.rabl +2 -2
- data/app/views/spree/api/products/index.v1.rabl +1 -1
- data/app/views/spree/api/properties/index.v1.rabl +1 -1
- data/app/views/spree/api/return_authorizations/index.v1.rabl +1 -1
- data/app/views/spree/api/shipments/mine.v1.rabl +1 -1
- data/app/views/spree/api/states/index.v1.rabl +2 -2
- data/app/views/spree/api/stock_items/index.v1.rabl +1 -1
- data/app/views/spree/api/stock_locations/index.v1.rabl +1 -1
- data/app/views/spree/api/stock_movements/index.v1.rabl +1 -1
- data/app/views/spree/api/store_credit_events/mine.v1.rabl +1 -1
- data/app/views/spree/api/taxonomies/index.v1.rabl +1 -1
- data/app/views/spree/api/taxons/index.v1.rabl +1 -1
- data/app/views/spree/api/users/index.v1.rabl +1 -1
- data/app/views/spree/api/variants/index.v1.rabl +1 -1
- data/app/views/spree/api/zones/index.v1.rabl +1 -1
- data/spec/test_views/spree/api/widgets/index.v1.rabl +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68d3b943c472bdbe3545373f6c596a6c9018d3b3
|
4
|
+
data.tar.gz: b75a8188a808f59fb1a0755cc41ae9165c8087ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d05cd052be57dd9efa45120750270b3e092202dca28f331ed40a5b095612b687015f3d385c4cdcb2041ec6eb058d71e3c5453399ce936012811085820804e9b1
|
7
|
+
data.tar.gz: dff2b56b3a3c18802c545ae26ff3e3eacd1b7af7ea9db61dda05edbd82e7be95fbcab00395a47cbcf847e196c5a5115f94cd57af34eabd552193c07d4a0773c0
|
data/Gemfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
object false
|
2
2
|
child(@product_properties => :product_properties) do
|
3
|
-
attributes *product_property_attributes
|
3
|
+
attributes *product_property_attributes
|
4
4
|
end
|
5
5
|
node(:count) { @product_properties.count }
|
6
6
|
node(:current_page) { params[:page] || 1 }
|
7
|
-
node(:pages) { @product_properties.
|
7
|
+
node(:pages) { @product_properties.total_pages }
|
@@ -3,7 +3,7 @@ node(:count) { @products.count }
|
|
3
3
|
node(:total_count) { @products.total_count }
|
4
4
|
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
5
|
node(:per_page) { params[:per_page] || Kaminari.config.default_per_page }
|
6
|
-
node(:pages) { @products.
|
6
|
+
node(:pages) { @products.total_pages }
|
7
7
|
child(@products => :products) do
|
8
8
|
extends "spree/api/products/show"
|
9
9
|
end
|
@@ -7,8 +7,8 @@ child(@states => :states) do
|
|
7
7
|
attributes *state_attributes
|
8
8
|
end
|
9
9
|
|
10
|
-
if @states.respond_to?(:
|
10
|
+
if @states.respond_to?(:total_pages)
|
11
11
|
node(:count) { @states.count }
|
12
12
|
node(:current_page) { params[:page] || 1 }
|
13
|
-
node(:pages) { @states.
|
13
|
+
node(:pages) { @states.total_pages }
|
14
14
|
end
|
@@ -3,7 +3,7 @@ node(:count) { @taxons.count }
|
|
3
3
|
node(:total_count) { @taxons.total_count }
|
4
4
|
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
5
|
node(:per_page) { params[:per_page] || Kaminari.config.default_per_page }
|
6
|
-
node(:pages) { @taxons.
|
6
|
+
node(:pages) { @taxons.total_pages }
|
7
7
|
child @taxons => :taxons do
|
8
8
|
attributes *taxon_attributes
|
9
9
|
unless params[:without_children]
|
@@ -2,7 +2,7 @@ object false
|
|
2
2
|
node(:count) { @variants.count }
|
3
3
|
node(:total_count) { @variants.total_count }
|
4
4
|
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
|
-
node(:pages) { @variants.
|
5
|
+
node(:pages) { @variants.total_pages }
|
6
6
|
|
7
7
|
child(@variants => :variants) do
|
8
8
|
extends "spree/api/variants/big"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0.
|
4
|
+
version: 1.3.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: 2016-
|
11
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.0.
|
19
|
+
version: 1.3.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.3.0.
|
26
|
+
version: 1.3.0.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|