Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup dep_shield dependencies including all of rails #245

Merged
merged 2 commits into from
Feb 14, 2024
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
4 changes: 4 additions & 0 deletions packages/dep_shield/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [Unreleased]

## [0.3.1]

- Cleanup unnecessary dependencies and require of rails/all

## [0.3.0]

- Subscribe to deprecation.rails notifications from railtie
Expand Down
18 changes: 2 additions & 16 deletions packages/dep_shield/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ PATH
PATH
remote: .
specs:
dep_shield (0.3.0)
dep_shield (0.3.1)
nitro_config
railties (>= 6.0.6.1, <= 7.0.6)
sentry-rails (= 5.5.0)
sentry-ruby (= 5.5.0)
sentry-ruby (>= 5.5.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -188,14 +186,6 @@ GEM
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rubocop (1.52.1)
json (~> 2.3)
Expand Down Expand Up @@ -229,9 +219,6 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sentry-rails (5.5.0)
railties (>= 5.0)
sentry-ruby (~> 5.5.0)
sentry-ruby (5.5.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
sprockets (4.2.1)
Expand Down Expand Up @@ -269,7 +256,6 @@ DEPENDENCIES
rails (<= 7.0.6)
rake (~> 13.0)
rspec (~> 3.0)
rspec-rails (~> 5.1.2)
rubocop-powerhome!
sqlite3 (~> 1.4.2)

Expand Down
Empty file.
5 changes: 1 addition & 4 deletions packages/dep_shield/dep_shield.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "nitro_config"
spec.add_dependency "railties", ">= 6.0.6.1", "<= 7.0.6"
spec.add_dependency "sentry-rails", "5.5.0"
spec.add_dependency "sentry-ruby", "5.5.0"
spec.add_dependency "sentry-ruby", ">= 5.5.0"

spec.add_development_dependency "appraisal", "~> 2.5.0"
spec.add_development_dependency "combustion", "~> 1.4"
spec.add_development_dependency "license_finder", ">= 7.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
spec.add_development_dependency "sqlite3", "~> 1.4.2"
end
18 changes: 2 additions & 16 deletions packages/dep_shield/gemfiles/rails_6_0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ PATH
PATH
remote: ..
specs:
dep_shield (0.3.0)
dep_shield (0.3.1)
nitro_config
railties (>= 6.0.6.1, <= 7.0.6)
sentry-rails (= 5.5.0)
sentry-ruby (= 5.5.0)
sentry-ruby (>= 5.5.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -182,14 +180,6 @@ GEM
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rubocop (1.52.1)
json (~> 2.3)
Expand Down Expand Up @@ -223,9 +213,6 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sentry-rails (5.5.0)
railties (>= 5.0)
sentry-ruby (~> 5.5.0)
sentry-ruby (5.5.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
sprockets (4.2.1)
Expand Down Expand Up @@ -264,7 +251,6 @@ DEPENDENCIES
rails (= 6.0.6.1)
rake (~> 13.0)
rspec (~> 3.0)
rspec-rails (~> 5.1.2)
rubocop-powerhome!
sqlite3 (~> 1.4.2)

Expand Down
18 changes: 2 additions & 16 deletions packages/dep_shield/gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ PATH
PATH
remote: ..
specs:
dep_shield (0.3.0)
dep_shield (0.3.1)
nitro_config
railties (>= 6.0.6.1, <= 7.0.6)
sentry-rails (= 5.5.0)
sentry-ruby (= 5.5.0)
sentry-ruby (>= 5.5.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -186,14 +184,6 @@ GEM
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rubocop (1.52.1)
json (~> 2.3)
Expand Down Expand Up @@ -227,9 +217,6 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sentry-rails (5.5.0)
railties (>= 5.0)
sentry-ruby (~> 5.5.0)
sentry-ruby (5.5.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
sprockets (4.2.1)
Expand Down Expand Up @@ -267,7 +254,6 @@ DEPENDENCIES
rails (= 6.1.7.4)
rake (~> 13.0)
rspec (~> 3.0)
rspec-rails (~> 5.1.2)
rubocop-powerhome!
sqlite3 (~> 1.4.2)

Expand Down
18 changes: 2 additions & 16 deletions packages/dep_shield/gemfiles/rails_7_0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ PATH
PATH
remote: ..
specs:
dep_shield (0.3.0)
dep_shield (0.3.1)
nitro_config
railties (>= 6.0.6.1, <= 7.0.6)
sentry-rails (= 5.5.0)
sentry-ruby (= 5.5.0)
sentry-ruby (>= 5.5.0)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -192,14 +190,6 @@ GEM
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rubocop (1.52.1)
json (~> 2.3)
Expand Down Expand Up @@ -233,9 +223,6 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sentry-rails (5.5.0)
railties (>= 5.0)
sentry-ruby (~> 5.5.0)
sentry-ruby (5.5.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
sqlite3 (1.4.4)
Expand Down Expand Up @@ -266,7 +253,6 @@ DEPENDENCIES
rails (= 7.0.6)
rake (~> 13.0)
rspec (~> 3.0)
rspec-rails (~> 5.1.2)
rubocop-powerhome!
sqlite3 (~> 1.4.2)

Expand Down
2 changes: 0 additions & 2 deletions packages/dep_shield/lib/dep_shield.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

require "nitro_config"
require "rails/all"
require "sentry-rails"
require "sentry-ruby"

require_relative "dep_shield/deprecation"
Expand Down
2 changes: 1 addition & 1 deletion packages/dep_shield/lib/dep_shield/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DepShield
VERSION = "0.3.0"
VERSION = "0.3.1"
end
6 changes: 1 addition & 5 deletions packages/dep_shield/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# frozen_string_literal: true

require "bundler"
require "dep_shield/railtie"
require "rspec/rails"

Bundler.require :default, :development
require "dep_shield/railtie"

Combustion.initialize! :all

RSpec.configure do |config|
config.use_transactional_fixtures = true

# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"

Expand Down
Loading