Bundle, gem, and rubocop updates

This commit is contained in:
Dan Buch 2019-12-31 10:12:30 -05:00
parent b7da2ae0d1
commit 4728282716
8 changed files with 39 additions and 26 deletions

View File

@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: actions/setup-ruby@v1 - uses: actions/setup-ruby@v1
with: with:
ruby-version: '2.x' ruby-version: '2.6.5'
- run: | - run: |
gem install bundler gem install bundler
bundle install --jobs 4 --retry 3 bundle install --jobs 4 --retry 3

View File

@ -1,4 +1,7 @@
inherit_from: .rubocop_todo.yml inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.6
Style/Documentation: Style/Documentation:
Enabled: false Enabled: false

View File

@ -1,6 +1,6 @@
# This configuration was generated by # This configuration was generated by
# `rubocop --auto-gen-config` # `rubocop --auto-gen-config`
# on 2018-01-13 11:27:47 -0500 using RuboCop version 0.52.1. # on 2019-12-31 10:11:37 -0500 using RuboCop version 0.78.0.
# The point is for the user to remove these configuration records # The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base. # one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new

View File

@ -1,6 +1,8 @@
# frozen_string_literal: true
source 'https://rubygems.org' source 'https://rubygems.org'
ruby '2.4.1' if ENV.key?('DYNO') ruby '2.6.5' if ENV.key?('DYNO')
gem 'aws-sdk', '~> 2' gem 'aws-sdk', '~> 2'
gem 'pry', group: %i[development test] gem 'pry', group: %i[development test]

View File

@ -1,37 +1,39 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ast (2.3.0) ast (2.4.0)
aws-sdk (2.10.117) aws-eventstream (1.0.3)
aws-sdk-resources (= 2.10.117) aws-sdk (2.11.421)
aws-sdk-core (2.10.117) aws-sdk-resources (= 2.11.421)
aws-sdk-core (2.11.421)
aws-sigv4 (~> 1.0) aws-sigv4 (~> 1.0)
jmespath (~> 1.0) jmespath (~> 1.0)
aws-sdk-resources (2.10.117) aws-sdk-resources (2.11.421)
aws-sdk-core (= 2.10.117) aws-sdk-core (= 2.11.421)
aws-sigv4 (1.0.2) aws-sigv4 (1.1.0)
aws-eventstream (~> 1.0, >= 1.0.2)
coderay (1.1.2) coderay (1.1.2)
jmespath (1.3.1) jaro_winkler (1.5.4)
method_source (0.9.0) jmespath (1.4.0)
parallel (1.12.1) method_source (0.9.2)
parser (2.4.0.2) parallel (1.19.1)
ast (~> 2.3) parser (2.7.0.1)
powerpack (0.1.1) ast (~> 2.4.0)
pry (0.11.3) pry (0.12.2)
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.9.0) method_source (~> 0.9.0)
rack (2.0.3) rack (2.0.8)
rainbow (3.0.0) rainbow (3.0.0)
rake (12.3.0) rake (13.0.1)
rubocop (0.52.1) rubocop (0.78.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 2.4.0.2, < 3.0) parser (>= 2.6)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1) unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.9.0) ruby-progressbar (1.10.1)
unicode-display_width (1.3.0) unicode-display_width (1.6.0)
PLATFORMS PLATFORMS
ruby ruby
@ -44,4 +46,4 @@ DEPENDENCIES
rubocop rubocop
BUNDLED WITH BUNDLED WITH
1.16.1 2.1.2

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
begin begin
require 'rubocop/rake_task' require 'rubocop/rake_task'
rescue LoadError => e rescue LoadError => e

View File

@ -1 +1,3 @@
# frozen_string_literal: true
run ->(*) { [301, { 'Location' => ENV['CPI_FEED_URL'] }, []] } run ->(*) { [301, { 'Location' => ENV['CPI_FEED_URL'] }, []] }

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'aws-sdk' require 'aws-sdk'
class MiniS3put class MiniS3put