http-fake 3.0.0 → 3.1.0

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
  SHA256:
3
- metadata.gz: 3004749832c7b622db8baba20d1ddb66caf46caa098e84c38605de648f576b8c
4
- data.tar.gz: 7420ff263927102b3eda22bf461d847deb8e0655e29c45f3df85dfb8860dc9a5
3
+ metadata.gz: 314c5ad5b52ede547c6c8eb4d0a9119320cf16fdcf21afcef4935723500a557f
4
+ data.tar.gz: dfa4317da4451aca38fb728caa2befcb709c1b69e44d73599201f34dde01e42b
5
5
  SHA512:
6
- metadata.gz: d41d23d5aaaf2be68843e67a6627b19384e7af0fa987a9f8b0d13c1f50193526b902dfe824a38e7f8542932e5680582972c2e2ea2e5278ddaf14bd4cb3a2b893
7
- data.tar.gz: 5d8e51315268e31c23405a04191dcb7988a22944321f142427ef1b2aaae4d9662164f17ba412b498549ad350b22de79f1bf85f093ae12b418facbb3c23971e9f
6
+ metadata.gz: 0fbcd13120f49c986649d2bb5dba2170deb93b6c5d6c3c9053c7f3d7003238efb2fd5b8419cbeeb2c9a6d5982af28e6d4f637065f84a7070fcb199601e1527c0
7
+ data.tar.gz: 7bb38d99c388c8baf7f45f1bc91f9424f5395d9360929b8e4bbfc680882276fcd55425b00419a3c76c351ecba82849ee1ab0637aeb414d993fc1e24a1d044c86
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -13,7 +13,7 @@ toc::[]
13
13
  == Features
14
14
 
15
15
  * Provides a fake HTTP client as a testing companion to the {http_link} gem.
16
- * Supports the following HTTP verbs: CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, and TRACE.
16
+ * Supports the following HTTP verbs: CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PURGE, PUT, and TRACE.
17
17
  * Uses a simple DSL for defining HTTP endpoints, headers, bodies, and statuses.
18
18
  * Works well with objects that use Dependency Injection.
19
19
  * Speeds up your test suite when you don't need a live API.
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 = "3.0.0"
5
+ spec.version = "3.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/http-fake"
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.3"
26
- spec.add_dependency "http", "~> 5.1"
26
+ spec.add_dependency "http", "~> 5.2"
27
27
  spec.add_dependency "mustermann", "~> 3.0"
28
28
  spec.add_dependency "refinements", "~> 12.0"
29
29
  spec.add_dependency "zeitwerk", "~> 2.6"
@@ -9,7 +9,7 @@ module HTTP
9
9
  class Builder
10
10
  using Refinements::Hash
11
11
 
12
- ALLOWED_VERBS = /\A(connect|delete|get|head|options|patch|post|put|trace)\z/
12
+ ALLOWED_VERBS = /\A(connect|delete|get|head|options|patch|post|purge|put|trace)\z/
13
13
 
14
14
  attr_reader :requests
15
15
 
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: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2024-01-01 00:00:00.000000000 Z
38
+ date: 2024-02-06 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: http
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '5.1'
46
+ version: '5.2'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '5.1'
53
+ version: '5.2'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: mustermann
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.5.3
140
+ rubygems_version: 3.5.5
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: A HTTP fake implementation for test suites.
metadata.gz.sig CHANGED
Binary file