flvedit 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/README.rdoc CHANGED
@@ -10,8 +10,7 @@ It is meant as an improved FLVTool2, fixing the shortfalls that prompted others
10
10
 
11
11
  FLVEdit can be used either as a command-line command or as a ruby library.
12
12
 
13
- == This is not a stable release
14
- <b>Warning:</b> The basic functionality is there, but I'll be improving features and documentation. Until version 1.0, there will most likely be many changes to the command line interface and the library API.
13
+ <b>Note:</b> The basic functionality is there, but I'll be improving features and documentation. Until version 1.0, there will most likely be many changes to the command line interface and the library API.
15
14
 
16
15
  Comments & requests welcome...
17
16
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 6
4
- :patch: 3
4
+ :patch: 4
data/flvedit.gemspec ADDED
@@ -0,0 +1,108 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{flvedit}
5
+ s.version = "0.6.4"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Marc-Andr\303\251 Lafortune"]
9
+ s.date = %q{2009-08-18}
10
+ 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.}
12
+ s.email = %q{github@marc-andre.ca}
13
+ s.executables = ["flvedit"]
14
+ s.extra_rdoc_files = [
15
+ "LICENSE",
16
+ "README.rdoc"
17
+ ]
18
+ s.files = [
19
+ ".document",
20
+ ".gitignore",
21
+ "CHANGELOG.rdoc",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION.yml",
26
+ "bin/flvedit",
27
+ "flvedit.gemspec",
28
+ "lib/flvedit.rb",
29
+ "lib/flvedit/flv.rb",
30
+ "lib/flvedit/flv/audio.rb",
31
+ "lib/flvedit/flv/base.rb",
32
+ "lib/flvedit/flv/body.rb",
33
+ "lib/flvedit/flv/event.rb",
34
+ "lib/flvedit/flv/file.rb",
35
+ "lib/flvedit/flv/header.rb",
36
+ "lib/flvedit/flv/packing.rb",
37
+ "lib/flvedit/flv/tag.rb",
38
+ "lib/flvedit/flv/timestamp.rb",
39
+ "lib/flvedit/flv/util/double_check.rb",
40
+ "lib/flvedit/flv/video.rb",
41
+ "lib/flvedit/options.rb",
42
+ "lib/flvedit/processor.rb",
43
+ "lib/flvedit/processor/._editing.rb",
44
+ "lib/flvedit/processor/add.rb",
45
+ "lib/flvedit/processor/base.rb",
46
+ "lib/flvedit/processor/command_line.rb",
47
+ "lib/flvedit/processor/cut.rb",
48
+ "lib/flvedit/processor/debug.rb",
49
+ "lib/flvedit/processor/dispatcher.rb",
50
+ "lib/flvedit/processor/filter.rb",
51
+ "lib/flvedit/processor/head.rb",
52
+ "lib/flvedit/processor/join.rb",
53
+ "lib/flvedit/processor/meta_data_maker.rb",
54
+ "lib/flvedit/processor/print.rb",
55
+ "lib/flvedit/processor/printer.rb",
56
+ "lib/flvedit/processor/reader.rb",
57
+ "lib/flvedit/processor/save.rb",
58
+ "lib/flvedit/processor/update.rb",
59
+ "lib/flvedit/runner.rb",
60
+ "lib/flvedit/version.rb",
61
+ "test/fixtures/corrupted.flv",
62
+ "test/fixtures/short.flv",
63
+ "test/fixtures/tags.xml",
64
+ "test/test_flv.rb",
65
+ "test/test_flv_edit.rb",
66
+ "test/test_flv_edit_results.rb",
67
+ "test/test_helper.rb",
68
+ "test/text_flv_edit_results/add_tags.txt",
69
+ "test/text_flv_edit_results/cut_from.txt",
70
+ "test/text_flv_edit_results/cut_key.txt",
71
+ "test/text_flv_edit_results/debug.txt",
72
+ "test/text_flv_edit_results/debug_limited.txt",
73
+ "test/text_flv_edit_results/debug_range.txt",
74
+ "test/text_flv_edit_results/join.txt",
75
+ "test/text_flv_edit_results/print.txt",
76
+ "test/text_flv_edit_results/stop.txt",
77
+ "test/text_flv_edit_results/update.txt"
78
+ ]
79
+ s.has_rdoc = true
80
+ s.homepage = %q{http://github.com/marcandre/flvedit}
81
+ s.rdoc_options = ["--charset=UTF-8", "--title", "FLV::Edit", "--main", "README.rdoc", "--line-numbers", "--inline-source"]
82
+ s.require_paths = ["lib"]
83
+ s.rubyforge_project = %q{flvedit}
84
+ s.rubygems_version = %q{1.3.1}
85
+ s.summary = %q{Command line tool & library to handle FLV files}
86
+ s.test_files = [
87
+ "test/test_flv.rb",
88
+ "test/test_flv_edit.rb",
89
+ "test/test_flv_edit_results.rb",
90
+ "test/test_helper.rb"
91
+ ]
92
+
93
+ if s.respond_to? :specification_version then
94
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
95
+ s.specification_version = 2
96
+
97
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
98
+ s.add_runtime_dependency(%q<packable>, [">= 1.2"])
99
+ s.add_runtime_dependency(%q<backports>, [">= 1.6.8"])
100
+ else
101
+ s.add_dependency(%q<packable>, [">= 1.2"])
102
+ s.add_dependency(%q<backports>, [">= 1.6.8"])
103
+ end
104
+ else
105
+ s.add_dependency(%q<packable>, [">= 1.2"])
106
+ s.add_dependency(%q<backports>, [">= 1.6.8"])
107
+ end
108
+ end
@@ -11,8 +11,8 @@ module FLV
11
11
  super(Tag, &block)
12
12
  end
13
13
 
14
- def self.open(*arg)
15
- file = ::File.open(*arg)
14
+ def self.open(fn, mode = "rb")
15
+ file = ::File.open(fn, mode)
16
16
  begin
17
17
  file = return_value = file.packed.extend(File)
18
18
  rescue Exception
Binary file
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.6.3
4
+ version: 0.6.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-05-01 00:00:00 -04:00
12
+ date: 2009-08-18 00:00:00 -04:00
13
13
  default_executable: flvedit
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -42,12 +42,15 @@ extra_rdoc_files:
42
42
  - LICENSE
43
43
  - README.rdoc
44
44
  files:
45
+ - .document
46
+ - .gitignore
45
47
  - CHANGELOG.rdoc
46
48
  - LICENSE
47
49
  - README.rdoc
48
50
  - Rakefile
49
51
  - VERSION.yml
50
52
  - bin/flvedit
53
+ - flvedit.gemspec
51
54
  - lib/flvedit.rb
52
55
  - lib/flvedit/flv.rb
53
56
  - lib/flvedit/flv/audio.rb
@@ -63,6 +66,7 @@ files:
63
66
  - lib/flvedit/flv/video.rb
64
67
  - lib/flvedit/options.rb
65
68
  - lib/flvedit/processor.rb
69
+ - lib/flvedit/processor/._editing.rb
66
70
  - lib/flvedit/processor/add.rb
67
71
  - lib/flvedit/processor/base.rb
68
72
  - lib/flvedit/processor/command_line.rb