slack-reporter 0.1.0 → 0.1.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a32ec694cb0e2467b3383cbbca9076a93cd4071
4
- data.tar.gz: 53c731ca83868be64335b692790df3101017bc99
3
+ metadata.gz: a07a6f85f00e750f916bd6a2636be62a8370089f
4
+ data.tar.gz: c8b04a3177d1c9bae497b8216b4812d9413036d3
5
5
  SHA512:
6
- metadata.gz: ebeeb0ceefb40f9ffbedd031c38f7c3d8490121c87600993c8e805e768b53f40f1faed4240a8cf0741928a36dfef5a5ede82441def367beddb0de0b49d422bb6
7
- data.tar.gz: 6c82ef7b3f0df67ef0e5f62b24da80d0e018efa759b4b24c4b082165aef0d9f765996d7f9f5d26a9d28d6e09e039ec9af6aac441ad989c1b8fb417c196b31590
6
+ metadata.gz: cf05eec40b423824043c2b145749bf00a3d66a3e0f89e17ba617c5c3710933e091a3d038051d78d735fa8fbb58daa6a75c4059655a9c8e05a391fadae3ef5416
7
+ data.tar.gz: 11b21a7e6e4b249b18168e18bf4859279e9ad9ee62cb519a9d9a8eb73078b2beb6c928c531df5caa0bb3c849af3d72f23ff2c4cb58b30a3877b0d4e94cc26c05
data/README.md CHANGED
@@ -4,10 +4,8 @@ A very simple wrapper for a a simple wrapper for posting to slack channels.
4
4
  requires [slack-notifier](https://github.com/stevenosloan/slack-notifier)
5
5
 
6
6
  ### Requirements
7
- A slack channel with webhooks intergration and your api key in the `SLACK_WEBHOOK_URI` environmental variable.
8
-
9
- Finnally this is your gemfile.
10
- `gem 'slack_reporter'`
7
+ A slack channel with webhooks intergration and your api key in the `SLACK_WEBHOOK_URI` environmental variable and this
8
+ `gem 'slack-reporter'` in your gemfile.
11
9
 
12
10
  ### Usage
13
11
 
@@ -52,6 +50,7 @@ To report regardless of environment call `#call` with `true` in arguments e.g.
52
50
 
53
51
 
54
52
  You can create as many custom reporters as you want and the use them by calling `#call` and giving them a block of text. e.g.
53
+
55
54
  ```
56
55
  @reporter1 = SlackReporter.new("Nelson said")
57
56
  @reporter1.call { 'Hahaa' }
@@ -59,8 +58,8 @@ You can create as many custom reporters as you want and the use them by calling
59
58
 
60
59
 
61
60
  The naming of a reporter matches the name if its 2 words or more, else its the `name` + `followup`
62
- Also you can put on object or class in the reporter and it will smart name that too!!
61
+ Also you can put an object or class instead of a name and slack-reporter will combine the object class, or class with the followup to create the name.
63
62
 
64
63
  There is an `attr_accessor` for name and channel in case you want to change them for an existing reporter.
65
64
 
66
- The code is less than 50 lines so for any questions you might want to check it out!
65
+ The code is just 50 lines long so for any questions you might want to check it out!
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class SlackReporter
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack-reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasilis Spilka
@@ -34,7 +34,7 @@ files:
34
34
  - README.md
35
35
  - lib/slack-reporter.rb
36
36
  - lib/version.rb
37
- homepage: http://rubygems.org/gems/slack-reporter
37
+ homepage: https://github.com/vasspilka/slack-reporter
38
38
  licenses:
39
39
  - MIT
40
40
  metadata: {}