Browse Source

Merge pull request #2393 from freeCodeCamp/renovate/ruby-3.x

chore(deps): update dependency ruby to v3.4.1
Simon Legner 11 months ago
parent
commit
367af74a24
7 changed files with 12 additions and 8 deletions
  1. 1 1
      .ruby-version
  2. 1 1
      .tool-versions
  3. 1 1
      Dockerfile
  4. 1 1
      Dockerfile-alpine
  5. 1 1
      Gemfile
  6. 6 2
      Gemfile.lock
  7. 1 1
      test/lib/docs/core/manifest_test.rb

+ 1 - 1
.ruby-version

@@ -1 +1 @@
-3.3.6
+3.4.1

+ 1 - 1
.tool-versions

@@ -1 +1 @@
-ruby 3.3.6
+ruby 3.4.1

+ 1 - 1
Dockerfile

@@ -1,4 +1,4 @@
-FROM ruby:3.3.6
+FROM ruby:3.4.1
 ENV LANG=C.UTF-8
 ENV ENABLE_SERVICE_WORKER=true
 

+ 1 - 1
Dockerfile-alpine

@@ -1,4 +1,4 @@
-FROM ruby:3.3.6-alpine
+FROM ruby:3.4.1-alpine
 
 ENV LANG=C.UTF-8
 ENV ENABLE_SERVICE_WORKER=true

+ 1 - 1
Gemfile

@@ -1,5 +1,5 @@
 source 'https://rubygems.org'
-ruby '3.3.6'
+ruby '3.4.1'
 
 gem 'activesupport', require: false
 gem 'html-pipeline'

+ 6 - 2
Gemfile.lock

@@ -36,7 +36,8 @@ GEM
     exifr (1.4.0)
     ffi (1.15.5)
     fspath (3.1.2)
-    highline (2.0.3)
+    highline (3.1.2)
+      reline
     html-pipeline (2.14.3)
       activesupport (>= 2)
       nokogiri (>= 1.4)
@@ -53,6 +54,7 @@ GEM
       image_optim (~> 0.19)
     image_size (3.3.0)
     in_threads (1.6.0)
+    io-console (0.8.0)
     logger (1.6.2)
     method_source (1.0.0)
     mini_portile2 (2.8.8)
@@ -88,6 +90,8 @@ GEM
     rb-inotify (0.10.1)
       ffi (~> 1.0)
     redcarpet (3.6.0)
+    reline (0.6.0)
+      io-console (~> 0.5)
     rexml (3.3.9)
     rouge (1.11.1)
     rr (3.1.1)
@@ -187,7 +191,7 @@ DEPENDENCIES
   yajl-ruby
 
 RUBY VERSION
-   ruby 3.3.6p108
+   ruby 3.4.1p0
 
 BUNDLED WITH
    2.4.6

+ 1 - 1
test/lib/docs/core/manifest_test.rb

@@ -64,7 +64,7 @@ class ManifestTest < Minitest::Spec
       it "includes the doc's meta representation" do
         json = manifest.as_json
         assert_equal 1, json.length
-        assert_equal "{\"name\"=>\"Test\", \"db_size\"=>776533, :attribution=>\"foo\", :alias=>nil}", json[0].to_s
+        assert_equal "{\"name\" => \"Test\", \"db_size\" => 776533, attribution: \"foo\", alias: nil}", json[0].to_s
       end
     end