doc_my_routes 0.11.0 → 0.11.1

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: 54f18694c17c44df5a459dbd06eff87d4bd90bad
4
- data.tar.gz: 6e6800ca18c370bfd7c8f468798b0982c52bf44d
3
+ metadata.gz: 3b080daf187be65c5a0c472b6ea223962ecbabd2
4
+ data.tar.gz: 46e57b55164f83abaab13f40c78f0cbdf3388a20
5
5
  SHA512:
6
- metadata.gz: 6ba99e20fdd9c3b31a0cd16414d557bfcb10bb0e3433b906676904a42aa3b935006bfb13d63502b40a32e6a606340549a1ede5888881bf58f79691e2e025aab6
7
- data.tar.gz: 9595e10d9a9acd1d56ec57892553e9b5803c7efcad735e34f4c1579dc9cb17c708d62b6de5a2108dddeebb5e845535ec79917374aee277d37963f027c6596078
6
+ metadata.gz: 839472c90d4bf0766ff29f7fe404e0a987e11e16c9352678d29e554296dc27c7ef6b25fd0e550c39baddb7972cf74400cea5df025d06a52cf30432b81baa183c
7
+ data.tar.gz: 8cb9cd53652fe153025650de1a0c6201c495b8c853cb14934e1141b55e6e16d6a4a871ac1ded68fbf568c114342f79b548f248377c7addec9287f95d7e521da5
@@ -31,7 +31,8 @@ module DocMyRoutes
31
31
 
32
32
  def generate_content
33
33
  routes.each do |resource, rts|
34
- content[:main][:apis][resource_name(resource)] = rts.map(&:to_hash)
34
+ content[:main][:apis][resource_name(resource)] ||= []
35
+ content[:main][:apis][resource_name(resource)] += rts.map(&:to_hash)
35
36
  end
36
37
  end
37
38
 
@@ -1,4 +1,4 @@
1
1
  # DocMyRoutes version
2
2
  module DocMyRoutes
3
- VERSION = '0.11.0'
3
+ VERSION = '0.11.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doc_my_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Workday, Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-15 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler