rspec-parameterized-table_syntax 2.0.1 → 2.1.0
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 +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/rspec/parameterized/table_syntax/version.rb +1 -1
- data/lib/rspec/parameterized/table_syntax.rb +19 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7eff7399243aecce4c7d7c5ce587b0e12461eb041238c897e5d2c32df745ec12
|
|
4
|
+
data.tar.gz: 3f741916012dc53c25bf79906e2773d2b86f362902fa9a7f17734ca97e90e711
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2bb4a7ac664528aca327683517d8731dc7a56a310a0fb746ed9dc5fc767d603413f2006a1c9a14c21c65410529665efece756226e6b7e39c7b02511460c07fc
|
|
7
|
+
data.tar.gz: 8a01775c90a9d1aa5a385d2ab8ff20886872126cb9faa63c881eaf2b1e41c85645d9a4201f7ce67cfd75b8139cb2493c673522a63bcc682983577c4353a14316
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
|
-
[full changelog](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/compare/v2.0
|
|
2
|
+
[full changelog](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/compare/v2.1.0...main)
|
|
3
|
+
|
|
4
|
+
## [2.1.0](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/releases/tag/v2.1.0) - 2025-12-28
|
|
5
|
+
[full changelog](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/compare/v2.0.1...v2.1.0)
|
|
6
|
+
|
|
7
|
+
- Allow binding_of_caller to load under Ruby 4.0
|
|
8
|
+
- https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/pull/22
|
|
3
9
|
|
|
4
10
|
## [2.0.1](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/releases/tag/v2.0.1) - 2025-11-30
|
|
5
11
|
[full changelog](https://github.com/rspec-parameterized/rspec-parameterized-table_syntax/compare/v2.0.0...v2.0.1)
|
|
@@ -4,7 +4,25 @@ require "rspec/parameterized/table_syntax/version"
|
|
|
4
4
|
require 'rspec/parameterized/table_syntax/table'
|
|
5
5
|
require 'rspec/parameterized/table_syntax/table_syntax_implement'
|
|
6
6
|
require "rspec/parameterized/core"
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
# FIXME: Monkey patch for Ruby 4.0+
|
|
9
|
+
# ref. https://github.com/hanami/hanami-webconsole/pull/12
|
|
10
|
+
if RUBY_ENGINE == "ruby"
|
|
11
|
+
# Skip binding_of_caller's version check and force it to load on Ruby 4.0.
|
|
12
|
+
#
|
|
13
|
+
# Remove this shim once https://github.com/banister/binding_of_caller/pull/90 is merged and a new
|
|
14
|
+
# release has been made.
|
|
15
|
+
require "binding_of_caller/version"
|
|
16
|
+
require "binding_of_caller/mri"
|
|
17
|
+
|
|
18
|
+
# Prevent a direct require to "binding_of_caller", which is no longer needed by this point, and
|
|
19
|
+
# which prints a misleading warning about it not supporting Ruby 4.0, which we've fixed ourselves
|
|
20
|
+
# via the above.
|
|
21
|
+
$LOADED_FEATURES << "binding_of_caller.rb"
|
|
22
|
+
else
|
|
23
|
+
require "binding_of_caller"
|
|
24
|
+
end
|
|
25
|
+
# require 'binding_of_caller'
|
|
8
26
|
|
|
9
27
|
module RSpec
|
|
10
28
|
module Parameterized
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-parameterized-table_syntax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
|
-
rubygems_version: 3.6.
|
|
119
|
+
rubygems_version: 3.6.9
|
|
120
120
|
specification_version: 4
|
|
121
121
|
summary: RSpec::Parameterized supports simple parameterized test syntax in rspec.
|
|
122
122
|
I was inspired by [udzura's mock](https://gist.github.com/1881139).
|