source2epub 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -2
- data/bin/source2epub +0 -2
- data/{config/initializers → lib/config}/source2epub.rb +0 -1
- data/lib/source2epub.rb +19 -4
- data/lib/source2epub/cli.rb +0 -3
- data/lib/source2epub/exporter.rb +0 -5
- data/lib/source2epub/source2epub.rb +1 -4
- data/lib/source2epub/version.rb +1 -1
- data/source2epub.gemspec +12 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2be126cdd04f78f136308263f144d80bf47c54c4
|
4
|
+
data.tar.gz: 1d8de0cbb2463d4e249b1b2def7788794c2e9868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24e795cbbb2d27a8f888b6686a012c07690d116b1f7ed24b7563ee5c5337e797f682ef6c4d890d866072494fbbbd8388805b945e74a61d9ba2b61d16a821f2b1
|
7
|
+
data.tar.gz: 83e4d5743df06769e254569bc94aefe100b1f0c0f0ef678e86a21d84c6b0d1958b0cd0eb0aae71f0f4442543f76492c4c11b31828b270e48c666572a5faab159
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/bin/source2epub
CHANGED
data/lib/source2epub.rb
CHANGED
@@ -1,5 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
# require 'rubygems'
|
2
|
+
# require 'bundler/setup'
|
3
|
+
|
4
|
+
# Community's gems
|
5
|
+
require "git"
|
6
|
+
require "thor"
|
7
|
+
require "uri"
|
8
|
+
require "eeepub"
|
9
|
+
# My own gems
|
10
|
+
require "agile_utils"
|
11
|
+
require "code_lister"
|
12
|
+
require "vim_printer"
|
13
|
+
|
14
|
+
require "config/source2epub"
|
15
|
+
require "source2epub/configuration"
|
16
|
+
require "source2epub/version"
|
17
|
+
require "source2epub/source2epub"
|
18
|
+
require "source2epub/exporter"
|
19
|
+
require "source2epub/cli"
|
5
20
|
include Source2Epub
|
data/lib/source2epub/cli.rb
CHANGED
data/lib/source2epub/exporter.rb
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
require "git"
|
2
|
-
require "code_lister"
|
3
|
-
require_relative "./configuration"
|
4
1
|
module Source2Epub
|
5
2
|
CustomError = Class.new(StandardError)
|
6
3
|
class << self
|
@@ -63,7 +60,7 @@ module Source2Epub
|
|
63
60
|
VimPrinter::CLI.start(args)
|
64
61
|
end
|
65
62
|
|
66
|
-
|
63
|
+
private
|
67
64
|
|
68
65
|
# Always expand the directory name so that '~' or '.' is expanded correctly
|
69
66
|
def base_dir(dir_name)
|
data/lib/source2epub/version.rb
CHANGED
data/source2epub.gemspec
CHANGED
@@ -16,14 +16,14 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.homepage = "https://github.com/agilecreativity/source2epub"
|
17
17
|
spec.license = "MIT"
|
18
18
|
spec.required_ruby_version = '>= 1.9.3'
|
19
|
-
spec.files = Dir.glob("{bin,lib
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
spec.files = Dir.glob("{bin,lib}/**/*") + %w[Gemfile
|
20
|
+
Rakefile
|
21
|
+
source2epub.gemspec
|
22
|
+
README.md
|
23
|
+
CHANGELOG.md
|
24
|
+
LICENSE
|
25
|
+
.rubocop.yml
|
26
|
+
.gitignore]
|
27
27
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
28
28
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
29
29
|
spec.require_paths = ["lib"]
|
@@ -33,7 +33,10 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
|
34
34
|
spec.add_runtime_dependency "code_lister", "~> 0.2.2"
|
35
35
|
spec.add_runtime_dependency "vim_printer", "~> 0.2.3"
|
36
|
-
|
36
|
+
|
37
|
+
# Note: this is the custom version of the gem, as the official version 0.8.1
|
38
|
+
# contain bugs in the zip library
|
39
|
+
spec.add_runtime_dependency "eeepub_ext", "~> 0.8.2"
|
37
40
|
|
38
41
|
spec.add_development_dependency "awesome_print", "~> 1.2.0"
|
39
42
|
spec.add_development_dependency "bundler", "~> 1.7.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: source2epub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.2.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: eeepub_ext
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
@@ -268,7 +268,7 @@ files:
|
|
268
268
|
- README.md
|
269
269
|
- Rakefile
|
270
270
|
- bin/source2epub
|
271
|
-
- config/
|
271
|
+
- lib/config/source2epub.rb
|
272
272
|
- lib/source2epub.rb
|
273
273
|
- lib/source2epub/cli.rb
|
274
274
|
- lib/source2epub/configuration.rb
|