itunes_video 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/itunes_video.rb +1 -0
  2. metadata +1 -1
data/lib/itunes_video.rb CHANGED
@@ -79,6 +79,7 @@ class Itunes_video
79
79
  end
80
80
 
81
81
  def unplayed=(unplayed)
82
+ unplayed = unplayed.downcase
82
83
  if !["true", "false"].include? unplayed
83
84
  raise TypeError, "unplayed must be 'true' or 'false'"
84
85
  elsif `osascript -e 'tell application \"iTunes\" to set unplayed of file track id #{@id} to \"#{unplayed}\"'`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes_video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: