pretty-api 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pretty_api/active_record/associations.rb +1 -1
- data/lib/pretty_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd1b6f06b9359270546fda79b7afea4e34789ebda0c9710dcd9e29843918e12
|
4
|
+
data.tar.gz: 2245430d8a8742e742108239ba035f65bd63a79f21c99b355d3edfdd30492e4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 354f2859bdffce8317f9dc1d14a539a5600e070dfc9f529b174e66c46cff88d3b5a5c84261a9b122bf905da71b3500dc4c3ec0bb46dc610b5831e80aa0a916b5
|
7
|
+
data.tar.gz: 4a145833591f955c72c4a66e5492c186dc11381c936a2060a7004b05cf6bbaa6d102f76386b1e593ec95908fee6554ed3d88aa79d051a3f499160017dfd566c6
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,7 @@ module PrettyApi
|
|
6
6
|
result[model] ||= {}
|
7
7
|
|
8
8
|
association = attribute_association(model, association_name)
|
9
|
-
association_class = association.
|
9
|
+
association_class = association.klass
|
10
10
|
|
11
11
|
result[model][association_name] = {
|
12
12
|
model: association_class,
|
data/lib/pretty_api/version.rb
CHANGED