kagu 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kagu/track.rb +1 -1
- data/spec/kagu/track_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4748aeb21f001aad41aff48a5197c9911f5b629
|
4
|
+
data.tar.gz: 5c3a3ca93b60763ade4f62245226c590206ce523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c361cc466f973af54d803678890e1bee3ac19e1ddc8caf6fd1c1caa3101389495179fea511eb174803d376477e5672ddc87120ff243586c7435692e0801f8b8
|
7
|
+
data.tar.gz: a6f613abad13abd9594d7ef259857e4b56ceac5324a1707632f2fbdaa3a26d8a0a98211ee98db5e6b2b1a1785d64c4ca9b43af47f2934a2e89eb3c78833466a3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/lib/kagu/track.rb
CHANGED
@@ -111,7 +111,7 @@ module Kagu
|
|
111
111
|
def path=(value)
|
112
112
|
@path = value.to_s.presence
|
113
113
|
raise Error.new("No such file: #{path.inspect}") if File.exists?(path) && !exists?
|
114
|
-
Kagu.logger.
|
114
|
+
Kagu.logger.error('Kagu') { "No such iTunes track: #{path.inspect}" } unless exists?
|
115
115
|
end
|
116
116
|
|
117
117
|
def title=(value)
|
data/spec/kagu/track_spec.rb
CHANGED
@@ -207,8 +207,8 @@ describe Kagu::Track do
|
|
207
207
|
}.not_to raise_error
|
208
208
|
end
|
209
209
|
|
210
|
-
it 'logs
|
211
|
-
expect(Kagu.logger).to receive(:
|
210
|
+
it 'logs an error if not exist' do
|
211
|
+
expect(Kagu.logger).to receive(:error)
|
212
212
|
Kagu::Track.new(attributes.merge(path: '/tmp/bar.mp3'))
|
213
213
|
end
|
214
214
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kagu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Toulotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|