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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -3
  3. data/lib/m-spec/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80f7176104089e7c433938f1f233b00424025973c9eadcb089a691113864cc77
4
- data.tar.gz: c5401779d4911d751782dd3fea995b7c984780c23de35a7b2eeb987ff22317ae
3
+ metadata.gz: 579272e22679383c17c8c38fc3d9bc51ae815a7c2b598625fade1c56f2602f48
4
+ data.tar.gz: 01f4facd9eb3acbbef1c63271180a557f5e5143de5032d765e2d5b73ba7a77f0
5
5
  SHA512:
6
- metadata.gz: 3e4085f1f73da8376b825634bc4cae40e23adf175056f1393aec5ebb13985cc68011b5b02aa6f08897fa968083eb570e26078cb4a0f073bae2925d434ee6cc16
7
- data.tar.gz: 9979041228817e5f401286158b45538ef685e2e85eaed148b529b33c835b6b327b45b2fa0918328b35a4fb94aa28fefd99ad3b2c4702f33080fc4cc11a2150e2
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
- ## Development
74
+ ## Extending
75
75
 
76
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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
 
@@ -1,3 +1,3 @@
1
1
  module Mspec
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-24 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler