stub_requests 0.1.6 → 0.1.7
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 +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/stub_requests/service_registry.rb +1 -1
- data/lib/stub_requests/stub_registry.rb +4 -4
- data/lib/stub_requests/version.rb +1 -1
- data/lib/tasks/changelog.rake +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e7d62b2edc2b420340c364cd8f6a8e1c46c5d2c659ed58593a58f5c115bdec9
|
4
|
+
data.tar.gz: 3a6d7f55774423c44c803ff400ea2c283fef345374df7975bcdf7074f1823b67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66e9acdd10df02305136dc8d9e6eb7e1d686027c161912dc8b1cb0ca1fad0742b522fd1ad77c228ba9c2d8266f87ee35b67650683370076ecd70fef0f49d633f
|
7
|
+
data.tar.gz: e3c35f1c1c4a6e60217566b3c4d8759796d3089d057717a904ebfc4a4b4a8fa961d48bd133ce6fd6426b1cc2371afbb3a38dfc926104bf1d7c90de335132962d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.1.6](https://github.com/mhenrixon/stub_requests/tree/v0.1.6) (2019-02-06)
|
4
|
+
[Full Changelog](https://github.com/mhenrixon/stub_requests/compare/v0.1.5...v0.1.6)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- Remove the need for manual release steps \[ci-skip\] [\#23](https://github.com/mhenrixon/stub_requests/pull/23) ([mhenrixon](https://github.com/mhenrixon))
|
9
|
+
|
10
|
+
**Fixed bugs:**
|
11
|
+
|
12
|
+
- Load methods unless defined [\#22](https://github.com/mhenrixon/stub_requests/pull/22) ([mhenrixon](https://github.com/mhenrixon))
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- Update Changelog [\#21](https://github.com/mhenrixon/stub_requests/pull/21) ([mhenrixon](https://github.com/mhenrixon))
|
17
|
+
|
3
18
|
## [v0.1.5](https://github.com/mhenrixon/stub_requests/tree/v0.1.5) (2019-02-06)
|
4
19
|
[Full Changelog](https://github.com/mhenrixon/stub_requests/compare/v0.1.4...v0.1.5)
|
5
20
|
|
@@ -120,7 +120,7 @@ module StubRequests
|
|
120
120
|
def register(service_id, service_uri)
|
121
121
|
if (service = find(service_id))
|
122
122
|
StubRequests.logger.warn("Service already registered #{service}")
|
123
|
-
|
123
|
+
return service
|
124
124
|
end
|
125
125
|
services[service_id] = Service.new(service_id, service_uri)
|
126
126
|
end
|
@@ -100,11 +100,11 @@ module StubRequests
|
|
100
100
|
# @return [Service] the service that was just registered
|
101
101
|
#
|
102
102
|
def record(service, endpoint, webmock_stub)
|
103
|
-
|
104
|
-
|
103
|
+
endpoint_stub = find_or_initialize_endpoint_stub(service, endpoint)
|
104
|
+
endpoint_stub.record(webmock_stub)
|
105
105
|
|
106
|
-
endpoints.push(
|
107
|
-
|
106
|
+
endpoints.push(endpoint_stub)
|
107
|
+
endpoint_stub
|
108
108
|
end
|
109
109
|
|
110
110
|
#
|
data/lib/tasks/changelog.rake
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stub_requests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|