say2slack 0.0.2 → 0.0.3

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: 0a60a24acbd51a9d9e2f35ff9ee5e5abf3a29f74
4
- data.tar.gz: 1692341fc5739053574837882487d5b0d4a30e93
3
+ metadata.gz: d699c370fb05ecb927c38d0dc672cb9e7f35543d
4
+ data.tar.gz: 2f189cc277e25ec452aebaea301c303a5d9fc183
5
5
  SHA512:
6
- metadata.gz: 0946150537a27ea9c9895684b794af792f549ff5e665f6ca2764645ab588e4583b6acf62aaea9302e4e8c4d79fa275753b10caac6d1aab5da97d9b19a2049637
7
- data.tar.gz: 42fb6375faab456bca7b26c8a8aad0f7928a29683ad696608492e7b17018426ee91ad5878e6895ae759fc93cb0c89f987b7ccc1a8babe38b6bd4168331b352b5
6
+ metadata.gz: 7ee4e81fd4ac3aec26f80b22ae83b5f4bc59ef677f1d2360f9ea5db7ca6b25234c0542125060fc92f304e3b1553038dfc250fb8e2635f523bce8a276a4a3b8fd
7
+ data.tar.gz: 1c05d613f570f04d445ddca2086bfc951a1109b81a454dbffd4b5fed0cbf0da29c5dda06749e962f7d81b57e751aa1c20bb0d7dc37b51a4c79324da3ae98e62c
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  Gemfile.lock
2
2
  *.gem
3
+ test.rb
@@ -4,7 +4,7 @@ String.class_eval do
4
4
  obj.says(message)
5
5
  end
6
6
 
7
- def to(channel='C03J89HD8')
7
+ def to_channel(channel='C03J89HD8')
8
8
  url = [self, "&channel=#{channel}"].join
9
9
  RestClient.post(URI.encode(url), {}, content_type: :json)
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Say2Slack
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: say2slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Prokesch