vorbis_comment 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c90b6b8340f3d9803cd9980e108c0f7936b23d1b
4
+ data.tar.gz: 57e5dd707b494b65b68e434d468b1953e4568113
5
+ SHA512:
6
+ metadata.gz: 9a7523adca07a0149d22faf56ca3816b67b06d8de700957bbe0c00e503cf10445a1061a2df3bc44d6353d1c2fa8a889669ed1c064b4b735c55e6e33f687889f6
7
+ data.tar.gz: 89ee6f29dd467a75dc93b1b5ace2a9944f6753dbf992a5a7040ef70417510e69ade85417c959e9478d416a1d0b26fba107e5b6a4f8325c85a7db68ea244e734b
data/Rakefile CHANGED
@@ -20,16 +20,16 @@ task :doc_rforge do
20
20
  end
21
21
 
22
22
  desc "Package ruby-vorbis_comment"
23
- task :package do
24
- sh %{gem build vorbis_comment.gemspec}
23
+ task :package => :clean do
24
+ sh %{#{FileUtils::RUBY} -S gem build vorbis_comment.gemspec}
25
25
  end
26
26
 
27
27
  desc "Build extension"
28
28
  task :build => :clean do
29
- sh %{ruby extconf.rb && make}
29
+ sh %{#{FileUtils::RUBY} extconf.rb && make}
30
30
  end
31
31
 
32
32
  desc "Run tests"
33
33
  task :default do
34
- sh %{ruby test/test_vorbis_comment.rb}
34
+ sh %{#{FileUtils::RUBY} test/test_vorbis_comment.rb}
35
35
  end
data/vorbis_comment.rb CHANGED
@@ -50,7 +50,7 @@
50
50
  # The C part of this library is copyright Jeremy Evans and Tilman Sauerbeck and
51
51
  # is licensed under the GNU LGPL.
52
52
  #
53
- # Copyright (c) 2007,2010 Jeremy Evans
53
+ # Copyright (c) 2007,2010,2013 Jeremy Evans
54
54
  #
55
55
  # Permission is hereby granted, free of charge, to any person obtaining a copy
56
56
  # of this software and associated documentation files (the "Software"), to deal
@@ -75,7 +75,7 @@ require 'cicphash'
75
75
  # Contains all of the Vorbis comment fields found in the filename/file given.
76
76
  class VorbisComment
77
77
  attr_reader :filename
78
- BAD_KEY_RE = /[\x00-\x1f=\x7e-\xff]/
78
+ BAD_KEY_RE = /[\x00-\x1f=\x7e-\xff]/n
79
79
 
80
80
  # Set the filename to be used
81
81
  def initialize(filename)
metadata CHANGED
@@ -1,55 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vorbis_comment
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 1
10
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Jeremy Evans
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2010-09-20 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2013-02-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: cicphash
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 1
32
- - 0
33
- - 0
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
34
19
  version: 1.0.0
35
20
  type: :runtime
36
- version_requirements: *id001
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
37
27
  description:
38
28
  email: code@jeremyevans.net
39
29
  executables: []
40
-
41
- extensions:
30
+ extensions:
42
31
  - extconf.rb
43
32
  extra_rdoc_files: []
44
-
45
- files:
46
- - vcedit.c
47
- - vcedit.h
48
- - vorbis_comment.gemspec
49
- - vorbis_comment.rb
50
- - vorbis_comment_ext.c
51
- - Rakefile
33
+ files:
52
34
  - LICENSE
35
+ - Rakefile
53
36
  - extconf.rb
54
37
  - test/manyfields.ogg
55
38
  - test/corrupt.ogg
@@ -58,46 +41,33 @@ files:
58
41
  - test/test_vorbis_comment.rb
59
42
  - test/title.ogg
60
43
  - test/empty_key.ogg
61
- has_rdoc: true
44
+ - vcedit.c
45
+ - vcedit.h
46
+ - vorbis_comment.rb
47
+ - vorbis_comment_ext.c
62
48
  homepage: http://vorbiscomment.rubyforge.org
63
49
  licenses: []
64
-
50
+ metadata: {}
65
51
  post_install_message:
66
- rdoc_options:
52
+ rdoc_options:
67
53
  - --inline-source
68
54
  - --line-numbers
69
- require_paths:
55
+ require_paths:
70
56
  - .
71
- required_ruby_version: !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
80
- required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
89
67
  requirements: []
90
-
91
68
  rubyforge_project: vorbiscomment
92
- rubygems_version: 1.3.7
69
+ rubygems_version: 2.0.0
93
70
  signing_key:
94
- specification_version: 3
71
+ specification_version: 4
95
72
  summary: Vorbis Comment Reader/Writer Library
96
- test_files:
97
- - test/manyfields.ogg
98
- - test/corrupt.ogg
99
- - test/lt8k.ogg
100
- - test/blank.ogg
101
- - test/test_vorbis_comment.rb
102
- - test/title.ogg
103
- - test/empty_key.ogg
73
+ test_files: []
@@ -1,18 +0,0 @@
1
- spec = Gem::Specification.new do |s|
2
- s.name = "vorbis_comment"
3
- s.version = "1.0.1"
4
- s.author = "Jeremy Evans"
5
- s.email = "code@jeremyevans.net"
6
- s.homepage = "http://rubyforge.org/projects/vorbiscomment/"
7
- s.platform = Gem::Platform::RUBY
8
- s.summary = "Vorbis Comment Reader/Writer Library"
9
- s.files = Dir["*"]
10
- s.require_paths = ["."]
11
- s.extensions << 'extconf.rb'
12
- s.test_files = Dir["test/*"]
13
- s.has_rdoc = true
14
- s.rdoc_options = %w'--inline-source --line-numbers'
15
- s.add_dependency('cicphash', [">= 1.0.0"])
16
- s.rubyforge_project = 'vorbiscomment'
17
- s.homepage = 'http://vorbiscomment.rubyforge.org'
18
- end