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: 676e7d6f8b269349ae38edd45f8e9ad610aa3dc0
4
- data.tar.gz: 29b000c650a4dfafa18d4fb16e96ca294ade8ef2
3
+ metadata.gz: 11ec9a4be38940cdcb37e0da4e53310737055e65
4
+ data.tar.gz: fc44b0f7133cae83461d2592675ff23ce342a8e2
5
5
  SHA512:
6
- metadata.gz: 8ed055dc2eb037e8de1b1db2ea531bcbbea9c65943c8d5b9536e69e2969a8ed85c178b50cff2e52a7d30501cb995f969a2e37bd7f1574256241e8f755f1008bb
7
- data.tar.gz: 1a1d17ed85f239a09749c101493b878ecf034fa263530bbbf9dd578daf70cf9d457d8254a606dc75985af6c84f9c6f62905d7de92e3435e539bb84b41c617e72
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('name ASC').
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
- includes(:country).order('name ASC')
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.12
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-08-29 00:00:00.000000000 Z
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.12
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.12
26
+ version: 2.0.13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement