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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bbfc095bae2d3eec1fc87d27063d02261ab170e
4
- data.tar.gz: fa8658813de84229b61e67ae7e1165ba266bc3d5
3
+ metadata.gz: d2f4dee4559cbdee7f238c5fe73173753890ea2a
4
+ data.tar.gz: 8627c25896da3bf34874e3a8a89bc5ee95ec196a
5
5
  SHA512:
6
- metadata.gz: 57854972d25ddb4e6bcb191c631835c5c86339b39da4885008ae3b3bc73a58a7528eb85df39a160471fc4ff6b3a3c9f047e983a97b625296add98fe32417fcda
7
- data.tar.gz: ffc1561159021403b4d0fa9407f1e05ebc457764207e83a12ac637ffc33b0531c545b669544d36d317e2f2b5a2034cc597b5fbde1edcf7c072cf263efbabe10b
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
- puts archive_path
16
+ FileUtils.mv(archive_path, File.join(FileUtils.pwd, 'archive.zip'))
@@ -1,5 +1,5 @@
1
1
  module Gtt
2
2
  class Downloader
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtt-downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi