guard-webhook-notifier 0.0.3 → 0.0.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: 0103c6d5adb4796888ffab23358d70785e4c2ca2
4
- data.tar.gz: c6f2064f3262c9b5e42e731f7cf33551e3035e14
3
+ metadata.gz: 93f9261a80253a3242732280bfe44594fca47516
4
+ data.tar.gz: b936d173f805087c1f3f755261b4a4b834678b9e
5
5
  SHA512:
6
- metadata.gz: 7b6110eaf764727c33c497ec5dad13f829d478b90d8559c2189d057bf7c26a637f8d085c31bfa3d72c9954da1cbfc9aa32bef94f1dcf49b8469697407fd58d7e
7
- data.tar.gz: 2d7e66ed298646f744a407bcce348be80ccd94651bdfa743293c088a3b6eaf16e77091c61ad7920ccdb52532a0aa43a6cd47d37b00943d507b25bc87c1f26e7e
6
+ metadata.gz: 0db97c14e6197d547b73e4c6cb3de612f428d56aede10b568085908c3a2838bb49fde3dab7f2816d5cd9c4ee4367ff4ce49df1ae1b3025ad73897a36e8de2b0f
7
+ data.tar.gz: 60c9206a9ccccc514d5079fe6c377de7a331e7ebfd42984761fb4bf0e0c7ba473ace9d80fa8948caca77e8a34ebdf8a191083e49258fde91afe70a4d72ab089a
@@ -6,8 +6,7 @@ module GuardWebHookNotifier
6
6
  class Notifier < Guard::Notifier::Base
7
7
  DEFAULTS = {
8
8
  user_agent: "GuardWebHookNotifier/#{VERSION}",
9
- url: "http://10.0.2.2:4001/",
10
- timeout: 1
9
+ url: "http://10.0.2.2:4001/"
11
10
  }
12
11
 
13
12
  def initialize(opts = {})
@@ -28,8 +27,6 @@ module GuardWebHookNotifier
28
27
  req.headers["Content-Type"] = "application/json"
29
28
  req.headers["User-Agent"] = opts[:user_agent]
30
29
  req.body = { message: message, options: opts }.to_json
31
- req.options.timeout = opts[:timeout]
32
- req.options.open_timeout = opts[:timeout]
33
30
  end
34
31
  end
35
32
  end
@@ -1,3 +1,3 @@
1
1
  module GuardWebHookNotifier
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-webhook-notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuku Takahashi