Skip to content

Commit 14521f8

Browse files
committed
Attempt to set up Github for ease of development
1 parent ae0b79c commit 14521f8

16 files changed

+531
-12
lines changed

.envrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
use_devbox() {
2+
watch_file devbox.json
3+
eval $(devbox shell --print-env)
4+
}
5+
6+
# use devbox

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ['2.7']
17+
ruby: ['2.7.6']
1818

1919
steps:
2020
- name: Checkout

.gitignore

+1-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
.DS_Store
33
.bundle
44
.gems
5-
.rbenv-version
6-
.ruby-*
7-
/.idea/
8-
/.rbx
9-
/.rvmrc
10-
/.yardoc/*
11-
/Gemfile.lock
5+
/out
126
/coverage/*
137
/dist
148
/doc/*

.gitpod.Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM gitpod/workspace-full
2+
USER gitpod
3+
4+
# Install Ruby version 2.7.6 and set it as default
5+
RUN _ruby_version=ruby-2.7.6 \
6+
&& printf "rvm_gems_path=/home/gitpod/.rvm\n" > ~/.rvmrc \
7+
&& bash -lc "rvm reinstall ${_ruby_version} && \
8+
rvm use ${_ruby_version} --default" \
9+
&& printf "rvm_gems_path=/workspace/.rvm" > ~/.rvmrc \
10+
&& printf "{ rvm use \$(rvm current); } >/dev/null 2>&1\n" >> "$HOME/.bashrc.d/70-ruby"
11+

.gitpod.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
github:
5+
prebuilds:
6+
develop: true
7+
# enable for pull requests coming from this repo (defaults to true)
8+
pullRequests: true
9+
10+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
11+
addComment: true
12+
13+
# add a "Review in Gitpod" button to pull requests (defaults to false)
14+
addBadge: true
15+
16+
# add a label once the prebuild is ready to pull requests (defaults to false)
17+
addLabel: prebuilt-in-gitpod
18+
19+
tasks:
20+
- init: bundle install

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

+57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.rbenv-gemsets

-1
This file was deleted.

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.6

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

3-
ruby '>= 2.4.0'
3+
ruby '>= 2.7.6'
44

55
gem 'activerecord', '>= 4.2.5', '< 6', require: false
6-
gem 'rake', require: false
6+
gem 'rake', '>= 13.0.6'
77

88
group :development do
99
gem 'bump'

Gemfile.lock

+231
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activemodel (5.2.8.1)
5+
activesupport (= 5.2.8.1)
6+
activerecord (5.2.8.1)
7+
activemodel (= 5.2.8.1)
8+
activesupport (= 5.2.8.1)
9+
arel (>= 9.0)
10+
activesupport (5.2.8.1)
11+
concurrent-ruby (~> 1.0, >= 1.0.2)
12+
i18n (>= 0.7, < 2)
13+
minitest (~> 5.1)
14+
tzinfo (~> 1.1)
15+
addressable (2.8.1)
16+
public_suffix (>= 2.0.2, < 6.0)
17+
arel (9.0.0)
18+
ast (2.4.2)
19+
bump (0.10.0)
20+
byebug (11.1.3)
21+
childprocess (4.1.0)
22+
codeclimate-test-reporter (1.0.7)
23+
simplecov
24+
coderay (1.1.3)
25+
concurrent-ruby (1.1.10)
26+
coveralls (0.8.23)
27+
json (>= 1.8, < 3)
28+
simplecov (~> 0.16.1)
29+
term-ansicolor (~> 1.3)
30+
thor (>= 0.19.4, < 2.0)
31+
tins (~> 1.6)
32+
diff-lcs (1.5.0)
33+
docile (1.4.0)
34+
faraday (1.10.2)
35+
faraday-em_http (~> 1.0)
36+
faraday-em_synchrony (~> 1.0)
37+
faraday-excon (~> 1.1)
38+
faraday-httpclient (~> 1.0)
39+
faraday-multipart (~> 1.0)
40+
faraday-net_http (~> 1.0)
41+
faraday-net_http_persistent (~> 1.0)
42+
faraday-patron (~> 1.0)
43+
faraday-rack (~> 1.0)
44+
faraday-retry (~> 1.0)
45+
ruby2_keywords (>= 0.0.4)
46+
faraday-em_http (1.0.0)
47+
faraday-em_synchrony (1.0.0)
48+
faraday-excon (1.1.0)
49+
faraday-httpclient (1.0.1)
50+
faraday-multipart (1.0.4)
51+
multipart-post (~> 2)
52+
faraday-net_http (1.0.1)
53+
faraday-net_http_persistent (1.2.0)
54+
faraday-patron (1.0.0)
55+
faraday-rack (1.0.0)
56+
faraday-retry (1.0.3)
57+
faraday_middleware (1.2.0)
58+
faraday (~> 1.0)
59+
ffi (1.15.5)
60+
files (0.4.0)
61+
formatador (1.1.0)
62+
gh (0.18.0)
63+
activesupport (~> 5.0)
64+
addressable (~> 2.4)
65+
faraday (~> 1.0)
66+
faraday_middleware (~> 1.0)
67+
multi_json (~> 1.0)
68+
net-http-persistent (~> 2.9)
69+
net-http-pipeline
70+
git (1.13.0)
71+
addressable (~> 2.8)
72+
rchardet (~> 1.8)
73+
guard (2.18.0)
74+
formatador (>= 0.2.4)
75+
listen (>= 2.7, < 4.0)
76+
lumberjack (>= 1.0.12, < 2.0)
77+
nenv (~> 0.1)
78+
notiffany (~> 0.0)
79+
pry (>= 0.13.0)
80+
shellany (~> 0.0)
81+
thor (>= 0.18.1)
82+
guard-compat (1.2.1)
83+
guard-rspec (4.7.3)
84+
guard (~> 2.1)
85+
guard-compat (~> 1.1)
86+
rspec (>= 2.99.0, < 4.0)
87+
highline (2.0.3)
88+
i18n (1.12.0)
89+
concurrent-ruby (~> 1.0)
90+
iniparse (1.5.0)
91+
json (2.6.3)
92+
json_pure (2.6.3)
93+
launchy (2.4.3)
94+
addressable (~> 2.3)
95+
listen (3.7.1)
96+
rb-fsevent (~> 0.10, >= 0.10.3)
97+
rb-inotify (~> 0.9, >= 0.9.10)
98+
lumberjack (1.2.8)
99+
method_source (1.0.0)
100+
mg (0.0.8)
101+
rake
102+
minitest (5.16.3)
103+
multi_json (1.15.0)
104+
multipart-post (2.2.3)
105+
nenv (0.3.0)
106+
net-http-persistent (2.9.4)
107+
net-http-pipeline (1.0.1)
108+
notiffany (0.1.3)
109+
nenv (~> 0.1)
110+
shellany (~> 0.0)
111+
overcommit (0.59.1)
112+
childprocess (>= 0.6.3, < 5)
113+
iniparse (~> 1.4)
114+
rexml (~> 3.2)
115+
parallel (1.22.1)
116+
parser (3.1.3.0)
117+
ast (~> 2.4.1)
118+
pry (0.14.1)
119+
coderay (~> 1.1)
120+
method_source (~> 1.0)
121+
pry-byebug (3.10.1)
122+
byebug (~> 11.0)
123+
pry (>= 0.13, < 0.15)
124+
public_suffix (5.0.1)
125+
pusher-client (0.6.2)
126+
json
127+
websocket (~> 1.0)
128+
rainbow (3.1.1)
129+
rake (13.0.6)
130+
rb-fsevent (0.11.2)
131+
rb-inotify (0.10.1)
132+
ffi (~> 1.0)
133+
rchardet (1.8.0)
134+
regexp_parser (2.6.1)
135+
rexml (3.2.5)
136+
rspec (3.12.0)
137+
rspec-core (~> 3.12.0)
138+
rspec-expectations (~> 3.12.0)
139+
rspec-mocks (~> 3.12.0)
140+
rspec-core (3.12.0)
141+
rspec-support (~> 3.12.0)
142+
rspec-expectations (3.12.1)
143+
diff-lcs (>= 1.2.0, < 2.0)
144+
rspec-support (~> 3.12.0)
145+
rspec-mocks (3.12.1)
146+
diff-lcs (>= 1.2.0, < 2.0)
147+
rspec-support (~> 3.12.0)
148+
rspec-support (3.12.0)
149+
rubocop (1.12.1)
150+
parallel (~> 1.10)
151+
parser (>= 3.0.0.0)
152+
rainbow (>= 2.2.2, < 4.0)
153+
regexp_parser (>= 1.8, < 3.0)
154+
rexml
155+
rubocop-ast (>= 1.2.0, < 2.0)
156+
ruby-progressbar (~> 1.7)
157+
unicode-display_width (>= 1.4.0, < 3.0)
158+
rubocop-ast (1.24.0)
159+
parser (>= 3.1.1.0)
160+
rubocop-rake (0.6.0)
161+
rubocop (~> 1.0)
162+
rubocop-rspec (2.2.0)
163+
rubocop (~> 1.0)
164+
rubocop-ast (>= 1.1.0)
165+
ruby-progressbar (1.11.0)
166+
ruby2_keywords (0.0.5)
167+
ruby_dep (1.5.0)
168+
shellany (0.0.1)
169+
simplecov (0.16.1)
170+
docile (~> 1.1)
171+
json (>= 1.8, < 3)
172+
simplecov-html (~> 0.10.0)
173+
simplecov-html (0.10.2)
174+
sync (0.5.0)
175+
term-ansicolor (1.7.1)
176+
tins (~> 1.0)
177+
terminal-notifier-guard (1.7.0)
178+
thor (1.2.1)
179+
thread_safe (0.3.6)
180+
tins (1.32.1)
181+
sync
182+
travis (1.11.1)
183+
faraday (~> 1.0)
184+
faraday_middleware (~> 1.0)
185+
gh (~> 0.13)
186+
highline (~> 2.0)
187+
json_pure (~> 2.3)
188+
launchy (~> 2.1, < 2.5.0)
189+
pusher-client (~> 0.4)
190+
tzinfo (1.2.10)
191+
thread_safe (~> 0.1)
192+
unicode-display_width (2.3.0)
193+
webrick (1.7.0)
194+
websocket (1.2.9)
195+
yard (0.9.28)
196+
webrick (~> 1.7.0)
197+
198+
PLATFORMS
199+
arm64-darwin-21
200+
arm64-darwin-22
201+
x86_64-linux
202+
203+
DEPENDENCIES
204+
activerecord (>= 4.2.5, < 6)
205+
bump
206+
byebug
207+
codeclimate-test-reporter
208+
coveralls
209+
files
210+
git
211+
guard-rspec
212+
mg
213+
overcommit
214+
pry
215+
pry-byebug
216+
rake (>= 13.0.6)
217+
rspec
218+
rubocop (~> 1.12.0)
219+
rubocop-rake
220+
rubocop-rspec (~> 2.2.0)
221+
ruby_dep (= 1.5.0)
222+
simplecov
223+
terminal-notifier-guard
224+
travis
225+
yard
226+
227+
RUBY VERSION
228+
ruby 2.7.6p219
229+
230+
BUNDLED WITH
231+
2.4.1

0 commit comments

Comments
 (0)