Browse Source

Maintenance: Updated Ruby dependency to 2.6.5.

Mantas Masalskis 5 years ago
parent
commit
e865826810
5 changed files with 12 additions and 9 deletions
  1. 1 1
      .github/workflows/ci.yaml
  2. 5 2
      .gitlab-ci.yml
  3. 1 1
      .ruby-version
  4. 1 1
      Gemfile
  5. 4 4
      Gemfile.lock

+ 1 - 1
.github/workflows/ci.yaml

@@ -47,7 +47,7 @@ jobs:
       - name: Set up Ruby
         uses: ruby/setup-ruby@v1
         with:
-          ruby-version: 2.5.5
+          ruby-version: 2.6.5
       - name: Increase MySQL max_allowed_packet to 1GB (workaround for unknown/missing service option)
         run: |
           sudo apt-get install -y mysql-client

+ 5 - 2
.gitlab-ci.yml

@@ -1,4 +1,4 @@
-image: registry.znuny.com/docker/zammad-ruby:2.5.5
+image: registry.znuny.com/docker/zammad-ruby:2.6.5
 
 # Global variables added to the ENV of each job
 variables:
@@ -60,8 +60,11 @@ variables:
       alias: postgresql
 
 # Cache gems in between jobs and pipelines
+# ATTENTION: We use a combination of the Ruby major and minor version number
+# as a key for the cache to avoid cache growth and incompatibilities between
+# the gems. Search hook: 2.6.5 (change it when updating the Ruby version too)
 cache:
-  key: "ruby25"
+  key: "ruby26"
   paths:
     - vendor/ruby
 

+ 1 - 1
.ruby-version

@@ -1 +1 @@
-2.5.5
+2.6.5

+ 1 - 1
Gemfile

@@ -1,7 +1,7 @@
 source 'https://rubygems.org'
 
 # core - base
-ruby '2.5.5'
+ruby '2.6.5'
 gem 'rails', '5.2.4.1'
 
 # core - rails additions

+ 4 - 4
Gemfile.lock

@@ -263,7 +263,7 @@ GEM
       addressable
       faraday
       json (>= 1.8)
-    libv8 (6.7.288.46.1)
+    libv8 (7.3.492.27.1)
     listen (3.1.5)
       rb-fsevent (~> 0.9, >= 0.9.4)
       rb-inotify (~> 0.9, >= 0.9.7)
@@ -287,8 +287,8 @@ GEM
     mimemagic (0.3.3)
     mini_mime (1.0.2)
     mini_portile2 (2.4.0)
-    mini_racer (0.2.4)
-      libv8 (>= 6.3)
+    mini_racer (0.2.9)
+      libv8 (>= 6.9.411)
     minitest (5.13.0)
     msgpack (1.2.4)
     multi_json (1.14.1)
@@ -666,7 +666,7 @@ DEPENDENCIES
   zendesk_api
 
 RUBY VERSION
-   ruby 2.5.5p157
+   ruby 2.6.5p114
 
 BUNDLED WITH
    1.17.3