Skip to content

Commit a2cb8a3

Browse files
author
蔡耀賢
committed
Merge branch 'update-packages' into 'master'
Upgrade faraday package See merge request kdanmobile/shared-code-base/gems/json_requester!18
2 parents 5af010e + 2bd5731 commit a2cb8a3

9 files changed

Lines changed: 20 additions & 13 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ stages:
1111

1212
rspec:
1313
stage: rspec
14-
image: ruby:3.3.5
14+
image: ruby:3.4.5
1515
tags:
1616
- arm64
1717
script:
1818
- bundle install
19-
- rspec spec -fd
19+
- rspec spec
2020
only:
2121
- master
2222

2323
to_gem:
2424
stage: publish
25-
image: ruby:3.3.5
25+
image: ruby:3.4.5
2626
tags:
2727
- arm64
2828
script:

.ruby-gemset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
json_requester

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.4.5

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [2.0.1] - 2025-07-16
2+
- Update Faraday to version `2.13.2` for better stability and performance.
3+
- Update faraday-multipart to version `1.1.1`.
4+
- Update CI to use Ruby 3.4.5.
5+
16
## [2.0.0] - 2025-04-25
27

38
### Breaking changes

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ source 'https://rubygems.org'
33
gemspec
44

55
# Simple, but flexible HTTP client library, with support for multiple backends.
6-
gem 'faraday', '~> 2.13.1'
6+
gem 'faraday', '~> 2.13.2'
77
# Perform multipart-post requests using Faraday.
8-
gem 'faraday-multipart', '~> 1.1.0'
8+
gem 'faraday-multipart', '~> 1.1.1'

Gemfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
json_requester (2.0.0)
4+
json_requester (2.0.1)
55
faraday (~> 2.0, >= 2.0.1)
66
faraday-multipart (~> 1.1.0)
77

@@ -16,11 +16,11 @@ GEM
1616
bigdecimal
1717
rexml
1818
diff-lcs (1.6.1)
19-
faraday (2.13.1)
19+
faraday (2.13.2)
2020
faraday-net_http (>= 2.0, < 3.5)
2121
json
2222
logger
23-
faraday-multipart (1.1.0)
23+
faraday-multipart (1.1.1)
2424
multipart-post (~> 2.0)
2525
faraday-net_http (3.4.0)
2626
net-http (>= 0.5.0)
@@ -59,12 +59,12 @@ PLATFORMS
5959
ruby
6060

6161
DEPENDENCIES
62-
faraday (~> 2.13.1)
63-
faraday-multipart (~> 1.1.0)
62+
faraday (~> 2.13.2)
63+
faraday-multipart (~> 1.1.1)
6464
json_requester!
6565
pry (~> 0.14.2)
6666
rspec (~> 3.0)
6767
webmock (~> 3.25, >= 3.25.1)
6868

6969
BUNDLED WITH
70-
2.6.8
70+
2.7.0

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ $ gem install json_requester -v '~> 2.0'
4747
puts res['status'] # 200, 404, .. etc
4848
# the response JSON body
4949
puts res['body'] # { foo: 'bar' }
50-
5150
# If need_response_header is true, you can access response headers
5251
puts res['headers'] if res.key?('headers')
5352

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.0.1

json_requester.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
2121
s.required_ruby_version = '>= 3.0.0'
2222
s.add_runtime_dependency "faraday", "~> 2.0", ">= 2.0.1"
2323
s.add_runtime_dependency 'faraday-multipart', '~> 1.1.0'
24+
2425
s.add_development_dependency 'pry', '~> 0.14.2'
2526
s.add_development_dependency "rspec", "~> 3.0"
2627
s.add_development_dependency "webmock", "~> 3.25", ">= 3.25.1"

0 commit comments

Comments
 (0)