jets-api 0.1.2 → 0.1.3
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 +3 -0
- data/lib/jets/api/core.rb +4 -3
- data/lib/jets/api/version.rb +1 -1
- 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: eebbd3b1d3d7417cf7a517130e078b1935d33f67f53f985b355121d04352fb2e
|
|
4
|
+
data.tar.gz: 0e30e1126921621558943e61de620ba6bf1510de41d6a52c8bb095a3f0652980
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e570c4333fa1c2d32b4d6b8c8f7855cd9c721d782e3d48822053436d8d4a0872d13a9c4090fea6cf696bfb1cc75d1dc663c937f19f576e9a81bb7f2d277e2989
|
|
7
|
+
data.tar.gz: f3a65e8ca78d3bffe0f32190bb561d3a81dd632ad0230cde6985c5a3c1b8995d6f25db96538febf4e275d42fa197170dab1d82b886b75f961fdc28b08fba0252
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [0.1.3] - 2023-12-11
|
|
7
|
+
- [#1](https://github.com/rubyonjets/jets-api/pull/1) 2xx and 4xx responses are processable
|
|
8
|
+
|
|
6
9
|
## [0.1.2] - 2023-12-04
|
|
7
10
|
- use key field for token
|
|
8
11
|
|
data/lib/jets/api/core.rb
CHANGED
|
@@ -66,10 +66,11 @@ module Jets::Api
|
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
-
#
|
|
70
|
-
#
|
|
69
|
+
# 422 Unprocessable Entity: Server understands the content type of the request entity, and
|
|
70
|
+
# the syntax of the request entity is correct, but it was unable to process the contained
|
|
71
|
+
# instructions.
|
|
71
72
|
def processable?(http_code)
|
|
72
|
-
http_code =~ /^
|
|
73
|
+
http_code =~ /^2/ || http_code =~ /^4/
|
|
73
74
|
end
|
|
74
75
|
|
|
75
76
|
def http
|
data/lib/jets/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jets-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-12-
|
|
11
|
+
date: 2023-12-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|