rails_edge_test 1.2.0 → 1.2.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 +6 -4
- data/lib/rails_edge_test/dsl/action.rb +4 -2
- data/lib/rails_edge_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2d1d6233440ce9bd5dab8c6848331c618f29bb1a336b265804d75346a6353d6
|
|
4
|
+
data.tar.gz: c5336140751b38c0837f108f4babd179528a7f3a267b27a4c24bea3d42445326
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bec0983e9ae879fca59515e5c24dc886d5af0d431b95b41a3af98331c0c30f8a506aae943fa0ab6d367082a1271d0eb96af89a0a6aa7f99fd8e2e63b14d5e7fd
|
|
7
|
+
data.tar.gz: 6becf6b812594a99870e7ccd4d178e1e5f885d2b1ecf82b364ba72997f55906a23cfcb7ddf3451b971e28b043afb80c5ac0c2bec3e64a16691453e2107f3c4e2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# The Changelog
|
|
2
2
|
|
|
3
|
+
## Version 1.2.1: April 17, 2020
|
|
4
|
+
|
|
5
|
+
- fix delegate method not being defined
|
|
6
|
+
|
|
3
7
|
## Version 1.2.0: April 17, 2020
|
|
8
|
+
|
|
4
9
|
- nix developer setup (#28, thanks @arkham!)
|
|
5
10
|
- support scoped defined methods (with `def`) (#29, thanks @arkham!)
|
|
6
11
|
|
|
7
12
|
## Version 1.1.1: January 17, 2019
|
|
13
|
+
|
|
8
14
|
- test fixes (#25)
|
|
9
15
|
- more deterministic edge generation (#26)
|
|
10
16
|
|
|
@@ -28,17 +34,14 @@
|
|
|
28
34
|
|
|
29
35
|
- Bug fixes for generated JSON is now formatted to aid in comparing versions of generated fixtures
|
|
30
36
|
|
|
31
|
-
|
|
32
37
|
## Version 0.5.0: Sep 4, 2018
|
|
33
38
|
|
|
34
39
|
- Generated JSON is now formatted to aid in comparing versions of generated fixtures
|
|
35
40
|
|
|
36
|
-
|
|
37
41
|
## Version 0.4.0: Aug 16, 2018
|
|
38
42
|
|
|
39
43
|
- `let` bindings can now be set at the controller level and overridden or used in child actions.
|
|
40
44
|
|
|
41
|
-
|
|
42
45
|
## Version 0.3.0: Mar 7, 2018
|
|
43
46
|
|
|
44
47
|
- User can generate edges, one file at a time, by passing filename into new exe/generate_edges
|
|
@@ -49,7 +52,6 @@
|
|
|
49
52
|
|
|
50
53
|
- Replaced rake task with RailsEdgeTest::Runner
|
|
51
54
|
|
|
52
|
-
|
|
53
55
|
## Version 0.2.2: Feb 20, 2018
|
|
54
56
|
|
|
55
57
|
- Beginning of this changelog.
|
|
@@ -6,8 +6,6 @@ module RailsEdgeTest::Dsl
|
|
|
6
6
|
@let_handler = LetHandler.new
|
|
7
7
|
end
|
|
8
8
|
|
|
9
|
-
delegate :controller_class, to: :controller
|
|
10
|
-
|
|
11
9
|
def edge(description, &block)
|
|
12
10
|
edge = Edge.new(description, self)
|
|
13
11
|
@edges[edge] = block
|
|
@@ -29,6 +27,10 @@ module RailsEdgeTest::Dsl
|
|
|
29
27
|
@let_handler
|
|
30
28
|
end
|
|
31
29
|
|
|
30
|
+
def controller_class
|
|
31
|
+
controller.controller_class
|
|
32
|
+
end
|
|
33
|
+
|
|
32
34
|
# support calling methods defined in controller
|
|
33
35
|
def method_missing(method_name, *arguments, &block)
|
|
34
36
|
if controller.respond_to?(method_name)
|