kindlegen 2.9.3.1 → 2.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -1
- data/lib/kindlegen/version.rb +1 -1
- data/test/test_kindlegen.rb +3 -3
- metadata +3 -3
data/.travis.yml
CHANGED
data/lib/kindlegen/version.rb
CHANGED
data/test/test_kindlegen.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'test/unit'
|
2
|
+
require 'rubygems/installer'
|
2
3
|
require 'rubygems/uninstaller'
|
3
4
|
KINDLEGEN_PROJECT_DIR = File.expand_path(File.dirname(File.dirname(__FILE__)))
|
4
5
|
$:.delete(File.join(KINDLEGEN_PROJECT_DIR, 'lib'))
|
@@ -8,12 +9,11 @@ class KindlegenTest < Test::Unit::TestCase
|
|
8
9
|
kindlegen_lib_dir = nil
|
9
10
|
gem_version = File.read(File.join(KINDLEGEN_PROJECT_DIR, 'lib/kindlegen/version.rb')).match(/VERSION = ["'](.*?)["']/)[1]
|
10
11
|
gem_file = File.join(KINDLEGEN_PROJECT_DIR, 'pkg', %(kindlegen-#{gem_version}.gem))
|
11
|
-
result = Gem.install
|
12
|
+
result = Gem::Installer.new(gem_file).install
|
12
13
|
begin
|
13
14
|
require 'kindlegen'
|
14
15
|
rescue ::LoadError
|
15
|
-
|
16
|
-
$:.unshift kindlegen_lib_dir
|
16
|
+
$:.unshift result.lib_dirs_glob
|
17
17
|
require 'kindlegen'
|
18
18
|
end
|
19
19
|
output = %x(#{Kindlegen.command})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindlegen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -61,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
61
|
version: '0'
|
62
62
|
segments:
|
63
63
|
- 0
|
64
|
-
hash:
|
64
|
+
hash: -2274574046729703455
|
65
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
66
|
none: false
|
67
67
|
requirements:
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
segments:
|
72
72
|
- 0
|
73
|
-
hash:
|
73
|
+
hash: -2274574046729703455
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
76
|
rubygems_version: 1.8.29
|