prest 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/Gemfile.lock +11 -8
- data/README.md +1 -1
- data/lib/prest/version.rb +1 -1
- data/prest.gemspec +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a63a22f1edc353e8c63616f9a27a7f2b7d76ae70bf5c6dd27371f4d6ba1da49d
|
4
|
+
data.tar.gz: '0585bd19755e600e0f4ad9f9123a4ff7ff19b89b764fab219673662ce3aaaa07'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a657e786d2712663733bb6b681acef223e31ade3b99d3a331f99571497b9f4503d1b107a6b567c0ecf5cd4e17df08d8ae449cfad983dd6182ccf5dabb37fc76
|
7
|
+
data.tar.gz: 437c1f98ffd4703ba50e88fdeae07f7a7ba23ceaf4d84778e8934a096d4b2a1768af293c0924327b2cf891e821f0539b99f47f5a6e76a7a297ec79baecfd0917
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
prest (0.1.
|
5
|
-
httparty (
|
4
|
+
prest (0.1.9)
|
5
|
+
httparty (>= 0.20.0, < 0.23.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.2)
|
11
|
+
bigdecimal (3.1.8)
|
12
|
+
csv (3.3.0)
|
11
13
|
diff-lcs (1.5.0)
|
12
14
|
docile (1.4.0)
|
13
|
-
httparty (0.
|
14
|
-
|
15
|
+
httparty (0.22.0)
|
16
|
+
csv
|
17
|
+
mini_mime (>= 1.0.0)
|
15
18
|
multi_xml (>= 0.5.2)
|
16
19
|
json (2.6.2)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
multi_xml (0.6.0)
|
20
|
+
mini_mime (1.1.5)
|
21
|
+
multi_xml (0.7.1)
|
22
|
+
bigdecimal (~> 3.1)
|
21
23
|
parallel (1.22.1)
|
22
24
|
parser (3.1.2.0)
|
23
25
|
ast (~> 2.4.1)
|
@@ -61,6 +63,7 @@ GEM
|
|
61
63
|
|
62
64
|
PLATFORMS
|
63
65
|
arm64-darwin-21
|
66
|
+
x86_64-darwin-21
|
64
67
|
x86_64-linux
|
65
68
|
|
66
69
|
DEPENDENCIES
|
data/README.md
CHANGED
@@ -51,7 +51,7 @@ Prest::Client.new('https://example.com/api', { headers: { 'Authorization' => 'Be
|
|
51
51
|
# To pass a body to the request, pass them to post/put/patch method as follows:
|
52
52
|
Prest::Client.new('https://example.com/api', { headers: { 'Authorization' => 'Bearer Token xxxyyyzzz' } })
|
53
53
|
.users
|
54
|
-
.post(body: { username: 'juan-apa' })
|
54
|
+
.post(body: { username: 'juan-apa' }.to_json)
|
55
55
|
```
|
56
56
|
|
57
57
|
### Using raw/custom/special query parameters
|
data/lib/prest/version.rb
CHANGED
data/prest.gemspec
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Aparicio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.20.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.23.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.20.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.23.0
|
27
33
|
description:
|
28
34
|
email:
|
29
35
|
- juan.aparicio@gogrow.dev
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.11
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Programmatically communicate with external REST API the easy way.
|