diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a909720..c041579e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.7', '3.0.1' ] + ruby: [ '3.1.6','3.2.4' ] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v3 diff --git a/.ruby-version b/.ruby-version index 860487ca..0aec50e6 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.1 +3.1.4 diff --git a/Gemfile.lock b/Gemfile.lock index a7bf45bc..9fd69f18 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,22 +1,22 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.1) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) builder (3.2.4) colorator (1.1.0) - concurrent-ruby (1.1.10) + concurrent-ruby (1.3.3) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - ffi (1.15.5) + ffi (1.17.0) forwardable-extended (2.6.0) - google-protobuf (3.23.0) + google-protobuf (3.25.3) http_parser.rb (0.8.0) - i18n (1.12.0) + i18n (1.14.5) concurrent-ruby (~> 1.0) - jekyll (4.3.1) + jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -45,28 +45,30 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) - listen (3.7.1) + liquid (4.0.4) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.1) - rake (13.0.6) + public_suffix (6.0.0) + rake (13.2.1) rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) - rexml (3.2.5) - rouge (4.0.1) + rexml (3.3.1) + strscan + rouge (4.3.0) safe_yaml (1.0.5) - sass-embedded (1.62.1) - google-protobuf (~> 3.21) - rake (>= 10.0.0) + sass-embedded (1.69.5) + google-protobuf (~> 3.23) + rake (>= 13.0.0) + strscan (3.1.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.3.0) - webrick (1.7.0) + unicode-display_width (2.5.0) + webrick (1.8.1) PLATFORMS ruby @@ -79,4 +81,4 @@ DEPENDENCIES jekyll-paginate BUNDLED WITH - 2.2.23 + 2.5.14 diff --git a/_plugins/sitemap_generator.rb b/_plugins/sitemap_generator.rb index f9113427..447833cd 100644 --- a/_plugins/sitemap_generator.rb +++ b/_plugins/sitemap_generator.rb @@ -126,7 +126,7 @@ module Jekyll def fill_pages(site, urlset) site.pages.each do |page| if !excluded?(site, page.path_to_source) - if File.exists?(page.path) + if File.exist?(page.path) url = fill_url(site, page) urlset.add_element(url) end diff --git a/netlify.toml b/netlify.toml index a295a1ed..4bcdb178 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ command = "jekyll build --trace --limit-posts 10" [build.environment] - RUBY_VERSION = "2.7.1" + RUBY_VERSION = "3.1.4" [build.processing] - skip_processing = true \ No newline at end of file + skip_processing = true