activesupport-deprecation_test_helper 0.1.2 → 0.2.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 996490096b8ef4f7fb5d7d82b919883f5a61768e4998e72103ee05496efc4e4c
4
- data.tar.gz: 88dfad142716f4ea674750822371e49eea5fdf40fc09297af457cd22ea5bb4f6
3
+ metadata.gz: 3991c7c35694cf766d643781b4ff33bd772e18e19bb77240f6586583512079b4
4
+ data.tar.gz: f1b5c084b5d027972fa6a0dfd218d77dce0d6a33002963b0195e8b5bde61cbff
5
5
  SHA512:
6
- metadata.gz: 8debccc5b564c1f6296fe82bdba5f3391c69c0b88583f356ef4f88b8cfa984d8898e9e67ce79a51a17b8496a4d5184b01b426c593d12e0039f7b40264422c175
7
- data.tar.gz: d982e3ab16be0b5be2f6c22eec266238b104f24cb21ea28da8dd44755c8f1ab96c860ceec2de130ecda3aff5d827f3fa7f79f03ccd430b8d78c323024312d5b9
6
+ metadata.gz: 4b66ddd03dba3ca55b03b4cad7a266b7186b32ccd2a588c35000f8f5fefc0c0bcf8ccfdd3be246d8ab94194683c8b4e81f2f55117402b14d7cb1e3a1bb9d312d
7
+ data.tar.gz: d69e8cf60e6937320bfd6ada1344a28d5c211a07e0b678fb4a26529a87355e5579d3fcb76bed78bcdbd90ffed9a45a7d1ee05f2aeacc67b684d60efbfec28297
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: Pipeline
3
+ on: [push]
4
+ jobs:
5
+ tests:
6
+ name: Unit Tests
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ ruby: [2.6, 2.7, '3.0', 3.1]
12
+ gemfile:
13
+ - Gemfile
14
+ - gemfiles/rails_5.gemfile
15
+ - gemfiles/rails_6.gemfile
16
+ - gemfiles/rails_7.gemfile
17
+ exclude:
18
+ - ruby: 2.6
19
+ gemfile: gemfiles/rails_7.gemfile
20
+ env:
21
+ BUNDLE_GEMFILE: ${{ matrix.gemfile }}
22
+ steps:
23
+ - uses: actions/checkout@v2
24
+ - uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby }}
27
+ bundler: 2.2.29
28
+ bundler-cache: true
29
+ - name: Unit tests
30
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /gemfiles/*.lock
10
+ .idea
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ 2.7.5
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-4' do
4
- gem 'activesupport', '~> 4.2'
5
- end
6
-
7
3
  appraise 'rails-5' do
8
4
  gem 'activesupport', '~> 5.2'
9
5
  end
@@ -11,3 +7,7 @@ end
11
7
  appraise 'rails-6' do
12
8
  gem 'activesupport', '~> 6.0'
13
9
  end
10
+
11
+ appraise 'rails-7' do
12
+ gem 'activesupport', '~> 7.0'
13
+ end
data/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ 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.2.0] - Unreleased
8
+ ### Added
9
+ - Added explicit support for Ruby 2.7, 3.0, and 3.1
10
+
11
+ ### Removed
12
+ - Removed support for Rails 4
13
+
7
14
  ## [0.1.2] - 2020-06-18
8
15
  ### Fixed
9
16
  - RSpec configuration bug where after(:suite) callback was unable to execute successfully
data/Gemfile.lock CHANGED
@@ -1,30 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activesupport-deprecation_test_helper (0.1.2)
5
- activesupport (>= 4.2, < 7)
4
+ activesupport-deprecation_test_helper (0.2.0.pre.1)
5
+ activesupport (>= 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.3.2)
10
+ activesupport (6.1.7.2)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2, >= 2.2.2)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ zeitwerk (~> 2.3)
16
16
  appraisal (2.3.0)
17
17
  bundler
18
18
  rake
19
19
  thor (>= 0.14.0)
20
20
  byebug (11.1.3)
21
21
  coderay (1.1.3)
22
- concurrent-ruby (1.1.6)
22
+ concurrent-ruby (1.2.2)
23
23
  diff-lcs (1.3)
24
- i18n (1.8.3)
24
+ i18n (1.12.0)
25
25
  concurrent-ruby (~> 1.0)
26
26
  method_source (1.0.0)
27
- minitest (5.14.1)
27
+ minitest (5.18.0)
28
28
  pry (0.13.1)
29
29
  coderay (~> 1.1)
30
30
  method_source (~> 1.0)
@@ -48,10 +48,9 @@ GEM
48
48
  rspec_junit_formatter (0.4.1)
49
49
  rspec-core (>= 2, < 4, != 2.12.0)
50
50
  thor (1.0.1)
51
- thread_safe (0.3.6)
52
- tzinfo (1.2.7)
53
- thread_safe (~> 0.1)
54
- zeitwerk (2.3.0)
51
+ tzinfo (2.0.6)
52
+ concurrent-ruby (~> 1.0)
53
+ zeitwerk (2.6.7)
55
54
 
56
55
  PLATFORMS
57
56
  ruby
@@ -66,4 +65,4 @@ DEPENDENCIES
66
65
  rspec_junit_formatter (~> 0.4)
67
66
 
68
67
  BUNDLED WITH
69
- 1.17.3
68
+ 2.2.29
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_dependency 'activesupport', '>= 4.2', '< 7'
35
+ spec.add_dependency 'activesupport', '>= 5.2'
36
36
  end
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "pry"
7
7
  gem "pry-byebug"
8
- gem "rake", "~> 10.0"
8
+ gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
10
  gem "rspec_junit_formatter", "~> 0.4"
11
11
  gem "activesupport", "~> 5.2"
@@ -5,7 +5,7 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "pry"
7
7
  gem "pry-byebug"
8
- gem "rake", "~> 10.0"
8
+ gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
10
  gem "rspec_junit_formatter", "~> 0.4"
11
11
  gem "activesupport", "~> 6.0"
@@ -5,9 +5,9 @@ source "https://rubygems.org"
5
5
  gem "appraisal"
6
6
  gem "pry"
7
7
  gem "pry-byebug"
8
- gem "rake", "~> 10.0"
8
+ gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
10
  gem "rspec_junit_formatter", "~> 0.4"
11
- gem "activesupport", "~> 4.2"
11
+ gem "activesupport", "~> 7.0"
12
12
 
13
13
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveSupport
4
4
  module DeprecationTestHelper
5
- VERSION = "0.1.2"
5
+ VERSION = "0.2.0.pre.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport-deprecation_test_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2023-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7'
19
+ version: '5.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '4.2'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7'
26
+ version: '5.2'
33
27
  description: A test helper that removes `ActiveSupport::Deprecation` noise from being
34
28
  interlaced in your test output. Instead this gem collects any and all deprecation
35
29
  warnings that occur during your tests, and succinctly reports them at the end of
@@ -41,9 +35,8 @@ extensions: []
41
35
  extra_rdoc_files: []
42
36
  files:
43
37
  - ".dependabot/config.yml"
38
+ - ".github/workflows/pipeline.yml"
44
39
  - ".gitignore"
45
- - ".jenkins/Jenkinsfile"
46
- - ".jenkins/ruby_build_pod.yml"
47
40
  - ".rspec"
48
41
  - ".ruby-version"
49
42
  - Appraisals
@@ -55,9 +48,9 @@ files:
55
48
  - active_support-deprecation_test_helper.gemspec
56
49
  - bin/console
57
50
  - bin/setup
58
- - gemfiles/rails_4.gemfile
59
51
  - gemfiles/rails_5.gemfile
60
52
  - gemfiles/rails_6.gemfile
53
+ - gemfiles/rails_7.gemfile
61
54
  - lib/active_support/deprecation_test_helper.rb
62
55
  - lib/active_support/deprecation_test_helper/version.rb
63
56
  homepage: https://github.com/Invoca/active_support-deprecation_test_helper
@@ -67,7 +60,7 @@ metadata:
67
60
  homepage_uri: https://github.com/Invoca/active_support-deprecation_test_helper
68
61
  source_code_uri: https://github.com/Invoca/active_support-deprecation_test_helper
69
62
  changelog_uri: https://github.com/Invoca/active_support-deprecation_test_helper/blob/master/CHANGELOG.md
70
- post_install_message:
63
+ post_install_message:
71
64
  rdoc_options: []
72
65
  require_paths:
73
66
  - lib
@@ -78,12 +71,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
71
  version: '0'
79
72
  required_rubygems_version: !ruby/object:Gem::Requirement
80
73
  requirements:
81
- - - ">="
74
+ - - ">"
82
75
  - !ruby/object:Gem::Version
83
- version: '0'
76
+ version: 1.3.1
84
77
  requirements: []
85
- rubygems_version: 3.0.3
86
- signing_key:
78
+ rubygems_version: 3.1.6
79
+ signing_key:
87
80
  specification_version: 4
88
81
  summary: A test helper that removes `ActiveSupport::Deprecation` noise from being
89
82
  interlaced in your test output.
data/.jenkins/Jenkinsfile DELETED
@@ -1,69 +0,0 @@
1
- #!/usr/bin/groovy
2
-
3
- @Library('jenkins-pipeline@v0.4.4')
4
-
5
- def setGithubStatus(String name, String description, String status) {
6
- gitHubStatus([
7
- repoSlug: 'Invoca/active_support-deprecation_test_helper',
8
- sha: env.GIT_COMMIT,
9
- description: description,
10
- context: name,
11
- targetURL: env.RUN_DISPLAY_URL,
12
- token: env.GITHUB_TOKEN,
13
- status: status
14
- ])
15
- }
16
-
17
- pipeline {
18
- agent {
19
- kubernetes {
20
- defaultContainer 'ruby'
21
- yamlFile '.jenkins/ruby_build_pod.yml'
22
- }
23
- }
24
-
25
- environment { GITHUB_TOKEN = credentials('github_token') }
26
-
27
- stages {
28
- stage("Setup") {
29
- steps {
30
- setGithubStatus('clean-build', 'Running unit tests', 'pending')
31
- sh 'bundle install'
32
- sh 'bundle exec appraisal install'
33
- }
34
- }
35
-
36
- stage("Appraisals") {
37
- parallel {
38
- stage("Current") {
39
- environment { JUNIT_OUTPUT = 'spec/reports/current/rspec.xml' }
40
- steps { sh 'bundle exec rake' }
41
- post { always { junit JUNIT_OUTPUT } }
42
- }
43
-
44
- stage("Rails 4") {
45
- environment { JUNIT_OUTPUT = 'spec/reports/rails-4/rspec.xml' }
46
- steps { sh 'bundle exec appraisal rails-4 rake' }
47
- post { always { junit JUNIT_OUTPUT } }
48
- }
49
-
50
- stage("Rails 5") {
51
- environment { JUNIT_OUTPUT = 'spec/reports/rails-5/rspec.xml' }
52
- steps { sh 'bundle exec appraisal rails-5 rake' }
53
- post { always { junit JUNIT_OUTPUT } }
54
- }
55
-
56
- stage("Rails 6") {
57
- environment { JUNIT_OUTPUT = 'spec/reports/rails-6/rspec.xml' }
58
- steps { sh 'bundle exec appraisal rails-6 rake' }
59
- post { always { junit JUNIT_OUTPUT } }
60
- }
61
- }
62
- }
63
- }
64
-
65
- post {
66
- success { setGithubStatus('clean-build', 'Passed all unit tests!', 'success') }
67
- failure { setGithubStatus('clean-build', 'Failure during unit tests!', 'failure') }
68
- }
69
- }
@@ -1,18 +0,0 @@
1
- ---
2
- apiVersion: v1
3
- kind: Pod
4
- metadata:
5
- labels:
6
- jenkins/active_support-deprecation_test_helper: 'true'
7
- namespace: jenkins
8
- name: active_support-deprecation_test_helper
9
- spec:
10
- containers:
11
- - name: ruby
12
- image: ruby:2.6.5
13
- tty: true
14
- resources:
15
- requests:
16
- memory: "100Mi"
17
- command:
18
- - cat