http-fake 1.0.1 → 1.0.2
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
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +9 -9
- data/http-fake.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7710313a61786056b056810e97c56e284642264b5ac8c86953b413cfd4e690a7
|
|
4
|
+
data.tar.gz: 8dd15a63ca8b1d5af7dc147bc579c1531d77db497cc109f5b1ec28edf95b2e87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1267b2c2e87b80290ac6e34771f9ccde57d42dbd434874c5b867cdf86c8a61fe292b63963b9d81e69955b3e217af491cb921d374cf6aa78a970548a5e7a452e3
|
|
7
|
+
data.tar.gz: 06ecc7b5850f360f8dba69eeebbec3202b20515551299a3e704abe9c17bdfa6cbd5fbfecce87767d28ed02be8bd1a09b037a25e256c6a7e4c91b6533fa387124
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
= HTTP Fake
|
|
8
8
|
|
|
9
|
-
HTTP Fake is a companion to the {http_link} gem when you want a convenient way to test HTTP requests by swapping out your _real_ HTTP client with this _fake_ HTTP client. Using a fake allows you to improve the performance of your test suite by answering fake responses without hitting a live API. You'll still want to test against a live API, eventually, within your integration tests but at a lower level, like your unit tests, you can use this gem instead. This gem is particularly useful when using _Dependency Injection_, especially when coupled with the link:https://
|
|
9
|
+
HTTP Fake is a companion to the {http_link} gem when you want a convenient way to test HTTP requests by swapping out your _real_ HTTP client with this _fake_ HTTP client. Using a fake allows you to improve the performance of your test suite by answering fake responses without hitting a live API. You'll still want to test against a live API, eventually, within your integration tests but at a lower level, like your unit tests, you can use this gem instead. This gem is particularly useful when using _Dependency Injection_, especially when coupled with the link:https://alchemists.io/projects/infusible[Infusible] gem.
|
|
10
10
|
|
|
11
11
|
toc::[]
|
|
12
12
|
|
|
@@ -208,19 +208,19 @@ To test, run:
|
|
|
208
208
|
bin/rake
|
|
209
209
|
----
|
|
210
210
|
|
|
211
|
-
== link:https://
|
|
211
|
+
== link:https://alchemists.io/policies/license[License]
|
|
212
212
|
|
|
213
|
-
== link:https://
|
|
213
|
+
== link:https://alchemists.io/policies/security[Security]
|
|
214
214
|
|
|
215
|
-
== link:https://
|
|
215
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
|
216
216
|
|
|
217
|
-
== link:https://
|
|
217
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
|
218
218
|
|
|
219
|
-
== link:https://
|
|
219
|
+
== link:https://alchemists.io/projects/http-fake/versions[Versions]
|
|
220
220
|
|
|
221
|
-
== link:https://
|
|
221
|
+
== link:https://alchemists.io/community[Community]
|
|
222
222
|
|
|
223
223
|
== Credits
|
|
224
224
|
|
|
225
|
-
* Built with link:https://
|
|
226
|
-
* Engineered by link:https://
|
|
225
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
|
226
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/http-fake.gemspec
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = "http-fake"
|
|
5
|
-
spec.version = "1.0.
|
|
5
|
+
spec.version = "1.0.2"
|
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
|
8
|
-
spec.homepage = "https://
|
|
8
|
+
spec.homepage = "https://alchemists.io/projects/http-fake"
|
|
9
9
|
spec.summary = "Provides a fake but equivalent implementation of the HTTP gem for test suites."
|
|
10
10
|
spec.license = "Hippocratic-2.1"
|
|
11
11
|
|
|
12
12
|
spec.metadata = {
|
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/http-fake/issues",
|
|
14
|
-
"changelog_uri" => "https://
|
|
15
|
-
"documentation_uri" => "https://
|
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/http-fake/versions",
|
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/http-fake",
|
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
|
17
17
|
"label" => "HTTP Fake",
|
|
18
18
|
"rubygems_mfa_required" => "true",
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: http-fake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
@@ -10,25 +10,32 @@ bindir: bin
|
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
|
15
|
+
aW8wHhcNMjMwMzIyMTYx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6kXwI06kzUa5dF9tPXqTX9ffnz3/W8ck2IQhKzu
|
|
30
|
+
MKO2FVijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
|
|
31
|
+
REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
|
|
32
|
+
qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
|
|
33
|
+
rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
|
|
34
|
+
XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
|
|
35
|
+
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
|
36
|
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
|
30
37
|
-----END CERTIFICATE-----
|
|
31
|
-
date: 2023-
|
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
|
32
39
|
dependencies:
|
|
33
40
|
- !ruby/object:Gem::Dependency
|
|
34
41
|
name: http
|
|
@@ -104,13 +111,13 @@ files:
|
|
|
104
111
|
- lib/http/fake/connector.rb
|
|
105
112
|
- lib/http/fake/requester.rb
|
|
106
113
|
- lib/http/fake/responder.rb
|
|
107
|
-
homepage: https://
|
|
114
|
+
homepage: https://alchemists.io/projects/http-fake
|
|
108
115
|
licenses:
|
|
109
116
|
- Hippocratic-2.1
|
|
110
117
|
metadata:
|
|
111
118
|
bug_tracker_uri: https://github.com/bkuhlmann/http-fake/issues
|
|
112
|
-
changelog_uri: https://
|
|
113
|
-
documentation_uri: https://
|
|
119
|
+
changelog_uri: https://alchemists.io/projects/http-fake/versions
|
|
120
|
+
documentation_uri: https://alchemists.io/projects/http-fake
|
|
114
121
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
|
115
122
|
label: HTTP Fake
|
|
116
123
|
rubygems_mfa_required: 'true'
|
|
@@ -130,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
137
|
- !ruby/object:Gem::Version
|
|
131
138
|
version: '0'
|
|
132
139
|
requirements: []
|
|
133
|
-
rubygems_version: 3.4.
|
|
140
|
+
rubygems_version: 3.4.9
|
|
134
141
|
signing_key:
|
|
135
142
|
specification_version: 4
|
|
136
143
|
summary: Provides a fake but equivalent implementation of the HTTP gem for test suites.
|
metadata.gz.sig
CHANGED
|
Binary file
|