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 +4 -4
- data/.travis.yml +2 -5
- data/lib/capistrano_sentinel/classes/configuration.rb +15 -1
- data/lib/capistrano_sentinel/version.rb +3 -3
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a12a7decc74d24d694d401c425a2e65ad63981b0
|
|
4
|
+
data.tar.gz: 13679aa0797a83b5663f457d73be8162127ade07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0156f29be94f8de5d859dcc93707abeec7f0c220d57829201fb081a8ee66d2df32f961d822e75619a93ae7345ce5044466442288ffb0e48dc336f9b1a40ec85
|
|
7
|
+
data.tar.gz: e7cca61af2343346ae7f0f3eb7e09cc9e0a2a75a7bb74f9311a02932f3e2683283d519d3799de107226765885a4184e9ea78e221ea6fafaea41c12388ca525dc
|
data/.travis.yml
CHANGED
|
@@ -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 =
|
|
18
|
+
MINOR = 1
|
|
19
19
|
# tiny release version
|
|
20
|
-
TINY =
|
|
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
|
|
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-
|
|
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.
|
|
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:
|