prest 0.1.8 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: accb2149cb0dacc0ad3fee732fb7bff9fb552d1bbea197118b29525fed9e24fe
4
- data.tar.gz: b6cf166232aca1d97372acc0efdb8b8e952d4025159a638d55f779ea608e2276
3
+ metadata.gz: a63a22f1edc353e8c63616f9a27a7f2b7d76ae70bf5c6dd27371f4d6ba1da49d
4
+ data.tar.gz: '0585bd19755e600e0f4ad9f9123a4ff7ff19b89b764fab219673662ce3aaaa07'
5
5
  SHA512:
6
- metadata.gz: a313c848c5bd26fd4210cdccfc0e6f79f07927dc59cca7417966ccac53c518b61f0d80c403cc6371c99c9453e21f8b08d1696af2774bbaba91945a7826c6ce48
7
- data.tar.gz: 16364768bf1190a5bb884c44379873ef37841ae610d9d832b7fdc9742a13ca79601fd9442513342c8ceca4a92bfa1df27a61409488f3c6cdfe16a683a2815279
6
+ metadata.gz: 9a657e786d2712663733bb6b681acef223e31ade3b99d3a331f99571497b9f4503d1b107a6b567c0ecf5cd4e17df08d8ae449cfad983dd6182ccf5dabb37fc76
7
+ data.tar.gz: 437c1f98ffd4703ba50e88fdeae07f7a7ba23ceaf4d84778e8934a096d4b2a1768af293c0924327b2cf891e821f0539b99f47f5a6e76a7a297ec79baecfd0917
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
- ## [Unreleased]
1
+ ## [0.1.9] - 2024-10-28
2
+
3
+ - Update `httparty` to use `0.20.0` or a higher version
2
4
 
3
5
  ## [0.1.0] - 2022-07-20
4
6
 
data/Gemfile.lock CHANGED
@@ -1,23 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prest (0.1.8)
5
- httparty (~> 0.20.0)
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.20.0)
14
- mime-types (~> 3.0)
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
- mime-types (3.4.1)
18
- mime-types-data (~> 3.2015)
19
- mime-types-data (3.2022.0105)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prest
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.9'
5
5
  end
data/prest.gemspec CHANGED
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ['lib']
30
30
 
31
- spec.add_dependency 'httparty', '~> 0.20.0'
31
+ spec.add_dependency 'httparty', '>= 0.20.0', '< 0.23.0'
32
32
  end
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.8
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: 2023-04-05 00:00:00.000000000 Z
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.3.7
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.