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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23cfbc54ad1c79fb266ebe6db21945f7688919b4
|
4
|
+
data.tar.gz: b22e6b36685c565bc4b1bbaa550dd89280375a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-sort
|