capistrano_sentinel 0.0.7 → 0.0.8

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: 5f6de2fd490ee1cf1d73e9e1b19f134189c9cfa7
4
- data.tar.gz: caf83842315495fb25ea4c5dc3a174566e542cb8
3
+ metadata.gz: ffc62cfd3cdec15cda790fc77c083bfece90a09b
4
+ data.tar.gz: b945394ca3009dbb7994d5e60e504c442d1bc893
5
5
  SHA512:
6
- metadata.gz: b54133bf18bfeb9ccced785c164bfd804445be0b10549120d8bfda1c0247ae8b0bbb066839c44a98deef25508e40e101d1c79700e998c3777a829c7d3210706f
7
- data.tar.gz: 9465f4138eaec630047a2bca161c3a6c10a4a73bcaf4bce3f72e5bb1be00c83b02d536de2f0db41b4ed801a589978a448a59225aa2d559fef95840d2b0247b68
6
+ metadata.gz: 79493dd401dfd62987ca5f02e8c67e03b7347f673f756bf300890b4c2350f2dea13d1eeedc4f6d2d9dda0563381b96c9c8fa445c80c7a0a21935bea3a8bd7f6e
7
+ data.tar.gz: cd7acde38ad0f194c3efc35d542ea7bea48cbe839d2ef040b5471c7ba45b0c3212633aeceb4f22361ee8dda839605846b03bb2627766fb28c11660338e0f206d
@@ -54,7 +54,7 @@ module CapistranoSentinel
54
54
  }
55
55
 
56
56
  @on_close = lambda { |message|
57
- log_to_file("native websocket client received on_close #{message.inspect}")
57
+ log_to_file("#{@actor.class} client received on_close #{message.inspect}")
58
58
  if @actor.present? && @actor.respond_to?(:on_close)
59
59
  if @actor.respond_to?(:async)
60
60
  @actor.async.on_close(message)
@@ -65,7 +65,7 @@ module CapistranoSentinel
65
65
  }
66
66
 
67
67
  @on_ping = lambda { |message|
68
- log_to_file("native websocket client received PING #{message.inspect}")
68
+ log_to_file("#{@actor.class} client received PING #{message.inspect}")
69
69
  if @actor.present? && @actor.respond_to?(:on_ping)
70
70
  if @actor.respond_to?(:async)
71
71
  @actor.async.on_ping(message)
@@ -76,7 +76,7 @@ module CapistranoSentinel
76
76
  }
77
77
 
78
78
  @on_error = lambda { |error|
79
- log_to_file("native websocket client received ERROR #{error.inspect} #{error.backtrace}")
79
+ log_to_file("#{@actor.class} received ERROR #{error.inspect} #{error.backtrace}")
80
80
  if @actor.present? && @actor.respond_to?(:on_error)
81
81
  if @actor.respond_to?(:async)
82
82
  @actor.async.on_error(error)
@@ -88,7 +88,7 @@ module CapistranoSentinel
88
88
 
89
89
  @on_message = lambda { |message|
90
90
  message = parse_json(message)
91
- log_to_file("#{@actor.inspect} websocket client received JSON #{message}")
91
+ log_to_file("#{@actor.class} websocket client received JSON #{message}")
92
92
  if @actor.present? && @actor.respond_to?(:async)
93
93
  @actor.async.on_message(message)
94
94
  else
@@ -194,7 +194,7 @@ module CapistranoSentinel
194
194
  #+type+:: :text or :binary, defaults to :text
195
195
  def send_data(data, type = :text)
196
196
  pid = Thread.new do
197
- log_to_file("#{@actor.inspect} calls send: #{data}")
197
+ log_to_file("#{@actor.class} calls send: #{data}")
198
198
  do_send(data, type)
199
199
  end
200
200
  end
@@ -17,7 +17,7 @@ module CapistranoSentinel
17
17
  # minor release version
18
18
  MINOR = 0
19
19
  # tiny release version
20
- TINY = 7
20
+ TINY = 8
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_sentinel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada