gtt-downloader 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/gtt-downloader +2 -1
- data/lib/gtt/downloader/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2f4dee4559cbdee7f238c5fe73173753890ea2a
|
4
|
+
data.tar.gz: 8627c25896da3bf34874e3a8a89bc5ee95ec196a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 311007f9718969b66e7da7bce9398d257006953eadebc1adc009163d766586fce47adf7152396fd758eaa360bed49f1aeb3ceb26247aeb87d97968ef08b35b01
|
7
|
+
data.tar.gz: d491eacfa29df8eb7169240e4be0380098bd5a0e3d3edd23fd3ad69e523fb5bd43fb03480079d5dcc2964d6d04058987d279fbc867c7db8be30208343096d073
|
data/exe/gtt-downloader
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require "fileutils"
|
3
4
|
require "gtt/downloader"
|
4
5
|
|
5
6
|
unless ENV['LABEL']
|
@@ -12,4 +13,4 @@ end
|
|
12
13
|
downloader = Gtt::Downloader.new
|
13
14
|
label = ENV['LABEL']
|
14
15
|
archive_path = downloader.download_label(label)
|
15
|
-
|
16
|
+
FileUtils.mv(archive_path, File.join(FileUtils.pwd, 'archive.zip'))
|