caprese 0.3.26 → 0.3.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/caprese/adapter/json_api.rb +1 -2
- data/lib/caprese/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5179ca42789493695ca03e5fb2d7a1874a372056
|
4
|
+
data.tar.gz: f14d99e1adf2e3d475e3b0bcb91cd4ec7e49899e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fba032a7f1e4543edd66dae4f4ebf4aa0774ffdf0d0580cac2a1b46a4a779abef14af898a4f23f6089b02d3a8a5a2f1071f06d783b6837721c904a03b5fa24c
|
7
|
+
data.tar.gz: 1a9de55405e112dd2ad26e8c8479293e43425da2c9111251ff1267b202bab80e2d6ac6259e6c06321e5e4677ef5e860df179b6928fe37b1a5c873e17d5fe70bd
|
data/CHANGELOG.md
CHANGED
@@ -141,3 +141,15 @@
|
|
141
141
|
## 0.3.25
|
142
142
|
|
143
143
|
* Add `namespaced_module` and `unnamespace` helper to Versioning that provides full module namespace when `config.isolate_namespace` is present (replaces the old functionality of `version_module` and `unversion`)
|
144
|
+
|
145
|
+
## 0.3.26
|
146
|
+
|
147
|
+
* Record the field aliases that are used in the request so responses will use the same aliases
|
148
|
+
* Allow options like `serializer` to be passed into `Serializer` association definitions
|
149
|
+
* Allow specification of `relationship_serializer(name)` for serializing `get_relationship_data`, similar to `relationship_scope`
|
150
|
+
* Fix bug that crashes when `[relationship]/data` is missing
|
151
|
+
* Fix bug in `#update_relationship_definition`
|
152
|
+
|
153
|
+
## 0.3.27
|
154
|
+
|
155
|
+
* Fix bug in JSON API adapter that inappropriately aliases relationships
|
@@ -425,8 +425,7 @@ module Caprese
|
|
425
425
|
allow_wildcard: true
|
426
426
|
)
|
427
427
|
serializer.associations(include_directive).each_with_object({}) do |association, hash|
|
428
|
-
|
429
|
-
hash[aliased_key] = Relationship.new(
|
428
|
+
hash[association.key] = Relationship.new(
|
430
429
|
serializer,
|
431
430
|
instance_options,
|
432
431
|
association,
|
data/lib/caprese/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caprese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Landgrebe
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-08-
|
13
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: active_model_serializers
|