nomade 0.1.4 → 0.1.5

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
- SHA256:
3
- metadata.gz: 123b90eb6930f46b12b75aee376034b51c623ae5e788149bcff15ca2dccaf8b9
4
- data.tar.gz: a0aef251645a73ee2fb61f316298c354316d27e02a2cba59bb3c22e113e06acb
2
+ SHA1:
3
+ metadata.gz: '01428dbe6cc66511139a3e23eb6b7cbe73e13a2f'
4
+ data.tar.gz: 0dc34d653cfc6eea29047dd74d190cae23926905
5
5
  SHA512:
6
- metadata.gz: 7a0dd940d4b32facd28d3e81a2fdb49d97cc0a43205e93997d913d316101902d9922b8e87bca59bd25b84752d1535a19a60b622a1cf85ecd2baf8ae47f965ea6
7
- data.tar.gz: 4598198f4be75e00c44f6bf9a0185b013e135ceead95dc25d6ccef0de6bf13f5913cf699fb45f9b3f8a6aaaa7b7cad008366cdc3f131c2c06ec982ec2b6875eb
6
+ metadata.gz: 1a893f7d20cf72b23b8f6026e650e698dd7e0c44890fc07564c152a100d3a5d812b569a514706820583f22fdb93f1e5cda1544e4cf2d31b3386755d554f9a3c5
7
+ data.tar.gz: 44c819b4f3bbffb8312f3daba2c55f7cd63840063cabf94e7fe71a4e92b23e17476574975c87ddd73e6a2cd8c59e629d0e8e11c1460a069c2063a57e970dc557
data/lib/nomade/http.rb CHANGED
@@ -179,7 +179,7 @@ module Nomade
179
179
  http = Net::HTTP.new(uri.host, uri.port)
180
180
  http.open_timeout = 10
181
181
  http.read_timeout = 10
182
- http.write_timeout = 10
182
+ http.write_timeout = 10 if Net::HTTP.method_defined?(:write_timeout)
183
183
  http.ssl_timeout = 10
184
184
 
185
185
  if @nomad_endpoint.include?("https://")
data/lib/nomade/logger.rb CHANGED
@@ -10,7 +10,7 @@ module Nomade
10
10
  end
11
11
 
12
12
  Yell.new do |l|
13
- unless ARGV.include?("-q")
13
+ unless ENV["QUIET_NOMADE"] == "1"
14
14
  l.adapter STDOUT, level: stdout
15
15
  l.adapter STDERR, level: [:error, :fatal]
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nomade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Grubbe
@@ -114,7 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.0.1
117
+ rubyforge_project:
118
+ rubygems_version: 2.6.14.4
118
119
  signing_key:
119
120
  specification_version: 4
120
121
  summary: Gem that deploys nomad jobs