alchemy-json_api 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/serializers/alchemy/json_api/element_serializer.rb +2 -1
- data/app/serializers/alchemy/json_api/language_serializer.rb +2 -1
- data/app/serializers/alchemy/json_api/node_serializer.rb +1 -1
- data/app/serializers/alchemy/json_api/page_serializer.rb +2 -1
- data/lib/alchemy/json_api/essence_serializer.rb +1 -1
- data/lib/alchemy/json_api/version.rb +1 -1
- metadata +8 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60e3517753943623b96dc3b70e5f6fe1ae0d9ffceaeeac3045935e4f49ac0c3f
|
4
|
+
data.tar.gz: 2988b73369eff64ce7c99e09ca4ff0bdc2a0fb3789965d761c9264ff96b9ba48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a71f11fc71138caa5a2d2337e8545a602f9ed6fd96ab7cad65b6768ecb1f321e445a16ffab7d1fbfe99cca71270286e86f38d64f4d2cbaaec31472de32a86f81
|
7
|
+
data.tar.gz: d5d3e534e20c9ec196050873d7c0331f16a4a86c8a173f9f8e37ca9c1b3782e2a56740bdbcf1eb846529b37a67f81889f7b8a246f0aa4a8046d42fcd039f4d18
|
@@ -3,7 +3,7 @@ module Alchemy
|
|
3
3
|
module JsonApi
|
4
4
|
module EssenceSerializer
|
5
5
|
def self.included(klass)
|
6
|
-
klass.include
|
6
|
+
klass.include JSONAPI::Serializer
|
7
7
|
klass.has_one :element, record_type: :element, serializer: ::Alchemy::JsonApi::ElementSerializer do |essence|
|
8
8
|
essence.content.element
|
9
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy-json_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Meyerhoff
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alchemy_cms
|
@@ -25,33 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: jsonapi.rb
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: jsonapi.rb
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
40
|
+
version: '1.6'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: factory_bot
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,7 +133,7 @@ homepage: https://github.com/AlchemyCMS/alchemy-json_api
|
|
147
133
|
licenses:
|
148
134
|
- MIT
|
149
135
|
metadata: {}
|
150
|
-
post_install_message:
|
136
|
+
post_install_message:
|
151
137
|
rdoc_options: []
|
152
138
|
require_paths:
|
153
139
|
- lib
|
@@ -163,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
149
|
version: '0'
|
164
150
|
requirements: []
|
165
151
|
rubygems_version: 3.1.4
|
166
|
-
signing_key:
|
152
|
+
signing_key:
|
167
153
|
specification_version: 4
|
168
154
|
summary: A JSONAPI compliant API for AlchemyCMS
|
169
155
|
test_files: []
|