uninterruptible 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uninterruptible/network_restrictions.rb +1 -1
- data/lib/uninterruptible/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 658c5837ae17777ac2f5d53223b61941444c26ca
|
4
|
+
data.tar.gz: db14a041c27690a14565f5938255856b1bfde528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5421a7627be91b402d0189ae4791dbcce3c5a2d259ffbcaaa3177a4e577d18d1b7a384a86d700dcdf8ae493e872516593f25b4f83daea6dc020a5ea24b847417
|
7
|
+
data.tar.gz: 214ded520ee70b7c87fbf8ed9efaf139803830db02d294189a56d9c9f0ecc76277159599ac950abb1338642e300d38bcf9c624327563364e7ff4c9106fa9dd7e
|
@@ -31,7 +31,7 @@ module Uninterruptible
|
|
31
31
|
#
|
32
32
|
# @raise [Uninterruptible::ConfigurationError] Correct options are not set for network restrictions
|
33
33
|
def check_configuration!
|
34
|
-
|
34
|
+
if configuration.block_connections? && !configuration.bind.start_with?('tcp://')
|
35
35
|
raise ConfigurationError, "Network restrictions can only be used on TCP servers"
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uninterruptible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Wentworth
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|