snackpack 0.1.9 → 0.2.0

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.
Files changed (2) hide show
  1. data/bin/snackpack +2 -2
  2. metadata +2 -2
data/bin/snackpack CHANGED
@@ -9,13 +9,13 @@ config = File.join(Dir.home(user), ".snackpack")
9
9
  unless FileTest.exists?(config)
10
10
  puts "Missing #{config}"
11
11
  puts "Would you like to create it? (y/n)"
12
- input = gets
12
+ input = STDIN.gets
13
13
  case input.downcase.strip
14
14
  when "y", "yes"
15
15
  puts "Where would you like to save ruby tapas episodes? "
16
16
  puts "example: /home/username/ruby-tapas/"
17
17
  puts "Make sure to include the trailing slash /"
18
- save_folder = gets.strip
18
+ save_folder = STDIN.gets.strip
19
19
  File.open(config, 'w') { |f| f.puts ":stomach: " + save_folder.inspect }
20
20
  else
21
21
  exit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snackpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-16 00:00:00.000000000 Z
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! " Snackpack logs into your RubyTapas subscription and downloads\n
15
15
  \ all the available episodes with their supporting files onto your local\n computer.