spectr 0.0.6 → 0.0.7
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/README.md +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57b1833d661675e636add482395a754be812d034
|
4
|
+
data.tar.gz: 44fe69b015a8bbf65ccebb9d791c96da13679f0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79807aca0ab4342368c4d6fc576da4b9f89772bab307ccce63b3928656b05625e1eff4fdef31526266379e7a3a50cb0b8911b34525a412efd5a728181d55bd74
|
7
|
+
data.tar.gz: 6632624fb5b6de232e4e1124639f5d2033fa912d1807288465c7d2ad22663ed56164747878924e722787e22e80c0a63ab4dc184d53577b914913fcdaea1218ab
|
data/README.md
CHANGED
@@ -27,8 +27,9 @@ Example spec: (examples/integer_spectr.rb)
|
|
27
27
|
Note: Spectr files must end with `_spectr.rb`
|
28
28
|
|
29
29
|
```
|
30
|
-
|
30
|
+
require 'spectr'
|
31
31
|
|
32
|
+
Spectr.new.test 'Test the builtin Integer class' do |test|
|
32
33
|
int = 1
|
33
34
|
|
34
35
|
test.assume('int inherits from Integer', true) do
|
@@ -42,8 +43,8 @@ Spectr.new.test 'Test the builtin Integer class' do |test|
|
|
42
43
|
test.assume('addition works', 2) do
|
43
44
|
int + 1
|
44
45
|
end
|
45
|
-
|
46
46
|
end
|
47
|
+
|
47
48
|
```
|
48
49
|
|
49
50
|
Usage `spectr PATH`:
|