id3tag 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -46
- data/.travis.yml +6 -5
- data/id3tag.gemspec +8 -8
- data/lib/id3tag/audio_file.rb +24 -6
- data/lib/id3tag/id3_v2_tag_header.rb +4 -4
- data/lib/id3tag/number_util.rb +1 -0
- data/lib/id3tag/tag.rb +2 -2
- data/lib/id3tag/version.rb +1 -1
- data/spec/features/can_read_non_audio_files_spec.rb +8 -7
- data/spec/features/can_read_tag_v1_spec.rb +6 -6
- data/spec/lib/id3tag/audio_file_spec.rb +85 -15
- data/spec/lib/id3tag/frames/util/genre_name_by_id_finder_spec.rb +2 -2
- data/spec/lib/id3tag/frames/v1/comments_frame_spec.rb +7 -7
- data/spec/lib/id3tag/frames/v1/genre_frame_spec.rb +3 -3
- data/spec/lib/id3tag/frames/v1/text_frame_spec.rb +2 -2
- data/spec/lib/id3tag/frames/v1/track_nr_frame_spec.rb +3 -3
- data/spec/lib/id3tag/frames/v2/basic_frame_spec.rb +56 -16
- data/spec/lib/id3tag/frames/v2/comments_frame_spec.rb +5 -5
- data/spec/lib/id3tag/frames/v2/frame_fabricator_spec.rb +8 -8
- data/spec/lib/id3tag/frames/v2/frame_flags_spec.rb +539 -108
- data/spec/lib/id3tag/frames/v2/genre_frame/genre_parser_24_spec.rb +3 -3
- data/spec/lib/id3tag/frames/v2/genre_frame/genre_parser_pre_24_spec.rb +8 -8
- data/spec/lib/id3tag/frames/v2/genre_frame_spec.rb +9 -9
- data/spec/lib/id3tag/frames/v2/picture_frame_spec.rb +37 -17
- data/spec/lib/id3tag/frames/v2/text_frame_spec.rb +7 -7
- data/spec/lib/id3tag/frames/v2/unique_file_id_frame_spec.rb +4 -4
- data/spec/lib/id3tag/frames/v2/user_text_frame_spec.rb +19 -4
- data/spec/lib/id3tag/id3_v1_frame_parser_spec.rb +10 -10
- data/spec/lib/id3tag/id3_v2_frame_parser_spec.rb +6 -6
- data/spec/lib/id3tag/id3_v2_tag_header_spec.rb +105 -21
- data/spec/lib/id3tag/id3tag_spec.rb +1 -1
- data/spec/lib/id3tag/io_util_spec.rb +4 -4
- data/spec/lib/id3tag/number_util_spec.rb +10 -2
- data/spec/lib/id3tag/string_util_spec.rb +10 -10
- data/spec/lib/id3tag/synchsafe_integer_spec.rb +6 -6
- data/spec/lib/id3tag/tag_spec.rb +192 -91
- metadata +28 -29
- data/Gemfile.lock +0 -77
metadata
CHANGED
@@ -1,116 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: id3tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krists Ozols
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 11.1.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 11.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdoc
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.
|
47
|
+
version: 4.2.2
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.
|
54
|
+
version: 4.2.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.4.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.4.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.11.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.11.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: coveralls
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.8.13
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.8.13
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.10.3
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.10.3
|
111
111
|
description: Native Ruby ID3 tag reader that aims for 100% covarage of ID3v2.x and
|
112
112
|
ID3v1.x standards
|
113
|
-
email: krists@
|
113
|
+
email: krists.ozols@gmail.com
|
114
114
|
executables: []
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files:
|
@@ -122,7 +122,6 @@ files:
|
|
122
122
|
- ".rspec"
|
123
123
|
- ".travis.yml"
|
124
124
|
- Gemfile
|
125
|
-
- Gemfile.lock
|
126
125
|
- LICENSE.txt
|
127
126
|
- README.md
|
128
127
|
- Rakefile
|
@@ -226,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
225
|
version: '0'
|
227
226
|
requirements: []
|
228
227
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.
|
228
|
+
rubygems_version: 2.6.13
|
230
229
|
signing_key:
|
231
230
|
specification_version: 4
|
232
231
|
summary: Native Ruby ID3 tag reader that aims for 100% covarage of ID3v2.x and ID3v1.x
|
data/Gemfile.lock
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
id3tag (0.8.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
coderay (1.1.0)
|
10
|
-
coveralls (0.7.0)
|
11
|
-
multi_json (~> 1.3)
|
12
|
-
rest-client
|
13
|
-
simplecov (>= 0.7)
|
14
|
-
term-ansicolor
|
15
|
-
thor
|
16
|
-
diff-lcs (1.2.5)
|
17
|
-
docile (1.1.5)
|
18
|
-
ffi (1.9.3-x86-mingw32)
|
19
|
-
json (1.8.1)
|
20
|
-
json (1.8.1-java)
|
21
|
-
method_source (0.8.2)
|
22
|
-
mime-types (2.3)
|
23
|
-
multi_json (1.10.1)
|
24
|
-
netrc (0.7.7)
|
25
|
-
pry (0.10.0)
|
26
|
-
coderay (~> 1.1.0)
|
27
|
-
method_source (~> 0.8.1)
|
28
|
-
slop (~> 3.4)
|
29
|
-
pry (0.10.0-x86-mingw32)
|
30
|
-
coderay (~> 1.1.0)
|
31
|
-
method_source (~> 0.8.1)
|
32
|
-
slop (~> 3.4)
|
33
|
-
win32console (~> 1.3)
|
34
|
-
rake (10.3.2)
|
35
|
-
rdoc (4.1.1)
|
36
|
-
json (~> 1.4)
|
37
|
-
rest-client (1.7.2)
|
38
|
-
mime-types (>= 1.16, < 3.0)
|
39
|
-
netrc (~> 0.7)
|
40
|
-
rest-client (1.7.2-x86-mingw32)
|
41
|
-
ffi (~> 1.9)
|
42
|
-
mime-types (>= 1.16, < 3.0)
|
43
|
-
netrc (~> 0.7)
|
44
|
-
rspec (2.13.0)
|
45
|
-
rspec-core (~> 2.13.0)
|
46
|
-
rspec-expectations (~> 2.13.0)
|
47
|
-
rspec-mocks (~> 2.13.0)
|
48
|
-
rspec-core (2.13.1)
|
49
|
-
rspec-expectations (2.13.0)
|
50
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
51
|
-
rspec-mocks (2.13.1)
|
52
|
-
simplecov (0.9.0)
|
53
|
-
docile (~> 1.1.0)
|
54
|
-
multi_json
|
55
|
-
simplecov-html (~> 0.8.0)
|
56
|
-
simplecov-html (0.8.0)
|
57
|
-
slop (3.5.0)
|
58
|
-
term-ansicolor (1.3.0)
|
59
|
-
tins (~> 1.0)
|
60
|
-
thor (0.19.1)
|
61
|
-
tins (1.3.0)
|
62
|
-
win32console (1.3.2-x86-mingw32)
|
63
|
-
|
64
|
-
PLATFORMS
|
65
|
-
java
|
66
|
-
ruby
|
67
|
-
x86-mingw32
|
68
|
-
|
69
|
-
DEPENDENCIES
|
70
|
-
bundler (~> 1.3)
|
71
|
-
coveralls
|
72
|
-
id3tag!
|
73
|
-
pry
|
74
|
-
rake
|
75
|
-
rdoc (~> 4.1.1)
|
76
|
-
rspec (~> 2.13.0)
|
77
|
-
simplecov
|