deprecation_toolkit 1.4.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +39 -0
  3. data/.rubocop.yml +3 -3
  4. data/CHANGELOG.md +17 -1
  5. data/Gemfile +11 -4
  6. data/Gemfile.lock +48 -44
  7. data/README.md +5 -0
  8. data/RELEASE.md +21 -0
  9. data/deprecation_toolkit.gemspec +7 -10
  10. data/gemfiles/activesupport_5.2.gemfile +2 -8
  11. data/gemfiles/activesupport_6.0.gemfile +5 -0
  12. data/gemfiles/activesupport_6.1.gemfile +5 -0
  13. data/gemfiles/activesupport_7.0.gemfile +5 -0
  14. data/gemfiles/activesupport_edge.gemfile +5 -0
  15. data/gemfiles/test/deprecations +1 -1
  16. data/lib/deprecation_toolkit/behaviors/ci_record_helper.rb +2 -2
  17. data/lib/deprecation_toolkit/collector.rb +1 -1
  18. data/lib/deprecation_toolkit/deprecation_subscriber.rb +1 -1
  19. data/lib/deprecation_toolkit/rspec_plugin.rb +1 -1
  20. data/lib/deprecation_toolkit/version.rb +1 -1
  21. data/lib/deprecation_toolkit/warning.rb +43 -32
  22. data/lib/deprecation_toolkit.rb +4 -5
  23. data/lib/minitest/deprecation_toolkit_plugin.rb +9 -2
  24. data/lib/tasks/ci_recorder.rake +10 -9
  25. data/spec/deprecation_toolkit/behaviors/disabled_spec.rb +2 -2
  26. data/spec/deprecation_toolkit/behaviors/raise_spec.rb +4 -4
  27. data/spec/deprecation_toolkit/behaviors/record_spec.rb +1 -1
  28. data/spec/rspec/plugin_env_options_spec.rb +3 -3
  29. data/spec/rspec/plugin_spec.rb +1 -1
  30. metadata +14 -69
  31. data/.rubocop-https---shopify-github-io-ruby-style-guide-rubocop-yml +0 -1178
  32. data/.travis.yml +0 -20
  33. data/gemfiles/activesupport_4.2.gemfile +0 -11
  34. data/gemfiles/activesupport_5.0.gemfile +0 -11
  35. data/gemfiles/activesupport_5.1.gemfile +0 -11
data/.travis.yml DELETED
@@ -1,20 +0,0 @@
1
- sudo: false
2
- cache: bundler
3
- language: ruby
4
- before_install:
5
- - gem update bundler
6
- rvm:
7
- - 2.3
8
- - 2.4
9
- - 2.5
10
- gemfile:
11
- - gemfiles/activesupport_4.2.gemfile
12
- - gemfiles/activesupport_5.0.gemfile
13
- - gemfiles/activesupport_5.1.gemfile
14
- - gemfiles/activesupport_5.2.gemfile
15
- script:
16
- - bundle exec rubocop --config .rubocop.yml
17
- - bundle exec rake test
18
- - bundle exec rspec
19
- notifications:
20
- email: false
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- source "https://rubygems.org"
3
-
4
- gem "activesupport", "~> 4.2"
5
-
6
- group :deployment do
7
- gem "rake"
8
- gem "rubocop"
9
- end
10
-
11
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- source "https://rubygems.org"
3
-
4
- gem "activesupport", "~> 5.0"
5
-
6
- group :deployment do
7
- gem "rake"
8
- gem "rubocop"
9
- end
10
-
11
- gemspec path: "../"
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- source "https://rubygems.org"
3
-
4
- gem "activesupport", "~> 5.1"
5
-
6
- group :deployment do
7
- gem "rake"
8
- gem "rubocop"
9
- end
10
-
11
- gemspec path: "../"