MDownloader 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49ec51e526e1e9ad37c9b5359ee04fcee9db9036
4
- data.tar.gz: 09722832c5ce15061ffafbcc8e1953b9dc559b6a
3
+ metadata.gz: 1e2fa2d1249c72a98181c094074553d0260528b9
4
+ data.tar.gz: 5c6d820a21a3ea02304978c2ac32043d858aa37b
5
5
  SHA512:
6
- metadata.gz: a895e4b601b28e261b553073bf084ae6dfbf87bccb4d2f8024b5f7ab54aadbd20027e5617b44dafb1b24fd13bbff43f5cc1382eadcf04d6065f833965df0e171
7
- data.tar.gz: d35eb925dc26fad6e88f2d887b210b919ba60b27838a3651a632385e2418c5ab6ba1fce88061848c41d185016ae99af2a298da2245f7c7b552f4ccf085e44cd3
6
+ metadata.gz: b9b8b0a7641905231fd5673bb1975e37363f0abc8366a72eb4f2464a3011e64c1538d5d042de35f358bb81530fb03512798691026a0a838491b3bbf41039374a
7
+ data.tar.gz: 8ab2172e81dbaf1e0fd78ea3a53491a93af6d36ba3d5211c22444055d1ef55928f4440a5b1964008f8ca3513e7eb5bcaa62c8fb66fb5acbbaa22dc34b3a3ad28
data/lib/MDownloader.rb CHANGED
@@ -2,7 +2,7 @@ require "MDownloader/version"
2
2
 
3
3
  module MDownloader
4
4
 
5
- def download(url, path, options = {}, &block)
5
+ def MDownloader.download(url, path, options = {}, &block)
6
6
  check_wget
7
7
 
8
8
  resume_cmd = options[:resume] ? '-c' : ''
@@ -1,3 +1,3 @@
1
1
  module MDownloader
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: MDownloader
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
  - RaymondChou