spree_api 2.0.12 → 2.0.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11ec9a4be38940cdcb37e0da4e53310737055e65
|
4
|
+
data.tar.gz: fc44b0f7133cae83461d2592675ff23ce342a8e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdd6f52a13b1e509580a31f4b2fbc19516b444663f14ea7f3de3928982fe43f72469d4ed439aa05c6ebb09867f881cf684b543085fa26f0917d6d4f6d609028c
|
7
|
+
data.tar.gz: c573fc40381016d1e8c35a5903fafd1655d0c7b7f1162c2e1e17e16c8a1ebf957b93b4f7f043aebf3844a53a2aacbd7f21d73935c2cca715f1733d1a54081098
|
@@ -6,7 +6,7 @@ module Spree
|
|
6
6
|
|
7
7
|
def index
|
8
8
|
@countries = Country.ransack(params[:q]).result.
|
9
|
-
includes(:states).order(
|
9
|
+
includes(:states).order("#{Spree::Country.quoted_table_name}.name ASC").
|
10
10
|
page(params[:page]).per(params[:per_page])
|
11
11
|
|
12
12
|
respond_with(@countries)
|
@@ -6,7 +6,7 @@ module Spree
|
|
6
6
|
|
7
7
|
def index
|
8
8
|
@states = scope.ransack(params[:q]).result.
|
9
|
-
|
9
|
+
includes(:country).order("#{Spree::State.quoted_table_name}.name ASC")
|
10
10
|
|
11
11
|
if params[:page] || params[:per_page]
|
12
12
|
@states = @states.page(params[:page]).per(params[:per_page])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bigg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.
|
19
|
+
version: 2.0.13
|
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.0.
|
26
|
+
version: 2.0.13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|