kagu 2.0.0 → 2.0.1

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/track.rb +4 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05530d96685beff7b5bd5b348a7a36ec250e14e7e3f670c8af5a8a2e90869e19
4
- data.tar.gz: c8d0c1c58b6d249c182111234f4511796089b7edd74ed56d5df55ede882d9448
3
+ metadata.gz: 5554a2cdae2643810de486c520ab8be37349942aeaafc133f701b464fec48539
4
+ data.tar.gz: 15743bbb99e062c49d05cb0b3de1f61d5cbd29d59b5b82ef0bc5493ccf2af9b3
5
5
  SHA512:
6
- metadata.gz: 3d3ee5e53b26cb920203e1282544a3d7e30bddb72935bdacc074745dccd2bd4ca3ad8862a4edc1c049e56e128c03c796dbbb0e91c0b76ab530f77312f8041547
7
- data.tar.gz: c805e52b6ec32a7b1656239951f5f2ff4e9647784ad1ef501efe014a42f711809368da53b13878516cb736d48eb8c647d87bd3d730a82643db4e61fff00e9716
6
+ metadata.gz: 5b656afcc5b0df1adf19e3b31072c1afb37ef3ff508389c3888b03c4a65ccd98a9475db17c3e8b26e9b1240b65e54d02e156bb61a183643a1ca8745bda9e4ada
7
+ data.tar.gz: fe0de589becaab538524f5dc9c0d21566478819c46ccdebcae9a7d75660ec387901dc661e756e09d9e749f2e247598a5495bf9ffc8d2551e058fef6470b579b1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
data/lib/kagu/track.rb CHANGED
@@ -31,6 +31,10 @@ module Kagu
31
31
  File.file?(path)
32
32
  end
33
33
 
34
+ def hash
35
+ [artist, title].hash
36
+ end
37
+
34
38
  def relative_path(directory)
35
39
  directory.present? && directory.starts_with?(directory) ? path.gsub(/\A#{Regexp.escape(directory)}\//, '') : path
36
40
  end
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: 2.0.0
4
+ version: 2.0.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: 2018-10-14 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport