moc 2.5.0.3 → 2.5.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,6 +66,8 @@ class Status
66
66
 
67
67
  %w[title artist album track].each {|name|
68
68
  define_method name do
69
+ return unless tags
70
+
69
71
  tags.send name
70
72
  end
71
73
  }
@@ -128,6 +130,8 @@ class Status
128
130
 
129
131
  %w[title artist album track].each {|name|
130
132
  define_method name do
133
+ return unless tags
134
+
131
135
  tags.send name
132
136
  end
133
137
  }
data/lib/moc/version.rb CHANGED
@@ -10,6 +10,6 @@
10
10
 
11
11
  module Moc
12
12
  def self.version
13
- '2.5.0.3'
13
+ '2.5.0.4'
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.3
4
+ version: 2.5.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: