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
42 changes: 19 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.3)
bigdecimal (4.1.2)
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)
ffi (1.17.4-arm64-darwin)
ffi (1.17.4-x86_64-linux-gnu)
foobara (0.5.10)
foobara (0.6.3)
bigdecimal
foobara-lru-cache (< 2.0.0)
foobara-util (< 2.0.0)
inheritable-thread-vars (< 2.0.0)
foobara-files-generator (0.1.2)
foobara-files-generator (0.1.4)
foobara (>= 0.1.1, < 2.0.0)
foobara-lru-cache (1.0.0)
foobara-rubocop-rules (1.0.13)
foobara-rubocop-rules (1.1.1)
rubocop
rubocop-rspec
foobara-spec-helpers (0.1.0)
foobara-spec-helpers (0.1.1)
foobara-util
foobara-util (1.0.8)
formatador (1.2.3)
reline
guard (2.20.1)
guard (2.20.2)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
logger (~> 1.6)
Expand All @@ -48,8 +48,8 @@ GEM
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
inheritable-thread-vars (0.0.3)
io-console (0.8.2)
json (2.20.0)
io-console (0.9.4)
json (3.0.2)
language_server-protocol (3.17.0.6)
lint_roller (1.1.0)
listen (3.10.0)
Expand All @@ -63,8 +63,8 @@ GEM
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
parallel (2.1.0)
parser (3.3.11.1)
parallel (2.2.0)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
prism (1.9.0)
Expand All @@ -82,7 +82,7 @@ GEM
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.12.0)
reline (0.6.3)
reline (0.7.0)
io-console (~> 0.5)
rspec (3.13.2)
rspec-core (~> 3.13.0)
Expand All @@ -100,8 +100,8 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.7)
rubocop (1.88.1)
json (~> 2.3)
rubocop (1.91.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (>= 1.10)
Expand All @@ -123,18 +123,14 @@ GEM
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)
simplecov (1.3.0)
thor (1.5.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.2.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 Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,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/empty_typescript_react_project_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ def manifest_to_generator_classes(manifest)
Generators::RoutesTsGenerator
]
else
# :nocov:
# simplecov:disable
raise "Not sure how build a generator for a #{manifest}"
# :nocov:
# simplecov:enable
end
end
end
Expand Down
8 changes: 4 additions & 4 deletions src/write_empty_typescript_react_project_to_disk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,17 @@ def git_add_remote_origin
exit_status = run_cmd_and_write_output(git_remote_add_cmd)

unless exit_status&.success?
# :nocov:
# simplecov:disable
self.push_to_github_failed = true
# :nocov:
# simplecov:enable
end
end
end
rescue CouldNotExecuteError => e
# :nocov:
# simplecov:disable
self.push_to_github_failed = true
warn e.message
# :nocov:
# simplecov:enable
end

def git_branch_main
Expand Down
Loading