response_mate 0.4.0 → 0.4.1

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: 886ee91f9cc8611ed603ada2aba4256a34626d5e
4
- data.tar.gz: a593e47b886bc4160c43453f03bf2fa8ff26da44
3
+ metadata.gz: 4a2f99c44c8041ce2e6691546acac982ccdb1f40
4
+ data.tar.gz: d135f18f64222689fd3463b09ca78181a8214dca
5
5
  SHA512:
6
- metadata.gz: c6d9ba046034288193fc61e786d27f7c16ef663b15bb62f5791a32a3b22bb10aa0aadbe387401c87382099d86b56cf7a71f1218d4c7b061c589fefd9d4a4bb15
7
- data.tar.gz: 34339559073b743d0cd29e8cdf51521ce1548bd3fb386aacac329c8ab8616defc90668be9f8b91f00dda077b5ea7f75ae5ab8b541007e750e490ffa454270341
6
+ metadata.gz: 7db3ec18aa45c1ac06559378a5cd559ba92a6141ade468c00e6dbc811b6c8af1dd11e3ec835e6279b68119e1b36cd708b13706fade2b7ccc74eef40d5e3272d7
7
+ data.tar.gz: 4ebe268bb89d0a2222e27bf4e06dc7e0f2db12fcbbf51d44e7bdd560ee645f1df932ffa3af27471865af7cc8578c89161be568443c7605e8ee3f65625bab926d
@@ -4,9 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [0.4.1] - 2015-01-25
8
+
9
+ ### Fixed
10
+
11
+ * Issue when filtering by key, in a requests manifest with a single key (@eavgerinos)
12
+
7
13
  ## [0.4.0] - 2015-08-19
8
14
 
9
- ## Added
15
+ ### Added
10
16
 
11
17
  * `record`, `inspect`, `list` commands accept `-e` option to specify the
12
18
  environment file
@@ -16,7 +22,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
16
22
  * List command now accepts `-o` option to specify the output directory
17
23
  of recordings
18
24
 
19
- ## Changed
25
+ ### Changed
20
26
 
21
27
  * The verb key in the recorded response is now lower cased Symbol (was
22
28
  upper case String)
@@ -29,7 +35,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
29
35
  * The default output directory for the recordings is the current working
30
36
  directory (used to be `./output/responses/`)
31
37
 
32
- ## Fixed
38
+ ### Fixed
33
39
 
34
40
  * Exception handling for ManifestMissing, OutputDirError, KeysNotFound
35
41
  in bin/response_mate
@@ -26,6 +26,8 @@ class ResponseMate::Manifest
26
26
  requests.select! do |r|
27
27
  keys.include? r.key
28
28
  end
29
+
30
+ requests
29
31
  end
30
32
 
31
33
  private
@@ -1,4 +1,4 @@
1
1
  module ResponseMate
2
2
  # Gem version
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
@@ -160,8 +160,8 @@ describe ResponseMate::Manifest do
160
160
  end
161
161
 
162
162
  context 'when no key is missing' do
163
- let(:keys) { %w[key1 key2] }
164
- let(:existing_requests) { (keys + ['spare_key']).map { |key| double(key: key) } }
163
+ let(:keys) { %w[key1] }
164
+ let(:existing_requests) { keys.map { |key| double(key: key) } }
165
165
 
166
166
  before do
167
167
  allow(manifest).to receive(:requests).and_return(existing_requests)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: response_mate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitris Zorbas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-19 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler