standardapi 1.0.22 → 1.0.23

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: 0c235c68ca069d23f7a7bab6cacf6c3c0437731d
4
- data.tar.gz: ee26ab2fc982ac69b49089d7d11145e4a06a0d21
3
+ metadata.gz: 23cfbc54ad1c79fb266ebe6db21945f7688919b4
4
+ data.tar.gz: b22e6b36685c565bc4b1bbaa550dd89280375a8e
5
5
  SHA512:
6
- metadata.gz: 1a87e9d682ef1c5b5c5881bd959fff6ee97ae76832e9ca2d04bd73e1455b28a2aebaa52db10b2485da1360209c2a0bba7ad9ff5c23daf7548018c5a3a97dd730
7
- data.tar.gz: 8088daf1b652f27db181021b391e5b2457a67e2a69c354321947296cffb5984abcb766f759026befed6be50238053c9eb9aabe1992cd72fcbb3513ed14215f24
6
+ metadata.gz: aaeb76aaa109f63fb0e49b65f67df7cf0b137804e3a59641fb24b63443acf2635eb9dde7a44513e625bf61cff1239ae1b70c14835fe30840b944e1e9f487eb24
7
+ data.tar.gz: c8553dd7b809e8fec5d9f5f03ea580b8bc2058c12d57d23e6a20226b84da764bdd3a9e0ef9df00d8458e8550617ce218b03f90f0a0cb91eb4fa4613d88555f5a
@@ -5,8 +5,8 @@ record.attributes.each do |name, value|
5
5
  end
6
6
 
7
7
  includes.each do |inc, subinc|
8
+ next if ['where', 'order'].include?(inc.to_s)
8
9
 
9
-
10
10
  association = record.class.reflect_on_association(inc)
11
11
  if association
12
12
  collection = [:has_many, :has_and_belongs_to_many].include?(association.macro)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standardapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Bracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-sort