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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2e96aaf7e615faf90ab54ce5cf5cd5a0e788864
4
- data.tar.gz: 2e0ed54871c93fd4a2116f00a371e07ba4d108dd
3
+ metadata.gz: 2342f8ee780ed0c251c135a856bd21ff4ad8f5d4
4
+ data.tar.gz: 98ebbf609b3a62b7bd388ddbbf88b44a1165096f
5
5
  SHA512:
6
- metadata.gz: 9420fc0126909b0d18d23c6e7ad84e7a128dc6af22eb6af7ad806d7902dcb23c5a715ebb17bada9c521662839ac2a4e2ecd0104df7c8174f31184b20e0709da5
7
- data.tar.gz: bb5db53a686e2a8305b2b6f2cc5684e521821861aab1558b503ff4611806a58e6f92ba27114b1588e532bae3e5dd7d6db3f278e32a51970cfa2653fadbf12805
6
+ metadata.gz: cc146fa2bb54a53a04e06cdd2dad0a164563c00aa1edd30b1551854da2dd05b9ff3ca1829ce28f76c058dca3859f494d2a7fc4447eab35930ab04a1fa76c6aaa
7
+ data.tar.gz: b3a625649cd0539846eb57c26444866a07bd3ba16e7f19ad50c050942ce402adac2df29a2d143969d6ea61e7246ab207306dba7dc0632dba9603704624d05203
@@ -50,7 +50,7 @@ module RocketDocs
50
50
  end
51
51
 
52
52
  def generate_hash
53
- Digest::MD5.file(file).hexdigest
53
+ # Digest::MD5.file(file).hexdigest
54
54
  end
55
55
  end
56
56
  end
@@ -9,12 +9,11 @@ module RocketDocs
9
9
  end
10
10
 
11
11
  def api_controller_paths(controllers = api_controllers)
12
- cp = controllers.map do |c|
13
- c.instance_methods(false).map do |m|
14
- c.instance_method(m).source_location.first
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)
@@ -1,3 +1,3 @@
1
1
  module RocketDocs
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
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.9
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-03-26 00:00:00.000000000 Z
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: