taglib-ruby 0.5.1-x86-mingw32 → 0.5.2-x86-mingw32

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.
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  Changes in Releases of taglib-ruby
2
2
  ==================================
3
3
 
4
+ ## 0.5.2 (2012-10-06)
5
+
6
+ * Fix memory bug with TagLib::MPEG::File#tag and TagLib::FLAC::File#tag
7
+ which could cause crashes (#14)
8
+ * Update TagLib of binary gem for Windows to 1.8
9
+
4
10
  ## 0.5.1 (2012-06-16)
5
11
 
6
12
  * Fix crashes (segfault) with nil arguments, e.g. with `tag.title = nil`
data/README.md CHANGED
@@ -55,6 +55,21 @@ See {file:CHANGES.md}.
55
55
  Contributing
56
56
  ------------
57
57
 
58
+ ### Building
59
+
60
+ # Install dependencies
61
+ bundle install
62
+ # Regenerate SWIG wrappers (only necessary if you made changes)
63
+ rake swig
64
+ # Compile extension
65
+ rake clean compile
66
+ # Run tests
67
+ rake test
68
+ # Build and install gem into system gems
69
+ rake install
70
+
71
+ ### Workflow
72
+
58
73
  * Check out the latest master to make sure the feature hasn't been
59
74
  implemented or the bug hasn't been fixed yet
60
75
  * Check out the issue tracker to make sure someone already hasn't
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1401,7 +1401,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1401
1401
 
1402
1402
  /* Runtime API */
1403
1403
 
1404
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1404
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1405
1405
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1406
1406
 
1407
1407
 
@@ -1737,7 +1737,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1737
1737
  }
1738
1738
 
1739
1739
  SWIGRUNTIME swig_module_info *
1740
- SWIG_Ruby_GetModule(void)
1740
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1741
1741
  {
1742
1742
  VALUE pointer;
1743
1743
  swig_module_info *ret = 0;
@@ -1843,7 +1843,7 @@ static VALUE mTagLib;
1843
1843
  #define SWIG_RUBY_THREAD_END_BLOCK
1844
1844
 
1845
1845
 
1846
- #define SWIGVERSION 0x020008
1846
+ #define SWIGVERSION 0x020009
1847
1847
  #define SWIG_VERSION SWIGVERSION
1848
1848
 
1849
1849
 
@@ -2063,7 +2063,7 @@ SWIG_ruby_failed(void)
2063
2063
  }
2064
2064
 
2065
2065
 
2066
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2066
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2067
2067
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2068
2068
  {
2069
2069
  VALUE obj = args[0];
@@ -2115,7 +2115,7 @@ SWIG_From_bool (bool value)
2115
2115
  }
2116
2116
 
2117
2117
 
2118
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2118
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2119
2119
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2120
2120
  {
2121
2121
  VALUE obj = args[0];
@@ -4867,8 +4867,6 @@ SWIG_InitializeModule(void *clientdata) {
4867
4867
  swig_module_info *module_head, *iter;
4868
4868
  int found, init;
4869
4869
 
4870
- clientdata = clientdata;
4871
-
4872
4870
  /* check to see if the circular list has been setup, if not, set it up */
4873
4871
  if (swig_module.next==0) {
4874
4872
  /* Initialize the swig_module */
@@ -53,6 +53,12 @@ VALUE taglib_flac_picturelist_to_ruby_array(const TagLib::List<TagLib::FLAC::Pic
53
53
  static void free_taglib_flac_file(void *ptr) {
54
54
  TagLib::FLAC::File *file = (TagLib::FLAC::File *) ptr;
55
55
 
56
+ TagLib::Tag *tag = file->tag();
57
+ if (tag) {
58
+ SWIG_RubyUnlinkObjects(tag);
59
+ SWIG_RubyRemoveTracking(tag);
60
+ }
61
+
56
62
  TagLib::ID3v1::Tag *id3v1tag = file->ID3v1Tag(false);
57
63
  if (id3v1tag) {
58
64
  SWIG_RubyUnlinkObjects(id3v1tag);
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1401,7 +1401,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1401
1401
 
1402
1402
  /* Runtime API */
1403
1403
 
1404
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1404
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1405
1405
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1406
1406
 
1407
1407
 
@@ -1737,7 +1737,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1737
1737
  }
1738
1738
 
1739
1739
  SWIGRUNTIME swig_module_info *
1740
- SWIG_Ruby_GetModule(void)
1740
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1741
1741
  {
1742
1742
  VALUE pointer;
1743
1743
  swig_module_info *ret = 0;
@@ -1850,7 +1850,7 @@ static VALUE mFLAC;
1850
1850
  #define SWIG_RUBY_THREAD_END_BLOCK
1851
1851
 
1852
1852
 
1853
- #define SWIGVERSION 0x020008
1853
+ #define SWIGVERSION 0x020009
1854
1854
  #define SWIG_VERSION SWIGVERSION
1855
1855
 
1856
1856
 
@@ -1994,7 +1994,7 @@ SWIG_ruby_failed(void)
1994
1994
  }
1995
1995
 
1996
1996
 
1997
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1997
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1998
1998
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
1999
1999
  {
2000
2000
  VALUE obj = args[0];
@@ -2146,6 +2146,12 @@ SWIGINTERN void TagLib_FLAC_File_close(TagLib::FLAC::File *self){
2146
2146
  static void free_taglib_flac_file(void *ptr) {
2147
2147
  TagLib::FLAC::File *file = (TagLib::FLAC::File *) ptr;
2148
2148
 
2149
+ TagLib::Tag *tag = file->tag();
2150
+ if (tag) {
2151
+ SWIG_RubyUnlinkObjects(tag);
2152
+ SWIG_RubyRemoveTracking(tag);
2153
+ }
2154
+
2149
2155
  TagLib::ID3v1::Tag *id3v1tag = file->ID3v1Tag(false);
2150
2156
  if (id3v1tag) {
2151
2157
  SWIG_RubyUnlinkObjects(id3v1tag);
@@ -4289,8 +4295,6 @@ SWIG_InitializeModule(void *clientdata) {
4289
4295
  swig_module_info *module_head, *iter;
4290
4296
  int found, init;
4291
4297
 
4292
- clientdata = clientdata;
4293
-
4294
4298
  /* check to see if the circular list has been setup, if not, set it up */
4295
4299
  if (swig_module.next==0) {
4296
4300
  /* Initialize the swig_module */
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1398,7 +1398,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1398
1398
 
1399
1399
  /* Runtime API */
1400
1400
 
1401
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1401
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1402
1402
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1403
1403
 
1404
1404
 
@@ -1734,7 +1734,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1734
1734
  }
1735
1735
 
1736
1736
  SWIGRUNTIME swig_module_info *
1737
- SWIG_Ruby_GetModule(void)
1737
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1738
1738
  {
1739
1739
  VALUE pointer;
1740
1740
  swig_module_info *ret = 0;
@@ -1838,7 +1838,7 @@ static VALUE mID3v1;
1838
1838
  #define SWIG_RUBY_THREAD_END_BLOCK
1839
1839
 
1840
1840
 
1841
- #define SWIGVERSION 0x020008
1841
+ #define SWIGVERSION 0x020009
1842
1842
  #define SWIG_VERSION SWIGVERSION
1843
1843
 
1844
1844
 
@@ -2020,7 +2020,7 @@ SWIG_ruby_failed(void)
2020
2020
  }
2021
2021
 
2022
2022
 
2023
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2023
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2024
2024
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2025
2025
  {
2026
2026
  VALUE obj = args[0];
@@ -2076,7 +2076,7 @@ SWIG_From_unsigned_SS_int (unsigned int value)
2076
2076
  }
2077
2077
 
2078
2078
 
2079
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2079
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2080
2080
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2081
2081
  {
2082
2082
  VALUE obj = args[0];
@@ -2884,8 +2884,6 @@ SWIG_InitializeModule(void *clientdata) {
2884
2884
  swig_module_info *module_head, *iter;
2885
2885
  int found, init;
2886
2886
 
2887
- clientdata = clientdata;
2888
-
2889
2887
  /* check to see if the circular list has been setup, if not, set it up */
2890
2888
  if (swig_module.next==0) {
2891
2889
  /* Initialize the swig_module */
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1398,7 +1398,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1398
1398
 
1399
1399
  /* Runtime API */
1400
1400
 
1401
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1401
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1402
1402
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1403
1403
 
1404
1404
 
@@ -1734,7 +1734,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1734
1734
  }
1735
1735
 
1736
1736
  SWIGRUNTIME swig_module_info *
1737
- SWIG_Ruby_GetModule(void)
1737
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1738
1738
  {
1739
1739
  VALUE pointer;
1740
1740
  swig_module_info *ret = 0;
@@ -1861,7 +1861,7 @@ static VALUE mID3v2;
1861
1861
  #define SWIG_RUBY_THREAD_END_BLOCK
1862
1862
 
1863
1863
 
1864
- #define SWIGVERSION 0x020008
1864
+ #define SWIGVERSION 0x020009
1865
1865
  #define SWIG_VERSION SWIGVERSION
1866
1866
 
1867
1867
 
@@ -2073,7 +2073,7 @@ SWIG_ruby_failed(void)
2073
2073
  }
2074
2074
 
2075
2075
 
2076
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2076
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2077
2077
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2078
2078
  {
2079
2079
  VALUE obj = args[0];
@@ -2172,7 +2172,7 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
2172
2172
 
2173
2173
 
2174
2174
 
2175
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2175
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2176
2176
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2177
2177
  {
2178
2178
  VALUE obj = args[0];
@@ -2317,7 +2317,7 @@ SWIG_From_float (float value)
2317
2317
  #include <float.h>
2318
2318
 
2319
2319
 
2320
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2320
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2321
2321
  SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
2322
2322
  {
2323
2323
  VALUE obj = args[0];
@@ -8538,8 +8538,6 @@ SWIG_InitializeModule(void *clientdata) {
8538
8538
  swig_module_info *module_head, *iter;
8539
8539
  int found, init;
8540
8540
 
8541
- clientdata = clientdata;
8542
-
8543
8541
  /* check to see if the circular list has been setup, if not, set it up */
8544
8542
  if (swig_module.next==0) {
8545
8543
  /* Initialize the swig_module */
@@ -33,6 +33,12 @@
33
33
  static void free_taglib_mpeg_file(void *ptr) {
34
34
  TagLib::MPEG::File *file = (TagLib::MPEG::File *) ptr;
35
35
 
36
+ TagLib::Tag *tag = file->tag();
37
+ if (tag) {
38
+ SWIG_RubyUnlinkObjects(tag);
39
+ SWIG_RubyRemoveTracking(tag);
40
+ }
41
+
36
42
  TagLib::ID3v1::Tag *id3v1tag = file->ID3v1Tag(false);
37
43
  if (id3v1tag) {
38
44
  SWIG_RubyUnlinkObjects(id3v1tag);
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1401,7 +1401,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1401
1401
 
1402
1402
  /* Runtime API */
1403
1403
 
1404
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1404
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1405
1405
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1406
1406
 
1407
1407
 
@@ -1737,7 +1737,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1737
1737
  }
1738
1738
 
1739
1739
  SWIGRUNTIME swig_module_info *
1740
- SWIG_Ruby_GetModule(void)
1740
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1741
1741
  {
1742
1742
  VALUE pointer;
1743
1743
  swig_module_info *ret = 0;
@@ -1848,7 +1848,7 @@ static VALUE mMPEG;
1848
1848
  #define SWIG_RUBY_THREAD_END_BLOCK
1849
1849
 
1850
1850
 
1851
- #define SWIGVERSION 0x020008
1851
+ #define SWIGVERSION 0x020009
1852
1852
  #define SWIG_VERSION SWIGVERSION
1853
1853
 
1854
1854
 
@@ -2069,7 +2069,7 @@ SWIG_ruby_failed(void)
2069
2069
  }
2070
2070
 
2071
2071
 
2072
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2072
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2073
2073
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2074
2074
  {
2075
2075
  VALUE obj = args[0];
@@ -2147,6 +2147,12 @@ SWIGINTERN void TagLib_MPEG_File_close(TagLib::MPEG::File *self){
2147
2147
  static void free_taglib_mpeg_file(void *ptr) {
2148
2148
  TagLib::MPEG::File *file = (TagLib::MPEG::File *) ptr;
2149
2149
 
2150
+ TagLib::Tag *tag = file->tag();
2151
+ if (tag) {
2152
+ SWIG_RubyUnlinkObjects(tag);
2153
+ SWIG_RubyRemoveTracking(tag);
2154
+ }
2155
+
2150
2156
  TagLib::ID3v1::Tag *id3v1tag = file->ID3v1Tag(false);
2151
2157
  if (id3v1tag) {
2152
2158
  SWIG_RubyUnlinkObjects(id3v1tag);
@@ -4451,8 +4457,6 @@ SWIG_InitializeModule(void *clientdata) {
4451
4457
  swig_module_info *module_head, *iter;
4452
4458
  int found, init;
4453
4459
 
4454
- clientdata = clientdata;
4455
-
4456
4460
  /* check to see if the circular list has been setup, if not, set it up */
4457
4461
  if (swig_module.next==0) {
4458
4462
  /* Initialize the swig_module */
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1398,7 +1398,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1398
1398
 
1399
1399
  /* Runtime API */
1400
1400
 
1401
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1401
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1402
1402
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1403
1403
 
1404
1404
 
@@ -1734,7 +1734,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1734
1734
  }
1735
1735
 
1736
1736
  SWIGRUNTIME swig_module_info *
1737
- SWIG_Ruby_GetModule(void)
1737
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1738
1738
  {
1739
1739
  VALUE pointer;
1740
1740
  swig_module_info *ret = 0;
@@ -1840,7 +1840,7 @@ static VALUE mOgg;
1840
1840
  #define SWIG_RUBY_THREAD_END_BLOCK
1841
1841
 
1842
1842
 
1843
- #define SWIGVERSION 0x020008
1843
+ #define SWIGVERSION 0x020009
1844
1844
  #define SWIG_VERSION SWIGVERSION
1845
1845
 
1846
1846
 
@@ -1980,7 +1980,7 @@ SWIG_ruby_failed(void)
1980
1980
  }
1981
1981
 
1982
1982
 
1983
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1983
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1984
1984
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
1985
1985
  {
1986
1986
  VALUE obj = args[0];
@@ -2103,7 +2103,7 @@ SWIG_From_unsigned_SS_int (unsigned int value)
2103
2103
  }
2104
2104
 
2105
2105
 
2106
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2106
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2107
2107
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2108
2108
  {
2109
2109
  VALUE obj = args[0];
@@ -3398,8 +3398,6 @@ SWIG_InitializeModule(void *clientdata) {
3398
3398
  swig_module_info *module_head, *iter;
3399
3399
  int found, init;
3400
3400
 
3401
- clientdata = clientdata;
3402
-
3403
3401
  /* check to see if the circular list has been setup, if not, set it up */
3404
3402
  if (swig_module.next==0) {
3405
3403
  /* Initialize the swig_module */
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 2.0.8
3
+ * Version 2.0.9
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1401,7 +1401,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1401
1401
 
1402
1402
  /* Runtime API */
1403
1403
 
1404
- #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
1404
+ #define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
1405
1405
  #define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
1406
1406
 
1407
1407
 
@@ -1737,7 +1737,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
1737
1737
  }
1738
1738
 
1739
1739
  SWIGRUNTIME swig_module_info *
1740
- SWIG_Ruby_GetModule(void)
1740
+ SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
1741
1741
  {
1742
1742
  VALUE pointer;
1743
1743
  swig_module_info *ret = 0;
@@ -1844,7 +1844,7 @@ static VALUE mVorbis;
1844
1844
  #define SWIG_RUBY_THREAD_END_BLOCK
1845
1845
 
1846
1846
 
1847
- #define SWIGVERSION 0x020008
1847
+ #define SWIGVERSION 0x020009
1848
1848
  #define SWIG_VERSION SWIGVERSION
1849
1849
 
1850
1850
 
@@ -1984,7 +1984,7 @@ SWIG_ruby_failed(void)
1984
1984
  }
1985
1985
 
1986
1986
 
1987
- /*@SWIG:/usr/local/share/swig/2.0.8/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1987
+ /*@SWIG:/usr/local/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1988
1988
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
1989
1989
  {
1990
1990
  VALUE obj = args[0];
@@ -2862,8 +2862,6 @@ SWIG_InitializeModule(void *clientdata) {
2862
2862
  swig_module_info *module_head, *iter;
2863
2863
  int found, init;
2864
2864
 
2865
- clientdata = clientdata;
2866
-
2867
2865
  /* check to see if the circular list has been setup, if not, set it up */
2868
2866
  if (swig_module.next==0) {
2869
2867
  /* Initialize the swig_module */
data/lib/libtag.dll CHANGED
Binary file
@@ -2,7 +2,7 @@ module TagLib
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- PATCH = 1
5
+ PATCH = 2
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
data/lib/taglib_base.so CHANGED
Binary file
data/lib/taglib_flac.so CHANGED
Binary file
data/lib/taglib_id3v1.so CHANGED
Binary file
data/lib/taglib_id3v2.so CHANGED
Binary file
data/lib/taglib_mpeg.so CHANGED
Binary file
data/lib/taglib_ogg.so CHANGED
Binary file
data/lib/taglib_vorbis.so CHANGED
Binary file
data/tasks/ext.rake CHANGED
@@ -10,7 +10,7 @@ install_dll = "#{install_dir}/bin/libtag.dll"
10
10
  ldflags = "-static-libgcc -static-libstdc++"
11
11
  $cross_config_options = [%(--with-opt-dir=#{install_dir} --with-ldflags="#{ldflags}")]
12
12
 
13
- taglib_version = '1.7.2'
13
+ taglib_version = '1.8'
14
14
  taglib = "taglib-#{taglib_version}"
15
15
  taglib_url = "http://cloud.github.com/downloads/taglib/taglib/#{taglib}.tar.gz"
16
16
  # WITH_MP4, WITH_ASF only needed with taglib 1.7, will be default in 1.8
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: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-16 00:00:00.000000000 Z
12
+ date: 2012-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &20593060 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 1.1.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *20593060
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.1.0
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake-compiler
27
- requirement: &20592500 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0.8'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *20592500
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.8'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: shoulda-context
38
- requirement: &20592000 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '1.0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *20592000
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: yard
49
- requirement: &20591280 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,7 +69,12 @@ dependencies:
54
69
  version: '0.7'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *20591280
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.7'
58
78
  description: ! 'Ruby interface for the taglib C++ library, for reading and writing
59
79
 
60
80
  meta-data (tags) of many audio formats.
@@ -183,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
203
  version: '0'
184
204
  segments:
185
205
  - 0
186
- hash: -2354278842585131059
206
+ hash: -2408139110650620671
187
207
  required_rubygems_version: !ruby/object:Gem::Requirement
188
208
  none: false
189
209
  requirements:
@@ -192,11 +212,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
212
  version: '0'
193
213
  segments:
194
214
  - 0
195
- hash: -2354278842585131059
215
+ hash: -2408139110650620671
196
216
  requirements:
197
217
  - taglib (libtag1-dev in Debian/Ubuntu, taglib-devel in Fedora/RHEL)
198
218
  rubyforge_project:
199
- rubygems_version: 1.8.10
219
+ rubygems_version: 1.8.24
200
220
  signing_key:
201
221
  specification_version: 3
202
222
  summary: Ruby interface for the taglib C++ library