Skip to content

Commit

Permalink
Update gems & packages. Fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel committed Sep 19, 2023
1 parent 7158079 commit f8c14af
Show file tree
Hide file tree
Showing 9 changed files with 261 additions and 253 deletions.
142 changes: 71 additions & 71 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,67 +8,67 @@ GIT
GEM
remote: https://rubygems.org/
specs:
actioncable (7.0.7)
actionpack (= 7.0.7)
activesupport (= 7.0.7)
actioncable (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.7)
actionpack (= 7.0.7)
activejob (= 7.0.7)
activerecord (= 7.0.7)
activestorage (= 7.0.7)
activesupport (= 7.0.7)
actionmailbox (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.7)
actionpack (= 7.0.7)
actionview (= 7.0.7)
activejob (= 7.0.7)
activesupport (= 7.0.7)
actionmailer (7.0.8)
actionpack (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activesupport (= 7.0.8)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.7)
actionview (= 7.0.7)
activesupport (= 7.0.7)
actionpack (7.0.8)
actionview (= 7.0.8)
activesupport (= 7.0.8)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.7)
actionpack (= 7.0.7)
activerecord (= 7.0.7)
activestorage (= 7.0.7)
activesupport (= 7.0.7)
actiontext (7.0.8)
actionpack (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.7)
activesupport (= 7.0.7)
actionview (7.0.8)
activesupport (= 7.0.8)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (7.0.7)
activesupport (= 7.0.7)
activejob (7.0.8)
activesupport (= 7.0.8)
globalid (>= 0.3.6)
activemodel (7.0.7)
activesupport (= 7.0.7)
activerecord (7.0.7)
activemodel (= 7.0.7)
activesupport (= 7.0.7)
activestorage (7.0.7)
actionpack (= 7.0.7)
activejob (= 7.0.7)
activerecord (= 7.0.7)
activesupport (= 7.0.7)
activemodel (7.0.8)
activesupport (= 7.0.8)
activerecord (7.0.8)
activemodel (= 7.0.8)
activesupport (= 7.0.8)
activestorage (7.0.8)
actionpack (= 7.0.8)
activejob (= 7.0.8)
activerecord (= 7.0.8)
activesupport (= 7.0.8)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.7)
activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand Down Expand Up @@ -98,17 +98,17 @@ GEM
erubi (1.12.0)
ethon (0.16.0)
ffi (>= 1.15.0)
execjs (2.8.1)
execjs (2.9.1)
ffi (1.15.5)
foreman (0.87.2)
formatador (1.1.0)
friendly_id (5.5.0)
activerecord (>= 4.0.0)
gindex (0.4.0)
railties (>= 6.1)
globalid (1.1.0)
activesupport (>= 5.0)
guard (2.18.0)
globalid (1.2.1)
activesupport (>= 6.1)
guard (2.18.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
Expand All @@ -124,8 +124,8 @@ GEM
guard-shell (0.7.2)
guard (>= 2.0.0)
guard-compat (~> 1.0)
hiredis-client (0.16.0)
redis-client (= 0.16.0)
hiredis-client (0.17.0)
redis-client (= 0.17.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
json (2.6.3)
Expand All @@ -148,7 +148,7 @@ GEM
method_source (1.0.0)
mini_mime (1.1.5)
mini_portile2 (2.8.4)
minitest (5.19.0)
minitest (5.20.0)
msgpack (1.7.2)
nenv (0.3.0)
net-imap (0.3.7)
Expand All @@ -160,7 +160,7 @@ GEM
timeout
net-smtp (0.3.3)
net-protocol
newrelic_rpm (9.4.1)
newrelic_rpm (9.5.0)
nio4r (2.5.9)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
Expand All @@ -170,51 +170,51 @@ GEM
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
oj (3.16.0)
oj (3.16.1)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
racc
pg (1.5.3)
pg (1.5.4)
pgreset (0.3)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
puma (6.3.0)
puma (6.3.1)
nio4r (~> 2.0)
racc (1.7.1)
rack (2.2.8)
rack-brotli (1.2.0)
brotli (>= 0.1.7)
rack (>= 1.4)
rack-proxy (0.7.6)
rack-proxy (0.7.7)
rack
rack-test (2.1.0)
rack (>= 1.3)
rails (7.0.7)
actioncable (= 7.0.7)
actionmailbox (= 7.0.7)
actionmailer (= 7.0.7)
actionpack (= 7.0.7)
actiontext (= 7.0.7)
actionview (= 7.0.7)
activejob (= 7.0.7)
activemodel (= 7.0.7)
activerecord (= 7.0.7)
activestorage (= 7.0.7)
activesupport (= 7.0.7)
rails (7.0.8)
actioncable (= 7.0.8)
actionmailbox (= 7.0.8)
actionmailer (= 7.0.8)
actionpack (= 7.0.8)
actiontext (= 7.0.8)
actionview (= 7.0.8)
activejob (= 7.0.8)
activemodel (= 7.0.8)
activerecord (= 7.0.8)
activestorage (= 7.0.8)
activesupport (= 7.0.8)
bundler (>= 1.15.0)
railties (= 7.0.7)
railties (= 7.0.8)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.7)
actionpack (= 7.0.7)
activesupport (= 7.0.7)
railties (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand All @@ -232,11 +232,11 @@ GEM
tilt
redis (5.0.7)
redis-client (>= 0.9.0)
redis-client (0.16.0)
redis-client (0.17.0)
connection_pool
regexp_parser (2.8.1)
rexml (3.2.6)
rubocop (1.56.0)
rubocop (1.56.3)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand All @@ -250,10 +250,10 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-performance (1.19.0)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.20.2)
rubocop-rails (2.21.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand All @@ -280,14 +280,14 @@ GEM
temple (0.10.2)
terminal-notifier-guard (1.7.0)
thor (1.2.2)
tilt (2.2.0)
tilt (2.3.0)
timeout (0.4.0)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
web-console (4.2.0)
web-console (4.2.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
Expand Down
3 changes: 2 additions & 1 deletion config/shakapacker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ development:
hmr: false
# Inline should be set to true if using HMR
inline: true
overlay: true
compress: true
disable_host_check: true
use_local_ip: false
quiet: false
client:
overlay: false
headers:
'Access-Control-Allow-Origin': '*'
watch_options:
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/buoys.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace :buoys do

hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency)

Buoy.all.each do |buoy|
Buoy.find_each do |buoy|
ApiRequest.new(batch: @batch, requestable: buoy, service: BuoyReport, hydra:).get
end

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/msw.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :msw do

hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency)

Spot.where.not(msw_id: nil).each do |spot|
Spot.where.not(msw_id: nil).find_each do |spot|
ApiRequest.new(batch: @batch, requestable: spot, service: Msw, hydra:, typhoeus_opts: { cookie: "MSW_session=#{ENV.fetch('MSW_SESSION_ID', nil)}" }).get
end

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/spitcast_v1.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :spitcast_v1 do

hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency)

Spot.where.not(spitcast_id: nil).each do |spot|
Spot.where.not(spitcast_id: nil).find_each do |spot|
ApiRequest.new(batch: @batch, requestable: spot, service: SpitcastV1, hydra:).get
end

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/spitcast_v2.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace :spitcast_v2 do
# pipelining 2 means HTTP/2 multiplexing https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html
hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency, pipelining: 2)

Spot.where.not(spitcast_id: nil).each do |spot|
Spot.where.not(spitcast_id: nil).find_each do |spot|
ApiRequest.new(batch: @batch, requestable: spot, service: SpitcastV2, hydra:).get
end

Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/surfline_v1.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :surfline_v1 do

hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency)

Spot.where.not(surfline_v1_id: nil).each do |spot|
Spot.where.not(surfline_v1_id: nil).find_each do |spot|
ApiRequest.new(batch: @batch, requestable: spot, service: SurflineNearshore, options: { get_all_spots: false }, hydra:).get
ApiRequest.new(batch: @batch, requestable: spot, service: SurflineLola, options: { get_all_spots: false }, hydra:).get
end
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/surfline_v2.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :surfline_v2 do

hydra = Typhoeus::Hydra.new(max_concurrency: @batch.concurrency)

Spot.where.not(surfline_v2_id: nil).each do |spot|
Spot.where.not(surfline_v2_id: nil).find_each do |spot|
ApiRequest.new(batch: @batch, requestable: spot, service: SurflineV2Lotus, hydra:).get
end

Expand Down
Loading

0 comments on commit f8c14af

Please sign in to comment.