sm 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7cebbf6da4dbbb01b8bf645b36663b2c284c166
4
- data.tar.gz: aed762e9bfb00103a89032029b591d1c4755f325
3
+ metadata.gz: 7108bf3cdedbd11843c59c53cf01ccf66c6dfe87
4
+ data.tar.gz: 1b185a48877af594bc951b2069de81079a89f82b
5
5
  SHA512:
6
- metadata.gz: af67bd6fa6bf21ce3592fd106d623e74eff76bc906ab8cd351e502c9d7b4ca5af394494fd0c82ff0ee4bebf04aae45b2e8a121ae9e9626e29dc55d359a4ea205
7
- data.tar.gz: a7cfa2e89ff52c0111bd1e7591966b7f80f9f859fd64f4bc65ea9c0c5bc1c9fcc45bdc27bc3cf452f73d00b77c56290a522bc2a82073d78ed3b56864c40e9c60
6
+ metadata.gz: 51afcd8a2a1d3329edf92df2c0835611fc841a3d6a616a27bdc5d7cb255b9c4b9ec889a69303cb2c6aa16decb89b9fc7c6f9730bf86bb0e5d916bf4acd698bdf
7
+ data.tar.gz: c060799c750434d161bdea2dd3f5f7260be1f52a52c5b0689031738dc902b1e56c8cfece28973aea58fca06e820b4168ca9ef49bcafa13765d58bb247952cd92
data/README.md CHANGED
@@ -27,16 +27,16 @@ Set the following environment variables:
27
27
  `SLACK_MSG_ICON_EMOJI'` (optional) - The avatar emoji to use for the message. Defaults to ':ghost:'
28
28
 
29
29
  ```bash
30
- post-slack-msg 'CHANNEL' 'YOUR MESSAGE'
30
+ slack-msg 'CHANNEL' 'YOUR MESSAGE'
31
31
 
32
32
  Example:
33
33
 
34
- post-slack-msg '#doughnuts' "I've got a dozen!"
34
+ slack-msg '#doughnuts' "I've got a dozen!"
35
35
 
36
36
 
37
37
  Piping output from other programs as the slack message text:
38
38
 
39
- { echo My current processes:; ps; } | bundle exec post-slack-msg '#system-msgs'
39
+ { echo My current processes:; ps; } | slack-msg '#system-msgs'
40
40
  ```
41
41
 
42
42
  ## Development
File without changes
@@ -1,3 +1,3 @@
1
1
  module Sm
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
data/sm.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["sufyanadam@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Post slack messages from the comfort of you command line.}
13
- spec.description = %q{A command line utility to post a message to any channel/user in slack. Provide a message as an argument or pipe input to the post-slack-msg command.}
13
+ spec.description = %q{A command line utility to post a message to any channel/user in slack. Provide a message as an argument or pipe input to the slack-msg command.}
14
14
  spec.homepage = "https://github.com/sufyanadam/sm"
15
15
  spec.license = "MIT"
16
16
 
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: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sufyan Adam
@@ -81,11 +81,11 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.0'
83
83
  description: A command line utility to post a message to any channel/user in slack.
84
- Provide a message as an argument or pipe input to the post-slack-msg command.
84
+ Provide a message as an argument or pipe input to the slack-msg command.
85
85
  email:
86
86
  - sufyanadam@gmail.com
87
87
  executables:
88
- - post-slack-msg
88
+ - slack-msg
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
@@ -100,7 +100,7 @@ files:
100
100
  - Rakefile
101
101
  - bin/console
102
102
  - bin/setup
103
- - exe/post-slack-msg
103
+ - exe/slack-msg
104
104
  - lib/sm.rb
105
105
  - lib/sm/exceptions.rb
106
106
  - lib/sm/post_slack_message.rb