activesupport-deprecation_test_helper 0.1.0.pre.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96e1b8c154348e3c7eeab086231c932236883101667273e8e6e1fa8b3ed8de28
4
- data.tar.gz: 65e6b88eb0e720224b48ebc0f1bf27c50253a9f1361bfd0e9b29c533bb33cf6d
3
+ metadata.gz: 996490096b8ef4f7fb5d7d82b919883f5a61768e4998e72103ee05496efc4e4c
4
+ data.tar.gz: 88dfad142716f4ea674750822371e49eea5fdf40fc09297af457cd22ea5bb4f6
5
5
  SHA512:
6
- metadata.gz: ece0f7556a64e132d9ab47c7a421315a11f959959da4f7e31625de13baa07c70f7fd8e06cc352883e827350a6f5600825e802e3b3510bb08867666846a986232
7
- data.tar.gz: 99de410cc1ed6479dc136d2d71e99db0c4611f14293e0f36dd6f7309aa9ec69bf7b92efd08903bc045c87ad21b3478823e30db4992b314cb0191855b0aac15d0
6
+ metadata.gz: 8debccc5b564c1f6296fe82bdba5f3391c69c0b88583f356ef4f88b8cfa984d8898e9e67ce79a51a17b8496a4d5184b01b426c593d12e0039f7b40264422c175
7
+ data.tar.gz: d982e3ab16be0b5be2f6c22eec266238b104f24cb21ea28da8dd44755c8f1ab96c860ceec2de130ecda3aff5d827f3fa7f79f03ccd430b8d78c323024312d5b9
@@ -4,9 +4,17 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
5
  Note: this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.1.0] - Unreleased
8
- Initial release for the gem
7
+ ## [0.1.2] - 2020-06-18
8
+ ### Fixed
9
+ - RSpec configuration bug where after(:suite) callback was unable to execute successfully
10
+
11
+ ## [0.1.1] - 2020-06-18
12
+ ### Fixed
13
+ - RSpec configuration no longer runs multiple times during the test run
14
+
15
+ ## [0.1.0] - 2020-06-18
9
16
  ### Added
10
17
  - Added ability to configure your tests to record and report unexpected deprecation warnings
18
+ - Added support for configuration in `Minitest` and `RSpec`
11
19
 
12
20
  [0.1.0]: https://github.com/Invoca/active_support-deprecation_warning_helper/tree/v0.1.0
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activesupport-deprecation_test_helper (0.1.0.pre.1)
4
+ activesupport-deprecation_test_helper (0.1.2)
5
5
  activesupport (>= 4.2, < 7)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.3.1)
10
+ activesupport (6.0.3.2)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
@@ -9,8 +9,11 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Invoca"]
10
10
  spec.email = ["operations@invoca.com"]
11
11
 
12
- spec.summary = ""
13
- spec.description = ""
12
+ spec.summary = "A test helper that removes `ActiveSupport::Deprecation` noise from being interlaced in your test output."
13
+ spec.description = [
14
+ "A test helper that removes `ActiveSupport::Deprecation` noise from being interlaced in your test output.",
15
+ "Instead this gem collects any and all deprecation warnings that occur during your tests, and succinctly reports them at the end of the test run."
16
+ ].join(' ')
14
17
  spec.homepage = "https://github.com/Invoca/active_support-deprecation_test_helper"
15
18
 
16
19
  spec.metadata = {
@@ -16,9 +16,9 @@ module ActiveSupport
16
16
 
17
17
  case test_framework
18
18
  when :rspec
19
- RSpec.configuration.after(:all, after_all_callback)
19
+ RSpec.configuration.after(:suite) { ActiveSupport::DeprecationTestHelper.after_all_callback.call }
20
20
  when :minitest
21
- Minitest.after_run(after_all_callback)
21
+ Minitest.after_run(&after_all_callback)
22
22
  end
23
23
  end
24
24
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveSupport
4
4
  module DeprecationTestHelper
5
- VERSION = "0.1.0.pre.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport-deprecation_test_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca
@@ -30,7 +30,10 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '7'
33
- description: ''
33
+ description: A test helper that removes `ActiveSupport::Deprecation` noise from being
34
+ interlaced in your test output. Instead this gem collects any and all deprecation
35
+ warnings that occur during your tests, and succinctly reports them at the end of
36
+ the test run.
34
37
  email:
35
38
  - operations@invoca.com
36
39
  executables: []
@@ -75,12 +78,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
78
  version: '0'
76
79
  required_rubygems_version: !ruby/object:Gem::Requirement
77
80
  requirements:
78
- - - ">"
81
+ - - ">="
79
82
  - !ruby/object:Gem::Version
80
- version: 1.3.1
83
+ version: '0'
81
84
  requirements: []
82
85
  rubygems_version: 3.0.3
83
86
  signing_key:
84
87
  specification_version: 4
85
- summary: ''
88
+ summary: A test helper that removes `ActiveSupport::Deprecation` noise from being
89
+ interlaced in your test output.
86
90
  test_files: []