rspec-parameterized 1.0.2 → 2.0.1

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: c58d8c343fff41f5d15239cfefde2453953b92b1925550fab38f2b60cfff4d99
4
- data.tar.gz: afce46ff25e7ae53024677a03099c0edf74f9b870ee15768fd6a22d1d32f1b2f
3
+ metadata.gz: 394fa71c828b9fb9542b2fed37e2675cedd4b6b63c57a672147641749e1177a2
4
+ data.tar.gz: 52f404d755aa3ac57bc6e57b0015abb52051bd708d6c3927ae6377075549c4eb
5
5
  SHA512:
6
- metadata.gz: cb81810be792c9cb05573dc20b955d31b88c2ff8b851c60976d3cbf393c2e3ca391b81275b404b60eb1f521cad55e3318c978947c6e684fa1b05ec7a5fcd10c7
7
- data.tar.gz: 585958f3b530feb6ec87612b8daca7e7231739eeffd861f65d25bced343a2eadbc5b6842fa0704da72fee60eb87dca1f9f2773dc5608e16d6e366300e42f1106
6
+ metadata.gz: a4b40cf21677c8373c367f17da6d5f04fabbf56293ad3cdbb722d21797df765d59dcb35d00a5d0aa504d19fb9103a2192fc55b6a7dfcd1a3ba93b0c5bf5d17d6
7
+ data.tar.gz: 16a5bfb1095dcabc923c96b33ffe2a2ea0e7274dee577db3f8091115062ccd28f0d5ef15cf3e3ac056f54cab4fc0e41a143f1ea6912a4a6aba27d5527c9d8b1a
@@ -6,3 +6,5 @@ updates:
6
6
  directory: /
7
7
  schedule:
8
8
  interval: monthly
9
+ cooldown:
10
+ default-days: 7
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ if: github.repository == 'tomykaira/rspec-parameterized'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/rspec-parameterized
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ steps:
20
+ - name: Harden Runner
21
+ uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22
+ with:
23
+ egress-policy: audit
24
+
25
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
+
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ruby
32
+
33
+ - name: Publish to RubyGems
34
+ uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
+
36
+ - name: Create GitHub release
37
+ run: |
38
+ tag_name="$(git describe --tags --abbrev=0)"
39
+ gh release create "${tag_name}" --verify-tag --generate-notes
40
+ env:
41
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -11,10 +11,16 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
14
+ ruby-version:
15
+ - '2.7'
16
+ - '3.0'
17
+ - '3.1'
18
+ - '3.2'
19
+ - '3.3'
20
+ - '3.4'
15
21
 
16
22
  steps:
17
- - uses: actions/checkout@v4
23
+ - uses: actions/checkout@v5
18
24
  - name: Set up Ruby
19
25
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
26
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
data/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
1
  # Change Log
2
2
  ## Unreleased
3
- [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v1.0.2...master)
3
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v2.0.1...master)
4
+
5
+ ## [v2.0.1](https://github.com/tomykaira/rspec-parameterized/releases/tag/v2.0.1) (2025-11-30)
6
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v2.0.0...v2.0.1)
7
+
8
+ - Release gem from GitHub Actions
9
+ - https://github.com/tomykaira/rspec-parameterized/pull/93
10
+
11
+ ## [v2.0.0](https://github.com/tomykaira/rspec-parameterized/releases/tag/v2.0.0) (2025-05-02)
12
+ [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v1.0.2...v2.0.0)
13
+
14
+ - Requires rspec-parameterized-core v2 and rspec-parameterized-table_syntax v2
15
+ - https://github.com/tomykaira/rspec-parameterized/pull/90
16
+
17
+ see also
18
+
19
+ - rspec-parameterized-core
20
+ - https://github.com/rspec-parameterized/rspec-parameterized-core/blob/main/CHANGELOG.md#200---2025-05-02
21
+ - https://github.com/rspec-parameterized/rspec-parameterized-core/releases/tag/v2.0.0
22
+ - rspec-parameterized-table_syntax
23
+ - https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/blob/main/CHANGELOG.md#200---2025-05-02
24
+ - https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/releases/tag/v2.0.0
4
25
 
5
26
  ## [v1.0.2](https://github.com/tomykaira/rspec-parameterized/tree/v1.0.1) (2024-04-28)
6
27
  [Full Changelog](https://github.com/tomykaira/rspec-parameterized/compare/v1.0.1...v1.0.2)
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Parameterized
3
- VERSION = "1.0.2"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
@@ -12,8 +12,8 @@ I was inspired by [udzura's mock](https://gist.github.com/1881139).}
12
12
  gem.metadata["rubygems_mfa_required"] = "true"
13
13
  gem.license = "MIT"
14
14
 
15
- gem.add_dependency('rspec-parameterized-core', '< 2')
16
- gem.add_dependency('rspec-parameterized-table_syntax', '< 2')
15
+ gem.add_dependency('rspec-parameterized-core', '>= 2', '< 3')
16
+ gem.add_dependency('rspec-parameterized-table_syntax', '>= 2', '< 3')
17
17
 
18
18
  gem.add_development_dependency('rake', '>= 12.0.0')
19
19
 
metadata CHANGED
@@ -1,43 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-parameterized
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomykaira
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rspec-parameterized-core
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "<"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
18
  version: '2'
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '3'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - "<"
26
+ - - ">="
25
27
  - !ruby/object:Gem::Version
26
28
  version: '2'
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '3'
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: rspec-parameterized-table_syntax
29
34
  requirement: !ruby/object:Gem::Requirement
30
35
  requirements:
31
- - - "<"
36
+ - - ">="
32
37
  - !ruby/object:Gem::Version
33
38
  version: '2'
39
+ - - "<"
40
+ - !ruby/object:Gem::Version
41
+ version: '3'
34
42
  type: :runtime
35
43
  prerelease: false
36
44
  version_requirements: !ruby/object:Gem::Requirement
37
45
  requirements:
38
- - - "<"
46
+ - - ">="
39
47
  - !ruby/object:Gem::Version
40
48
  version: '2'
49
+ - - "<"
50
+ - !ruby/object:Gem::Version
51
+ version: '3'
41
52
  - !ruby/object:Gem::Dependency
42
53
  name: rake
43
54
  requirement: !ruby/object:Gem::Requirement
@@ -60,6 +71,7 @@ extensions: []
60
71
  extra_rdoc_files: []
61
72
  files:
62
73
  - ".github/dependabot.yml"
74
+ - ".github/workflows/release_gem.yml"
63
75
  - ".github/workflows/rspec.yml"
64
76
  - ".gitignore"
65
77
  - ".rspec"
@@ -80,7 +92,6 @@ licenses:
80
92
  - MIT
81
93
  metadata:
82
94
  rubygems_mfa_required: 'true'
83
- post_install_message:
84
95
  rdoc_options: []
85
96
  require_paths:
86
97
  - lib
@@ -95,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
106
  - !ruby/object:Gem::Version
96
107
  version: '0'
97
108
  requirements: []
98
- rubygems_version: 3.5.3
99
- signing_key:
109
+ rubygems_version: 3.6.7
100
110
  specification_version: 4
101
111
  summary: RSpec::Parameterized supports simple parameterized test syntax in rspec.
102
112
  I was inspired by [udzura's mock](https://gist.github.com/1881139).