pbt 0.4.0 → 0.4.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/pbt/check/rspec_adapter/property_extension.rb +1 -1
- data/lib/pbt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1a5d4c94783e479474b521113dcad84959db11c6139780031cf52aff6748e61
|
|
4
|
+
data.tar.gz: eb112f231d4417963341fb36b585c9b0d4fa8b14f0ac726c51b80c7424542cb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e40bde143e84c6ed1fa76cf69f3ed93261bcdae70a229359ea996190c63c24ff9b7155f9974a0d4a39c8430fb17e935539631e463a072af30439b5805c939021
|
|
7
|
+
data.tar.gz: d082a2078753d09bf19a1bfc41931258a19db3842590c7f366a1f5fece9097b3a6668db096baa9a679ab0026df05e45ac1f03f14ceca0f1b7aeb635bc1f82c83
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.4.1] - 2024-05-10
|
|
4
|
+
|
|
5
|
+
- Fix a bug for experimental_ractor_rspec_integration mode. When a test file name starts with a number, it can't be a constant name.
|
|
6
|
+
|
|
3
7
|
## [0.4.0] - 2024-05-06
|
|
4
8
|
|
|
5
9
|
- Allow to use RSpec::Matchers for `worker: :none, :thread, :process` also.
|
|
@@ -11,7 +11,7 @@ module Pbt
|
|
|
11
11
|
def setup_rspec_integration
|
|
12
12
|
filepath, line = @predicate.source_location
|
|
13
13
|
basename = File.basename(filepath, ".rb")
|
|
14
|
-
@class_name = basename.split("_").map(&:capitalize).join + line.to_s
|
|
14
|
+
@class_name = "Test" + basename.split("_").map(&:capitalize).join + line.to_s
|
|
15
15
|
@method_name = "predicate_#{basename}_#{line}"
|
|
16
16
|
define_ractor_callable_class
|
|
17
17
|
end
|
data/lib/pbt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pbt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ohbarye
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-05-
|
|
11
|
+
date: 2024-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
|
-
rubygems_version: 3.5.
|
|
82
|
+
rubygems_version: 3.5.3
|
|
83
83
|
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: Property-Based Testing tool for Ruby, utilizing Ractor for parallelizing
|