taglib-ruby 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e071c43695cf3898de6224fefa308e83dcb4e8b1e8f09c7e348a53a5a4a34bc
4
- data.tar.gz: 9247a84147c330e268897940a08cebbe124e92e81741ab64a2eaea07962a9f36
3
+ metadata.gz: ecceaec5949a978d7197944553e81b279f29eac9b3cb896285d31feaf8eb62c1
4
+ data.tar.gz: cd7c8acdfb435435b20af23c82490987b94f44ef45366902d0c2fd55f45c4f3d
5
5
  SHA512:
6
- metadata.gz: '0986da0ee118c9062c6f167d6e0b2d20c03dc029f34ec50ad7ecdc85668fc9814a9a71656059a72abf5f2dab65895f02f425ce4dd3cd5b4729dd72b09f4e2006'
7
- data.tar.gz: 6343921b422e32260edf5f3c5e79b487369a4ee7da5a3a53fcfc9812d1534d9d0351a34e2b4e8233a5483718671ecf4b05d1d7c1df8f66602adc0a9f044ef3aa
6
+ metadata.gz: 288cbdd0cba616f093e9a6332f85f61d6ae17b1026694d32813105a8c22c1b70c26fa224f669fb2bdab965212608e68e210474b2e8b9fab19aab82420f6e9a94
7
+ data.tar.gz: 927524f682dcda566219cb60895043d2c07c308122f162fbb6d140549e179ebaed08a3aa011f606f0a17bfa62ba4b4dcb47491de0efe3d3a4ab6122982c9d413
@@ -1,18 +1,29 @@
1
1
  Changes in Releases of taglib-ruby
2
2
  ==================================
3
3
 
4
- ## 1.0.0 (2020-01-07)
4
+ All notable changes to this project will be documented in this file.
5
+
6
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
7
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
8
+
9
+ ## 1.0.1 - 2020-03-25
10
+
11
+ ### Fixed
12
+ - Fix segmentation fault with TagLib::FLAC picture lists (#91), thanks
13
+ @jameswyper!
14
+
15
+ ## 1.0.0 - 2020-01-07
5
16
 
6
17
  * Support for TagLib >= 1.11.1 (drop support for earlier versions) (#83)
7
18
  * This includes a lot of new APIs and some changed APIs, see
8
19
  `@since 1.0.0` in the docs
9
20
  * Stop using tainted strings to fix warnings with Ruby 2.7 (#86)
10
21
 
11
- ## 0.7.1 (2015-12-28)
22
+ ## 0.7.1 - 2015-12-28
12
23
 
13
24
  * Fix compile error during gem installation on Ruby 2.3 (MRI) (#67)
14
25
 
15
- ## 0.7.0 (2014-08-21)
26
+ ## 0.7.0 - 2014-08-21
16
27
 
17
28
  * Add support for TagLib::RIFF::AIFF (#52, by @tchev)
18
29
  * Add support for TagLib::RIFF::WAV (#57, by @tchev)
@@ -21,7 +32,7 @@ Changes in Releases of taglib-ruby
21
32
  * Try to detect location of vendor/taglib on Heroku (#28)
22
33
  * Documentation updates
23
34
 
24
- ## 0.6.0 (2013-04-26)
35
+ ## 0.6.0 - 2013-04-26
25
36
 
26
37
  * Add support for TagLib::MP4 (#3, by @jacobvosmaer)
27
38
  * Add support for TagLib::ID3v2::Header (#19, by @kaethorn)
@@ -32,24 +43,24 @@ Changes in Releases of taglib-ruby
32
43
  * Fix segfault when passing a non-String to a String argument
33
44
  * Documentation updates
34
45
 
35
- ## 0.5.2 (2012-10-06)
46
+ ## 0.5.2 - 2012-10-06
36
47
 
37
48
  * Fix memory bug with TagLib::MPEG::File#tag and TagLib::FLAC::File#tag
38
49
  which could cause crashes (#14)
39
50
  * Update TagLib of binary gem for Windows to 1.8
40
51
 
41
- ## 0.5.1 (2012-06-16)
52
+ ## 0.5.1 - 2012-06-16
42
53
 
43
54
  * Fix crashes (segfault) with nil arguments, e.g. with `tag.title = nil`
44
55
  * Document TagLib::MPEG::File#save and TagLib::MPEG::File#strip (#11)
45
56
  * Update TagLib of binary gem for Windows to 1.7.2
46
57
 
47
- ## 0.5.0 (2012-04-15)
58
+ ## 0.5.0 - 2012-04-15
48
59
 
49
60
  * Add support for FLAC
50
61
  * Fix problem in SWIG causing compilation error on MacRuby (#10)
51
62
 
52
- ## 0.4.0 (2012-03-18)
63
+ ## 0.4.0 - 2012-03-18
53
64
 
54
65
  * Pre-compiled binary gem for Windows (Ruby 1.9) with TagLib 1.7.1
55
66
  * Unicode filename support on Windows
@@ -63,35 +74,35 @@ title = TagLib::FileRef.open("file.mp3") do |file|
63
74
  end
64
75
  ```
65
76
 
66
- ## 0.3.1 (2012-01-22)
77
+ ## 0.3.1 - 2012-01-22
67
78
 
68
79
  * Fix ObjectPreviouslyDeleted exception after calling
69
80
  TagLib::ID3v2::Tag#add_frame (#8)
70
81
  * Make installation under MacPorts work out of the box (#7)
71
82
 
72
- ## 0.3.0 (2012-01-02)
83
+ ## 0.3.0 - 2012-01-02
73
84
 
74
85
  * Add support for Ogg Vorbis
75
86
  * Add support for ID3v1 (#2)
76
87
  * Add #close to File classes for explicitly releasing resources
77
88
  * Fix compilation on Windows
78
89
 
79
- ## 0.2.1 (2011-11-05)
90
+ ## 0.2.1 - 2011-11-05
80
91
 
81
92
  * Fix compilation error due to missing typedef on some systems (#5)
82
93
 
83
- ## 0.2.0 (2011-10-22)
94
+ ## 0.2.0 - 2011-10-22
84
95
 
85
96
  * API documentation
86
97
  * Add support for:
87
98
  * TagLib::AudioProperties and TagLib::MPEG::Properties (#4)
88
99
  * TagLib::ID3v2::RelativeVolumeFrame
89
100
 
90
- ## 0.1.1 (2011-09-17)
101
+ ## 0.1.1 - 2011-09-17
91
102
 
92
103
  * Add installation instructions and clean up description
93
104
 
94
- ## 0.1.0 (2011-09-17)
105
+ ## 0.1.0 - 2011-09-17
95
106
 
96
107
  * Initial release
97
108
  * Coverage of the following API:
data/README.md CHANGED
@@ -55,7 +55,7 @@ Begin with the {TagLib} namespace.
55
55
  Release Notes
56
56
  -------------
57
57
 
58
- See {file:CHANGES.md}.
58
+ See {file:CHANGELOG.md}.
59
59
 
60
60
  Contributing
61
61
  ------------
@@ -73,7 +73,7 @@ if you don't have it):
73
73
 
74
74
  bundle install
75
75
 
76
- Regenerate SWIG wrappers if you made changes in `.i` files (use version 3.0.7 of SWIG):
76
+ Regenerate SWIG wrappers if you made changes in `.i` files (use version 3.0.7 of SWIG - 3.0.8 through 3.0.12 will not work):
77
77
 
78
78
  rake swig
79
79
 
@@ -86,6 +86,13 @@
86
86
  SWIG_RubyRemoveTracking(properties);
87
87
  }
88
88
 
89
+ TagLib::List<TagLib::FLAC::Picture *> list = file->pictureList();
90
+ for (TagLib::List<TagLib::FLAC::Picture *>::ConstIterator it = list.begin(); it != list.end(); it++) {
91
+ TagLib::FLAC::Picture *picture = (*it);
92
+ SWIG_RubyUnlinkObjects(picture);
93
+ SWIG_RubyRemoveTracking(picture);
94
+ }
95
+
89
96
  SWIG_RubyUnlinkObjects(ptr);
90
97
  SWIG_RubyRemoveTracking(ptr);
91
98
 
@@ -2210,6 +2210,13 @@ SWIGINTERN void TagLib_FLAC_File_close(TagLib::FLAC::File *self){
2210
2210
  SWIG_RubyRemoveTracking(properties);
2211
2211
  }
2212
2212
 
2213
+ TagLib::List<TagLib::FLAC::Picture *> list = file->pictureList();
2214
+ for (TagLib::List<TagLib::FLAC::Picture *>::ConstIterator it = list.begin(); it != list.end(); it++) {
2215
+ TagLib::FLAC::Picture *picture = (*it);
2216
+ SWIG_RubyUnlinkObjects(picture);
2217
+ SWIG_RubyRemoveTracking(picture);
2218
+ }
2219
+
2213
2220
  SWIG_RubyUnlinkObjects(ptr);
2214
2221
  SWIG_RubyRemoveTracking(ptr);
2215
2222
 
@@ -2,7 +2,7 @@ module TagLib
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -44,13 +44,13 @@ DESC
44
44
  "ext/taglib_wav/extconf.rb",
45
45
  ]
46
46
  s.extra_rdoc_files = [
47
- "CHANGES.md",
47
+ "CHANGELOG.md",
48
48
  "LICENSE.txt",
49
49
  "README.md",
50
50
  ]
51
51
  s.files = [
52
52
  ".yardopts",
53
- "CHANGES.md",
53
+ "CHANGELOG.md",
54
54
  "Gemfile",
55
55
  "Guardfile",
56
56
  "LICENSE.txt",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taglib-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Stocker
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-01-07 00:00:00.000000000 Z
13
+ date: 2020-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -124,12 +124,12 @@ extensions:
124
124
  - ext/taglib_aiff/extconf.rb
125
125
  - ext/taglib_wav/extconf.rb
126
126
  extra_rdoc_files:
127
- - CHANGES.md
127
+ - CHANGELOG.md
128
128
  - LICENSE.txt
129
129
  - README.md
130
130
  files:
131
131
  - ".yardopts"
132
- - CHANGES.md
132
+ - CHANGELOG.md
133
133
  - Gemfile
134
134
  - Guardfile
135
135
  - LICENSE.txt