publish_to_web 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +25 -0
- data/lib/publish_to_web/tunnel.rb +4 -6
- data/lib/publish_to_web/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5131b60934b6a39b741ff47ffcd4ab0c3a89b9ac
|
4
|
+
data.tar.gz: a911a79f3c694cbb2fc1a5466994f48902f25273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a93e7736d77fc725c74f3f1e6afd7e1a5719ac22e623d55f070016f4d533292aa5178728259f743bdfc9b10e686b08d352c6f638119b9a611f6dd5c96b74df7
|
7
|
+
data.tar.gz: cd018ef8e457bccf0e1ba757f60bd62bbf19ddaba3fe39c72ad394127ea20195cbf38d5a28dd2b9bfa35511662e3ab0d1295be3ae6e7aac4dd62364e392708b9
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# See https://docs.codeclimate.com/docs/list-of-engines
|
2
|
+
# and https://docs.codeclimate.com/docs/example-codeclimateyml
|
3
|
+
engines:
|
4
|
+
rubocop:
|
5
|
+
enabled: true
|
6
|
+
#checks:
|
7
|
+
# Rubocop/Metrics/ClassLength:
|
8
|
+
# enabled: false
|
9
|
+
brakeman:
|
10
|
+
enabled: true
|
11
|
+
#exclude_fingerprints:
|
12
|
+
#- 08c185b3f764f262539a1f76997d3a89
|
13
|
+
duplication:
|
14
|
+
enabled: true
|
15
|
+
config:
|
16
|
+
languages:
|
17
|
+
- ruby
|
18
|
+
fixme:
|
19
|
+
enabled: true
|
20
|
+
reek:
|
21
|
+
enabled: true
|
22
|
+
|
23
|
+
exclude_paths:
|
24
|
+
- spec/**/*
|
25
|
+
- "**/vendor/**/*"
|
@@ -33,12 +33,10 @@ class PublishToWeb
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def local_port
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
local_port
|
41
|
-
end
|
36
|
+
server = TCPServer.new('127.0.0.1', 0)
|
37
|
+
server.addr[1]
|
38
|
+
ensure
|
39
|
+
server.close
|
42
40
|
end
|
43
41
|
|
44
42
|
def stop
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: publish_to_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -185,6 +185,7 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- ".codeclimate.yml"
|
188
189
|
- ".gitignore"
|
189
190
|
- ".rspec"
|
190
191
|
- ".travis.yml"
|
@@ -221,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
222
|
version: '0'
|
222
223
|
requirements: []
|
223
224
|
rubyforge_project:
|
224
|
-
rubygems_version: 2.5.
|
225
|
+
rubygems_version: 2.5.2
|
225
226
|
signing_key:
|
226
227
|
specification_version: 4
|
227
228
|
summary: Handle Protonet PublishToWeb Connection
|