slackit 1.1.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: dd46600c8819cc9d3ae4c44b2c94f7f1904436da707d3177872536e3ffe23d33
4
- data.tar.gz: 72a88c29045497006e754242478125959c4003f17cc7360a93aba624f5d0293f
2
+ SHA1:
3
+ metadata.gz: 35c68c3f1fd21cda0058928f11ac7570372d2e88
4
+ data.tar.gz: bf90c9e0604df891ebbf75be06a84b02e294b3b6
5
5
  SHA512:
6
- metadata.gz: 66d6c556a9958eb0eccd414f2d1fa03622235b055aa8e4af289808fbbd937f8e75d0f45639df83b70fb4cb6609e1215172157eafd3a7f060548083ed71694688
7
- data.tar.gz: 186f2310fc4b6a7ccf2d2660b6cc7338abbe676c79f066055e75e877cd1ac34220e5b346738a70bad3015a271223412a013fc1c04cf445eb715e8b9467f5735f
6
+ metadata.gz: 6f1ced25facfa2bb0158cc8f3a3d9a8580669e93382ad8d0953ec69f932fae1dd5665e132d839adaffeb1865f5768db90c4fbe9aaf19bd3ee6915ed57b95dd64
7
+ data.tar.gz: dc6e89f81c3087b67fc88557e31d3508d7bf538bbfe1689b147cf271d4a0452479c0cccfd63a35ba9df0244e2313ebac2fd1cf2e75df997d95406d96c9eac612
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.1.1 (January 22, 2019)
2
+
3
+ BUG FIX:
4
+
5
+ * Hash style did not work on early versions of Ruby (< 2.2). ([@TGWolf][])
6
+
1
7
  ## 1.1.0 (January 22, 2019)
2
8
 
3
9
  IMPROVEMENTS:
@@ -1,3 +1,3 @@
1
1
  class Slackit
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
data/lib/slackit.rb CHANGED
@@ -21,7 +21,7 @@ class Slackit
21
21
  headers = { 'Content-Type' => 'application/json' }
22
22
 
23
23
  # payload
24
- body = { 'text': text, 'icon_emoji': @icon_emoji, username: @username }
24
+ body = { 'text' => text, 'icon_emoji' => @icon_emoji, 'username' => @username }
25
25
 
26
26
  # add the channel if there is one otherwise the default channel
27
27
  body['channel'] = @channel || '#general'
data/slackit.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["wolf@tgwolf.com"]
10
10
 
11
11
  spec.summary = %q{A simple gem for posting to a slack incoming webhook.}
12
- spec.description = %q{A simple gem for posting to a slack incoming webhook.}
12
+ spec.description = %q{A simple gem for posting raw messages to a slack incoming webhook.}
13
13
  spec.homepage = "https://github.com/AntiPhotonltd/slackit"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slackit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.16.2
83
- description: A simple gem for posting to a slack incoming webhook.
83
+ description: A simple gem for posting raw messages to a slack incoming webhook.
84
84
  email:
85
85
  - wolf@tgwolf.com
86
86
  executables:
@@ -126,7 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.0.2
129
+ rubyforge_project:
130
+ rubygems_version: 2.6.14
130
131
  signing_key:
131
132
  specification_version: 4
132
133
  summary: A simple gem for posting to a slack incoming webhook.