srtshifter 1.0.1 → 1.0.2

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.
@@ -15,7 +15,7 @@ module SrtShifter
15
15
  opts.separator "Common Options:"
16
16
 
17
17
  opts.on("-o","--operation (ADD|SUB)", String, "Type ADD to increase time or SUB to decrease time.") do |o|
18
- options[:operation] = o.upcase
18
+ options[:operation] = o.upcase if operations.include? o.upcase
19
19
  end
20
20
 
21
21
  opts.on("-t","--time (VALUE)", Float, "Time in milliseconds.") do |n|
@@ -1,3 +1,3 @@
1
1
  module SrtShifter
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: srtshifter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: