kindlegen 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tachikoma.yml +1 -0
- data/ext/kindlegen/extconf.rb +3 -0
- data/kindlegen.gemspec +0 -1
- data/lib/kindlegen.rb +5 -5
- data/lib/kindlegen/version.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6ea6160e529efa054387e4b69212b767058ff39
|
4
|
+
data.tar.gz: 722ff7476c42f13d51fe931e0b0a217b47b7b89b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df6b7766fc65755a8f4ad55e1468db952d950c0f3f27e218402647cf39bcd88a8f011072f124c8e9a89c862e370e8dda86670dbe7014c2200e2e9cfd1f129ed0
|
7
|
+
data.tar.gz: ae1d12da38d9c7e7f9829ef161cc1d328e9cddf749b09bede0bb94378cfc2dfdcad50b7392fd513aa81d003da2b1dbe1b98d118908018f258a807795813b9530
|
data/.tachikoma.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
strategy: 'bundler'
|
data/ext/kindlegen/extconf.rb
CHANGED
data/kindlegen.gemspec
CHANGED
data/lib/kindlegen.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require "kindlegen/version"
|
2
2
|
require 'pathname'
|
3
|
-
require '
|
3
|
+
require 'open3'
|
4
4
|
|
5
5
|
module Kindlegen
|
6
6
|
Root = Pathname.new(File.expand_path('../..', __FILE__))
|
@@ -24,16 +24,16 @@ module Kindlegen
|
|
24
24
|
#
|
25
25
|
def self.run( *params )
|
26
26
|
clean_env do
|
27
|
-
|
27
|
+
Open3.capture3(command + ' ' + params.join(' '))
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
31
|
private
|
32
32
|
def self.clean_env
|
33
|
-
env_backup =
|
34
|
-
ENV.
|
33
|
+
env_backup = ENV.to_h
|
34
|
+
ENV.clear
|
35
35
|
ret = yield
|
36
|
-
env_backup
|
36
|
+
ENV.replace(env_backup)
|
37
37
|
return ret
|
38
38
|
end
|
39
39
|
end
|
data/lib/kindlegen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TADA Tadashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: systemu
|
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
27
|
description: Installing kindlegen command, downloading tar.gz file from amazon.com,
|
42
28
|
and extracting it and copy kindlegen command to bin.
|
43
29
|
email:
|
@@ -48,6 +34,7 @@ extensions:
|
|
48
34
|
extra_rdoc_files: []
|
49
35
|
files:
|
50
36
|
- ".gitignore"
|
37
|
+
- ".tachikoma.yml"
|
51
38
|
- ".travis.yml"
|
52
39
|
- Gemfile
|
53
40
|
- README.md
|