Skip to content

Commit

Permalink
Use git HEAD of the warning gem
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Dec 17, 2024
1 parent bd03aff commit e6b272c
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ gem 'faraday-retry'
gem 'addressable'
gem 'sentry-ruby'
gem 'racksh'
gem 'warning'
# Until the :default_gem_removal PR is released (warning >1.4.0)
# https://github.com/jeremyevans/ruby-warning/pull/24
gem 'warning', github: 'jeremyevans/ruby-warning'
gem 'rake'
gem 'rubocop', '~> 1.69.0', require: false
gem 'dyno_metadata'
Expand Down
9 changes: 7 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
GIT
remote: https://github.com/jeremyevans/ruby-warning.git
revision: 6cbd4f86e5187d01c83abb6adb0cfecad5f89211
specs:
warning (1.4.0)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -146,7 +152,6 @@ GEM
unicode-emoji (4.0.4)
uri (0.13.1)
wait_for_it (0.2.1)
warning (1.4.0)
webmock (3.24.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
Expand Down Expand Up @@ -187,7 +192,7 @@ DEPENDENCIES
sinatra-contrib
spinels-rack-ssl-enforcer
wait_for_it
warning
warning!
webmock

RUBY VERSION
Expand Down
4 changes: 1 addition & 3 deletions config/filtered_warnings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# See https://github.com/jeremyevans/ruby-warning#usage--
ignores = %i[
default_gem_removal
method_redefined
mismatched_indentations
missing_ivar
Expand All @@ -12,9 +13,6 @@
unused_var
] # this list is sorted alphabetically

# TODO: add :default_gem_removal when this PR is release (warning >1.4.0)
# https://github.com/jeremyevans/ruby-warning/pull/24

Gem.path.each do |path|
Warning.ignore(ignores, path)
end
Expand Down
Empty file.
1 change: 1 addition & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/HEAD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ref: refs/heads/master
9 changes: 9 additions & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/jeremyevans/ruby-warning.git
tagOpt = --no-tags
1 change: 1 addition & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/description
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
6 changes: 6 additions & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/info/exclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/packed-refs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# pack-refs with: peeled fully-peeled sorted
6cbd4f86e5187d01c83abb6adb0cfecad5f89211 refs/heads/master
1 change: 1 addition & 0 deletions vendor/cache/ruby-warning-6cbd4f86e518/shallow
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6cbd4f86e5187d01c83abb6adb0cfecad5f89211
Binary file removed vendor/cache/warning-1.4.0.gem
Binary file not shown.

0 comments on commit e6b272c

Please sign in to comment.