sus 0.28.0 → 0.29.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
- checksums.yaml.gz.sig +0 -0
- data/lib/sus/have.rb +5 -1
- data/lib/sus/version.rb +1 -1
- data/readme.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +6 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec538e7cbf293f075dd262e212e705edc33d457e4791458d5d75a3179cfca2f
|
4
|
+
data.tar.gz: 6193fb56afb1124b67d5ecf44f646f71a97919c8924c7d6dbc586ed4e566c843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b537a93be3bc1f008cee17659df931a04f9f1bcbc219d2813543ba4372c479d9f56b6de5d9aae1fca4179beab095450789fd7f046e89d1d6509921cb2eafab1
|
7
|
+
data.tar.gz: a4c27583848df35d4c40c95c73f128d7521b05856b14c50b80f094637d4f850ea44e32f0fd917f40a48603a1e6ede1bf83772a0bdeb4f5918da51d9fb8a1ac0d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/sus/have.rb
CHANGED
@@ -58,10 +58,14 @@ module Sus
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def call(assertions, subject)
|
61
|
-
|
61
|
+
index = 0
|
62
|
+
|
63
|
+
subject.each do |value|
|
62
64
|
assertions.nested("[#{index}] = #{value.inspect}") do |assertions|
|
63
65
|
@predicate&.call(assertions, value)
|
64
66
|
end
|
67
|
+
|
68
|
+
index += 1
|
65
69
|
end
|
66
70
|
end
|
67
71
|
end
|
data/lib/sus/version.rb
CHANGED
data/readme.md
CHANGED
@@ -12,7 +12,7 @@ Non-features:
|
|
12
12
|
- Flexibility at the expense of performance.
|
13
13
|
- Backwards compatibility.
|
14
14
|
|
15
|
-
[](https://github.com/sus-rb/sus/actions?workflow=Test)
|
16
16
|
|
17
17
|
## Ideas
|
18
18
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
39
39
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
40
40
|
-----END CERTIFICATE-----
|
41
|
-
date: 2024-07-
|
41
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
42
42
|
dependencies: []
|
43
43
|
description:
|
44
44
|
email:
|
@@ -101,13 +101,13 @@ files:
|
|
101
101
|
- lib/sus/with.rb
|
102
102
|
- license.md
|
103
103
|
- readme.md
|
104
|
-
homepage: https://github.com/
|
104
|
+
homepage: https://github.com/sus-rb/sus
|
105
105
|
licenses:
|
106
106
|
- MIT
|
107
107
|
metadata:
|
108
|
-
documentation_uri: https://
|
108
|
+
documentation_uri: https://sus-rb.github.io/sus/
|
109
109
|
funding_uri: https://github.com/sponsors/ioquatix/
|
110
|
-
source_code_uri: https://github.com/
|
110
|
+
source_code_uri: https://github.com/sus-rb/sus.git
|
111
111
|
post_install_message:
|
112
112
|
rdoc_options: []
|
113
113
|
require_paths:
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.5.
|
126
|
+
rubygems_version: 3.5.11
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: A fast and scalable test runner.
|
metadata.gz.sig
CHANGED
Binary file
|