Skip to content

Commit

Permalink
Updated ruby to 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BuffaloWill committed May 5, 2023
1 parent 75745d4 commit 52ed00e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ruby:2.7.7-slim
FROM ruby:3.2.2-slim

RUN apt-get update && \
apt-get install -y make git libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc && \
apt-get install -y make git libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc g++ && \
apt-get clean

WORKDIR /oxml_xxe
Expand Down
9 changes: 5 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
source "https://rubygems.org"

ruby "2.7.7"
ruby "3.2.2"

gem "slim"
gem "sinatra"
gem "slim"
gem "sinatra", '>2.0.0'
gem "haml"
gem "rubyzip"
gem "json"
gem "nokogiri"
gem "sequel"
gem "sqlite3"
gem "thin"
gem "rack"
gem "yaml"
gem "yaml"
24 changes: 15 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
GEM
remote: https://rubygems.org/
specs:
daemons (1.4.1)
eventmachine (1.2.7)
haml (6.1.1)
temple (>= 0.8.2)
thor
tilt
json (2.6.3)
mini_portile2 (2.8.2)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
nokogiri (1.14.3)
mini_portile2 (~> 2.8.0)
nokogiri (1.14.3-x86_64-linux)
racc (~> 1.4)
racc (1.6.2)
rack (2.2.7)
Expand All @@ -27,14 +27,18 @@ GEM
slim (5.1.0)
temple (~> 0.10.0)
tilt (>= 2.0.6, < 2.2)
sqlite3 (1.6.2)
mini_portile2 (~> 2.8.0)
sqlite3 (1.6.2-x86_64-linux)
temple (0.10.0)
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (1.2.1)
tilt (2.1.0)
yaml (0.2.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
haml
Expand All @@ -43,12 +47,14 @@ DEPENDENCIES
rack
rubyzip
sequel
sinatra
sinatra (> 2.0.0)
slim
sqlite3
thin
yaml

RUBY VERSION
ruby 2.7.7p221
ruby 3.2.2p53

BUNDLED WITH
2.1.4
2.4.12
1 change: 0 additions & 1 deletion server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@

get '/list' do
@files = Oxfile.all
p @files

slim :list
end
Expand Down

0 comments on commit 52ed00e

Please sign in to comment.