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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29a39a8033839e24d0799a7ed0e8ef05ab1b6aec
4
- data.tar.gz: c28253878dc3f2d2cef71e496fc808b390c2f25e
3
+ metadata.gz: 311404210d27d916830617aa2b22cec4ffc8b4d5
4
+ data.tar.gz: f4e135e0cde0a242b802a088e643eaa50a4f4ca7
5
5
  SHA512:
6
- metadata.gz: 9113ef8c22817330545ec576b50cd2df077ff5163f4072edbde21ce4914352b8bee57e29ffdb9cfcd5e53f76695c67d7437ad58af967258ff017ef90e0e4b555
7
- data.tar.gz: 97dc7dc5e468a8842556d80a99b82bfa7427379bf25b39e71f1ee29e2c270a937f7a5bf614a676987a85f146c3bf7b7c5ebc2c71dfb4f8f979bcb337f3f5f724
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) do |http|
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
@@ -1,3 +1,3 @@
1
1
  module Comet
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
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.1
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: