reqres_rspec 0.0.21 → 0.0.22

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: 85c05723ee091bb7320037e073ab67109ca2e22f
4
- data.tar.gz: ae6d4ebfedfb2d5a5933d2ffb146b61959d9b103
3
+ metadata.gz: 33b9c2ae1ff89f8b143a95b57ab5e24610d30f03
4
+ data.tar.gz: 17da2fccf67c882f86865cb83db2848f4ba357a4
5
5
  SHA512:
6
- metadata.gz: 131b3a90632fcf9eba91c05b065d6054d165c1a2884434924516b309a5e52def7f9ca5b1a78303254a1f4259dcb2c40c0c81f28e96938aba511746d98078402a
7
- data.tar.gz: 6edca5c0fbb7cba3ae34065258f2ee70882ac76f8b5da96b8ff04f153d8af7062a06a69000a863b0f92b73afc000dcfad009edcd64a0b2f67fd971876add7750
6
+ metadata.gz: 18b8874053b92d709588cd367353b57fe5aaa2af01dcaa57249ae5f4fa8797f363efe00e3655b9c4cf0e0606e89f09e772b32d46861252f3ca683c5169bde7f1
7
+ data.tar.gz: a8ca25cc3442248f14c9f179c142e28f51d01be5e75deee83678bc46b196b88a5b7999506c6887fa0a10530ca9034625d3438c11f38cdcfd52562c12562cb3ea
@@ -3,11 +3,13 @@ module ReqresRspec
3
3
  # Contains spec values read from rspec example, request and response
4
4
  attr_accessor :records
5
5
 
6
- # param importances
6
+ # Param importances
7
7
  PARAM_IMPORTANCES = %w[required optional]
8
8
 
9
- # param types
10
- PARAM_TYPES = %w[Integer Boolean String Text Float Date DateTime File Array]
9
+ # Param types
10
+ # NOTE: make sure sub-strings go at the end
11
+ PARAM_TYPES = ['Boolean', 'String', 'Text', 'Float', 'DateTime', 'Date', 'File',
12
+ 'Array of Integer', 'Array of String', 'Array', 'Integer']
11
13
 
12
14
  # response headers contain many unnecessary information,
13
15
  # everything from this list will be stripped
@@ -126,7 +128,7 @@ module ReqresRspec
126
128
 
127
129
  # replace each first occurrence of param's value in the request path
128
130
  #
129
- # example
131
+ # Example:
130
132
  # request path = /api/users/123
131
133
  # id = 123
132
134
  # symbolized path => /api/users/:id
@@ -1,3 +1,3 @@
1
1
  module ReqresRspec
2
- VERSION = '0.0.21'
2
+ VERSION = '0.0.22'
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.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - rilian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-02 00:00:00.000000000 Z
11
+ date: 2014-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coderay