diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 68e042f..0000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -ruby-2.7.0 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 76e4595..beeb30e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM ruby:2.7.0 +FROM ruby:latest RUN apt-get update -qq && apt-get install -y nodejs postgresql-client less WORKDIR /data_importer COPY Gemfile /data_importer/Gemfile diff --git a/Gemfile b/Gemfile index 9798107..97e6415 100644 --- a/Gemfile +++ b/Gemfile @@ -2,8 +2,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } - -ruby '2.7.0' +ruby ENV['RUBY_VERSION'] # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'actionpack' diff --git a/Gemfile.lock b/Gemfile.lock index b05d148..7a191ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -150,11 +150,11 @@ GEM ffi-compiler (1.0.1) ffi (>= 1.0.0) rake - git (1.10.2) + git (1.11.0) rchardet (~> 1.8) globalid (1.0.0) activesupport (>= 5.0) - graphql (1.13.11) + graphql (1.13.12) graphql-client (0.17.0) activesupport (>= 3.0) graphql (~> 1.10) @@ -177,10 +177,9 @@ GEM jbuilder (2.11.5) actionview (>= 5.0.0) activesupport (>= 5.0.0) - listen (3.1.5) + listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) loofah (2.16.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) @@ -195,9 +194,8 @@ GEM mime-types-data (~> 3.2015) mime-types-data (3.2022.0105) mini_mime (1.1.2) - mini_portile2 (2.8.0) minitest (5.15.0) - msgpack (1.5.0) + msgpack (1.5.1) multipart-post (2.1.1) naught (1.1.0) net-imap (0.2.3) @@ -216,19 +214,18 @@ GEM timeout netrc (0.11.0) nio4r (2.5.8) - nokogiri (1.13.3) - mini_portile2 (~> 2.8.0) + nokogiri (1.13.4-x86_64-linux) racc (~> 1.4) parallel (1.22.1) - parser (3.1.1.0) + parser (3.1.2.0) ast (~> 2.4.1) pg (1.3.5) - pry (0.14.1) + pry (0.13.1) coderay (~> 1.1) method_source (~> 1.0) - pry-byebug (3.8.0) + pry-byebug (3.9.0) byebug (~> 11.0) - pry (~> 0.10) + pry (~> 0.13.0) pry-doc (1.3.0) pry (~> 0.11) yard (~> 0.9.11) @@ -239,7 +236,7 @@ GEM pry (>= 0.12.0) pry-theme (1.3.1) coderay (~> 1.1) - public_suffix (4.0.6) + public_suffix (4.0.7) puma (3.12.6) racc (1.6.0) rack (2.2.3) @@ -277,7 +274,7 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) rchardet (1.8.0) - regexp_parser (2.2.1) + regexp_parser (2.3.0) rest-client (2.1.0) http-accept (>= 1.7.0, < 2.0) http-cookie (>= 1.0.2, < 2.0) @@ -285,13 +282,13 @@ GEM netrc (~> 0.8) retryable (3.0.5) rexml (3.2.5) - rubocop (1.27.0) + rubocop (1.28.1) parallel (~> 1.10) parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml - rubocop-ast (>= 1.16.0, < 2.0) + rubocop-ast (>= 1.17.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.17.0) @@ -304,7 +301,6 @@ GEM rubocop (>= 1.7.0, < 2.0) ruby-progressbar (1.11.0) ruby2_keywords (0.0.5) - ruby_dep (1.5.0) rubyzip (2.3.2) sass-rails (6.0.0) sassc-rails (~> 2.1, >= 2.1.1) @@ -375,7 +371,7 @@ GEM zeitwerk (2.5.4) PLATFORMS - ruby + x86_64-linux DEPENDENCIES actionpack @@ -420,7 +416,7 @@ DEPENDENCIES web-console (>= 3.3.0) RUBY VERSION - ruby 2.7.0p0 + ruby 3.1.2p20 BUNDLED WITH - 2.1.2 + 2.3.7