capistrano_sentinel 0.0.18 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fa73b190a8f288fa39b634c97f64db8d4861896
4
- data.tar.gz: ef0ffac5bc1bd5c111871955354f45400f614381
3
+ metadata.gz: a12a7decc74d24d694d401c425a2e65ad63981b0
4
+ data.tar.gz: 13679aa0797a83b5663f457d73be8162127ade07
5
5
  SHA512:
6
- metadata.gz: 05da713671ac5a856a204f591ce582d90a6eec4710d5cd5fbf2699af96c32c9f4365c1ce5a0e9fb6fd0c49718c9cb7f66ee242221e912edd1b0ebf161ded97b1
7
- data.tar.gz: f3ec6f0cf186a33c07206660f827595bb0f0d9004b14243e82818bd3a58dff89ca14f2b6c7ea75a883e199ced3b14ea00cd7c3baf394528a9286a90b5b93f072
6
+ metadata.gz: c0156f29be94f8de5d859dcc93707abeec7f0c220d57829201fb081a8ee66d2df32f961d822e75619a93ae7345ce5044466442288ffb0e48dc336f9b1a40ec85
7
+ data.tar.gz: e7cca61af2343346ae7f0f3eb7e09cc9e0a2a75a7bb74f9311a02932f3e2683283d519d3799de107226765885a4184e9ea78e221ea6fafaea41c12388ca525dc
@@ -3,11 +3,8 @@ before_install:
3
3
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
4
4
  - gem install bundler
5
5
  rvm:
6
- - 2.0.0
7
- - 2.1.5
8
- - 2.2.3
9
- - 2.2.4
10
- - 2.3.0
6
+ - 2.2.2
7
+ - 2.2.5
11
8
  - 2.3.1
12
9
  env:
13
10
  - RAILS_ENV=test RACK_ENV=test
@@ -11,7 +11,9 @@ module CapistranoSentinel
11
11
  :reconnect,
12
12
  :retry_time,
13
13
  :wait_execution,
14
- :hook_stdin_and_stdout
14
+ :hook_stdin_and_stdout,
15
+ :max_frame_size,
16
+ :should_raise
15
17
  ]
16
18
 
17
19
  SETTINGS.each do |setting|
@@ -30,7 +32,19 @@ module CapistranoSentinel
30
32
  @retry_time = 0
31
33
  @wait_execution = true
32
34
  @hook_stdin_and_stdout = true
35
+ @max_frame_size = ::Websocket.max_frame_size
36
+ @should_raise = ::Websocket.should_raise
33
37
  end
34
38
 
39
+
40
+ def max_frame_size=(val)
41
+ ::Websocket.max_frame_size = @max_frame_size = val
42
+ end
43
+
44
+ def should_raise=(val)
45
+ ::Websocket.should_raise = @should_raise = val
46
+ end
47
+
48
+
35
49
  end
36
50
  end
@@ -15,12 +15,12 @@ module CapistranoSentinel
15
15
  # major release version
16
16
  MAJOR = 0
17
17
  # minor release version
18
- MINOR = 0
18
+ MINOR = 1
19
19
  # tiny release version
20
- TINY = 18
20
+ TINY = 0
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
-
23
+
24
24
  # generates the version string
25
25
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_sentinel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-28 00:00:00.000000000 Z
11
+ date: 2016-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket
@@ -75,11 +75,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.6.4
78
+ rubygems_version: 2.6.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: CapistranoSentinel is a simple ruby implementation that allows you to emit
82
82
  websocket events before a task is invoked by Capistrano.
83
83
  test_files:
84
84
  - spec/spec_helper.rb
85
- has_rdoc: