deprecation_toolkit 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/deprecation_toolkit.gemspec +1 -1
- data/lib/deprecation_toolkit/behaviors/raise.rb +2 -2
- data/lib/deprecation_toolkit/read_write_helper.rb +1 -1
- data/lib/deprecation_toolkit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 430ddfb053000146af52b971363780be4bf691de293a25a290a9c3fd96b11d66
|
4
|
+
data.tar.gz: f336c225f3b20bb345b44147262c9b90a2ef461fe4c1843928c84485fcf6d182
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e34959cdf54a5c8db25012249424ccf98ab87aee835c14cdfed3eddb24d46cde2e9711f49d896cb16c2d6f5ef8904d5ded5cb726a00a7d0334dee3e94ca2932d
|
7
|
+
data.tar.gz: b2cf482a05aa1f093a9d3ede4d47f8365601a83d3a48dd3f3c91f850828357b1d03d7d9f9381beea1aadf28fc1ddaae530fe56859c94e69a175d0d93b1d6b57d
|
data/.github/workflows/ci.yml
CHANGED
@@ -9,7 +9,7 @@ jobs:
|
|
9
9
|
strategy:
|
10
10
|
matrix:
|
11
11
|
gemfile: [gemfiles/activesupport_5.2.gemfile, gemfiles/activesupport_6.0.gemfile, gemfiles/activesupport_6.1.gemfile, gemfiles/activesupport_7.0.gemfile, gemfiles/activesupport_edge.gemfile]
|
12
|
-
ruby: ["2.
|
12
|
+
ruby: ["2.7", "3.0", "3.1", "3.2"]
|
13
13
|
exclude:
|
14
14
|
# Active Support requires Ruby >= 2.7 as of 7.0
|
15
15
|
- gemfile: "gemfiles/activesupport_7.0.gemfile"
|
@@ -43,7 +43,7 @@ jobs:
|
|
43
43
|
|
44
44
|
- uses: ruby/setup-ruby@v1
|
45
45
|
with:
|
46
|
-
ruby-version: "3.
|
46
|
+
ruby-version: "3.2"
|
47
47
|
bundler-cache: true
|
48
48
|
|
49
49
|
- name: RuboCop
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## main (unreleased)
|
4
4
|
|
5
|
+
## 2.0.2 (2023-02-08)
|
6
|
+
|
7
|
+
* [#78](https://github.com/Shopify/deprecation_toolkit/pull/78): Show deprecations without stacktrace. (@shioyama)
|
8
|
+
|
5
9
|
## 2.0.1 (2022-11-18)
|
6
10
|
|
7
11
|
* [#74](https://github.com/Shopify/deprecation_toolkit/pull/74): Add support for `Rails.application.deprecators`. (@gmcgibbon)
|
data/Gemfile.lock
CHANGED
data/deprecation_toolkit.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
22
22
|
|
23
|
-
spec.required_ruby_version = ">= 2.
|
23
|
+
spec.required_ruby_version = ">= 2.7"
|
24
24
|
|
25
25
|
spec.files = %x(git ls-files -z).split("\x0").reject do |f|
|
26
26
|
f.match(%r{^(test)/})
|
@@ -77,9 +77,9 @@ module DeprecationToolkit
|
|
77
77
|
#{record_message}
|
78
78
|
|
79
79
|
===== Expected
|
80
|
-
#{recorded_deprecations.
|
80
|
+
#{recorded_deprecations.deprecations_without_stacktrace.join("\n")}
|
81
81
|
===== Actual
|
82
|
-
#{current_deprecations.
|
82
|
+
#{current_deprecations.deprecations_without_stacktrace.join("\n")}
|
83
83
|
EOM
|
84
84
|
|
85
85
|
super(message)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deprecation_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '2.
|
95
|
+
version: '2.7'
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - ">="
|