swagger_docs_generator 0.3.2.pre.21 → 0.3.2

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: a222e34482aa3f9449327f26b6425252e8d99064
4
- data.tar.gz: b37172edc0e46cc2477f54ee4db82dd501d9e350
3
+ metadata.gz: bf748786579e89af686d9f68af9d0965fd097de6
4
+ data.tar.gz: 9c3e2d4cb418471b668371918a11f81fcebefe13
5
5
  SHA512:
6
- metadata.gz: 27565bd443fda794c010c80867ffa21ad7bbbe2babbf690c5df3dc4796bac5320820f5bbdc6230f0a3b98dbf4f836b2b2f5e109c89cd8644b384df880dc76aaa
7
- data.tar.gz: 2d6e65e4ee16c5177f85328f5aa626d60cdec21363958bc6fb1da8c24d39e318113b258aa15c35a71dfc5b31071fa66bcacd7339be47ffa7fb727516b189328a
6
+ metadata.gz: 68c7263fa90470afaaa1be685f66b5dfdaa6aaf8d8437e9ad3950c4e8f927939972966ac8485e1b2c65d7988236aaa20e96401e3d4e27cd376fc245eea912cfd
7
+ data.tar.gz: e7525382c57ed41f79173a4dac17661ccaf73da24312f12d2a4d5f7920279ac5bdcdd83e433661afd42df28bce2a79910e391b36b43552ec70be7d334d91faa0
@@ -32,8 +32,8 @@ module SwaggerDocsGenerator
32
32
  end
33
33
 
34
34
  def create_file
35
- base_file = { paths: {}, tags: {}, definitions: {} }
36
- File.open(temporary_file, 'a+') { |file| file.puts(base_file.to_json) }
35
+ puts "Create file : #{temporary_file}"
36
+ FileUtils.touch(temporary_file)
37
37
  end
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger_docs_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.pre.21
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy
@@ -324,12 +324,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
324
324
  version: '0'
325
325
  required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  requirements:
327
- - - ">"
327
+ - - ">="
328
328
  - !ruby/object:Gem::Version
329
- version: 1.3.1
329
+ version: '0'
330
330
  requirements: []
331
331
  rubyforge_project:
332
- rubygems_version: 2.4.5
332
+ rubygems_version: 2.5.1
333
333
  signing_key:
334
334
  specification_version: 4
335
335
  summary: Swagger UI json file