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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1c3402edf233d0507268a414888a70b2ba1f34ebfdfe340ed85d41ae301ac4a
4
- data.tar.gz: 984aa0b58c23299638b77f2cb3ecd03d7a1e98e410cfd86ae1738068f0ad8399
3
+ metadata.gz: af238f64f52c0c36e7b42ebd1e841cac26d0c9484f20977d0d8e126874879256
4
+ data.tar.gz: 54029b26089daaca48c4d4bc130235d93c5321304fc5fed6fe3e22f624f13bc9
5
5
  SHA512:
6
- metadata.gz: b47ea5e4e1dad5c263139deb310cd9a92624857f89a06f0216bb0079cd7d6d6bff81fb338bd189280cfb5799fe976d18764e7367115ede3ca7715876bed06f89
7
- data.tar.gz: bd62b6289966690e80297fd72d4d9245754edde823342f47461db12daa8929777fdb7da6c5f76d87db5bf27fcb53c5e0609da9bfc1399b5f59e8c762c32ac764
6
+ metadata.gz: d16eccc0f2bb2eff473fa521dc4493894c4dda217239b3eee5b70c96ceb5e34093b2bfdbb1618c446ada6b3a3bb2160c754bf2f24a994d30110734b3445fc9cf
7
+ data.tar.gz: 9ea83010984fad616f675ddff46fcf604d634c9184bdc6a4cbffd9277eb834ddbb4faa96ea5ab3d4f8f06d6597fa7553ef7c562a194e81a6e9f91a7f7cda44a7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mshard (0.6.0)
4
+ mshard (0.6.1)
5
5
  httparty
6
6
  no_proxy_fix
7
7
  slack-notifier
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MShard
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mshard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minwoo Lee