tvshow_renamer 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -119,7 +119,11 @@ module TVShowRenamer
119
119
  until quit
120
120
  case CLI.prompt("Choice : ")
121
121
  when '1'
122
- @tvfile.tvshow_name = CLI.prompt_edit_value("TV Show Name", @tvfile.tvshow_name)
122
+ new_tvshow_name = CLI.prompt_edit_value("TV Show Name", @tvfile.tvshow_name)
123
+ if new_tvshow_name != @tvshow_name
124
+ @tvshow_name = @tvfile.tvshow_name = new_tvshow_name
125
+ puts "TV Show Name is now #{@tvshow_name}."
126
+ end
123
127
  when '2'
124
128
  puts "You cannot change the format yet, sorry."
125
129
  when 'q'
@@ -1,3 +1,3 @@
1
1
  module TVShowRenamer
2
- Version = VERSION = '0.4'
2
+ Version = VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvshow_renamer
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: