andyw8-itunes-library 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/itunes/track.rb +16 -0
- metadata +37 -32
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e5ef84cae627775de8f07ac5f58328004eef9426270261d4ebb39a7a0de6640d
|
4
|
+
data.tar.gz: 3c65efb969500e777692f7fec037f817cf0442c325cfbd28daeaa78775678fe6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 57b9db22935b860d15ddb934060761163e75941b39fbd3bcf455ee3520531557e476f92ee2e3893ab078a81ad044e941a3bd2a5d6dc9c0d5ce996ad9d7d66d0f
|
7
|
+
data.tar.gz: 39c7ac699ddbc0ee251cf37cdf9efe02802c6a2a64dd1ec82bd23963a24b059d18220c75d58b15cce1577a1935df8bdbb023b75c190aaa817d8bc93b35dd08e8
|
data/lib/itunes/track.rb
CHANGED
@@ -64,6 +64,22 @@ module ITunes
|
|
64
64
|
def last_played_at
|
65
65
|
self['Play Date UTC']
|
66
66
|
end
|
67
|
+
|
68
|
+
def rating
|
69
|
+
self['Rating']
|
70
|
+
end
|
71
|
+
|
72
|
+
def rating_computed?
|
73
|
+
self['Rating Computed'] || false
|
74
|
+
end
|
75
|
+
|
76
|
+
def album_rating
|
77
|
+
self['Album Rating']
|
78
|
+
end
|
79
|
+
|
80
|
+
def album_rating_computed?
|
81
|
+
self['Album Rating Computed'] || false
|
82
|
+
end
|
67
83
|
|
68
84
|
def play_count
|
69
85
|
self['Play Count'] || 0
|
metadata
CHANGED
@@ -1,85 +1,90 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: andyw8-itunes-library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Joshua Peek
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2023-08-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: plist
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 3.7.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 3.7.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 13.0.6
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
40
|
+
version: 13.0.6
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.5.3
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.5.3
|
55
|
+
description: " A Ruby library that makes it easy to dig around your iTunes Library
|
56
|
+
metadata.\n"
|
50
57
|
email:
|
51
58
|
- josh@joshpeek.com
|
52
59
|
executables: []
|
53
60
|
extensions: []
|
54
61
|
extra_rdoc_files: []
|
55
62
|
files:
|
63
|
+
- LICENSE
|
64
|
+
- README.md
|
56
65
|
- lib/itunes/library.rb
|
57
66
|
- lib/itunes/playlist.rb
|
58
67
|
- lib/itunes/track.rb
|
59
|
-
- LICENSE
|
60
|
-
- README.md
|
61
68
|
homepage: https://github.com/andyw8/itunes-library
|
62
69
|
licenses: []
|
63
|
-
|
70
|
+
metadata: {}
|
71
|
+
post_install_message:
|
64
72
|
rdoc_options: []
|
65
73
|
require_paths:
|
66
74
|
- lib
|
67
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
76
|
requirements:
|
70
|
-
- -
|
77
|
+
- - ">="
|
71
78
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
79
|
+
version: 3.0.0
|
73
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
81
|
requirements:
|
76
|
-
- -
|
82
|
+
- - ">="
|
77
83
|
- !ruby/object:Gem::Version
|
78
84
|
version: '0'
|
79
85
|
requirements: []
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
specification_version: 3
|
86
|
+
rubygems_version: 3.4.6
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
84
89
|
summary: Wrapper around iTunes Library.xml
|
85
90
|
test_files: []
|