http-fake 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -3
- data/README.adoc +4 -2
- data/http-fake.gemspec +2 -2
- data.tar.gz.sig +0 -0
- metadata +5 -5
- 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: 9dfb0af760a1e681e9ef7aac3304cfab740d195da4e475d0264b90370678fa67
|
4
|
+
data.tar.gz: 7238503d8c718a85e5058e24800f6397004febaf0c1db4cca7c3c9067a369832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c8555d85f4928e77bbb3273855f3a9a36e7f0b16326a20f9d2bf10a5f0f466d99f104e52efc2a2073c399cc18f29b9eb4a347b116280b7f8b26d659224ef05d
|
7
|
+
data.tar.gz: 3dfe49748dadd620136514503a3fe719323643dfe9bd2b1516fbca82c1aab50c364bc620574b2ec57cec54eaed17927e2e52314dbf50a5e28256c728b8dbaa9a
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��I�6�IN&ї����ɩ�b�fU(�g$�iڽ:��Ȥi��uP��}��%~A�F����̷���B�4���X�;z�q7��� K�ʬ̌���>͈v�!��
|
1
|
+
6PH��R������D�3��ش�O���/�7��㚼S'R�~���-x�
|
2
|
+
�^6,|�j�XW] �ѵ��)G�W��gĝ vD�Gﳘ���6��B�oF�4�$N)����VSGm��� �7[� '�9Ѵ�S�Q�^�Q$P����j|� PbbM%w���u���jW�Zu>J���Jm>:(4%I~�r�ՔZY� Zy�� �IS��Jn��I�uO2������#������H�$k�j��
|
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://www.alchemists.io/projects/
|
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://www.alchemists.io/projects/infusible[Infusible] gem.
|
10
10
|
|
11
11
|
toc::[]
|
12
12
|
|
@@ -183,10 +183,12 @@ response behavior as well. I'll leave that up to you to explore and experiment w
|
|
183
183
|
|
184
184
|
== Development
|
185
185
|
|
186
|
-
|
186
|
+
To contribute, run:
|
187
187
|
|
188
188
|
[source,bash]
|
189
189
|
----
|
190
|
+
git clone https://github.com/bkuhlmann/http-fake
|
191
|
+
cd http-fake
|
190
192
|
bin/setup
|
191
193
|
----
|
192
194
|
|
data/http-fake.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "http-fake"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.3.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://www.alchemists.io/projects/http-fake"
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.required_ruby_version = "~> 3.1"
|
26
26
|
spec.add_dependency "http", "~> 5.0"
|
27
27
|
spec.add_dependency "mustermann", "~> 3.0"
|
28
|
-
spec.add_dependency "refinements", "~> 9.
|
28
|
+
spec.add_dependency "refinements", "~> 9.7"
|
29
29
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
30
30
|
|
31
31
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
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: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-10-22 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: http
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '9.
|
67
|
+
version: '9.7'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '9.
|
74
|
+
version: '9.7'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: zeitwerk
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.3.
|
133
|
+
rubygems_version: 3.3.24
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Provides a fake but equivalent implementation of the HTTP gem for test suites.
|
metadata.gz.sig
CHANGED
Binary file
|