From 2c0b1e49fcaf55dead76ec38aa020f4a5d45a0f7 Mon Sep 17 00:00:00 2001 From: Shinya Fujita Date: Tue, 4 May 2021 03:07:14 +0900 Subject: [PATCH] Update ruby version to 2.6.6 (#48) * Update ruby version to 2.6.6 * For executing CI * test * Update mimemagic * Update bundler version --- .ruby-version | 2 +- .travis.yml | 2 +- Gemfile | 3 ++- Gemfile.lock | 9 ++++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.ruby-version b/.ruby-version index 437459c..338a5b5 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.0 +2.6.6 diff --git a/.travis.yml b/.travis.yml index 7ddce94..b636675 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: ruby rvm: - - 2.5.0 + - 2.6.6 services: - postgresql diff --git a/Gemfile b/Gemfile index ba00e24..aa29232 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.5.0' +ruby '2.6.6' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") @@ -38,6 +38,7 @@ gem 'puma_worker_killer' gem 'twitter' gem 'activerecord-precounter' gem 'loofah', '>= 2.2.3' +gem "mimemagic", "~> 0.3.10" group :development, :test do gem 'byebug', platform: :mri diff --git a/Gemfile.lock b/Gemfile.lock index 21380e8..8016700 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -238,7 +238,9 @@ GEM thread_safe (~> 0.3, >= 0.3.1) memory_profiler (0.9.12) method_source (0.9.2) - mimemagic (0.3.2) + mimemagic (0.3.10) + nokogiri (~> 1) + rake mini_magick (4.9.4) mini_mime (1.0.1) mini_portile2 (2.3.0) @@ -467,6 +469,7 @@ DEPENDENCIES launchy listen (~> 3.0.5) loofah (>= 2.2.3) + mimemagic (~> 0.3.10) mini_magick pg poltergeist @@ -499,7 +502,7 @@ DEPENDENCIES webpacker (~> 3.0) RUBY VERSION - ruby 2.5.0p0 + ruby 2.6.6p146 BUNDLED WITH - 1.16.2 + 2.2.16