apicasso 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 1b791734eda31a1730d721b4856a1a6b67032dd572bb12d528fc71ef8f648148
4
- data.tar.gz: 7a4c4ccec8cd4201e30e25a5e82b24e27ba76b1456d79baf01b2772bacda3139
3
+ metadata.gz: 75481eb1df595fc8cda2ad65bd8db05bd19d6fad66a46b6126b1a8549cafeeca
4
+ data.tar.gz: 51233d723df45b0c763a8632bbf913e119e476481e1fd4c6c92e041512f8b556
5
5
  SHA512:
6
- metadata.gz: 514e3258e715bcb35f2cf707752e6b75c85ade8505c25031d9213e0c7898ff98a31742d178645c6f444be39e285a6c3e9eace03da253b96cc2787025a153e105
7
- data.tar.gz: f32c53560c3592e2ec207a0d7856d48d39e8e468f7c5d4815c630adcfb78c1ac5dc2a910c6a282b895ecde26e75ae56ef371f7b95002041ba5518c357e387f40
6
+ metadata.gz: 55f03cdd94bb13026d4f8042375d38195b45bdbddb5cb0a0d45e49b14c45ac71c8f6a252e37f57e383d9c1bfc530830f24a5922c5e33dee854c8f7e060135bf7
7
+ data.tar.gz: 380ef85943825041441e2122f46c3dcbfe31e9eac8222df89118033bf4f1133ec153e3395a7be450ee0d6feb7dabe6810a2c713fcf2d625769e2677cf1a7206e
@@ -313,7 +313,7 @@ module Apicasso
313
313
  end
314
314
  end
315
315
 
316
- model.reflect_on_all_associations.map(&:name) do |association|
316
+ model.reflect_on_all_associations.map(&:name).each do |association|
317
317
  inner_name = extract_klass_name(model: model, association: association)
318
318
  inner_klass = extract_klass(model: model, association: association)
319
319
  swagger_path "/#{model.name.underscore}/{id}/#{association}" do
@@ -1,3 +1,3 @@
1
1
  module Apicasso
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apicasso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Bellincanta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2018-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cancancan