Skip to content

Commit 48df404

Browse files
committed
fix: update httparty for ruby 3.3 compatibility
1 parent ca02d14 commit 48df404

File tree

3 files changed

+28
-15
lines changed

3 files changed

+28
-15
lines changed

Gemfile.lock

+23-11
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,43 @@ PATH
33
specs:
44
fcc (1.4.0)
55
activesupport (>= 6.1)
6-
httparty (~> 0.18)
7-
lightly (~> 0.3.3)
6+
csv
7+
httparty (~> 0.21)
8+
lightly (~> 0.4.0)
89
logger
910
rubyzip (~> 2.3.2)
1011

1112
GEM
1213
remote: https://rubygems.org/
1314
specs:
14-
activesupport (7.0.4.2)
15+
activesupport (7.1.3.2)
16+
base64
17+
bigdecimal
1518
concurrent-ruby (~> 1.0, >= 1.0.2)
19+
connection_pool (>= 2.2.5)
20+
drb
1621
i18n (>= 1.6, < 2)
1722
minitest (>= 5.1)
23+
mutex_m
1824
tzinfo (~> 2.0)
19-
concurrent-ruby (1.2.0)
20-
diff-lcs (1.5.0)
25+
base64 (0.2.0)
26+
bigdecimal (3.1.7)
27+
concurrent-ruby (1.2.3)
28+
connection_pool (2.4.1)
29+
csv (3.2.8)
30+
diff-lcs (1.5.1)
31+
drb (2.2.1)
2132
httparty (0.21.0)
2233
mini_mime (>= 1.0.0)
2334
multi_xml (>= 0.5.2)
24-
i18n (1.12.0)
35+
i18n (1.14.4)
2536
concurrent-ruby (~> 1.0)
26-
lightly (0.3.3)
27-
logger (1.5.3)
28-
mini_mime (1.1.2)
29-
minitest (5.17.0)
37+
lightly (0.4.0)
38+
logger (1.6.0)
39+
mini_mime (1.1.5)
40+
minitest (5.22.3)
3041
multi_xml (0.6.0)
42+
mutex_m (0.2.0)
3143
rake (12.3.3)
3244
rspec (3.9.0)
3345
rspec-core (~> 3.9.0)
@@ -50,7 +62,7 @@ PLATFORMS
5062
ruby
5163

5264
DEPENDENCIES
53-
bundler (~> 2.1)
65+
bundler
5466
fcc!
5567
rake (~> 12.3.3)
5668
rspec (~> 3.9.0)

fcc.gemspec

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ Gem::Specification.new do |spec|
1818
spec.rubygems_version = %q{1.4.1}
1919
spec.summary = %q{Searches the FCC's FM, AM, and TV databases}
2020
spec.add_dependency "activesupport", ">= 6.1"
21-
spec.add_dependency "httparty", "~> 0.18"
22-
spec.add_dependency "lightly", "~> 0.3.3"
21+
spec.add_dependency "httparty", "~> 0.21"
22+
spec.add_dependency "csv"
23+
spec.add_dependency "lightly", "~> 0.4.0"
2324
spec.add_dependency "rubyzip", "~> 2.3.2"
2425
spec.add_dependency "logger"
25-
spec.add_development_dependency "bundler", "~> 2.1"
26+
spec.add_development_dependency "bundler"
2627
spec.add_development_dependency "rake", "~> 12.3.3"
2728
spec.add_development_dependency 'rspec', '~> 3.9.0'
2829
end

lib/fcc/station/record_delegate.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def to_json
4444
end
4545

4646
def has_data?
47-
@result.present?
47+
@result
4848
end
4949

5050
def id

0 commit comments

Comments
 (0)