where_to 1.0.4 → 1.0.5

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
- YzQ4MzA2M2NjODk5MzBiYjEyMjFmYTRkYzMzODZhNWVhMWNiODNiMQ==
4
+ MzdiYTQ1ZmJiMTY0MWIzZGVkOTFmOWY4M2RhZDE5ZjcyOTk2N2M4Yg==
5
5
  data.tar.gz: !binary |-
6
- ODRhYjFkZjIzOGFjOWQ2NmVkOTE5NmVlY2U2ZmUwMTNjY2RiMTllOA==
6
+ ZDA3YjllYjhlMzA5OTNlZTE3N2UzNjYzZGI2NjJjYzE0NDI2YmQ1ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDBjNjI3NDE1NzdiMDcxNTgzNTc3NjNkZDM3MTUzMjBlMTUzNzc5ZmU2OWNl
10
- M2Q1YWRiMzgxODdiNTA0YjNmMWQ3NWJmNDY4NGM1YmJiZTBkNzc2OWE5YmE5
11
- NTM2ZDg0NzQ3Njk2NWY5MTUwNjc5Y2EyYTFhNmIzMWQxMTI3OWY=
9
+ NzEyMGM1ZGY4ZmQ2NzY3YTlmZGI3OGRkMTU2MDE5OTY3OWY1MDg2OTBjZDcz
10
+ MTUyMjA5NWM0NzI3ZjZjNmQyODNmOTcyMzA4ZWQyYTJhZTMxMTE5OTcyOTIz
11
+ ZWNjZDA2ZmRlMjNlM2E4NGNjNDE0MzRjMTM5ZDBlNTVmZGZhZmI=
12
12
  data.tar.gz: !binary |-
13
- MDA4ODc0ODNiYWY2OGZkN2JhZTNkZmJlMTU2ZWMwM2UzNDEyOWEwNGI2OWMx
14
- MjVhMTdlNDJlMzNjYjRhNzVlYjdhMDcwYzM5YjBlY2QxYzc5MzE2ZDI4ZDQ5
15
- NzczZDBlYTYzYjkxNjU4NzJhNGU0ZWM2OWEwMzRmYjMyODNhNzU=
13
+ MWI3MmI0NjNhZGJhMGZhYWNhMzMzMzgxOGJmNzQ5N2Q0OTA0MDI0ZGMwMWNk
14
+ MmRhMTIzZjU3ZmYxY2MxMDVjZDA1N2JhM2M3YjIzMTZmYTcwYWI1YTBhNzNj
15
+ NWMzMGE4YTAxNzA5NTQ0ZmRiYmViMWYxZWU5YzE4YjgxMTUyZWQ=
data/bin/whereto CHANGED
@@ -91,7 +91,7 @@ def process(files)
91
91
  puts ''
92
92
  puts "For file #{file}:"
93
93
 
94
- locator.episode_number += 1
94
+ locator.episode_number = locator.episode_number.to_i = 1
95
95
  locator.episode_extension = @options[:extname]
96
96
 
97
97
  %i{season episode_number group}.each do |field|
@@ -148,6 +148,7 @@ on_error do |exception|
148
148
  # Error logic here
149
149
  # return false to skip default error handling
150
150
  if @options && @options[:debug]
151
+ puts exception.message
151
152
  puts exception.backtrace
152
153
  false
153
154
  else
@@ -1,3 +1,3 @@
1
1
  module WhereTo
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: where_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Toniazzo