Skip to content

Commit d641afd

Browse files
committed
fix http version dependency
1 parent ed5c7ab commit d641afd

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Gemfile

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

55
group :development, :production do
6-
gem 'http', '~> 0.13.3'
6+
gem 'http', '~> 5.2'
77
end
88

99
group :test, :development do
@@ -24,5 +24,5 @@ group :test, :development do
2424

2525
# Benchmark is no longer included in Ruby 3.5
2626
gem 'benchmark'
27-
27+
2828
end

serpapi.gemspec

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ if RUBY_VERSION < '2.1.0'
77

88
Gem::Specification.new do |s|
99
s.name = 'serpapi'
10-
if RUBY_VERSION < '2.1.0'
11-
s.version = "1.0.0"
12-
else
1310
s.version = SerpApi::VERSION
14-
end
15-
s.summary = 'Official Ruby library for SerpApi HTTP endpoints'
11+
s.summary = 'Official Ruby library for SerpApi.com'
1612
s.description = 'Integrate powerful search functionality into your Ruby application with SerpApi. SerpApi offers official
1713
support for Google, Google Maps, Google Shopping, Baidu, Yandex, Yahoo, eBay, App Stores, and more.
1814
Access a vast range of data, including web search results, local business listings, and product
@@ -26,7 +22,7 @@ information.'
2622
s.required_ruby_version = '>= 3.1'
2723

2824
# faraday
29-
s.add_dependency 'http', '~> 0.13.3'
25+
s.add_dependency 'http', '~> 5.2'
3026

3127
# development dependency
3228
s.add_development_dependency 'rake', '~> 13.2.1'

0 commit comments

Comments
 (0)