vpsmatrix 0.1.7 → 0.1.8

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: e5c44d6702d8412d093a5ad411a7af24fd932fb2
4
- data.tar.gz: 1b911c4a5e518261526e17ca1ef4f5b70336dc6e
3
+ metadata.gz: 4ee00ed13e94cab82e94a6c870d0dfcbb3234c13
4
+ data.tar.gz: 3165664532216efb285190265b023b1129760790
5
5
  SHA512:
6
- metadata.gz: c6ae55af26be0c293572570600c5c4ad3cedeae4928fa5f3857e38f4c9cbfa92d2ec7cce3c9a673012d9466772701521cad056edc433dd10ef424b21ffb138f0
7
- data.tar.gz: c3634168223dcfeb6a67fddc1d198ab212c546aad961517a67fef794d773a2622b297afef28917e169d94e9690e237e1912c3d13038cf953ad436e0a2b578dcb
6
+ metadata.gz: a1762ce0ca5fa7b6e8de06a7dedb25ed341b2282a89185a24b6262b4d95a37b38a9e34ff55ffab3ae92907f864bdacda4ce5ec795e93e3d29c3be4a57469b4d3
7
+ data.tar.gz: 4d33d9302a4c3af3263b45c8af7bcef7dd43131f3a55a8ea0d7cec3d2c862536ee57d4a823ccfbdbfea556ed4d18782e0dce120821237a25a6941fb3b5b642b7
@@ -104,7 +104,6 @@ class Starter
104
104
  File.open('tmp/files_to_send', 'rb') do |io|
105
105
  req.content_length = io.size
106
106
  req.body_stream = io
107
- puts DateTime.now
108
107
  UploadProgress.new(req) do |progress|
109
108
  print "uploaded so far: #{ progress.upload_size }/#{ io.size }\r"
110
109
  $stdout.flush
@@ -114,7 +113,9 @@ class Starter
114
113
  response.read_body do |chunk|
115
114
  print chunk
116
115
  end
117
- puts response.code
116
+ if response.code != '200'
117
+ puts response.code
118
+ end
118
119
  end
119
120
  end
120
121
  end
@@ -1,3 +1,3 @@
1
1
  module Vpsmatrix
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpsmatrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - mousse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.6.4
78
+ rubygems_version: 2.5.1
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Gem for easy deployment to VPS Matrix servers.