rocketchat-notifier 0.1.0 → 0.1.1
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 +5 -5
- data/lib/rocketchat/notifier/version.rb +1 -1
- 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: 98f339e91f49520922bb2bd6c2f2f1a1f5f656fa
|
4
|
+
data.tar.gz: 3a41085c11f56ee439d5c4d2093509bcd4c14b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16bbf0eb0a3f09bdf960608431a03948e9d4e8c386072ec086a0577f9b99345226ae33112f1b35f688a4a1996114556a2c5d80c507215a4817246f041feb772
|
7
|
+
data.tar.gz: 2105c491d6f4bf59e1bf8b4c33fe8b6c29c576aa8ce302047501219848acaa5624c86c7b4ee8a56fc02c78b1d35150629e434f8f573ec77c74668bbd77835ad6
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ rocket.chat notifier gem, for firing event notifications to a rocket chat incomi
|
|
6
6
|
Add this line to your application's *Gemfile*:
|
7
7
|
|
8
8
|
```ruby
|
9
|
-
gem '
|
9
|
+
gem 'rocketchat-notifier'
|
10
10
|
```
|
11
11
|
|
12
12
|
And then execute:
|
@@ -15,9 +15,9 @@ And then execute:
|
|
15
15
|
|
16
16
|
Or install it yourself as:
|
17
17
|
|
18
|
-
$ gem install
|
18
|
+
$ gem install rocketchat-notifier
|
19
19
|
|
20
|
-
create an initializer config *
|
20
|
+
create an initializer config *rocketchat-notifier.rb* to *config/initializers/* and add the following content and add your webhook url:
|
21
21
|
|
22
22
|
```ruby
|
23
23
|
RocketChatNotifier.configure do |config|
|
@@ -60,7 +60,7 @@ RocketChatNotifier.notify 'my message', emoji: 'ok', event: 'my notifier', attac
|
|
60
60
|
Additionally you will need a parser script for your rocket.chat for the incoming webhook integration.
|
61
61
|
|
62
62
|
If you don't want to code one yourself, here is a working script with basic functionality for you:
|
63
|
-
https://github.com/cbajohr/
|
63
|
+
https://github.com/cbajohr/rocketchat-notifier/wiki/rocket.chat---incoming-webhook-parser-script-example
|
64
64
|
|
65
65
|
|
66
66
|
## Post examples
|
@@ -108,7 +108,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
108
108
|
|
109
109
|
## Contributing
|
110
110
|
|
111
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/cbajohr/
|
111
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/cbajohr/rocketchat-notifier. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
112
112
|
|
113
113
|
## License
|
114
114
|
|