sus 0.12.0 → 0.12.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
- checksums.yaml.gz.sig +0 -0
- data/lib/sus/expect.rb +3 -3
- data/lib/sus/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 215e58e8a6634f65126546c43a66bd8479bf844fac053807d7d4094634fdc0ee
|
|
4
|
+
data.tar.gz: b85ff11efcd467c8f101a4051d83012f74bc134a17f2eafc37b0248e2da95260
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7981aa6fe18a62ae576537bd46375809e1d52d0a5362e729069e7f30ac56d6507b135490bd3bd3bb0d22143bbdd7d8a3c95d89838d4adb6071d4c8f723656eb2
|
|
7
|
+
data.tar.gz: 1940a4dc0cd0c955a657303f4c218a9ec771d361e000d99e9b7c0b01f9fc09ab13bb36329e81491ea92b6b590e135a3316b054213785f7ff6a59c52249fc7e9f
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/sus/expect.rb
CHANGED
|
@@ -44,11 +44,11 @@ module Sus
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
class Base
|
|
47
|
-
def expect(subject = nil,
|
|
47
|
+
def expect(subject = nil, &block)
|
|
48
48
|
if block_given?
|
|
49
|
-
Expect.new(@__assertions__, block
|
|
49
|
+
Expect.new(@__assertions__, block)
|
|
50
50
|
else
|
|
51
|
-
Expect.new(@__assertions__, subject
|
|
51
|
+
Expect.new(@__assertions__, subject)
|
|
52
52
|
end
|
|
53
53
|
end
|
|
54
54
|
|
data/lib/sus/version.rb
CHANGED
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.12.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
requirements: []
|
|
112
|
-
rubygems_version: 3.
|
|
112
|
+
rubygems_version: 3.1.6
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: A fast and scalable test runner.
|
metadata.gz.sig
CHANGED
|
Binary file
|