Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
build:
runs-on: ubuntu-latest
name: Rspec and Rubocop
strategy:
matrix:
ruby: ['3.4', '4.0']

@azimux azimux Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, strange this already had the other line below! I guess it must default to what's in .ruby-version or something.

@Samuelodan Samuelodan Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was strange too. Haha! Looks like it was accidentally left in there after the matrix lines were deleted in this commit.

Yeah, maybe it defaults to that. I wonder how else it'd have known what version of Ruby to setup.

timeout-minutes: 3
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.2
TargetRubyVersion: 4.0
NewCops: enable

inherit_gem:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.7
4.0.7
88 changes: 43 additions & 45 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,33 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.3)
bigdecimal (4.0.1)
byebug (12.0.0)
bigdecimal (4.1.3)
byebug (13.0.0)
reline (>= 0.6.0)
coderay (1.1.3)
diff-lcs (1.6.2)
docile (1.4.1)
dotenv (3.2.0)
ffi (1.17.3-x86_64-linux-gnu)
foobara (0.4.1)
ffi (1.17.4-arm64-darwin)
ffi (1.17.4-x86_64-linux-gnu)
foobara (0.6.4)
bigdecimal
foobara-lru-cache (< 2.0.0)
foobara-util (< 2.0.0)
inheritable-thread-vars (< 2.0.0)
foobara-lru-cache (1.0.0)
foobara-rubocop-rules (1.0.10)
foobara-rubocop-rules (1.1.1)
rubocop
rubocop-rspec
foobara-util (1.0.7)
foobara-util (1.0.8)
formatador (1.2.3)
reline
guard (2.19.1)
guard (2.20.2)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
logger (~> 1.6)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
ostruct (~> 0.6)
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
Expand All @@ -45,11 +45,12 @@ GEM
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
inheritable-thread-vars (0.0.3)
io-console (0.8.2)
json (2.18.0)
language_server-protocol (3.17.0.5)
io-console (0.9.4)
json (3.0.2)
language_server-protocol (3.17.0.6)
lint_roller (1.1.0)
listen (3.9.0)
listen (3.10.0)
logger
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
Expand All @@ -59,26 +60,26 @@ GEM
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
ostruct (0.6.3)
parallel (1.27.0)
parser (3.3.10.0)
parallel (2.2.0)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
prism (1.7.0)
pry (0.15.2)
prism (1.9.0)
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.11.0)
byebug (~> 12.0)
pry (>= 0.13, < 0.16)
reline (>= 0.6.0)
pry-byebug (3.12.0)
byebug (~> 13.0)
pry (>= 0.13, < 0.17)
racc (1.8.1)
rainbow (3.1.1)
rake (13.3.1)
rake (13.4.2)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.11.3)
reline (0.6.3)
regexp_parser (2.13.0)
reline (0.7.0)
io-console (~> 0.5)
rspec (3.13.2)
rspec-core (~> 3.13.0)
Expand All @@ -92,44 +93,41 @@ GEM
rspec-its (2.0.0)
rspec-core (>= 3.13.0)
rspec-expectations (>= 3.13.0)
rspec-mocks (3.13.7)
rspec-mocks (3.13.8)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.6)
rubocop (1.82.1)
json (~> 2.3)
rspec-support (3.13.7)
rubocop (1.91.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parallel (>= 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.48.0, < 2.0)
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.49.0)
rubocop-ast (1.50.0)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-rake (0.7.1)
lint_roller (~> 1.1)
rubocop (>= 1.72.1)
rubocop-rspec (3.8.0)
rubocop-rspec (3.10.2)
lint_roller (~> 1.1)
rubocop (~> 1.81)
regexp_parser (>= 2.0)
rubocop (~> 1.86, >= 1.86.2)
ruby-progressbar (1.13.0)
shellany (0.0.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
thor (1.4.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.0)
simplecov (1.3.0)
thor (1.5.0)
unicode-display_width (3.3.0)
unicode-emoji (~> 4.3)
unicode-emoji (4.3.0)

PLATFORMS
arm64-darwin-25
x86_64-linux

DEPENDENCIES
Expand All @@ -146,7 +144,7 @@ DEPENDENCIES
simplecov

RUBY VERSION
ruby 3.4.1p0
ruby 3.4.1p0

BUNDLED WITH
2.4.14
4.0.21
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require "pry-byebug"
require "rspec/its"
require "simplecov"
Warning[:deprecated] = true

SimpleCov.start do
# enable_coverage :branch
Expand Down
4 changes: 2 additions & 2 deletions src/load_dotenv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def run!(...)
# Might be nice if we could grab the directory of the calling code instead of using Dir.pwd but not sure
def initialize(env: ENV["DOTENV_ENV"] || ENV["FOOBARA_ENV"] || "development", dir: Dir.pwd)
unless env
# :nocov:
# simplecov:disable
raise ArgumentError, "env must be provided"
# :nocov:
# simplecov:enable
end

self.env = env.to_s
Expand Down
Loading