relax2 0.1.1 → 0.1.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
- data/LICENSE +21 -0
- data/README.md +1 -1
- data/lib/relax2/interceptors.rb +2 -0
- data/lib/relax2/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c072b05f258411e87c18e1065cb6ca8a283d528104c0372eea8c4e785bcc871
|
4
|
+
data.tar.gz: 61f05cf1460f2d796c0e90052ebd550514642bf62665ac0bb34d74bf8bc87ab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1729cb47a19c4f1d9a6a23678cb374f0351316175716ea9853ef755b93ddffb50b57e01473fbb23bab1950a12746a078f5ee8ae298ca22904012038b284a9df8
|
7
|
+
data.tar.gz: 323b17e9d0d6d00588ba543ad428160ca00e0cd19ea546eedff7eb1dd9a8c8d61f3aa8f4b0ab1e48c97034ca1932b4ce10c5c7a947240edaf74fa1cb393d4289
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022 YusukeIwaki
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ class ExampleApi < Relax2::Base
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# Request manually
|
46
|
-
request = Relax2::Request.
|
46
|
+
request = Relax2::Request.from(args: 'GET /hogehoge q=xx USER-Agent: Hoge/1.23'.split(' '))
|
47
47
|
response = ExampleApi.call(request)
|
48
48
|
|
49
49
|
# or, simply work with CLI args :)
|
data/lib/relax2/interceptors.rb
CHANGED
data/lib/relax2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relax2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -150,7 +150,7 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description:
|
153
|
+
description:
|
154
154
|
email:
|
155
155
|
- q7w8e9w8q7w8e9@yahoo.co.jp
|
156
156
|
executables: []
|
@@ -159,6 +159,7 @@ extra_rdoc_files: []
|
|
159
159
|
files:
|
160
160
|
- ".rubocop.yml"
|
161
161
|
- Gemfile
|
162
|
+
- LICENSE
|
162
163
|
- README.md
|
163
164
|
- Rakefile
|
164
165
|
- bin/console
|
@@ -179,7 +180,7 @@ files:
|
|
179
180
|
homepage: https://github.com/YusukeIwaki/relax2
|
180
181
|
licenses: []
|
181
182
|
metadata: {}
|
182
|
-
post_install_message:
|
183
|
+
post_install_message:
|
183
184
|
rdoc_options: []
|
184
185
|
require_paths:
|
185
186
|
- lib
|
@@ -195,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
196
|
version: '0'
|
196
197
|
requirements: []
|
197
198
|
rubygems_version: 3.3.7
|
198
|
-
signing_key:
|
199
|
+
signing_key:
|
199
200
|
specification_version: 4
|
200
201
|
summary: A quick and dirty HTTP API client factory for Ruby
|
201
202
|
test_files: []
|