-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from nytr0gen/master
Dependency conflicts fix
- Loading branch information
Showing
15 changed files
with
168 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
db | ||
!db/.gitkeep | ||
output | ||
!output/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ruby:2.3.8-slim | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y make git libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc && \ | ||
apt-get clean | ||
|
||
WORKDIR /oxml_xxe | ||
|
||
# install deps | ||
COPY Gemfile Gemfile.lock ./ | ||
RUN bundle install | ||
|
||
COPY . . | ||
|
||
EXPOSE 4567 | ||
CMD ruby server.rb -o 0.0.0.0 -p 4567 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
ruby "2.6.2" | ||
ruby "2.3.8" | ||
|
||
# Dependencies at Oct 31, 2017 | ||
gem 'sinatra', '1.4.8' | ||
gem 'haml', '5.0.4' # October 13, 2017 - https://rubygems.org/gems/haml/versions | ||
gem 'rubyzip', '1.2.1' # February 08, 2017 - https://rubygems.org/gems/rubyzip/versions | ||
gem 'json','1.8.6' | ||
gem 'nokogiri', '1.8.1' # September 19, 2017 - https://rubygems.org/gems/nokogiri/versions | ||
gem 'data_mapper', '1.2.0' | ||
gem 'dm-sqlite-adapter', '1.2.0' | ||
gem "sinatra", "1.4.8" | ||
gem "haml", "5.0.4" | ||
gem "rubyzip", "1.2.1" | ||
gem "json","1.8.6" | ||
gem "nokogiri", "1.8.1" | ||
gem "data_mapper", "1.2.0" | ||
gem "dm-sqlite-adapter", "1.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.7.0) | ||
public_suffix (>= 2.0.2, < 5.0) | ||
bcrypt (3.1.16) | ||
bcrypt-ruby (3.1.5) | ||
bcrypt (>= 3.1.3) | ||
data_mapper (1.2.0) | ||
dm-aggregates (~> 1.2.0) | ||
dm-constraints (~> 1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-migrations (~> 1.2.0) | ||
dm-serializer (~> 1.2.0) | ||
dm-timestamps (~> 1.2.0) | ||
dm-transactions (~> 1.2.0) | ||
dm-types (~> 1.2.0) | ||
dm-validations (~> 1.2.0) | ||
data_objects (0.10.17) | ||
addressable (~> 2.1) | ||
dm-aggregates (1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-constraints (1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-core (1.2.1) | ||
addressable (~> 2.3) | ||
dm-do-adapter (1.2.0) | ||
data_objects (~> 0.10.6) | ||
dm-core (~> 1.2.0) | ||
dm-migrations (1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-serializer (1.2.2) | ||
dm-core (~> 1.2.0) | ||
fastercsv (~> 1.5) | ||
json (~> 1.6) | ||
json_pure (~> 1.6) | ||
multi_json (~> 1.0) | ||
dm-sqlite-adapter (1.2.0) | ||
dm-do-adapter (~> 1.2.0) | ||
do_sqlite3 (~> 0.10.6) | ||
dm-timestamps (1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-transactions (1.2.0) | ||
dm-core (~> 1.2.0) | ||
dm-types (1.2.2) | ||
bcrypt-ruby (~> 3.0) | ||
dm-core (~> 1.2.0) | ||
fastercsv (~> 1.5) | ||
json (~> 1.6) | ||
multi_json (~> 1.0) | ||
stringex (~> 1.4) | ||
uuidtools (~> 2.1) | ||
dm-validations (1.2.0) | ||
dm-core (~> 1.2.0) | ||
do_sqlite3 (0.10.17) | ||
data_objects (= 0.10.17) | ||
fastercsv (1.5.5) | ||
haml (5.0.4) | ||
temple (>= 0.8.0) | ||
tilt | ||
json (1.8.6) | ||
json_pure (1.8.6) | ||
mini_portile2 (2.3.0) | ||
multi_json (1.15.0) | ||
nokogiri (1.8.1) | ||
mini_portile2 (~> 2.3.0) | ||
public_suffix (4.0.6) | ||
rack (1.6.13) | ||
rack-protection (1.5.5) | ||
rack | ||
rubyzip (1.2.1) | ||
sinatra (1.4.8) | ||
rack (~> 1.5) | ||
rack-protection (~> 1.4) | ||
tilt (>= 1.3, < 3) | ||
stringex (1.5.1) | ||
temple (0.8.2) | ||
tilt (2.0.10) | ||
uuidtools (2.2.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
data_mapper (= 1.2.0) | ||
dm-sqlite-adapter (= 1.2.0) | ||
haml (= 5.0.4) | ||
json (= 1.8.6) | ||
nokogiri (= 1.8.1) | ||
rubyzip (= 1.2.1) | ||
sinatra (= 1.4.8) | ||
|
||
RUBY VERSION | ||
ruby 2.3.5p376 | ||
|
||
BUNDLED WITH | ||
1.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: "2.2" | ||
|
||
services: | ||
|
||
web: | ||
build: . | ||
volumes: | ||
- ./db:/oxml_xxe/db | ||
- ./output:/oxml_xxe/output | ||
ports: | ||
- "127.0.0.1:4567:4567" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.