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 +4 -4
- data/lib/vpsmatrix/starter.rb +3 -2
- data/lib/vpsmatrix/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ee00ed13e94cab82e94a6c870d0dfcbb3234c13
|
4
|
+
data.tar.gz: 3165664532216efb285190265b023b1129760790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1762ce0ca5fa7b6e8de06a7dedb25ed341b2282a89185a24b6262b4d95a37b38a9e34ff55ffab3ae92907f864bdacda4ce5ec795e93e3d29c3be4a57469b4d3
|
7
|
+
data.tar.gz: 4d33d9302a4c3af3263b45c8af7bcef7dd43131f3a55a8ea0d7cec3d2c862536ee57d4a823ccfbdbfea556ed4d18782e0dce120821237a25a6941fb3b5b642b7
|
data/lib/vpsmatrix/starter.rb
CHANGED
@@ -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
|
-
|
116
|
+
if response.code != '200'
|
117
|
+
puts response.code
|
118
|
+
end
|
118
119
|
end
|
119
120
|
end
|
120
121
|
end
|
data/lib/vpsmatrix/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|