audio_book_creator 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/.rspec +4 -0
- data/.travis.yml +8 -0
- data/Gemfile +8 -0
- data/README.md +60 -0
- data/Rakefile +8 -0
- data/audio_book_creator.gemspec +31 -0
- data/bin/audio_book_creator +6 -0
- data/lib/audio_book_creator.rb +59 -0
- data/lib/audio_book_creator/binder.rb +61 -0
- data/lib/audio_book_creator/book_creator.rb +31 -0
- data/lib/audio_book_creator/book_def.rb +36 -0
- data/lib/audio_book_creator/cached_hash.rb +20 -0
- data/lib/audio_book_creator/cascading_array.rb +57 -0
- data/lib/audio_book_creator/chapter.rb +33 -0
- data/lib/audio_book_creator/cli.rb +119 -0
- data/lib/audio_book_creator/conductor.rb +67 -0
- data/lib/audio_book_creator/editor.rb +20 -0
- data/lib/audio_book_creator/logging.rb +7 -0
- data/lib/audio_book_creator/page_db.rb +42 -0
- data/lib/audio_book_creator/page_def.rb +31 -0
- data/lib/audio_book_creator/runner.rb +22 -0
- data/lib/audio_book_creator/speaker.rb +54 -0
- data/lib/audio_book_creator/speaker_def.rb +39 -0
- data/lib/audio_book_creator/spider.rb +60 -0
- data/lib/audio_book_creator/spoken_chapter.rb +16 -0
- data/lib/audio_book_creator/surfer_def.rb +15 -0
- data/lib/audio_book_creator/url_filter.rb +33 -0
- data/lib/audio_book_creator/version.rb +3 -0
- data/lib/audio_book_creator/web.rb +44 -0
- data/spec/audio_book_creator/binder_spec.rb +103 -0
- data/spec/audio_book_creator/book_creator_spec.rb +63 -0
- data/spec/audio_book_creator/book_def_spec.rb +61 -0
- data/spec/audio_book_creator/cached_hash_spec.rb +19 -0
- data/spec/audio_book_creator/cascading_array_spec.rb +64 -0
- data/spec/audio_book_creator/chapter_spec.rb +80 -0
- data/spec/audio_book_creator/cli_spec.rb +274 -0
- data/spec/audio_book_creator/conductor_spec.rb +102 -0
- data/spec/audio_book_creator/editor_spec.rb +39 -0
- data/spec/audio_book_creator/logging_spec.rb +21 -0
- data/spec/audio_book_creator/page_db_spec.rb +74 -0
- data/spec/audio_book_creator/page_def_spec.rb +79 -0
- data/spec/audio_book_creator/runner_spec.rb +65 -0
- data/spec/audio_book_creator/speaker_def_spec.rb +39 -0
- data/spec/audio_book_creator/speaker_spec.rb +105 -0
- data/spec/audio_book_creator/spider_spec.rb +172 -0
- data/spec/audio_book_creator/spoken_chapter_spec.rb +30 -0
- data/spec/audio_book_creator/surfer_def_spec.rb +17 -0
- data/spec/audio_book_creator/url_filter_spec.rb +52 -0
- data/spec/audio_book_creator/version_spec.rb +5 -0
- data/spec/audio_book_creator/web_spec.rb +66 -0
- data/spec/audio_book_creator_spec.rb +25 -0
- data/spec/spec_helper.rb +106 -0
- data/spec/support/test_logger.rb +21 -0
- metadata +238 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe AudioBookCreator::SpokenChapter do
|
4
|
+
subject { described_class.new("title", "filename") }
|
5
|
+
|
6
|
+
it { expect(subject.title).to eq("title") }
|
7
|
+
it { expect(subject.filename).to eq("filename") }
|
8
|
+
|
9
|
+
context "#eql" do
|
10
|
+
it "should understand ==" do
|
11
|
+
expect(subject).to eq(Class.new(described_class).new("title", "filename"))
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should understand != nil" do
|
15
|
+
expect(subject).not_to eq(nil)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should understand != different class" do
|
19
|
+
expect(subject).not_to eq("abc")
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should understand != title" do
|
23
|
+
expect(subject).not_to eq(described_class.new("title2", "filename"))
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should understand != filename" do
|
27
|
+
expect(subject).not_to eq(described_class.new("title", "filename2"))
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AudioBookCreator::SurferDef do
|
4
|
+
context "with parameters" do
|
5
|
+
subject { described_class.new("host", 5, true, "database") }
|
6
|
+
it { expect(subject.host).to eq("host") }
|
7
|
+
it { expect(subject.max).to eq(5) }
|
8
|
+
it { expect(subject.regen_html).to be_truthy }
|
9
|
+
it { expect(subject.cache_filename).to eq("database")}
|
10
|
+
end
|
11
|
+
|
12
|
+
context "with nils" do
|
13
|
+
subject { described_class.new }
|
14
|
+
it { expect(subject.host).to be_nil }
|
15
|
+
it { expect(subject.regen_html).not_to be_truthy }
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AudioBookCreator::UrlFilter do
|
4
|
+
subject { described_class.new(uri("page1")) }
|
5
|
+
|
6
|
+
context "#host" do
|
7
|
+
subject { described_class.new(nil) }
|
8
|
+
|
9
|
+
it { expect(subject.host).to be_nil }
|
10
|
+
|
11
|
+
it "supports strings (and nils)" do
|
12
|
+
subject = described_class.new("http://site.com/page")
|
13
|
+
expect(subject.host).to eq("site.com")
|
14
|
+
end
|
15
|
+
|
16
|
+
it "supports uris" do
|
17
|
+
subject = described_class.new(uri("page"))
|
18
|
+
expect(subject.host).to eq(uri("page").host)
|
19
|
+
end
|
20
|
+
|
21
|
+
it "spiders without a host" do
|
22
|
+
expect(subject.include?(uri("good"))).not_to be_truthy
|
23
|
+
expect(subject.include?(uri("http://anothersite.com/bad"))).not_to be_truthy
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
it "spiders local pages only" do
|
28
|
+
expect(subject.include?(uri("page1"))).not_to be_truthy
|
29
|
+
expect(subject.include?(uri("good"))).not_to be_truthy
|
30
|
+
url = uri("http://anothersite.com/bad")
|
31
|
+
# odd syntax because we are testing the return value of the block passed to logger.warn
|
32
|
+
expect(subject.logger).to receive(:warn) { |&arg| expect(arg.call).to eq("ignoring remote url #{url}") }
|
33
|
+
expect { subject.include?(url) }.to raise_error("remote url #{url}")
|
34
|
+
end
|
35
|
+
|
36
|
+
context "visit with #extensions" do
|
37
|
+
%w(/page / .html .php .jsp .htm).each do |ext|
|
38
|
+
it "visits page2#{ext}" do
|
39
|
+
expect(subject.include?(uri("page2#{ext}"))).not_to be_truthy
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
%w(.jpg .png .js).each do |ext|
|
44
|
+
it "doesnt visit page2#{ext}" do
|
45
|
+
url = uri("page2#{ext}")
|
46
|
+
# odd syntax because we are testing the return value of the block passed to logger.warn
|
47
|
+
expect(subject.logger).to receive(:warn) { |&arg| expect(arg.call).to eq("ignoring bad file extension #{url}") }
|
48
|
+
expect { subject.include?(url) }.to raise_error("bad file extension")
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AudioBookCreator::Web do
|
4
|
+
let(:url) { site("page") }
|
5
|
+
let(:page_contents) { "page contents"}
|
6
|
+
|
7
|
+
context "#initialize with no params" do
|
8
|
+
it { expect(subject.max).to be_nil }
|
9
|
+
it { expect(subject.count).to eq(0) }
|
10
|
+
end
|
11
|
+
|
12
|
+
context "#initialize with max" do
|
13
|
+
subject { described_class.new(5) }
|
14
|
+
it { expect(subject.max).to eq(5) }
|
15
|
+
end
|
16
|
+
|
17
|
+
it "visits uris" do
|
18
|
+
expect_to_visit(url)
|
19
|
+
expect(subject[uri("page")]).to eq(page_contents)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "visits strings (and doesnt log)" do
|
23
|
+
expect_to_visit(url)
|
24
|
+
expect(subject[url]).to eq(page_contents)
|
25
|
+
expect_to_have_logged()
|
26
|
+
end
|
27
|
+
|
28
|
+
context "with max" do
|
29
|
+
before { subject.max = 2 }
|
30
|
+
|
31
|
+
it "visits" do
|
32
|
+
expect_to_visit(url)
|
33
|
+
expect_to_visit(url)
|
34
|
+
expect(subject[url]).to eq(page_contents)
|
35
|
+
expect(subject[url]).to eq(page_contents)
|
36
|
+
expect { subject[url] }.to raise_error(/visited 2 pages/)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
context "with_logging" do
|
41
|
+
before { enable_logging }
|
42
|
+
it "logs visits" do
|
43
|
+
expect_to_visit(url)
|
44
|
+
expect(subject[url]).to eq(page_contents)
|
45
|
+
expect_to_have_logged("fetch #{url} [1]")
|
46
|
+
end
|
47
|
+
|
48
|
+
context "with max" do
|
49
|
+
before { subject.max = 2 }
|
50
|
+
it "logs visit showing max" do
|
51
|
+
expect_to_visit(url)
|
52
|
+
expect(subject[url]).to eq(page_contents)
|
53
|
+
expect_to_have_logged("fetch #{url} [1/2]")
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
# def expect_not_to_visit
|
61
|
+
# expect(subject).not_to receive(:open)
|
62
|
+
# end
|
63
|
+
def expect_to_visit(site)
|
64
|
+
expect(subject).to receive(:open).with(site.to_s).and_return(double("io", :read => page_contents))
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe AudioBookCreator do
|
4
|
+
subject { described_class }
|
5
|
+
it 'should have a version number' do
|
6
|
+
expect(AudioBookCreator::VERSION).not_to be_nil
|
7
|
+
end
|
8
|
+
|
9
|
+
context ".should_write" do
|
10
|
+
it "should know file does not exist" do
|
11
|
+
expect(File).to receive(:exist?).with("x").and_return(false)
|
12
|
+
expect(subject.should_write?("x", false)).to be_truthy
|
13
|
+
end
|
14
|
+
|
15
|
+
it "should respect force" do
|
16
|
+
expect(File).not_to receive(:exist?)
|
17
|
+
expect(subject.should_write?("x", true)).to be_truthy
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should know file exists" do
|
21
|
+
expect(File).to receive(:exist?).with("x").and_return(true)
|
22
|
+
expect(subject.should_write?("x", false)).not_to be_truthy
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
+
|
3
|
+
unless ENV['MUTANT']
|
4
|
+
require "coveralls"
|
5
|
+
require "simplecov"
|
6
|
+
require "codeclimate-test-reporter"
|
7
|
+
|
8
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
9
|
+
Coveralls::SimpleCov::Formatter,
|
10
|
+
SimpleCov::Formatter::HTMLFormatter,
|
11
|
+
CodeClimate::TestReporter::Formatter
|
12
|
+
]
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
require_relative "support/test_logger"
|
17
|
+
|
18
|
+
begin
|
19
|
+
require "pry"
|
20
|
+
rescue LoadError
|
21
|
+
end
|
22
|
+
|
23
|
+
module SpecHelpers
|
24
|
+
def link(url, clazz = "page")
|
25
|
+
clazz = " class=\"#{clazz}\"" if clazz
|
26
|
+
%(<a href="#{url}"#{clazz}>link</a>")
|
27
|
+
end
|
28
|
+
|
29
|
+
def page(title, *args)
|
30
|
+
%(<html><head><title>#{title}</title></head>
|
31
|
+
<body>#{Array(args).join(" ")}</body>
|
32
|
+
</html>)
|
33
|
+
end
|
34
|
+
|
35
|
+
def uri(url)
|
36
|
+
if url.is_a?(Array)
|
37
|
+
url.map { |u| uri(u) }
|
38
|
+
else
|
39
|
+
url.is_a?(URI) ? url : URI.parse(site(url))
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def site(url)
|
44
|
+
if url.is_a?(Array)
|
45
|
+
url.map { |u| site(u) }
|
46
|
+
else
|
47
|
+
url.include?("http") ? url : "http://site.com/#{url}"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def dom(str)
|
52
|
+
Nokogiri::HTML(str)
|
53
|
+
end
|
54
|
+
|
55
|
+
def dom_nodes(strs)
|
56
|
+
Nokogiri::HTML(Array[strs].map{ |str| "<p>#{str}</p>" }.join).css("p")
|
57
|
+
end
|
58
|
+
|
59
|
+
def chapter(body = "content", title = "the title", number = 1)
|
60
|
+
AudioBookCreator::Chapter.new(number: number, title: title, body: body)
|
61
|
+
end
|
62
|
+
|
63
|
+
def spoken_chapter(title = "the title", filename = "dir/chapter01.m4a")
|
64
|
+
AudioBookCreator::SpokenChapter.new(title, filename)
|
65
|
+
end
|
66
|
+
|
67
|
+
def enable_logging
|
68
|
+
AudioBookCreator.logger.level = Logger::INFO
|
69
|
+
end
|
70
|
+
|
71
|
+
def expect_to_have_logged(*expect)
|
72
|
+
actual = TestLogger.results(AudioBookCreator.logger)
|
73
|
+
expect = Array(expect).flatten
|
74
|
+
|
75
|
+
actual.zip(expect) do |rslt, exp|
|
76
|
+
expect(rslt).to match(exp)
|
77
|
+
end
|
78
|
+
expect(TestLogger.results(AudioBookCreator.logger).size).to eq(expect.size)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
SimpleCov.start unless ENV['MUTANT']
|
83
|
+
|
84
|
+
require 'audio_book_creator'
|
85
|
+
|
86
|
+
RSpec.configure do |c|
|
87
|
+
c.include SpecHelpers
|
88
|
+
c.before do
|
89
|
+
AudioBookCreator.logger = TestLogger.gen
|
90
|
+
end
|
91
|
+
|
92
|
+
if ENV['MUTANT']
|
93
|
+
require 'timeout'
|
94
|
+
c.around do |example|
|
95
|
+
Timeout.timeout(1) do
|
96
|
+
example.run
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
unless ENV['MUTANT']
|
102
|
+
c.run_all_when_everything_filtered = true
|
103
|
+
c.filter_run :focus
|
104
|
+
c.order = 'random'
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require "logger"
|
2
|
+
require "stringio"
|
3
|
+
|
4
|
+
class TestLogger
|
5
|
+
def self.gen(level = nil)
|
6
|
+
Logger.new(StringIO.new).tap do |logger|
|
7
|
+
logger.formatter = proc do |severity, datetime, progname, msg|
|
8
|
+
msg + "\n"
|
9
|
+
end
|
10
|
+
logger.level = Logger::WARN
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.result(logger)
|
15
|
+
logger.instance_variable_get(:@logdev).dev.string
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.results(logger)
|
19
|
+
result(logger).split("\n")
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,238 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: audio_book_creator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Keenan Brock
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sqlite3-ruby
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: coveralls
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: codeclimate-test-reporter
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: |-
|
126
|
+
This takes html files and creates a chapterized audiobook.
|
127
|
+
It leverages Apple's speak command and audio book binder
|
128
|
+
email:
|
129
|
+
- keenan@thebrocks.net
|
130
|
+
executables:
|
131
|
+
- audio_book_creator
|
132
|
+
extensions: []
|
133
|
+
extra_rdoc_files: []
|
134
|
+
files:
|
135
|
+
- ".gitignore"
|
136
|
+
- ".rspec"
|
137
|
+
- ".travis.yml"
|
138
|
+
- Gemfile
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- audio_book_creator.gemspec
|
143
|
+
- bin/audio_book_creator
|
144
|
+
- lib/audio_book_creator.rb
|
145
|
+
- lib/audio_book_creator/binder.rb
|
146
|
+
- lib/audio_book_creator/book_creator.rb
|
147
|
+
- lib/audio_book_creator/book_def.rb
|
148
|
+
- lib/audio_book_creator/cached_hash.rb
|
149
|
+
- lib/audio_book_creator/cascading_array.rb
|
150
|
+
- lib/audio_book_creator/chapter.rb
|
151
|
+
- lib/audio_book_creator/cli.rb
|
152
|
+
- lib/audio_book_creator/conductor.rb
|
153
|
+
- lib/audio_book_creator/editor.rb
|
154
|
+
- lib/audio_book_creator/logging.rb
|
155
|
+
- lib/audio_book_creator/page_db.rb
|
156
|
+
- lib/audio_book_creator/page_def.rb
|
157
|
+
- lib/audio_book_creator/runner.rb
|
158
|
+
- lib/audio_book_creator/speaker.rb
|
159
|
+
- lib/audio_book_creator/speaker_def.rb
|
160
|
+
- lib/audio_book_creator/spider.rb
|
161
|
+
- lib/audio_book_creator/spoken_chapter.rb
|
162
|
+
- lib/audio_book_creator/surfer_def.rb
|
163
|
+
- lib/audio_book_creator/url_filter.rb
|
164
|
+
- lib/audio_book_creator/version.rb
|
165
|
+
- lib/audio_book_creator/web.rb
|
166
|
+
- spec/audio_book_creator/binder_spec.rb
|
167
|
+
- spec/audio_book_creator/book_creator_spec.rb
|
168
|
+
- spec/audio_book_creator/book_def_spec.rb
|
169
|
+
- spec/audio_book_creator/cached_hash_spec.rb
|
170
|
+
- spec/audio_book_creator/cascading_array_spec.rb
|
171
|
+
- spec/audio_book_creator/chapter_spec.rb
|
172
|
+
- spec/audio_book_creator/cli_spec.rb
|
173
|
+
- spec/audio_book_creator/conductor_spec.rb
|
174
|
+
- spec/audio_book_creator/editor_spec.rb
|
175
|
+
- spec/audio_book_creator/logging_spec.rb
|
176
|
+
- spec/audio_book_creator/page_db_spec.rb
|
177
|
+
- spec/audio_book_creator/page_def_spec.rb
|
178
|
+
- spec/audio_book_creator/runner_spec.rb
|
179
|
+
- spec/audio_book_creator/speaker_def_spec.rb
|
180
|
+
- spec/audio_book_creator/speaker_spec.rb
|
181
|
+
- spec/audio_book_creator/spider_spec.rb
|
182
|
+
- spec/audio_book_creator/spoken_chapter_spec.rb
|
183
|
+
- spec/audio_book_creator/surfer_def_spec.rb
|
184
|
+
- spec/audio_book_creator/url_filter_spec.rb
|
185
|
+
- spec/audio_book_creator/version_spec.rb
|
186
|
+
- spec/audio_book_creator/web_spec.rb
|
187
|
+
- spec/audio_book_creator_spec.rb
|
188
|
+
- spec/spec_helper.rb
|
189
|
+
- spec/support/test_logger.rb
|
190
|
+
homepage: http://github.com/kbrock/audio_book_creator
|
191
|
+
licenses:
|
192
|
+
- MIT
|
193
|
+
metadata: {}
|
194
|
+
post_install_message:
|
195
|
+
rdoc_options: []
|
196
|
+
require_paths:
|
197
|
+
- lib
|
198
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0'
|
203
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
requirements: []
|
209
|
+
rubyforge_project:
|
210
|
+
rubygems_version: 2.2.2
|
211
|
+
signing_key:
|
212
|
+
specification_version: 4
|
213
|
+
summary: Create an audiobook from a url
|
214
|
+
test_files:
|
215
|
+
- spec/audio_book_creator/binder_spec.rb
|
216
|
+
- spec/audio_book_creator/book_creator_spec.rb
|
217
|
+
- spec/audio_book_creator/book_def_spec.rb
|
218
|
+
- spec/audio_book_creator/cached_hash_spec.rb
|
219
|
+
- spec/audio_book_creator/cascading_array_spec.rb
|
220
|
+
- spec/audio_book_creator/chapter_spec.rb
|
221
|
+
- spec/audio_book_creator/cli_spec.rb
|
222
|
+
- spec/audio_book_creator/conductor_spec.rb
|
223
|
+
- spec/audio_book_creator/editor_spec.rb
|
224
|
+
- spec/audio_book_creator/logging_spec.rb
|
225
|
+
- spec/audio_book_creator/page_db_spec.rb
|
226
|
+
- spec/audio_book_creator/page_def_spec.rb
|
227
|
+
- spec/audio_book_creator/runner_spec.rb
|
228
|
+
- spec/audio_book_creator/speaker_def_spec.rb
|
229
|
+
- spec/audio_book_creator/speaker_spec.rb
|
230
|
+
- spec/audio_book_creator/spider_spec.rb
|
231
|
+
- spec/audio_book_creator/spoken_chapter_spec.rb
|
232
|
+
- spec/audio_book_creator/surfer_def_spec.rb
|
233
|
+
- spec/audio_book_creator/url_filter_spec.rb
|
234
|
+
- spec/audio_book_creator/version_spec.rb
|
235
|
+
- spec/audio_book_creator/web_spec.rb
|
236
|
+
- spec/audio_book_creator_spec.rb
|
237
|
+
- spec/spec_helper.rb
|
238
|
+
- spec/support/test_logger.rb
|