Skip to content

Commit e1f7d23

Browse files
committed
Create Ruby representer
0 parents  commit e1f7d23

14 files changed

+833
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tmp/

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ruby:2.5-alpine
2+
3+
RUN apk update && apk upgrade && \
4+
apk add --no-cache bash git openssh && \
5+
apk add build-base gcc wget git
6+
7+
RUN mkdir /opt/representer
8+
COPY . /opt/representer
9+
WORKDIR /opt/representer
10+
RUN bundle install

Gemfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
source 'https://rubygems.org'
2+
3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
8+
gem 'mandate'
9+
gem 'rake'
10+
gem 'json'
11+
gem 'activesupport'
12+
13+
gem 'parser'
14+
gem 'rubocop'
15+
16+
group :test do
17+
gem 'minitest', '~> 5.10', '!= 5.10.2'
18+
gem 'minitest-stub-const'
19+
gem 'mocha'
20+
gem 'pry'
21+
end

Gemfile.lock

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (5.2.2)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
6+
i18n (>= 0.7, < 2)
7+
minitest (~> 5.1)
8+
tzinfo (~> 1.1)
9+
ast (2.4.0)
10+
coderay (1.1.2)
11+
concurrent-ruby (1.1.4)
12+
i18n (1.5.3)
13+
concurrent-ruby (~> 1.0)
14+
jaro_winkler (1.5.2)
15+
json (2.1.0)
16+
mandate (0.2.0)
17+
metaclass (0.0.4)
18+
method_source (0.9.2)
19+
minitest (5.11.3)
20+
minitest-stub-const (0.6)
21+
mocha (1.7.0)
22+
metaclass (~> 0.0.1)
23+
parallel (1.13.0)
24+
parser (2.6.0.0)
25+
ast (~> 2.4.0)
26+
powerpack (0.1.2)
27+
pry (0.12.2)
28+
coderay (~> 1.1.0)
29+
method_source (~> 0.9.0)
30+
rainbow (3.0.0)
31+
rake (12.3.1)
32+
rubocop (0.64.0)
33+
jaro_winkler (~> 1.5.1)
34+
parallel (~> 1.10)
35+
parser (>= 2.5, != 2.5.1.1)
36+
powerpack (~> 0.1)
37+
rainbow (>= 2.2.2, < 4.0)
38+
ruby-progressbar (~> 1.7)
39+
unicode-display_width (~> 1.4.0)
40+
ruby-progressbar (1.10.0)
41+
thread_safe (0.3.6)
42+
tzinfo (1.2.5)
43+
thread_safe (~> 0.1)
44+
unicode-display_width (1.4.1)
45+
46+
PLATFORMS
47+
ruby
48+
49+
DEPENDENCIES
50+
activesupport
51+
json
52+
mandate
53+
minitest (~> 5.10, != 5.10.2)
54+
minitest-stub-const
55+
mocha
56+
parser
57+
pry
58+
rake
59+
rubocop
60+
61+
BUNDLED WITH
62+
1.16.4

0 commit comments

Comments
 (0)