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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f4db33296b70fcd1d9d12c67673c57b2d65fcff
4
- data.tar.gz: edb2dad4f8c146eb9a7fd6c788926e912de1ad52
3
+ metadata.gz: 5131b60934b6a39b741ff47ffcd4ab0c3a89b9ac
4
+ data.tar.gz: a911a79f3c694cbb2fc1a5466994f48902f25273
5
5
  SHA512:
6
- metadata.gz: c02c078adae039427353534023a9ffab730c37b84913961d26c4fde3b08fdec95bc919b907e53cd483108f5de36c28fb690a6b018f4a4fb93cbec7519a59e4e7
7
- data.tar.gz: 42bb86b062e59ecf95f7079242fed975e297e86cfd0e9481319760a62da1684b80073e359b745d8cb374898acf98e5ab5b4d297b75483ff05bd33747967b7712
6
+ metadata.gz: 7a93e7736d77fc725c74f3f1e6afd7e1a5719ac22e623d55f070016f4d533292aa5178728259f743bdfc9b10e686b08d352c6f638119b9a611f6dd5c96b74df7
7
+ data.tar.gz: cd018ef8e457bccf0e1ba757f60bd62bbf19ddaba3fe39c72ad394127ea20195cbf38d5a28dd2b9bfa35511662e3ab0d1295be3ae6e7aac4dd62364e392708b9
@@ -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
- @local_port ||= begin
37
- server = TCPServer.new('127.0.0.1', 0)
38
- local_port = server.addr[1]
39
- server.close
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
@@ -1,3 +1,3 @@
1
1
  class PublishToWeb
2
- VERSION = "2.4.0"
2
+ VERSION = "2.5.0"
3
3
  end
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.0
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: 2016-11-09 00:00:00.000000000 Z
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.1
225
+ rubygems_version: 2.5.2
225
226
  signing_key:
226
227
  specification_version: 4
227
228
  summary: Handle Protonet PublishToWeb Connection