warning_signs 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/warning_signs/unhandled_deprecation_error.rb +9 -0
- data/lib/warning_signs/version.rb +1 -1
- data/lib/warning_signs.rb +0 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f21801f5c06e7f5c646ba63b5848fb7fa11eee423e53bcdb74cd16932cc683a
|
4
|
+
data.tar.gz: 746c5de984d08d217a4cebe9c8aaf89f403ffe7961ad299499be81f0147b6384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e666ef9d2789d74761fe39d56af39495f151d389da2ad97c791027b8f71f1890476254822db03e1beb220e5268b870d45deccf147fcfddc034a4d891903fc6e5
|
7
|
+
data.tar.gz: c5e79fcd7beab816f16883d6e3ac6a0f5001f8426ab25cfe5a2a4411ec821f6aac56beccbf5cf911bb1e852abac43bfb3aa508c03a455ad51ff8fb0773904838
|
data/.github/workflows/main.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
module WarningSigns
|
2
|
+
class UnhandledDeprecationError < StandardError
|
3
|
+
MESSAGE = "This error was raised by the Warning Signs gem in response to a deprecation warning in Ruby or Rails. If this warning is not causing problems, you can add it to the exceptions list in .warning_signs.yml."
|
4
|
+
|
5
|
+
def message
|
6
|
+
super + "\n\n" + MESSAGE
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
data/lib/warning_signs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warning_signs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noel Rappin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry-byebug
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/warning_signs/ruby_category_matcher.rb
|
195
195
|
- lib/warning_signs/ruby_deprecation_catcher.rb
|
196
196
|
- lib/warning_signs/string_pattern.rb
|
197
|
+
- lib/warning_signs/unhandled_deprecation_error.rb
|
197
198
|
- lib/warning_signs/version.rb
|
198
199
|
- lib/warning_signs/world.rb
|
199
200
|
- warning_signs.gemspec
|