fitting 2.1.0 → 2.1.1

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: a085daed12d7e3b16bdeb141928c50db861ff4ba
4
- data.tar.gz: 73cf6002cb3b3b55a83c6c723a329f90c7a4f164
3
+ metadata.gz: 9cc4437b3b4fc45b1f632831bdf6dc008669d8bf
4
+ data.tar.gz: e4a3c0047faf12ed24bced0dad110a462675eb4e
5
5
  SHA512:
6
- metadata.gz: 66b61927387c25a314c800dc5d385f34ed0a89c5bf754532674e64f092a3100e9476d539be357883b1e71b1094715fda3245bf4b6a4d6a0828380f5ba73e0b5a
7
- data.tar.gz: d5ad8dd2673d588d9f0d2b32b0a2cac492a62787d6ddc600f14731d8fc24096ca8fa42376ce23e1ff4a0f4777af9b8f0d7d929bbc9927b4fb1dcdae929bced97
6
+ metadata.gz: 6eed1f926a0cdf013cf813f7e41ceeb0da60704e124790655ab82aa713b2c65f6beeced0bd8f6033adcce1812c4f385e32955bc8bd274730d93aa5f872ae2485
7
+ data.tar.gz: 56eacd58ecd9edb51a9a8c62175e17cf191b657e80c156d64ccd1e60c7d669d26c65cb473ba3b051ce1d29dc52ba463820a2e4b369a3306eca030d972b6b8759
@@ -1,16 +1,21 @@
1
1
  # Change log
2
2
 
3
- ### 2.0.2 - 2017-05-02
3
+ ### 2.1.1 - 2017-06-22
4
4
 
5
5
  * bug fixes
6
- * validate html response
6
+ * work correctly everywhere, not just in controller tests
7
+
8
+ ### 2.1.0 - 2017-06-19
9
+
10
+ * features
11
+ * add resource_white_list config
7
12
 
8
13
  ### 2.0.3 - 2017-05-02
9
14
 
10
15
  * bug fixes
11
16
  * skip expect if prefix not match
12
17
 
13
- ### 2.1.0 - 2017-06-19
18
+ ### 2.0.2 - 2017-05-02
14
19
 
15
- * features
16
- * add resource_white_list config
20
+ * bug fixes
21
+ * validate html response
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'fitting/version'
@@ -27,5 +28,5 @@ Gem::Specification.new do |spec|
27
28
  spec.add_development_dependency 'byebug', '~> 8.2', '>= 8.2.1'
28
29
  spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
29
30
  spec.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11.2'
30
- spec.add_development_dependency 'rubocop', '~> 0.43', '>= 0.43.0'
31
+ spec.add_development_dependency 'rubocop', '~> 0.49.1', '>= 0.49.1'
31
32
  end
@@ -25,6 +25,8 @@ module Fitting
25
25
  end
26
26
 
27
27
  def requests(resource, all_requests)
28
+ return all_requests unless resource
29
+
28
30
  resource.map do |request|
29
31
  all_requests.push(request_hash(request))
30
32
  end
@@ -1,3 +1,3 @@
1
1
  module Fitting
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fitting
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2017-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -158,20 +158,20 @@ dependencies:
158
158
  requirements:
159
159
  - - "~>"
160
160
  - !ruby/object:Gem::Version
161
- version: '0.43'
161
+ version: 0.49.1
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- version: 0.43.0
164
+ version: 0.49.1
165
165
  type: :development
166
166
  prerelease: false
167
167
  version_requirements: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '0.43'
171
+ version: 0.49.1
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
- version: 0.43.0
174
+ version: 0.49.1
175
175
  description: Validation responses in the rspec with the help of API Blueprint
176
176
  email:
177
177
  - d.efimov@fun-box.ru