Skip to content

Commit 0456daf

Browse files
committed
Create ruby project files
0 parents  commit 0456daf

27 files changed

+627
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: RSpec and Rubocop
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
10+
jobs:
11+
ci:
12+
runs-on: ubuntu-latest
13+
name: RSpec and Rubocop
14+
timeout-minutes: 3
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ${{ env.ruby_version }}
21+
bundler-cache: true
22+
- name: Run rspec
23+
run: bundle exec rspec
24+
- name: Run rubocop
25+
run: bundle exec rubocop
26+
# - name: Upload coverage directory
27+
# if: always()
28+
# uses: actions/upload-artifact@v2
29+
# with:
30+
# name: coverage-report
31+
# path: coverage/

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/.bundle/
2+
/.yardoc
3+
/_yardoc/
4+
/coverage/
5+
/doc/
6+
/pkg/
7+
/spec/reports/
8+
/tmp/
9+
10+
/.rspec_status
11+
/.byebug_history
12+
13+
/.idea/
14+
/.env.*.local
15+
/.env.local

.rspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--format progress
2+
--color
3+
--require spec_helper
4+
--seed 0

.rubocop.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
AllCops:
2+
TargetRubyVersion: 3.2
3+
NewCops: enable
4+
5+
inherit_gem:
6+
foobara-rubocop-rules:
7+
- rules/*
8+
9+
Naming/FileName:
10+
inherit_mode:
11+
merge:
12+
- Exclude

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.4.2

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## [Unreleased]
2+
3+
- Move version.rb.erb to top-level
4+
5+
## [0.0.1] - 2025-04-19
6+
7+
- Initial release

Gemfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
require_relative "version"
2+
3+
source "https://rubygems.org"
4+
ruby Foobara::AuthHttp::MINIMUM_RUBY_VERSION
5+
6+
gemspec
7+
8+
gem "foobara-dotenv-loader", "~> 0.0.1"
9+
10+
gem "rake"
11+
12+
group :development do
13+
gem "foob"
14+
gem "foobara-rubocop-rules", "~> 0.0.1"
15+
gem "guard-rspec"
16+
gem "rubocop-rake"
17+
gem "rubocop-rspec"
18+
end
19+
20+
group :development, :test do
21+
gem "pry"
22+
gem "pry-byebug"
23+
# TODO: Just adding this to suppress warnings seemingly coming from pry-byebug. Can probably remove this once
24+
# pry-byebug has irb as a gem dependency
25+
gem "irb"
26+
end
27+
28+
group :test do
29+
gem "foobara-spec-helpers", "~> 0.0.1"
30+
gem "rspec"
31+
gem "rspec-its"
32+
gem "ruby-prof"
33+
gem "simplecov"
34+
gem "vcr"
35+
gem "webmock"
36+
end

Gemfile.lock

Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
PATH
2+
remote: .
3+
specs:
4+
foobara-auth-http (0.0.1)
5+
foobara (~> 0.0.94)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
addressable (2.8.7)
11+
public_suffix (>= 2.0.2, < 7.0)
12+
ast (2.4.3)
13+
base64 (0.2.0)
14+
bigdecimal (3.1.9)
15+
byebug (12.0.0)
16+
coderay (1.1.3)
17+
crack (1.0.0)
18+
bigdecimal
19+
rexml
20+
date (3.4.1)
21+
diff-lcs (1.6.1)
22+
docile (1.4.1)
23+
dotenv (3.1.8)
24+
extract-repo (0.0.10)
25+
foobara (~> 0.0.102)
26+
foobara-sh-cli-connector (~> 0.0.1)
27+
ffi (1.17.2)
28+
ffi (1.17.2-aarch64-linux-gnu)
29+
ffi (1.17.2-aarch64-linux-musl)
30+
ffi (1.17.2-arm-linux-gnu)
31+
ffi (1.17.2-arm-linux-musl)
32+
ffi (1.17.2-arm64-darwin)
33+
ffi (1.17.2-x86-linux-gnu)
34+
ffi (1.17.2-x86-linux-musl)
35+
ffi (1.17.2-x86_64-darwin)
36+
ffi (1.17.2-x86_64-linux-gnu)
37+
ffi (1.17.2-x86_64-linux-musl)
38+
foob (0.0.13)
39+
foobara (~> 0.0.99)
40+
foobara-command-generator (~> 0.0.1)
41+
foobara-domain-generator (~> 0.0.1)
42+
foobara-domain-mapper-generator (~> 0.0.1)
43+
foobara-empty-ruby-project-generator (~> 0.0.1)
44+
foobara-empty-typescript-react-project-generator (~> 0.0.1)
45+
foobara-local-files-crud-driver-generator (~> 0.0.1)
46+
foobara-mcp-connector-generator (~> 0.0.1)
47+
foobara-organization-generator (~> 0.0.1)
48+
foobara-rack-connector-generator (~> 0.0.1)
49+
foobara-redis-crud-driver-generator (~> 0.0.1)
50+
foobara-remote-imports-generator (~> 0.0.1)
51+
foobara-resque-connector-generator (~> 0.0.1)
52+
foobara-resque-scheduler-connector-generator (~> 0.0.1)
53+
foobara-sh-cli-connector (~> 0.0.10)
54+
foobara-sh-cli-connector-generator (~> 0.0.1)
55+
foobara-type-generator (~> 0.0.1)
56+
foobara-typescript-react-command-form-generator (~> 0.0.1)
57+
foobara-typescript-remote-command-generator (~> 0.0.1)
58+
foobara (0.0.104)
59+
bigdecimal
60+
foobara-lru-cache (~> 0.0.2)
61+
foobara-util (~> 0.0.11)
62+
inheritable-thread-vars (~> 0.0.1)
63+
foobara-command-generator (0.0.3)
64+
foobara
65+
foobara-files-generator
66+
foobara-domain-generator (0.0.3)
67+
foobara
68+
foobara-files-generator
69+
foobara-domain-mapper-generator (0.0.4)
70+
foobara
71+
foobara-files-generator
72+
foobara-dotenv-loader (0.0.3)
73+
dotenv
74+
foobara-empty-ruby-project-generator (0.0.17)
75+
extract-repo (~> 0.0.1)
76+
foobara (~> 0.0.94)
77+
foobara-files-generator (~> 0.0.1)
78+
foobara-empty-typescript-react-project-generator (0.0.4)
79+
foobara
80+
foobara-files-generator
81+
foobara-files-generator (0.0.5)
82+
foobara
83+
foobara-local-files-crud-driver-generator (0.0.3)
84+
foobara
85+
foobara-files-generator
86+
foobara-lru-cache (0.0.2)
87+
foobara-mcp-connector-generator (0.0.6)
88+
foobara (~> 0.0.99)
89+
foobara-organization-generator (0.0.2)
90+
foobara
91+
foobara-files-generator
92+
foobara-rack-connector-generator (0.0.11)
93+
foobara
94+
foobara-files-generator
95+
foobara-redis-crud-driver-generator (0.0.4)
96+
foobara-files-generator (~> 0.0.1)
97+
foobara-remote-imports-generator (0.0.3)
98+
foobara
99+
foobara-files-generator
100+
foobara-resque-connector-generator (0.0.2)
101+
foobara
102+
foobara-files-generator
103+
foobara-resque-scheduler-connector-generator (0.0.2)
104+
foobara
105+
foobara-files-generator
106+
foobara-rubocop-rules (0.0.8)
107+
rubocop
108+
rubocop-rspec
109+
foobara-sh-cli-connector (0.0.15)
110+
foobara (~> 0.0.88)
111+
foobara-sh-cli-connector-generator (0.0.4)
112+
foobara-files-generator (~> 0.0.1)
113+
foobara-spec-helpers (0.0.4)
114+
foobara-util
115+
foobara-type-generator (0.0.4)
116+
foobara
117+
foobara-files-generator
118+
foobara-typescript-react-command-form-generator (0.0.12)
119+
foobara-typescript-remote-command-generator (~> 0.0.1)
120+
foobara-typescript-remote-command-generator (0.0.18)
121+
foobara-files-generator (~> 0.0.1)
122+
foobara-util (0.0.11)
123+
formatador (1.1.0)
124+
guard (2.19.1)
125+
formatador (>= 0.2.4)
126+
listen (>= 2.7, < 4.0)
127+
logger (~> 1.6)
128+
lumberjack (>= 1.0.12, < 2.0)
129+
nenv (~> 0.1)
130+
notiffany (~> 0.0)
131+
ostruct (~> 0.6)
132+
pry (>= 0.13.0)
133+
shellany (~> 0.0)
134+
thor (>= 0.18.1)
135+
guard-compat (1.2.1)
136+
guard-rspec (4.7.3)
137+
guard (~> 2.1)
138+
guard-compat (~> 1.1)
139+
rspec (>= 2.99.0, < 4.0)
140+
hashdiff (1.1.2)
141+
inheritable-thread-vars (0.0.2)
142+
io-console (0.8.0)
143+
irb (1.15.2)
144+
pp (>= 0.6.0)
145+
rdoc (>= 4.0.0)
146+
reline (>= 0.4.2)
147+
json (2.10.2)
148+
language_server-protocol (3.17.0.4)
149+
lint_roller (1.1.0)
150+
listen (3.9.0)
151+
rb-fsevent (~> 0.10, >= 0.10.3)
152+
rb-inotify (~> 0.9, >= 0.9.10)
153+
logger (1.7.0)
154+
lumberjack (1.2.10)
155+
method_source (1.1.0)
156+
nenv (0.3.0)
157+
notiffany (0.1.3)
158+
nenv (~> 0.1)
159+
shellany (~> 0.0)
160+
ostruct (0.6.1)
161+
parallel (1.27.0)
162+
parser (3.3.8.0)
163+
ast (~> 2.4.1)
164+
racc
165+
pp (0.6.2)
166+
prettyprint
167+
prettyprint (0.2.0)
168+
prism (1.4.0)
169+
pry (0.15.2)
170+
coderay (~> 1.1)
171+
method_source (~> 1.0)
172+
pry-byebug (3.11.0)
173+
byebug (~> 12.0)
174+
pry (>= 0.13, < 0.16)
175+
psych (5.2.3)
176+
date
177+
stringio
178+
public_suffix (6.0.1)
179+
racc (1.8.1)
180+
rainbow (3.1.1)
181+
rake (13.2.1)
182+
rb-fsevent (0.11.2)
183+
rb-inotify (0.11.1)
184+
ffi (~> 1.0)
185+
rdoc (6.13.1)
186+
psych (>= 4.0.0)
187+
regexp_parser (2.10.0)
188+
reline (0.6.1)
189+
io-console (~> 0.5)
190+
rexml (3.4.1)
191+
rspec (3.13.0)
192+
rspec-core (~> 3.13.0)
193+
rspec-expectations (~> 3.13.0)
194+
rspec-mocks (~> 3.13.0)
195+
rspec-core (3.13.3)
196+
rspec-support (~> 3.13.0)
197+
rspec-expectations (3.13.3)
198+
diff-lcs (>= 1.2.0, < 2.0)
199+
rspec-support (~> 3.13.0)
200+
rspec-its (2.0.0)
201+
rspec-core (>= 3.13.0)
202+
rspec-expectations (>= 3.13.0)
203+
rspec-mocks (3.13.2)
204+
diff-lcs (>= 1.2.0, < 2.0)
205+
rspec-support (~> 3.13.0)
206+
rspec-support (3.13.2)
207+
rubocop (1.75.2)
208+
json (~> 2.3)
209+
language_server-protocol (~> 3.17.0.2)
210+
lint_roller (~> 1.1.0)
211+
parallel (~> 1.10)
212+
parser (>= 3.3.0.2)
213+
rainbow (>= 2.2.2, < 4.0)
214+
regexp_parser (>= 2.9.3, < 3.0)
215+
rubocop-ast (>= 1.44.0, < 2.0)
216+
ruby-progressbar (~> 1.7)
217+
unicode-display_width (>= 2.4.0, < 4.0)
218+
rubocop-ast (1.44.1)
219+
parser (>= 3.3.7.2)
220+
prism (~> 1.4)
221+
rubocop-rake (0.7.1)
222+
lint_roller (~> 1.1)
223+
rubocop (>= 1.72.1)
224+
rubocop-rspec (3.6.0)
225+
lint_roller (~> 1.1)
226+
rubocop (~> 1.72, >= 1.72.1)
227+
ruby-prof (1.7.1)
228+
ruby-progressbar (1.13.0)
229+
shellany (0.0.1)
230+
simplecov (0.22.0)
231+
docile (~> 1.1)
232+
simplecov-html (~> 0.11)
233+
simplecov_json_formatter (~> 0.1)
234+
simplecov-html (0.13.1)
235+
simplecov_json_formatter (0.1.4)
236+
stringio (3.1.6)
237+
thor (1.3.2)
238+
unicode-display_width (3.1.4)
239+
unicode-emoji (~> 4.0, >= 4.0.4)
240+
unicode-emoji (4.0.4)
241+
vcr (6.3.1)
242+
base64
243+
webmock (3.25.1)
244+
addressable (>= 2.8.0)
245+
crack (>= 0.3.2)
246+
hashdiff (>= 0.4.0, < 2.0.0)
247+
248+
PLATFORMS
249+
aarch64-linux-gnu
250+
aarch64-linux-musl
251+
arm-linux-gnu
252+
arm-linux-musl
253+
arm64-darwin
254+
ruby
255+
x86-linux-gnu
256+
x86-linux-musl
257+
x86_64-darwin
258+
x86_64-linux-gnu
259+
x86_64-linux-musl
260+
261+
DEPENDENCIES
262+
foob
263+
foobara-auth-http!
264+
foobara-dotenv-loader (~> 0.0.1)
265+
foobara-rubocop-rules (~> 0.0.1)
266+
foobara-spec-helpers (~> 0.0.1)
267+
guard-rspec
268+
irb
269+
pry
270+
pry-byebug
271+
rake
272+
rspec
273+
rspec-its
274+
rubocop-rake
275+
rubocop-rspec
276+
ruby-prof
277+
simplecov
278+
vcr
279+
webmock
280+
281+
RUBY VERSION
282+
ruby 3.4.2p28
283+
284+
BUNDLED WITH
285+
2.6.7

0 commit comments

Comments
 (0)