petail 0.0.0 → 0.2.0
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 +1 -1
- data/petail.gemspec +3 -3
- data.tar.gz.sig +0 -0
- metadata +12 -6
- 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: f8b4586f6ff3956d439fa35a0aaa64753b3839261a55df4cc9ce83b0bbdd277f
|
4
|
+
data.tar.gz: 4b20c15bc80355c4d55dd83d365ca3ed8806775385623b005e53aaa61cf9b260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7a2e97589c26880828fda50953a8cf542b0eb6c1c285bed3e4889d091c8486a5c1e6998e5efae59dc0a5a013e3f30859366d08773155cc3ae96c95beffdbd1
|
7
|
+
data.tar.gz: 8f69aaadab1e77609b51824528b22e896c6e3c5a7c3b963e9fadd7edb098f232ba6f1cc64f07a3fcf746c0a9e1e16173a5e5bd8dfd7b059fc179e67786f4d608
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
= Petail
|
6
6
|
|
7
|
-
Petail is a portmanteau (i.e. `[p]roblem + d[etail] = petail`) that implements link:https://
|
7
|
+
Petail is a portmanteau (i.e. `[p]roblem + d[etail] = petail`) that implements link:https://www.rfc-editor.org/rfc/rfc9457[RFC 9457: Problem Details for HTTP APIs]. This allows you to produce HTTP error responses that are structured, machine readable, and consistent.
|
8
8
|
|
9
9
|
toc::[]
|
10
10
|
|
data/petail.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "petail"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.2.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/petail"
|
9
|
-
spec.summary = "A RFC
|
9
|
+
spec.summary = "A RFC 9457 Problem Details for HTTP APIs implementation."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
@@ -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.4"
|
26
|
-
spec.add_dependency "rack", "
|
26
|
+
spec.add_dependency "rack", ">= 2.2", "< 4.0"
|
27
27
|
|
28
28
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
29
29
|
spec.files = Dir["*.gemspec", "lib/**/*"]
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: petail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -39,16 +39,22 @@ dependencies:
|
|
39
39
|
name: rack
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- - "
|
42
|
+
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '2.2'
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.0'
|
45
48
|
type: :runtime
|
46
49
|
prerelease: false
|
47
50
|
version_requirements: !ruby/object:Gem::Requirement
|
48
51
|
requirements:
|
49
|
-
- - "
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.2'
|
55
|
+
- - "<"
|
50
56
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
57
|
+
version: '4.0'
|
52
58
|
email:
|
53
59
|
- brooke@alchemists.io
|
54
60
|
executables: []
|
@@ -91,5 +97,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
97
|
requirements: []
|
92
98
|
rubygems_version: 3.6.7
|
93
99
|
specification_version: 4
|
94
|
-
summary: A RFC
|
100
|
+
summary: A RFC 9457 Problem Details for HTTP APIs implementation.
|
95
101
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|