kagu 0.2.2 → 0.2.3

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/tracks.rb +1 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33bafbee99de5e86689338f8355f5c13a38261e1
4
- data.tar.gz: 6f01cf5d29c37e5c6e44c05a9a6afb79ae5194eb
3
+ metadata.gz: c09a4e2ff706a85174a3774f3cf3af61c07f30ad
4
+ data.tar.gz: 486a71fca87635c91196328176fe48ab09aae2fb
5
5
  SHA512:
6
- metadata.gz: dc791834ee2e89f7108ffbe05c6b8320b48c30d346022ea9c7a3b2090b8da738c8b202afbb722aa350ac8739ad7399b0c0c7ff9fbabf286c2710289b1e887bb9
7
- data.tar.gz: d08fd8f78bcc5b5732a967e7f164cb3d5044bb65d2c9a3e092798318652846d8f719154cf73376d708ea77abcd8cab6349e67b4696f42dd9a0569e74971fea32
6
+ metadata.gz: 86f3d8e440a5402320f03d2164ebedee5733bbae8ff721185718cebbef3c76ab9ebdeaa1d38aa857c15e4c316e1a032c688bc5c58c3084366a6d966712806d6e
7
+ data.tar.gz: 8f2acd2c6711f38a6f6aec4519805a8d2e5107eddac01fbab2f4c54280569c5907a3a6b0b751528aaff2e2bccbb1f302dcd66e41dbf1a2aba27dc751d2574ac4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/lib/kagu/tracks.rb CHANGED
@@ -19,6 +19,7 @@ module Kagu
19
19
  attributes = {}
20
20
  begin
21
21
  match = line.match(/<key>(.+)<\/key><(\w+)>(.*)<\/\2>/)
22
+ next unless match
22
23
  name = "itunes_#{match[1].downcase.gsub(' ', '_')}"
23
24
  value = match[3]
24
25
  attributes[name] = value
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: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Toulotte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-29 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport