reqres_rspec 0.1.20 → 0.1.21

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: 1d8995d0e0ff6042385423b1fad999958bdc7f82
4
- data.tar.gz: 7b5aef7c3a3c37a8e6d119d4565aab7325da0589
3
+ metadata.gz: 2f09fd8a0a3dff25a77e5fb829707d5f2e6b53ee
4
+ data.tar.gz: de79917ba0b2a861f5f3b05a3cb834e2a5c36d8a
5
5
  SHA512:
6
- metadata.gz: edab13663fe8a9f512a9ee200b9bccf4193dd910eb67af3bf3cd4bbf57c09ec6a73e97e9b9eb3a60cab09cf897190b193970b1c80b1ef810659f33de506aad13
7
- data.tar.gz: f89388aad3c79572adf8bfa13197b89785ee09c1d86b993597134675d680358f3796ef9c61ce92d5057705ac65c4e65233b359227f4d6007649acf51dfe55472
6
+ metadata.gz: ae42a02b34f8e7a887b28182351bb0605bb9dc7957d9a8ca56739c05b285ed57c45ad1a25676a90d78900330a21ad8fa0cc0a56252bdf3f2bebb7f54f5abc21e
7
+ data.tar.gz: fd663f93a02aa4fab5a8abc96e11da11c6637d8c74a4b71da3b3bc736b10f913dd5270dc7e337f420d8c09404b443140672c66327dd81551b8f0982edca563fc
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,7 @@
1
+ version 0.1.21
2
+
3
+ generate `./doc` dir if it does not exist in host codebase
4
+
1
5
  version 0.1.20
2
6
 
3
7
  improve params cleanup
data/README.md CHANGED
@@ -17,7 +17,9 @@ Just add this gem to `Gemfile` of your API Application
17
17
 
18
18
  And then execute:
19
19
 
20
- $ bundle
20
+ $ bundle install
21
+
22
+ If necessary, add `require "reqres_rspec"` to your `spec/spec_helper.rb` file
21
23
 
22
24
  ### 2) PDF generator
23
25
 
@@ -34,6 +34,7 @@ module ReqresRspec
34
34
 
35
35
  @templates_path = File.expand_path('../templates', __FILE__)
36
36
  @output_path = File.join(@root, '/doc/reqres')
37
+ Dir.mkdir(@output_path) unless Dir.exist?(@output_path)
37
38
 
38
39
  requested_formats = (ENV['REQRES_RSPEC_FORMATTERS'].to_s).split(',')
39
40
  requested_formats.sort_by!{|fmt| [DEFAULT_FORMATTERS.index(fmt), fmt]}
@@ -1,3 +1,3 @@
1
1
  module ReqresRspec
2
- VERSION = '0.1.20'
2
+ VERSION = '0.1.21'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reqres_rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - rilian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-25 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coderay