rspec_api_documentation 6.0.0 → 6.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e1f18cb4e1bbf1939b21e8a4bdeb0ca17aae8f2
|
4
|
+
data.tar.gz: 98c99830570aad0754d38787cbe528cde8d795f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 000471a180aa638ee4ac2852410f4202f210d3694118a0aafb0b31a7dde2d61baeb1e40fcc45cdfaf149962479de12390ee88096b338e7a6ad979436468ca83e
|
7
|
+
data.tar.gz: b2bb72596bdbe8896243c14b69a022e8c820e57fba621c45518ccea38b304c08b165d8b2e910644bbf96af256c989157950785654f91dd554b6a6a7042a85782
|
@@ -8,7 +8,7 @@ module RspecApiDocumentation
|
|
8
8
|
|
9
9
|
def sections
|
10
10
|
super.map do |section|
|
11
|
-
routes = section[:examples].group_by { |e| "#{e.route_uri}#{e.route_optionals}" }.map do |route, examples|
|
11
|
+
routes = section[:examples].group_by { |e| "#{e.route_uri}#{e.route_optionals}#{e.route_name}" }.map do |route, examples|
|
12
12
|
attrs = fields(:attributes, examples)
|
13
13
|
params = fields(:parameters, examples)
|
14
14
|
|
@@ -23,6 +23,10 @@ module RspecApiDocumentation
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
# https://github.com/zipmark/rspec_api_documentation/issues/382
|
27
|
+
# backward compatibilty json for configuration of config.format
|
28
|
+
class JsonWriter < JSONWriter; end
|
29
|
+
|
26
30
|
class JSONIndex
|
27
31
|
def initialize(index, configuration)
|
28
32
|
@index = index
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_api_documentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Cahoon
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|