edi 0.4.3 → 0.4.4

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: 115889fc7b65a02c8341077c1003ffd818b4dcb5
4
- data.tar.gz: 872d49ffebb947c9921daa3814f782374a858c49
3
+ metadata.gz: 3ff56696eb1bc3ebe539999247a19965e420997f
4
+ data.tar.gz: dd67cb57879859beb9843d92970d6e63157a104b
5
5
  SHA512:
6
- metadata.gz: cb2fe61c381cb84be71a2d268f89c3af757c8637f61fdda68e2c9ae9391751073561adffd0ccaf0b7c62b56e60c2523c27ade9a50dfa652a10fc21d5d2f92722
7
- data.tar.gz: 6f8d71732ab8fd081570e7656793cbd9841d0a9798faf12722942ce0adfa627e2114020ed6113df7c2ba84d3dcaca446a0bad117d7463e448bde401111289f97
6
+ metadata.gz: a196224faae7789f802dd77e74aa36a489f3e787b394be858396e4b0a3786477d32637b0352aead24ba683a24999de46c973488e4cebd6679d9d63f91b59d93b
7
+ data.tar.gz: c1abaa84d3ac21cd81965dfb323c75e97b431c2e9b0a33cf1a06c8e8df2ec354f5d820a99bfcf2157c097d01f9fe4ba24a037cd3ef029b90616a3e48d3f315e6
data/lib/edi.rb CHANGED
@@ -67,7 +67,7 @@ module EDI
67
67
  end
68
68
 
69
69
  def bot_token
70
- self.config.bot_token
70
+ @bot_token ||= ENV["SLACK_EDI_TOKEN"]
71
71
  end
72
72
 
73
73
  def channels
@@ -22,9 +22,6 @@ module EDI
22
22
 
23
23
  # Postable Configuration
24
24
  config.default_channel = "#general"
25
-
26
- # Bot Token Variable
27
- config.bot_token = ENV["SLACK_EDI_TOKEN"]
28
25
  end
29
26
  end
30
27
  end
@@ -1,3 +1,3 @@
1
1
  module EDI
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DVG