reqres_rspec 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +2 -0
- data/.ruby-version +1 -0
- data/README.md +3 -3
- data/lib/reqres_rspec/version.rb +1 -1
- data/lib/reqres_rspec/writers/templates/panel.erb +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b5dd26a50824b90ccea0113b89523538ab4f7a0
|
4
|
+
data.tar.gz: b5ea2f0ccc2177745f663e0dccb84c46a85f930b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fa6a1af0c18f9d30dab0c8ecd9e0a82ae4a1a334641054c10ea008655cf51464f2a7de07df241acd86bb0e0408f07eaa7e614f604347810678153cf35c0b6c1
|
7
|
+
data.tar.gz: 35cc9d584184bc9564213350a56224a0485522db9d5f62771435e98cdcdfad2dd02dfc738618f95fd254300c4c060c8179336e1eaac1bb27da1bce00d826a348
|
data/.ruby-gemset
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.1.1
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ cd prince-9.0r2-macosx
|
|
33
33
|
|
34
34
|
by default `reqres_rspec` is not active (this may be configured!). To activate it, run `rspec` with
|
35
35
|
|
36
|
-
`REQRES_RSPEC=1 bundle exec rspec`
|
36
|
+
`REQRES_RSPEC=1 bundle exec rspec --order=defined`
|
37
37
|
|
38
38
|
Documentation will be put into your application's `/doc` folder
|
39
39
|
|
@@ -68,13 +68,13 @@ Each param text is started with `@params` and first word will be param name, the
|
|
68
68
|
...
|
69
69
|
end
|
70
70
|
|
71
|
-
it 'some other example',
|
71
|
+
it 'some other example', :skip_reqres do
|
72
72
|
...
|
73
73
|
end
|
74
74
|
end
|
75
75
|
```
|
76
76
|
|
77
|
-
By default all examples will be added to docs. Example may be excluded from docs with option `
|
77
|
+
By default all examples will be added to docs. Example may be excluded from docs with option `:skip_reqres`
|
78
78
|
|
79
79
|
Doc will use full example description, as a title for each separate spec
|
80
80
|
|
data/lib/reqres_rspec/version.rb
CHANGED
@@ -93,9 +93,9 @@
|
|
93
93
|
<% items.group_by{|h| h[:request_path]}.each do |path, records| %>
|
94
94
|
<h3><%= path %></h3>
|
95
95
|
<ul>
|
96
|
-
<% records.
|
96
|
+
<% records.each do |record| %>
|
97
97
|
<li>
|
98
|
-
<a href="rspec_doc_<%= (index + 1).to_s.rjust(5, '0') %>.html" target="specs">
|
98
|
+
<a href="rspec_doc_<%= (@records.index(record) + 1).to_s.rjust(5, '0') %>.html" target="specs">
|
99
99
|
<span class="method <%= record[:request][:method].downcase %>"><%= record[:request][:method] %></span>
|
100
100
|
<%= record[:description] %><br />
|
101
101
|
</a>
|
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.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rilian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coderay
|
@@ -61,6 +61,8 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
+
- ".ruby-gemset"
|
65
|
+
- ".ruby-version"
|
64
66
|
- Gemfile
|
65
67
|
- LICENSE.txt
|
66
68
|
- README.md
|