jsonapi_swagger_helpers 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jsonapi_swagger_helpers.rb +1 -1
- data/lib/jsonapi_swagger_helpers/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0af0d698498fd6bf32552d1097a3f5c0a1b68e6
|
|
4
|
+
data.tar.gz: 25b9beeed26995c626029afa28779786b86150db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66279070d7c1fb83a28f765734dc5e6886120eaae4e2a9128e9fdf77a96156c289f2570fa27682479e6e9cff393c49bd52f935147085d90c95c0086d5e8879eb
|
|
7
|
+
data.tar.gz: 38b787a7f8a9e47ccea13c5dca72989db02892023d6f96739b2a7d6adc45978a2d23ddec725ce2fe030e3403222ec61f2a3c656d78b60e6d44d22ab557fb8efd
|
|
@@ -104,7 +104,7 @@ module JsonapiSwaggerHelpers
|
|
|
104
104
|
def jsonapi_includes(controller, action)
|
|
105
105
|
includes = controller._jsonapi_compliable.sideloads[:whitelist]
|
|
106
106
|
|
|
107
|
-
if includes
|
|
107
|
+
if includes && includes[action]
|
|
108
108
|
directive = includes[action]
|
|
109
109
|
includes = directive.to_string
|
|
110
110
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jsonapi_swagger_helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Richmond
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-09-
|
|
11
|
+
date: 2016-09-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: swagger-blocks
|
|
@@ -109,9 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
111
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.
|
|
112
|
+
rubygems_version: 2.5.1
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: Swagger helpers for jsonapi.org-compatible APIs
|
|
116
116
|
test_files: []
|
|
117
|
-
has_rdoc:
|