Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Aug 9, 2024
1 parent a126cf3 commit d35c5ff
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 82 deletions.
11 changes: 5 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ gemspec
# your gem to rubygems.org.

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "sprockets-rails"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"

# Databases to test against
gem "pg"
Expand Down
8 changes: 0 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ GEM
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.4)
docile (1.4.1)
drb (2.2.1)
erubi (1.13.0)
ffaker (2.23.0)
Expand Down Expand Up @@ -227,12 +226,6 @@ GEM
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
Expand Down Expand Up @@ -298,7 +291,6 @@ DEPENDENCIES
paper_trail (~> 15.0)
pg
puma
simplecov
sprockets-rails
sqlite3 (~> 1.4)
standardrb
Expand Down
11 changes: 5 additions & 6 deletions gemfiles/rails_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
source "https://rubygems.org"

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"
gem "pg"
gem "mysql2"
gem "sqlite3", "~> 1.4"
gem "rails", "~> 6.1.0"
gem "sprockets-rails"

gemspec path: "../"
10 changes: 5 additions & 5 deletions gemfiles/rails_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
source "https://rubygems.org"

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"
gem "pg"
gem "mysql2"
gem "sqlite3", "~> 1.4"
Expand Down
16 changes: 8 additions & 8 deletions gemfiles/rails_7.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ GEM
concurrent-ruby (1.3.3)
crass (1.0.6)
date (3.3.4)
docile (1.4.0)
erubi (1.12.0)
ffaker (2.23.0)
friendly_id (5.5.1)
Expand Down Expand Up @@ -203,12 +202,13 @@ GEM
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (1.7.3)
mini_portile2 (~> 2.8.0)
sqlite3 (1.7.3-arm64-darwin)
Expand Down Expand Up @@ -267,7 +267,7 @@ DEPENDENCIES
propshaft
puma
rails (~> 7.0.0)
simplecov
sprockets-rails
sqlite3 (~> 1.4)
standardrb
web-console
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
source "https://rubygems.org"

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"
gem "pg"
gem "mysql2"
gem "sqlite3", "~> 1.4"
Expand Down
16 changes: 8 additions & 8 deletions gemfiles/rails_7_1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ GEM
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.4)
docile (1.4.0)
drb (2.2.1)
erubi (1.12.0)
ffaker (2.23.0)
Expand Down Expand Up @@ -232,12 +231,13 @@ GEM
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (1.7.3)
mini_portile2 (~> 2.8.0)
sqlite3 (1.7.3-arm64-darwin)
Expand Down Expand Up @@ -298,7 +298,7 @@ DEPENDENCIES
propshaft
puma
rails (~> 7.1.0)
simplecov
sprockets-rails
sqlite3 (~> 1.4)
standardrb
web-console
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
source "https://rubygems.org"

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"
gem "pg"
gem "mysql2"
gem "sqlite3", "~> 2.0"
Expand Down
16 changes: 8 additions & 8 deletions gemfiles/rails_7_2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ GEM
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.4)
docile (1.4.0)
drb (2.2.1)
erubi (1.12.0)
ffaker (2.23.0)
Expand Down Expand Up @@ -227,12 +226,13 @@ GEM
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (2.0.2-aarch64-linux-gnu)
sqlite3 (2.0.2-arm-linux-gnu)
sqlite3 (2.0.2-arm64-darwin)
Expand Down Expand Up @@ -293,7 +293,7 @@ DEPENDENCIES
propshaft
puma
rails (~> 7.2.0.beta2)
simplecov
sprockets-rails
sqlite3 (~> 2.0)
standardrb
web-console
Expand Down
10 changes: 5 additions & 5 deletions gemfiles/rails_main.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
source "https://rubygems.org"

gem "appraisal"
gem "standardrb"
gem "bcrypt"
gem "ffaker", "~> 2.17"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "simplecov", group: :test
gem "web-console", group: :development
gem "friendly_id", "~> 5.4"
gem "bcrypt"
gem "name_of_person", "~> 1.1", ">= 1.1.1"
gem "paper_trail", "~> 15.0"
gem "puma"
gem "sprockets-rails"
gem "standardrb"
gem "web-console"
gem "pg"
gem "mysql2"
gem "sqlite3", "~> 2.0"
Expand Down
16 changes: 8 additions & 8 deletions gemfiles/rails_main.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ GEM
connection_pool (2.4.1)
crass (1.0.6)
date (3.3.4)
docile (1.4.0)
drb (2.2.1)
erubi (1.12.0)
ffaker (2.23.0)
Expand Down Expand Up @@ -232,12 +231,13 @@ GEM
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (2.0.2)
mini_portile2 (~> 2.8.0)
sqlite3 (2.0.2-arm64-darwin)
Expand Down Expand Up @@ -299,7 +299,7 @@ DEPENDENCIES
propshaft
puma
rails!
simplecov
sprockets-rails
sqlite3 (~> 2.0)
standardrb
web-console
Expand Down
10 changes: 0 additions & 10 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# Configure SimpleCov
if ENV["COVERAGE"] == "true"
puts "Calculating Code Coverage with SimpleCov"

require "simplecov"
SimpleCov.start "rails"

puts "Required SimpleCov"
end

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

Expand Down

0 comments on commit d35c5ff

Please sign in to comment.