slackiq 1.0.1 → 1.1.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: 731c6cdaae7339442ae156e046a4d4d85f3b6816
4
- data.tar.gz: 318ba55d2ffd9fe0ff8ae44a8eec62140ecdb4d2
3
+ metadata.gz: 764dd63aeb93d0bce19aecb79adc87184198679c
4
+ data.tar.gz: bf2ae23cb8c5a34c2562aae08fa3cc492ed3357c
5
5
  SHA512:
6
- metadata.gz: 95af720e875a6092d25413b399748fd1d7b02966b50e74bda68217798b0152e678a8e46da3682f6cf68c68e2ecd5fec29f298f59de5df76484183c756819d750
7
- data.tar.gz: 6f4bd1c577355d35b7405edf7474615ba1c14733d3d950249f699d8993f6f147abb40da2bc77271c1da76dbf671ff36a46e8108bdbc0a3513c81698800ace839
6
+ metadata.gz: ea5d4c5f9c2e7f10330840acc7411d937320a8b10f3803d7b1b375b64e91791b7f6146a301e36d75ae8c61b46dd26716c19cc5e2e10623751d62a8f10a75f0f3
7
+ data.tar.gz: 4720929b0b986efbbe1619d0b489e499ef7503f145cffaa2871d3d064431360d337307b8910390f28abefa534944fcf123bd5a8ee598926e451cf7987e78c108
data/README.md CHANGED
@@ -94,3 +94,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Mighty
94
94
 
95
95
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
96
96
 
97
+ ## Blog Post about Slackiq
98
+
99
+ https://medium.com/@MightySignal/slackiq-a-ruby-gem-that-connects-slack-and-sidekiq-a2308c1974b7
100
+
data/lib/slackiq.rb CHANGED
@@ -129,10 +129,10 @@ module Slackiq
129
129
 
130
130
  # Send a notification without Sidekiq batch info
131
131
  # @author Jason Lew
132
- def send(message, options)
132
+ def message(text, options)
133
133
  url = @@webhook_urls[options[:webhook_name]]
134
134
 
135
- body = { 'text' => message }.to_json
135
+ body = { 'text' => text }.to_json
136
136
 
137
137
  HTTParty.post(url, body: body)
138
138
  end
@@ -1,3 +1,3 @@
1
1
  module Slackiq
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slackiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lew
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -66,7 +66,6 @@ files:
66
66
  - LICENSE.txt
67
67
  - README.md
68
68
  - Rakefile
69
- - Slackiq-0.0.0.gem
70
69
  - bin/console
71
70
  - bin/setup
72
71
  - lib/slackiq.rb
data/Slackiq-0.0.0.gem DELETED
Binary file