comet 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/comet/api.rb +3 -1
- data/lib/comet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 311404210d27d916830617aa2b22cec4ffc8b4d5
|
4
|
+
data.tar.gz: f4e135e0cde0a242b802a088e643eaa50a4f4ca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 554afd290442793b4525442a4e2a621d2b52bc20e59c1f65751e3beff5a6911b8352e2f35df917e488786cfc21f28d5636f46f02d19c313bac1b0c39658d7bbe
|
7
|
+
data.tar.gz: 878b45b3e72b9b2f4cb0f7b271ab3df86c9aaa6e34a997e243f00184ed880aa00f285aa3c615530c6c4521156f8d50968326d54aedf40ed25a788dd2001f20c3
|
data/lib/comet/api.rb
CHANGED
@@ -26,7 +26,9 @@ module Comet
|
|
26
26
|
def self.download_archive(download_link, dest)
|
27
27
|
uri = URI(download_link)
|
28
28
|
|
29
|
-
Net::HTTP.start(uri.host, uri.port
|
29
|
+
Net::HTTP.start(uri.host, uri.port,
|
30
|
+
use_ssl: uri.scheme == 'https') do |http|
|
31
|
+
|
30
32
|
resp = http.get(uri.path)
|
31
33
|
|
32
34
|
open(dest, 'wb') do |file|
|
data/lib/comet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Sheehan
|
@@ -83,7 +83,7 @@ files:
|
|
83
83
|
- lib/comet/version.rb
|
84
84
|
- README.rdoc
|
85
85
|
- comet.rdoc
|
86
|
-
homepage: http://launchacademy.com
|
86
|
+
homepage: http://www.launchacademy.com
|
87
87
|
licenses: []
|
88
88
|
metadata: {}
|
89
89
|
post_install_message:
|