Skip to content

Commit

Permalink
Upgrade rubygem versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
yilinwei committed Feb 17, 2024
1 parent 89e8dba commit 53b45df
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 42 deletions.
9 changes: 4 additions & 5 deletions docs/_spec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
FROM ruby:2.7
FROM ruby:3.3

RUN apt-get install -y curl \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
&& curl -L https://www.npmjs.com/install.sh | sh

RUN gem update --system
RUN gem install sass-embedded -v 1.58.0
RUN gem install bundler:1.17.2 jekyll
RUN gem update --system 3.5.6
RUN gem install bundler:2.5.6

WORKDIR /srv/jekyll

COPY Gemfile .
COPY Gemfile.lock .
# COPY Gemfile.lock .


RUN echo -n "bundle version: " && bundle --version
Expand Down
10 changes: 5 additions & 5 deletions docs/_spec/Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# To build the spec on Travis CI
source "https://rubygems.org"
ruby "3.3"

gem "jekyll", "3.6.3"
gem "webrick"
gem "jekyll", "4.3.3"
gem "rouge"
# gem 's3_website'
gem "redcarpet", "3.5.1"
gem "rexml"
gem "sass-embedded"
gem "csv"
79 changes: 50 additions & 29 deletions docs/_spec/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,57 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
ffi (1.15.5)
concurrent-ruby (1.2.3)
csv (3.2.8)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
jekyll (3.6.3)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.14)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 1.7, < 3)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (1.5.1)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.3)
listen (3.7.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
public_suffix (5.0.4)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
redcarpet (3.5.1)
rouge (2.2.1)
rexml (3.2.6)
rouge (4.2.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
webrick (1.7.0)
sass-embedded (1.71.0-x86_64-linux-gnu)
google-protobuf (~> 3.25)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
jekyll (= 3.6.3)
redcarpet (= 3.5.1)
csv
jekyll (= 4.3.3)
rexml
rouge
webrick
sass-embedded

RUBY VERSION
ruby 3.3.0p0

BUNDLED WITH
2.3.5
2.5.6
6 changes: 3 additions & 3 deletions docs/_spec/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ versionCompareMessage: "an upcoming"
safe: true
lsi: false
highlighter: false
markdown: redcarpet
markdown: kramdown
encoding: utf-8
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data", "strikethrough", "lax_spacing", "space_after_headers", "superscript", "footnotes", "disable_indented_code_blocks"]
kramdown:
input: GFM

0 comments on commit 53b45df

Please sign in to comment.