Michael Miller
|
c21ff183f2
|
Update version to 0.8.1
|
2019-08-17 08:24:52 -06:00 |
|
Michael Miller
|
cede88bf0c
|
Update spec with new arguments
|
2019-08-17 08:24:06 -06:00 |
|
Michael Miller
|
c36859b42b
|
Correct docs
|
2019-08-17 08:10:26 -06:00 |
|
Michael Miller
|
7f58c52e43
|
Cleanup
|
2019-08-17 08:05:05 -06:00 |
|
Michael Miller
|
498635d288
|
Pass along a proc to generate the array
The "to_a" method is actually dynamically generated.
|
2019-08-17 08:00:16 -06:00 |
|
Michael Miller
|
43440d37b0
|
Explicit initializer with sample values
Not sure why it isn't getting the one from the module.
|
2019-08-17 07:59:32 -06:00 |
|
Michael Miller
|
a59e38155e
|
Defer collection evaluation until build
|
2019-08-17 07:51:29 -06:00 |
|
Michael Miller
|
34b5487e6f
|
Pass along class type instead of collection
|
2019-08-15 17:38:54 -06:00 |
|
Michael Miller
|
01c4b78716
|
Move placeholder initializer up a level
|
2019-08-15 16:43:25 -06:00 |
|
Mike Miller
|
cf6cf5db59
|
Merge branch 'release/0.8' into 'master'
Version 0.8.0
Closes #18
See merge request arctic-fox/spectator!7
|
2019-08-12 21:27:18 +00:00 |
|
Michael Miller
|
1cbeff69df
|
Update to Crystal 0.30.1
|
2019-08-12 15:23:51 -06:00 |
|
Mike Miller
|
db9715341e
|
Merge branch 'all-matcher' into 'release/0.8'
All matcher
See merge request arctic-fox/spectator!14
|
2019-08-12 20:19:45 +00:00 |
|
Michael Miller
|
0c205a1bf2
|
Mark all-matcher as complete
|
2019-08-12 14:18:08 -06:00 |
|
Michael Miller
|
b026668de2
|
Formatting
|
2019-08-12 14:17:23 -06:00 |
|
Michael Miller
|
46c775932a
|
Negated all match is not supported
|
2019-08-12 14:17:04 -06:00 |
|
Michael Miller
|
0cb77b3355
|
Add all-matcher to DSL
|
2019-08-12 14:07:13 -06:00 |
|
Michael Miller
|
8520697efa
|
Initial code for all-matcher
|
2019-08-12 14:05:14 -06:00 |
|
Mike Miller
|
454455d601
|
Merge branch 'change-matchers' into 'release/0.8'
Change matchers
See merge request arctic-fox/spectator!10
|
2019-08-12 05:12:51 +00:00 |
|
Michael Miller
|
41580acee2
|
Mark change matchers as complete
|
2019-08-11 23:11:15 -06:00 |
|
Michael Miller
|
4e15487a0f
|
Add relative change matcher
|
2019-08-11 23:08:45 -06:00 |
|
Michael Miller
|
c19f442e6c
|
Add #by modifier methods
|
2019-08-11 13:52:22 -06:00 |
|
Michael Miller
|
848f80ddf8
|
Add block short-hand syntax support to change matcher
|
2019-08-11 13:16:40 -06:00 |
|
Michael Miller
|
2666f80653
|
Hackish fix for block short-hand syntax
Dunno when this broke or how it ever worked. 😐
|
2019-08-11 13:16:18 -06:00 |
|
Michael Miller
|
27436b4e09
|
Need to use fresh variables in this macro
|
2019-08-11 12:55:38 -06:00 |
|
Michael Miller
|
5dfcad3cb4
|
Flip operands of != in case expected has custom logic
|
2019-08-11 12:40:27 -06:00 |
|
Michael Miller
|
e1a119639f
|
Add change exact matcher
|
2019-08-11 12:39:33 -06:00 |
|
Michael Miller
|
3c539b3517
|
Fix require statements
|
2019-08-10 12:54:46 -06:00 |
|
Michael Miller
|
1d205b6ee9
|
Put test expression on its own line
|
2019-08-10 12:49:54 -06:00 |
|
Michael Miller
|
214b2e171e
|
Refactor existing change matchers to use new format
|
2019-08-10 12:42:57 -06:00 |
|
Michael Miller
|
db1118dac1
|
Fix spec after rebase
|
2019-08-10 12:26:00 -06:00 |
|
Michael Miller
|
e6599d5fe0
|
Remove specs for change matchers (for now)
|
2019-08-10 11:40:33 -06:00 |
|
Michael Miller
|
a56d6762c0
|
Formatting
|
2019-08-10 11:38:13 -06:00 |
|
Michael Miller
|
535dc6e923
|
Add change.to variant
|
2019-08-10 11:37:19 -06:00 |
|
Michael Miller
|
d2823398ff
|
Remove useless assignment (Ameba find)
|
2019-08-10 11:37:19 -06:00 |
|
Michael Miller
|
817128b286
|
Add tests for change.from
|
2019-08-10 11:37:19 -06:00 |
|
Michael Miller
|
59cf939536
|
Don't store initial value in matcher
|
2019-08-10 11:37:19 -06:00 |
|
Michael Miller
|
770100891c
|
Add change.from variant
|
2019-08-10 11:36:38 -06:00 |
|
Michael Miller
|
946604b737
|
Add tests for override cases
Fix negated? method.
|
2019-08-10 11:34:16 -06:00 |
|
Michael Miller
|
24066c46a0
|
Allow MatchData to control whether they can be negated
Values are still negated, but message and matching status are not.
|
2019-08-10 11:27:15 -06:00 |
|
Michael Miller
|
3e1ee7eb6d
|
Initial code for basic change matcher
|
2019-08-10 11:21:14 -06:00 |
|
Mike Miller
|
1521107934
|
Merge branch 'matcher-refactor' into 'release/0.8'
Matcher refactor
See merge request arctic-fox/spectator!13
|
2019-08-10 17:14:10 +00:00 |
|
Michael Miller
|
ede691dd6a
|
Reorder methods to be in a more standard layout
|
2019-08-10 11:10:48 -06:00 |
|
Michael Miller
|
898ddcb616
|
Type annotations for #match?
|
2019-08-10 10:55:22 -06:00 |
|
Michael Miller
|
c4b886cad2
|
Add match data docs
|
2019-08-10 10:53:00 -06:00 |
|
Michael Miller
|
d5fd21702a
|
Add matcher docs
|
2019-08-10 10:50:48 -06:00 |
|
Michael Miller
|
37c8dd0865
|
Stringify respond_to bools
|
2019-08-10 09:55:26 -06:00 |
|
Michael Miller
|
39f253952d
|
Add docs and some more type annotations
|
2019-08-09 17:26:53 -06:00 |
|
Michael Miller
|
db4eaca291
|
Just assert the return value isn't nil
|
2019-08-09 17:21:12 -06:00 |
|
Michael Miller
|
efd0ab089d
|
Define type annotations for match methods
Hopefully this speeds up some compilation.
|
2019-08-09 16:58:35 -06:00 |
|
Michael Miller
|
a54e406fec
|
Clean up expectation specs
Removed tests that are no longer valid or non-trivial to update.
|
2019-08-09 15:32:22 -06:00 |
|