jsonapi_swagger_helpers 0.1.2 → 0.1.3

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: b1b29089e312228c47932a15abdab6101c4333f0
4
- data.tar.gz: b796543726b7546998ce7506914acb976ac7b4b6
3
+ metadata.gz: d0af0d698498fd6bf32552d1097a3f5c0a1b68e6
4
+ data.tar.gz: 25b9beeed26995c626029afa28779786b86150db
5
5
  SHA512:
6
- metadata.gz: f9ea55809a9cda5a9344aba41453daed0d01e0c91a24947a7e19e320612d6d784631d7e6592d007a67ac48c7c1307431b11e97d7e5d6ee1b5daf931f6fb37896
7
- data.tar.gz: 2ea9c3543e2282678de72f05f9852e74ea8d09b90aee1fd60c6475aea9b768f210d5b8fd0b3ab2b97928f80d11da51200b5d5dadea8a3a859180566fc69bbfbe
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
 
@@ -1,3 +1,3 @@
1
1
  module JsonapiSwaggerHelpers
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-22 00:00:00.000000000 Z
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.4.5.1
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: