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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5ee245442c267a40154a6a11b7eccd99a62be90
4
- data.tar.gz: fbe64a1a1b1f9053817c5698fc8922b8c74faf0f
3
+ metadata.gz: c4748aeb21f001aad41aff48a5197c9911f5b629
4
+ data.tar.gz: 5c3a3ca93b60763ade4f62245226c590206ce523
5
5
  SHA512:
6
- metadata.gz: dfb00c6c688e780c32fad7a2f0bf12c8ff25c6ff12c76025945a21a3aaf0303a98a026a45e5fd51d625a64cd41f939ce9dc88e6ee4f6bc03e77034880094fefb
7
- data.tar.gz: c3e40682f72c76e41fbdcb88a171664fc9f5ba4ac28bd4bb8ba1e7cb0ac4ec8a0d6fc7fe9d9ed3f7ccfd9eeeae32af621844d44555ff005fd2819a5d12e74aab
6
+ metadata.gz: 3c361cc466f973af54d803678890e1bee3ac19e1ddc8caf6fd1c1caa3101389495179fea511eb174803d376477e5672ddc87120ff243586c7435692e0801f8b8
7
+ data.tar.gz: a6f613abad13abd9594d7ef259857e4b56ceac5324a1707632f2fbdaa3a26d8a0a98211ee98db5e6b2b1a1785d64c4ca9b43af47f2934a2e89eb3c78833466a3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
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.warn('Kagu') { "No such iTunes track: #{path.inspect}" } unless exists?
114
+ Kagu.logger.error('Kagu') { "No such iTunes track: #{path.inspect}" } unless exists?
115
115
  end
116
116
 
117
117
  def title=(value)
@@ -207,8 +207,8 @@ describe Kagu::Track do
207
207
  }.not_to raise_error
208
208
  end
209
209
 
210
- it 'logs a warning if not exist' do
211
- expect(Kagu.logger).to receive(:warn)
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport