sus 0.18.2 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7368b0ed0e288959f59f0fe6c2c5dd93ff90ba52f423b1365406e8de260536c1
4
- data.tar.gz: 10fe5fec8209ce9cea739f580a3f4bd1b36be3b6e384f6ff85ad813fad32d0f2
3
+ metadata.gz: cfeea4d70fa47d75bd19bf498b1172dc61124f1d3cc517800c70ae087342c14c
4
+ data.tar.gz: e1b2279e1168e680fd068af67f6d44f376cfe1c7c74728b7506f661dafdb1db9
5
5
  SHA512:
6
- metadata.gz: 1456e34138bea3c5952ababab2950ac946ddce0a3f55879ed1bedb9828c536ffb5c4ced7b9a35f4e80ad1879e230dd26b0fc120b7258e218710530165d9233e5
7
- data.tar.gz: b1ea6d027ec46f0aa72e74fd6cb169a71b5209a57791b52b7f41c1a1f2fc7d70353e08e73ebfef2d7262e67a7be10702500d07ee99f18499d898de5b0ad917ed
6
+ metadata.gz: b09f509fccb65717ae48c657ecb0a2e530761276614d3dc1f9f49fb131caeaf074cbd4bfef1458e029b38347b3aa95a3eb93f7cf6fd7ceeb6e0a23914bbaca66
7
+ data.tar.gz: ac457785b0c6753fd85107c08a37ae735ba1b4e9716aa3b167e51a2de0e5d27dea4a93062c730af5fb36a4a5279472cef71c20431d5602778d04040c6c420d83
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/sus/version.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2022, by Samuel Williams.
5
5
 
6
6
  module Sus
7
- VERSION = "0.18.2"
7
+ VERSION = "0.19.0"
8
8
  end
data/lib/sus/with.rb CHANGED
@@ -44,7 +44,9 @@ module Sus
44
44
  end
45
45
 
46
46
  module Context
47
- def with(subject, **variables, &block)
47
+ def with(subject = nil, **variables, &block)
48
+ subject ||= variables.inspect
49
+
48
50
  add With.build(self, subject, variables, &block)
49
51
  end
50
52
  end
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.18.2
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file