slack_error_notifier 0.1.0 → 0.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
2
  SHA1:
3
- metadata.gz: 11890433ad0182185133f93ec7f7694572575088
4
- data.tar.gz: 1e65700e8010ddc09cbd27e846e48c17d184239f
3
+ metadata.gz: 30ee53133cdba468c2e937e232bd0c76548c01e4
4
+ data.tar.gz: 73239e963ab243c3ef66cf981601975699f321a5
5
5
  SHA512:
6
- metadata.gz: eb8e1c64d9d734c15363028141f75e580f5fa52886a1b35e404c86d877291b9823ef88d3d4092dc27d960e06ade208454addd7c0cf7f243d71befc97ea5ae95b
7
- data.tar.gz: 05f6e1746f2e1580773b71eb88f423417ff8cd48b56267002de08e7a93df570fb551256eed5102e918bda4443e4371f980d5307017986f4f8c4821578662e684
6
+ metadata.gz: e03bce0f00efdd2f8912f2eeab83ef615982964710247fd0827b42a149f214456f338e3741b14bfb368cf9d3c7ee1202b959a113a72682bc95544d19a58ba473
7
+ data.tar.gz: 414957c7434a765b7a40cc621438645df495bd5974ca7dbcfdac69e057bd27105f31353262a8b47d1e1c4e0cc224400826478272f00192a9f4d55f09de6f9430
@@ -37,7 +37,7 @@ module SlackErrorNotifier
37
37
 
38
38
  def check_channel_exists
39
39
  channels = slack_client.channels_list.channels
40
- matching_channel = channels.detect { |c| c.name == target_channel.gsub('#', '') }
40
+ channels.detect { |c| c.name == target_channel.gsub('#', '') }
41
41
  end
42
42
 
43
43
  def configure_slack_client
@@ -13,7 +13,7 @@ module SlackErrorNotifier
13
13
  channel: target_channel,
14
14
  text: "",
15
15
  attachments: attachments,
16
- as_user: true
16
+ as_user: send_as_user
17
17
  )
18
18
  end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module SlackErrorNotifier
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_error_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Davies
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2016-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler