commit
86127d1d69
14
.github/workflows/workflow.yml
vendored
Normal file
14
.github/workflows/workflow.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: Do Things
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '2.6.x'
|
||||
- run: |
|
||||
gem install bundler
|
||||
bundle install --jobs 4 --retry 3
|
||||
bundle exec rake
|
@ -1,4 +1,7 @@
|
||||
inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.6
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This configuration was generated by
|
||||
# `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
|
||||
# one by one as the offenses are removed from the code base.
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
|
@ -1,6 +0,0 @@
|
||||
language: ruby
|
||||
dist: trusty
|
||||
rvm: 2.4.2
|
||||
cache: bundler
|
||||
notifications:
|
||||
email: false
|
4
Gemfile
4
Gemfile
@ -1,6 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
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 'pry', group: %i[development test]
|
||||
|
48
Gemfile.lock
48
Gemfile.lock
@ -1,37 +1,39 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
ast (2.3.0)
|
||||
aws-sdk (2.10.117)
|
||||
aws-sdk-resources (= 2.10.117)
|
||||
aws-sdk-core (2.10.117)
|
||||
ast (2.4.0)
|
||||
aws-eventstream (1.0.3)
|
||||
aws-sdk (2.11.421)
|
||||
aws-sdk-resources (= 2.11.421)
|
||||
aws-sdk-core (2.11.421)
|
||||
aws-sigv4 (~> 1.0)
|
||||
jmespath (~> 1.0)
|
||||
aws-sdk-resources (2.10.117)
|
||||
aws-sdk-core (= 2.10.117)
|
||||
aws-sigv4 (1.0.2)
|
||||
aws-sdk-resources (2.11.421)
|
||||
aws-sdk-core (= 2.11.421)
|
||||
aws-sigv4 (1.1.0)
|
||||
aws-eventstream (~> 1.0, >= 1.0.2)
|
||||
coderay (1.1.2)
|
||||
jmespath (1.3.1)
|
||||
method_source (0.9.0)
|
||||
parallel (1.12.1)
|
||||
parser (2.4.0.2)
|
||||
ast (~> 2.3)
|
||||
powerpack (0.1.1)
|
||||
pry (0.11.3)
|
||||
jaro_winkler (1.5.4)
|
||||
jmespath (1.4.0)
|
||||
method_source (0.9.2)
|
||||
parallel (1.19.1)
|
||||
parser (2.7.0.1)
|
||||
ast (~> 2.4.0)
|
||||
pry (0.12.2)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.9.0)
|
||||
rack (2.0.3)
|
||||
rack (2.0.8)
|
||||
rainbow (3.0.0)
|
||||
rake (12.3.0)
|
||||
rubocop (0.52.1)
|
||||
rake (13.0.1)
|
||||
rubocop (0.78.0)
|
||||
jaro_winkler (~> 1.5.1)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 2.4.0.2, < 3.0)
|
||||
powerpack (~> 0.1)
|
||||
parser (>= 2.6)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (~> 1.0, >= 1.0.1)
|
||||
ruby-progressbar (1.9.0)
|
||||
unicode-display_width (1.3.0)
|
||||
unicode-display_width (>= 1.4.0, < 1.7)
|
||||
ruby-progressbar (1.10.1)
|
||||
unicode-display_width (1.6.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@ -44,4 +46,4 @@ DEPENDENCIES
|
||||
rubocop
|
||||
|
||||
BUNDLED WITH
|
||||
1.16.1
|
||||
2.1.2
|
||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright © 2017 Dan Buch
|
||||
Copyright © 2020 Dan Buch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
2
Rakefile
2
Rakefile
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require 'rubocop/rake_task'
|
||||
rescue LoadError => e
|
||||
|
@ -1 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
run ->(*) { [301, { 'Location' => ENV['CPI_FEED_URL'] }, []] }
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'aws-sdk'
|
||||
|
||||
class MiniS3put
|
||||
|
Loading…
Reference in New Issue
Block a user