flvedit 0.7.2 → 0.7.4

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/Rakefile CHANGED
@@ -2,8 +2,18 @@
2
2
  require 'rake'
3
3
  require 'rake/testtask'
4
4
  require 'rake/rdoctask'
5
- require 'rcov/rcovtask'
5
+ begin
6
+ require 'rcov/rcovtask'
7
+ Rcov::RcovTask.new do |t|
8
+ t.libs << 'test'
9
+ t.test_files = FileList['test/**/*_test.rb']
10
+ t.verbose = true
11
+ end
6
12
 
13
+ task :default => :rcov
14
+ rescue LoadError
15
+ puts "rcov not available. Install it with: sudo gem install rcov"
16
+ end
7
17
  # bench
8
18
  begin
9
19
  desc "Benchmark"
@@ -45,6 +55,9 @@ begin
45
55
  '--main' << 'README.rdoc' <<
46
56
  '--line-numbers' << '--inline-source'
47
57
  end
58
+ Jeweler::RubyforgeTasks.new do |rubyforge|
59
+ rubyforge.doc_task = "rdoc"
60
+ end
48
61
  rescue LoadError
49
62
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
50
63
  end unless RUBY_VERSION >= "1.9"
@@ -69,14 +82,6 @@ Rake::RDocTask.new do |rdoc|
69
82
  rdoc.rdoc_files.include('lib/**/*.rb')
70
83
  end
71
84
 
72
- Rcov::RcovTask.new do |t|
73
- t.libs << 'test'
74
- t.test_files = FileList['test/**/*_test.rb']
75
- t.verbose = true
76
- end
77
-
78
- task :default => :rcov
79
-
80
85
  # stats
81
86
  begin
82
87
  gem 'rails'
@@ -110,28 +115,28 @@ rescue Gem::LoadError => le
110
115
  end
111
116
  end
112
117
 
113
- begin
114
- require 'rake/contrib/sshpublisher'
115
- namespace :rubyforge do
116
-
117
- desc "Release gem and RDoc documentation to RubyForge"
118
- task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
119
-
120
- namespace :release do
121
- desc "Publish RDoc to RubyForge."
122
- task :docs => [:rdoc] do
123
- config = YAML.load(
124
- File.read(File.expand_path('~/.rubyforge/user-config.yml'))
125
- )
126
-
127
- host = "#{config['username']}@rubyforge.org"
128
- remote_dir = "/var/www/gforge-projects/flvedit/"
129
- local_dir = 'rdoc'
130
-
131
- Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
132
- end
133
- end
134
- end
135
- rescue LoadError
136
- puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
137
- end
118
+ # begin
119
+ # require 'rake/contrib/sshpublisher'
120
+ # namespace :rubyforge do
121
+ #
122
+ # desc "Release gem and RDoc documentation to RubyForge"
123
+ # task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
124
+ #
125
+ # namespace :release do
126
+ # desc "Publish RDoc to RubyForge."
127
+ # task :docs => [:rdoc] do
128
+ # config = YAML.load(
129
+ # File.read(File.expand_path('~/.rubyforge/user-config.yml'))
130
+ # )
131
+ #
132
+ # host = "#{config['username']}@rubyforge.org"
133
+ # remote_dir = "/var/www/gforge-projects/flvedit/"
134
+ # local_dir = 'rdoc'
135
+ #
136
+ # Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
137
+ # end
138
+ # end
139
+ # end
140
+ # rescue LoadError
141
+ # puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
142
+ # end
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 7
4
- :patch: 2
4
+ :patch: 4
@@ -1,14 +1,24 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{flvedit}
5
- s.version = "0.7.2"
8
+ s.version = "0.7.4"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Marc-Andr\303\251 Lafortune"]
9
- s.date = %q{2009-08-21}
12
+ s.date = %q{2009-08-31}
10
13
  s.default_executable = %q{flvedit}
11
- s.description = %q{flvedit allows you to: * compute metadata for FLV files * merge, split or cut FLVs * insert / remote cue points or other events flvedit is meant as a replacement for FLVTool2, FLVMeta, FLVTool++ It can be used as a command line tool or as a Ruby library.}
14
+ s.description = %q{ flvedit allows you to:
15
+ * compute metadata for FLV files
16
+ * merge, split or cut FLVs
17
+ * insert / remote cue points or other events
18
+
19
+ flvedit is meant as a replacement for FLVTool2, FLVMeta, FLVTool++
20
+ It can be used as a command line tool or as a Ruby library.
21
+ }
12
22
  s.email = %q{github@marc-andre.ca}
13
23
  s.executables = ["flvedit"]
14
24
  s.extra_rdoc_files = [
@@ -40,7 +50,6 @@ Gem::Specification.new do |s|
40
50
  "lib/flvedit/flv/video.rb",
41
51
  "lib/flvedit/options.rb",
42
52
  "lib/flvedit/processor.rb",
43
- "lib/flvedit/processor/._editing.rb",
44
53
  "lib/flvedit/processor/add.rb",
45
54
  "lib/flvedit/processor/base.rb",
46
55
  "lib/flvedit/processor/command_line.rb",
@@ -78,12 +87,11 @@ Gem::Specification.new do |s|
78
87
  "test/text_flv_edit_results/update.txt",
79
88
  "test/text_flv_edit_results/update_merge.txt"
80
89
  ]
81
- s.has_rdoc = true
82
90
  s.homepage = %q{http://github.com/marcandre/flvedit}
83
91
  s.rdoc_options = ["--charset=UTF-8", "--title", "FLV::Edit", "--main", "README.rdoc", "--line-numbers", "--inline-source"]
84
92
  s.require_paths = ["lib"]
85
93
  s.rubyforge_project = %q{flvedit}
86
- s.rubygems_version = %q{1.3.1}
94
+ s.rubygems_version = %q{1.3.5}
87
95
  s.summary = %q{Command line tool & library to handle FLV files}
88
96
  s.test_files = [
89
97
  "test/test_flv.rb",
@@ -94,7 +102,7 @@ Gem::Specification.new do |s|
94
102
 
95
103
  if s.respond_to? :specification_version then
96
104
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
97
- s.specification_version = 2
105
+ s.specification_version = 3
98
106
 
99
107
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
100
108
  s.add_runtime_dependency(%q<packable>, [">= 1.3.2"])
@@ -22,7 +22,10 @@ module FLV
22
22
  end
23
23
  end
24
24
  puts (["Processed successfully:"] + ok).join("\n") unless ok.empty?
25
- puts (["**** Processed with errors: ****"] + errors.map{|path, err| "#{path}: #{err}"}+ err.backtrace).join("\n") unless errors.empty?
25
+ puts "**** Processed with errors: ****" unless errors.empty?
26
+ errors.map do |path, err|
27
+ puts "#{path}: #{err}\n"+err.backtrace.join("\n")
28
+ end
26
29
  end
27
30
  end
28
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flvedit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-21 00:00:00 -04:00
12
+ date: 2009-08-31 00:00:00 -04:00
13
13
  default_executable: flvedit
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.7.1
34
34
  version:
35
- description: "flvedit allows you to: * compute metadata for FLV files * merge, split or cut FLVs * insert / remote cue points or other events flvedit is meant as a replacement for FLVTool2, FLVMeta, FLVTool++ It can be used as a command line tool or as a Ruby library."
35
+ description: " flvedit allows you to:\n * compute metadata for FLV files\n * merge, split or cut FLVs\n * insert / remote cue points or other events\n \n flvedit is meant as a replacement for FLVTool2, FLVMeta, FLVTool++\n It can be used as a command line tool or as a Ruby library.\n"
36
36
  email: github@marc-andre.ca
37
37
  executables:
38
38
  - flvedit
@@ -66,7 +66,6 @@ files:
66
66
  - lib/flvedit/flv/video.rb
67
67
  - lib/flvedit/options.rb
68
68
  - lib/flvedit/processor.rb
69
- - lib/flvedit/processor/._editing.rb
70
69
  - lib/flvedit/processor/add.rb
71
70
  - lib/flvedit/processor/base.rb
72
71
  - lib/flvedit/processor/command_line.rb
@@ -105,6 +104,8 @@ files:
105
104
  - test/text_flv_edit_results/update_merge.txt
106
105
  has_rdoc: true
107
106
  homepage: http://github.com/marcandre/flvedit
107
+ licenses: []
108
+
108
109
  post_install_message:
109
110
  rdoc_options:
110
111
  - --charset=UTF-8
@@ -131,9 +132,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
132
  requirements: []
132
133
 
133
134
  rubyforge_project: flvedit
134
- rubygems_version: 1.3.1
135
+ rubygems_version: 1.3.5
135
136
  signing_key:
136
- specification_version: 2
137
+ specification_version: 3
137
138
  summary: Command line tool & library to handle FLV files
138
139
  test_files:
139
140
  - test/test_flv.rb