sm 0.2.1 → 1.0.0

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +6 -1
  4. data/lib/sm/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa7e8df4654a2b6b54d926ad4304d8384b4a9993
4
- data.tar.gz: e3f0ce2ea58fe8150501f61d3f9348326c15fe59
3
+ metadata.gz: a7cebbf6da4dbbb01b8bf645b36663b2c284c166
4
+ data.tar.gz: aed762e9bfb00103a89032029b591d1c4755f325
5
5
  SHA512:
6
- metadata.gz: e2980498a75fb9ca860cf141bf5d6aef7301364965ea2d05de25646ae881324b51d3c6469ad49b6e035266aba88e2a1780bb374107e9d462b0b1cc3a5fcee72f
7
- data.tar.gz: f93b498a00eb6967eb1cc89c53744c8376062ce365a89444279b3e65e22fefa33ec55eab94b65c5ccad113f4a38ef329ba6f111f518e9d2a510c723846f0c55d
6
+ metadata.gz: af67bd6fa6bf21ce3592fd106d623e74eff76bc906ab8cd351e502c9d7b4ca5af394494fd0c82ff0ee4bebf04aae45b2e8a121ae9e9626e29dc55d359a4ea205
7
+ data.tar.gz: a7cfa2e89ff52c0111bd1e7591966b7f80f9f859fd64f4bc65ea9c0c5bc1c9fcc45bdc27bc3cf452f73d00b77c56290a522bc2a82073d78ed3b56864c40e9c60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sm (0.2.0)
4
+ sm (1.0.0)
5
5
  rest-client (~> 2.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -24,7 +24,7 @@ Or install it yourself as:
24
24
  Set the following environment variables:
25
25
  `SLACK_WEBHOOK_URL` (required) - Get this by [creating an incoming webhook integration in your slack account](https://api.slack.com/incoming-webhooks)
26
26
  `SLACKBOT_USERNAME` (optional) - The user name to send the message as. Defaults to 'slackbot'
27
- `SLACK_MSG_ICON_EMOJ'` (optional) - The avatar emoji to use for the message. Defaults to ':ghost:'
27
+ `SLACK_MSG_ICON_EMOJI'` (optional) - The avatar emoji to use for the message. Defaults to ':ghost:'
28
28
 
29
29
  ```bash
30
30
  post-slack-msg 'CHANNEL' 'YOUR MESSAGE'
@@ -32,6 +32,11 @@ post-slack-msg 'CHANNEL' 'YOUR MESSAGE'
32
32
  Example:
33
33
 
34
34
  post-slack-msg '#doughnuts' "I've got a dozen!"
35
+
36
+
37
+ Piping output from other programs as the slack message text:
38
+
39
+ { echo My current processes:; ps; } | bundle exec post-slack-msg '#system-msgs'
35
40
  ```
36
41
 
37
42
  ## Development
data/lib/sm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sm
2
- VERSION = "0.2.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sufyan Adam