reqres_rspec 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6aa9c6c95beaf16c80ee51d0578c483c385683f
4
- data.tar.gz: 1906b7f8701dc21badcbfc7c0353ef506a289dec
3
+ metadata.gz: 6b5dd26a50824b90ccea0113b89523538ab4f7a0
4
+ data.tar.gz: b5ea2f0ccc2177745f663e0dccb84c46a85f930b
5
5
  SHA512:
6
- metadata.gz: ff896169c1336ae45ec127cd22e8c7df6d25c837a3d1781efba46572209a12af74c23da1fd635ce5fa1fd3b88dd5e0e4148aac85fe48912e6d83f03d8021ceaf
7
- data.tar.gz: 8ed9a4b7f53867fd4ec4e1d9b199843ce01f7ece0ac864214ab5c569e502706db1e37afc6f1e532c8e53e22c245a99238e51c20f1a886a823803601e747c3f9f
6
+ metadata.gz: 4fa6a1af0c18f9d30dab0c8ecd9e0a82ae4a1a334641054c10ea008655cf51464f2a7de07df241acd86bb0e0408f07eaa7e614f604347810678153cf35c0b6c1
7
+ data.tar.gz: 35cc9d584184bc9564213350a56224a0485522db9d5f62771435e98cdcdfad2dd02dfc738618f95fd254300c4c060c8179336e1eaac1bb27da1bce00d826a348
data/.ruby-gemset ADDED
@@ -0,0 +1,2 @@
1
+ reqres_rspec
2
+
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', collect_for_doc: false do
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 `collect_for_doc: false`
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
 
@@ -1,3 +1,3 @@
1
1
  module ReqresRspec
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.17'
3
3
  end
@@ -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.each_with_index do |record, index| %>
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.16
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-04 00:00:00.000000000 Z
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