m-spec 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -3
- 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: 579272e22679383c17c8c38fc3d9bc51ae815a7c2b598625fade1c56f2602f48
|
4
|
+
data.tar.gz: 01f4facd9eb3acbbef1c63271180a557f5e5143de5032d765e2d5b73ba7a77f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e74c2c81a2189ba23bf0a64d853e203dd40804be4f591abc0e0e64a857baaa60cf4406110cac864df8a323e0f777d63dab30aacbd8070638fc752362df416c
|
7
|
+
data.tar.gz: 403789c4529c404b303db5e5d4bf6b39186dcd9c41afc3c648377456e9f1210f886f57295ce922fa193cf4534a8c61c6072484b36bb29c60aa9fed0078894719
|
data/README.md
CHANGED
@@ -71,11 +71,27 @@ It's got simple one-level indentation and simple colour coding for test passes a
|
|
71
71
|
|
72
72
|
Remember - you'll have to manage test setup and test cleanup yourself, while keeping your test code dry also yourself. Make sure each test runs in isolation.
|
73
73
|
|
74
|
-
##
|
74
|
+
## Extending
|
75
75
|
|
76
|
-
After checking out the repo
|
76
|
+
After checking out the repo
|
77
|
+
```sh
|
78
|
+
$ git clone git@github.com:dearshrewdwit/m-spec.git
|
79
|
+
$ cd m-spec
|
80
|
+
```
|
81
|
+
Add more matchers, or extend the mocking library. Then build locally and use.
|
82
|
+
```sh
|
83
|
+
bundle exec rake build --trace
|
84
|
+
gem install pkg/m-spec-[version].gem
|
85
|
+
m-spec [spec-file]
|
86
|
+
```
|
87
|
+
|
88
|
+
## Pushing to Rubygems
|
89
|
+
Sign up for an account, check for the gem name you want, and then follow the hints and errors when you
|
90
|
+
```sh
|
91
|
+
$ bundle exec rake release
|
92
|
+
```
|
77
93
|
|
78
|
-
|
94
|
+
[Bundler docs](https://bundler.io/guides/creating_gem.html) are a good resource, as are the [rubygems docs](https://guides.rubygems.org/publishing/)
|
79
95
|
|
80
96
|
## Contributing
|
81
97
|
|
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.2
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|