mshard 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mshard/mshard.rb +1 -1
- data/lib/mshard/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af238f64f52c0c36e7b42ebd1e841cac26d0c9484f20977d0d8e126874879256
|
4
|
+
data.tar.gz: 54029b26089daaca48c4d4bc130235d93c5321304fc5fed6fe3e22f624f13bc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d16eccc0f2bb2eff473fa521dc4493894c4dda217239b3eee5b70c96ceb5e34093b2bfdbb1618c446ada6b3a3bb2160c754bf2f24a994d30110734b3445fc9cf
|
7
|
+
data.tar.gz: 9ea83010984fad616f675ddff46fcf604d634c9184bdc6a4cbffd9277eb834ddbb4faa96ea5ab3d4f8f06d6597fa7553ef7c562a194e81a6e9f91a7f7cda44a7
|
data/Gemfile.lock
CHANGED
data/lib/mshard/mshard.rb
CHANGED
@@ -41,10 +41,10 @@ module MShard
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def notify(**args)
|
44
|
-
return set(args) if detour?
|
45
44
|
args[:slack] ||= true
|
46
45
|
args[:webhook_url] ||= ENV['SLACK_WEBHOOK_URI']
|
47
46
|
args[:channel] ||= ENV['SLACK_CHANNEL']
|
47
|
+
return set(args) if detour?
|
48
48
|
Slack::Notifier.new(args[:webhook_url], **args).ping(args[:text])
|
49
49
|
end
|
50
50
|
end
|
data/lib/mshard/version.rb
CHANGED