varar 0.6.1 → 0.7.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/lib/varar/dsl.rb +4 -5
- data/lib/varar.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33e1bb173b4ff42bb5b90335b74d78e369449fec56cd219a41a321d641501276
|
|
4
|
+
data.tar.gz: 5bf303b92fde845455676e500478d92ff8e3b1c8c9a800b83b8eb77b28d20e50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 223e64ecd32aa919e69d04872f399ce97f562177b9baac457699ce2d1f7f568c32c5500aae5f13563a8cb4e388e6d372f774873271e1bbb89f666a4ecd6da68f
|
|
7
|
+
data.tar.gz: 5b8ed1cd7b37a11380b73ae369b5cefb6963c92cf4ed1839aa55c2632062cf6d5fb098adad7e1c89dc5492caf67baf6e750dcae8d395001e9276d7f0b67828cc
|
data/lib/varar/dsl.rb
CHANGED
|
@@ -15,11 +15,10 @@ require 'varar/internal'
|
|
|
15
15
|
# The initial state is optional — omit it entirely for stateless step files —
|
|
16
16
|
# but when given it MUST be a Proc/lambda, called fresh for every example. A
|
|
17
17
|
# Hash was previously accepted and closed over a single object shared by every
|
|
18
|
-
# example in the file
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
# across step files.
|
|
18
|
+
# example in the file, so one example could see another's mutations. Requiring
|
|
19
|
+
# a factory makes freshness structural — which is the whole guarantee, since
|
|
20
|
+
# Varar hands the state to handlers untouched and never freezes it. The state
|
|
21
|
+
# is keyed by the calling file so contexts never bleed across step files.
|
|
23
22
|
module Kernel
|
|
24
23
|
private
|
|
25
24
|
|
data/lib/varar.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: varar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aslak Hellesøy
|
|
@@ -29,15 +29,15 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.
|
|
32
|
+
version: 0.7.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.
|
|
40
|
-
description: 'The
|
|
39
|
+
version: 0.7.0
|
|
40
|
+
description: 'The Varar author facade: define_state and the step-registration accumulator.'
|
|
41
41
|
email:
|
|
42
42
|
- aslak@oselvar.com
|
|
43
43
|
executables: []
|