hb-runner 0.0.4 → 0.0.5
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/README.rdoc +3 -5
- data/VERSION +1 -1
- data/bin/hb-runner +1 -7
- data/hb-runner.gemspec +4 -4
- data/spec/spec_helper.rb +3 -3
- metadata +13 -4
data/README.rdoc
CHANGED
@@ -6,15 +6,13 @@ For detailed (and up to date) configuration information for HandBrakeCLI run `Ha
|
|
6
6
|
|
7
7
|
== Installation
|
8
8
|
|
9
|
-
$ sudo gem install hb-
|
9
|
+
$ sudo gem install hb-runner
|
10
10
|
|
11
11
|
== Usage
|
12
12
|
|
13
|
-
$ hb-runner
|
13
|
+
$ hb-runner OPTIONS_FILE_NAME QUEUE_FILE_NAME
|
14
14
|
|
15
|
-
The
|
16
|
-
Both the OPTIONS and QUEUE files are expected in that path.
|
17
|
-
Also, the HandBrakeCLI executable should be in your path.
|
15
|
+
The HandBrakeCLI executable should be in your path.
|
18
16
|
|
19
17
|
=== Example Configuration File
|
20
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/bin/hb-runner
CHANGED
@@ -4,17 +4,11 @@ require File.dirname(__FILE__) + '/../lib/hb-runner'
|
|
4
4
|
if ARGV.empty?
|
5
5
|
puts
|
6
6
|
puts 'Usage: hb-runner OPTIONS_FILE_NAME QUEUE_FILE_NAME'
|
7
|
-
puts 'the path sets the base path for both files. Both the OPTIONS and QUEUE files are expected in that path.'
|
8
7
|
puts
|
9
|
-
puts '
|
8
|
+
puts 'The HandBrakeCLI executable should be in your path.'
|
10
9
|
3.times { puts }
|
11
10
|
else
|
12
11
|
config_filename, queue_filename = ARGV
|
13
|
-
|
14
|
-
path ||= File.expand_path File.dirname(__FILE__)
|
15
|
-
options_file ||= 'hb_config.yml'
|
16
|
-
queue_file ||= 'hb_queue.yml'
|
17
|
-
|
18
12
|
options = HBConfig.new :file => config_filename
|
19
13
|
queue = HBQueue.new :file => queue_filename, :options => options
|
20
14
|
queue.run
|
data/hb-runner.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{hb-runner}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["BM5k"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-22}
|
13
13
|
s.description = %q{Batch encode files with the HandBrakeCLI.}
|
14
14
|
s.email = %q{me@bm5k.com}
|
15
15
|
s.executables = ["hb-info", "hb-runner"]
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
|
|
43
43
|
s.homepage = %q{http://github.com/BM5k/hb-runner}
|
44
44
|
s.rdoc_options = ["--charset=UTF-8"]
|
45
45
|
s.require_paths = ["lib"]
|
46
|
-
s.rubygems_version = %q{1.3.
|
46
|
+
s.rubygems_version = %q{1.3.7}
|
47
47
|
s.summary = %q{Proof of concept HandBrakeCLI automation}
|
48
48
|
s.test_files = [
|
49
49
|
"spec/hb_config_spec.rb",
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
57
57
|
s.specification_version = 3
|
58
58
|
|
59
|
-
if Gem::Version.new(Gem::
|
59
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
60
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
61
61
|
s.add_runtime_dependency(%q<open4>, [">= 1.0.1"])
|
62
62
|
else
|
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
libdir = File.dirname(__FILE__) + '/../lib'
|
2
2
|
|
3
|
-
require libdir + '/hb/yaml_config'
|
4
|
-
require libdir + '/hb/hb_queue'
|
5
|
-
require libdir + '/hb/hb_config'
|
3
|
+
require libdir + '/hb-runner/yaml_config'
|
4
|
+
require libdir + '/hb-runner/hb_queue'
|
5
|
+
require libdir + '/hb-runner/hb_config'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hb-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- BM5k
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-06-22 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rspec
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
27
30
|
segments:
|
28
31
|
- 1
|
29
32
|
- 2
|
@@ -35,9 +38,11 @@ dependencies:
|
|
35
38
|
name: open4
|
36
39
|
prerelease: false
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
38
42
|
requirements:
|
39
43
|
- - ">="
|
40
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 21
|
41
46
|
segments:
|
42
47
|
- 1
|
43
48
|
- 0
|
@@ -87,23 +92,27 @@ rdoc_options:
|
|
87
92
|
require_paths:
|
88
93
|
- lib
|
89
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
90
96
|
requirements:
|
91
97
|
- - ">="
|
92
98
|
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
93
100
|
segments:
|
94
101
|
- 0
|
95
102
|
version: "0"
|
96
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
97
105
|
requirements:
|
98
106
|
- - ">="
|
99
107
|
- !ruby/object:Gem::Version
|
108
|
+
hash: 3
|
100
109
|
segments:
|
101
110
|
- 0
|
102
111
|
version: "0"
|
103
112
|
requirements: []
|
104
113
|
|
105
114
|
rubyforge_project:
|
106
|
-
rubygems_version: 1.3.
|
115
|
+
rubygems_version: 1.3.7
|
107
116
|
signing_key:
|
108
117
|
specification_version: 3
|
109
118
|
summary: Proof of concept HandBrakeCLI automation
|