m-spec 0.1.4 → 0.1.5
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 -3
- data/lib/m-spec/core/spec_result.rb +2 -2
- data/lib/m-spec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe47e5d229c865a8619c6f62bc61d85535df6455cdc3f6c6c3f4c23071b633bd
|
|
4
|
+
data.tar.gz: 4a9085d8178b12ef11170b053f8e17d27a8e8a0666219541a3937f616af133f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a9982cf39b798aadc96fb67629bfc77935e4e417b22843a9bf411a5cc5431a64378e98ac3610eb6e34ebe2c92f1bc8072324baae2cbb7c77c2df2a6169045f0
|
|
7
|
+
data.tar.gz: c20edd5f8e4f083bdc675d16ed844069c15386a4e78056c2c7017c6c9930a2bd4961d7df130ecd13368a798a81a8a7fc3b80e4c445e2c27c00f3c6e9c43f1560
|
data/README.md
CHANGED
|
@@ -64,14 +64,14 @@ The Animal
|
|
|
64
64
|
fails nicely
|
|
65
65
|
Expected: ROAAAARRRR!
|
|
66
66
|
Got: little roar!
|
|
67
|
-
/path/to/directory/spec/animal_spec.rb:11:in `block (2 levels) in <top (required)>'
|
|
67
|
+
# /path/to/directory/spec/animal_spec.rb:11:in `block (2 levels) in <top (required)>'
|
|
68
68
|
stubbing
|
|
69
69
|
we can mock too!
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
It's got simple one-level indentation, simple colour coding for test passes and failures, and simple failure messages with expected and actual values and the failing spec file path and line number.
|
|
73
73
|
|
|
74
|
-
Remember - you'll have to manage test setup and teardown
|
|
74
|
+
Remember - you'll have to manage yourself: test setup and teardown, keeping test code dry, each test running in isolation, and loading source code properly.
|
|
75
75
|
|
|
76
76
|
## Extending
|
|
77
77
|
|
|
@@ -88,7 +88,7 @@ m-spec [spec-file]
|
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
## Pushing to Rubygems
|
|
91
|
-
Sign up for an account, check for the gem name you want, and then follow the hints and errors when you
|
|
91
|
+
Sign up for an account, check for the gem name you want, change the gem metadata to represent what you want, and then follow the hints and errors when you
|
|
92
92
|
```sh
|
|
93
93
|
$ bundle exec rake release
|
|
94
94
|
```
|
data/lib/m-spec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: m-spec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edward Withers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|