kagu 3.0.1 → 3.0.2
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/finder.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f5b6f66532f02deee20bbd9ac670425628329eeb6f71217fb7881fcafe6544
|
4
|
+
data.tar.gz: 14699cfebffd7a2a3dd4e49f7ef34d23c1fedf71b9be20e587c69560e099dfcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e168452aad466cd11c09f035e7b77347ddc401b57f067afb4e60ec81ed52accfbc75a9390755236b62fc99999466a9cc3466e0ed76baab993c5734f19719a1
|
7
|
+
data.tar.gz: 92f3d3313808ac94b8d0348772fef03ccd2d721ec2c2a2eaae558b42bd0861f41325cc5c57e6b06e10279c913a7fd5ea3018a19ed11682adb405db34d0813f64
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
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
|
-
|
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
|
|