kagu 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/kagu/finder.rb +3 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e38db35ecfcc74a1ddfb2eeaefbc1bb0b65e86f92b28283866dd0911d4bad043
4
- data.tar.gz: 287405369b91607e2c654162173f7d41b71c2646d9f21726714d132fd80b04c1
3
+ metadata.gz: 06f5b6f66532f02deee20bbd9ac670425628329eeb6f71217fb7881fcafe6544
4
+ data.tar.gz: 14699cfebffd7a2a3dd4e49f7ef34d23c1fedf71b9be20e587c69560e099dfcd
5
5
  SHA512:
6
- metadata.gz: 2f7601168fb4c299931c2b15c64f8c4d96bbaa81f36af8729a8e2d52429e284a4e30667b63573fa351d25a16460131889b0be9e9e3a73eb11d777d29a47d369b
7
- data.tar.gz: d78a686cbbd8f47cd8576ac4617734e56a4f2ed39dcb940e84dc826d30c45a2d13d4e69c2d12427bddca1f2aefca045096fb0ef82d99635a5a1d31938d24b392
6
+ metadata.gz: 69e168452aad466cd11c09f035e7b77347ddc401b57f067afb4e60ec81ed52accfbc75a9390755236b62fc99999466a9cc3466e0ed76baab993c5734f19719a1
7
+ data.tar.gz: 92f3d3313808ac94b8d0348772fef03ccd2d721ec2c2a2eaae558b42bd0861f41325cc5c57e6b06e10279c913a7fd5ea3018a19ed11682adb405db34d0813f64
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.0.2
data/lib/kagu/finder.rb CHANGED
@@ -111,11 +111,12 @@ module Kagu
111
111
  end
112
112
 
113
113
  def tracks
114
- return @tracks if @tracks
115
114
  @semaphore.synchronize do
116
- (@tracks = Tracks.new.to_a).tap do |tracks|
115
+ unless @tracks
116
+ @tracks = Tracks.new.to_a
117
117
  Kagu.logger.debug('Kagu') { "Loaded #{tracks.size} track(s) from library" }
118
118
  end
119
+ @tracks
119
120
  end
120
121
  end
121
122
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kagu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte