where_to 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmViZGMxMGNjYjRiZTMxMjM2OGFjZmUxMDgzYTgzMWQ2ZDg5MGFjZQ==
4
+ ODFjMWI0ZGE1YTY2MjA0OTg4M2E3MmE0NWQ2NmQxM2NlYTNlMWQwMQ==
5
5
  data.tar.gz: !binary |-
6
- YTcwMjIyYzMzN2ZiN2FiMTJiM2U2ZDhkZTIwM2M5MWY0NWMzY2M3Ng==
6
+ YmIwMmVkYWIzMTFlMmQwZjQ3MTFiMzgwOTVlZmNmODEzYTM3ZWIzZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Njk0ZTMyMmViZjk4Y2Y3MTM4MTMzMGNjNTQ1MDQyYjgyYjJmN2FjNDJmZjYz
10
- NjhkNWRlODU1YjNmYjY2ODkxZDE1ZjA5N2U1OWU3MzdhNWI2NDYyZGYwZDI1
11
- ODY3YWNiN2ZjZTg2NzZlMzQ0OWJmMGE2YjBjOGZmZDc1NmQwYzc=
9
+ NDI0YmViZDhjOGZiMDI0Y2U3OTllNGNjZWQyYjEwY2I3OWFmZDAxMGQ2OGE2
10
+ NDdjNTI4MTI3YjU4ZWU1ZDI0NTZhODg1NzI3OGViM2QxZDI3NzM3ZmI2NzAz
11
+ ZmQzYWQ4OWJjNWNhMzUyMDIzMWNiMDU1MmNhMzE0ZGRmODhlMDE=
12
12
  data.tar.gz: !binary |-
13
- NmUzOTUzMzcwMTZmYWNkOTYzMWUxYWQyZDg3NDJiYTBhYWQ0ZjdkZDI5NjI3
14
- OTA1OWM5OGY4YmZhYTM5NmJjZWM4NGQyNzlmYmM1MDEyODljM2JkNzQ3MWJj
15
- ZGY3ZDQ2YTg0ZjJiOTg5ZDE2ZWI3MzZmZTE1MmEwMTZiY2IzOWU=
13
+ MmY1NGMyZDhiNWFmOGFkNjRmMzFlODYyNDEyZDE1OTZlZjkyOTViYjlmZGY0
14
+ NGY5YTkyNGRmM2QwNDNhZGQ1OTQ3ZmJlNzNlMmQ5Mzg1N2ZiNTczZDJlODE1
15
+ NGU0MDNlYjIzNTlmYjdiNjEyYTM1NDljZGQ5YWJkMzZlMjc5N2Q=
data/bin/whereto CHANGED
@@ -65,8 +65,8 @@ command :organize do |cmd|
65
65
  files = Dir.glob "*#{options[:ext]}"
66
66
  raise WhereTo::NoFilesError.new(options[:ext], location) if files.none?
67
67
  puts "I found the following files:"
68
- files.each { |file| puts file }
69
- puts ''
68
+ puts files
69
+ puts ""
70
70
 
71
71
  WhereTo.configure do |config|
72
72
  config.tvdb_api_key = ENV['TVDB_API_KEY']
@@ -91,6 +91,8 @@ def process(files)
91
91
  locator.send("#{field}=", prompt_for(field, default: locator.send(field)))
92
92
  end
93
93
 
94
+ locator.episode_extension = @options[:extname]
95
+
94
96
  locator.lookup!
95
97
  locator.episode_title = prompt_for :episode_title, default: locator.episode_title
96
98
 
@@ -1,3 +1,3 @@
1
1
  module WhereTo
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: where_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Toniazzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-07 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler