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: e94dad7cd2df856b0fa66bc552ba1b21719e2397
4
- data.tar.gz: 00ee1ae3831826caea27f72422986ac45a49cb0a
3
+ metadata.gz: 9f3a28fb24ee63994ecff8cfdef502e2ee6a07b9
4
+ data.tar.gz: c7a0dc69133680aa75d09d0fc2a1cbdd5ace98b3
5
5
  SHA512:
6
- metadata.gz: c80f87121f85a5f2757513b5612ac1baa3a2107e2d942b072450a0efa771118bab83cda7e768a13ab4be45ea84b7e4410aca0ada94ec489f91655c38c10a99c5
7
- data.tar.gz: ac7a8147091a77af5f71f33ed8ba963db16ebfc69b4e153c3f5a70439827d4674304f4e2f0eac79201e0084f7384d815c95432c935599e81f9eddbafa0680be2
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,}.rabl"]
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # author: Vadim Shaveiko <@vshaveyko>
3
3
  module RailsApiDoc
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler