rails_api_documentation 0.3.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f3a28fb24ee63994ecff8cfdef502e2ee6a07b9
|
4
|
+
data.tar.gz: c7a0dc69133680aa75d09d0fc2a1cbdd5ace98b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a313b7d46410b696f00d7f133d64d385f950c1d56d05ed383d39af1a438d0c2af164b1a064cb7932eeb46f0628dedf8acfacd87daf3af6c7edd0361d5efcf26
|
7
|
+
data.tar.gz: 4eb52929a55fcc97ab0096246dfd17c5315be9c4255ed4fce52549f2db29a10357f019bc6e5788eb861ea51bef382576980d97d2bedea4bd3adeda2dcc369e65
|
@@ -38,7 +38,7 @@ module RailsApiDoc::Controller::Response
|
|
38
38
|
class RablCompiler
|
39
39
|
|
40
40
|
def initialize(file_path, view_path: 'app/views')
|
41
|
-
paths = Dir["#{view_path}/#{file_path}{.json,}
|
41
|
+
paths = Dir["#{view_path}/#{file_path}{.json.rabl,.rabl,}"]
|
42
42
|
@file_path = paths.find { |path| File.exist?(path) }
|
43
43
|
|
44
44
|
@source = _preserve_ivars File.read(@file_path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_api_documentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|