rocket_docs 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rocket_docs/documentation/controller.rb +1 -1
- data/lib/rocket_docs/router.rb +4 -5
- data/lib/rocket_docs/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2342f8ee780ed0c251c135a856bd21ff4ad8f5d4
|
4
|
+
data.tar.gz: 98ebbf609b3a62b7bd388ddbbf88b44a1165096f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc146fa2bb54a53a04e06cdd2dad0a164563c00aa1edd30b1551854da2dd05b9ff3ca1829ce28f76c058dca3859f494d2a7fc4447eab35930ab04a1fa76c6aaa
|
7
|
+
data.tar.gz: b3a625649cd0539846eb57c26444866a07bd3ba16e7f19ad50c050942ce402adac2df29a2d143969d6ea61e7246ab207306dba7dc0632dba9603704624d05203
|
data/lib/rocket_docs/router.rb
CHANGED
@@ -9,12 +9,11 @@ module RocketDocs
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def api_controller_paths(controllers = api_controllers)
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
controllers.map do |controller|
|
13
|
+
controller.action_methods.map do |action_method|
|
14
|
+
controller.instance_method(action_method).source_location.first
|
15
15
|
end
|
16
|
-
end
|
17
|
-
cp.flatten.uniq.compact
|
16
|
+
end.flatten.uniq.compact
|
18
17
|
end
|
19
18
|
|
20
19
|
def api_controllers(names = api_controller_names)
|
data/lib/rocket_docs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanko Krtalić Rusendić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -297,3 +297,4 @@ signing_key:
|
|
297
297
|
specification_version: 4
|
298
298
|
summary: Interactive API documentation for rails apps
|
299
299
|
test_files: []
|
300
|
+
has_rdoc:
|