kindlegen 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ *.tar.gz
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in kindlegen.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,31 @@
1
+ #
2
+ # making Makefile getting kindlegen from Amazon.com
3
+ #
4
+
5
+ File::open( 'Makefile', 'w' ) do |w|
6
+ w.puts RbConfig.expand( DATA.read )
7
+ end
8
+
9
+ __END__
10
+ AMAZON = http://s3.amazonaws.com/kindlegen
11
+ TARGET = kindlegen
12
+ BINDIR = $(bindir)
13
+ PLATFORM = linux_2.6_i386
14
+ VERSION = 1.2
15
+ TARBALL = $(TARGET)_$(PLATFORM)_v$(VERSION).tar.gz
16
+ CURL = curl
17
+ TARX = tar zxf
18
+ CP = cp
19
+
20
+ all: $(TARGET)
21
+
22
+ $(TARGET): $(TARBALL)
23
+ $(TARX) $(TARBALL)
24
+ touch $(TARGET)
25
+
26
+ $(TARBALL):
27
+ $(CURL) $(AMAZON)/$(TARBALL) -o $(TARBALL)
28
+
29
+ install: $(TARGET)
30
+ $(CP) $(TARGET) $(BINDIR)
31
+
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "kindlegen/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "kindlegen"
7
+ s.version = Kindlegen::VERSION
8
+ s.authors = ["TADA Tadashi"]
9
+ s.email = ["t@tdtds.jp"]
10
+ s.homepage = ""
11
+ s.summary = %q{Installing kindlegen command.}
12
+ s.description = %q{Installing kindlegen command, downloading tar.gz file from amazon.com, and extracting it and copy kindlegen command to bin.}
13
+
14
+ s.rubyforge_project = "kindlegen"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+ s.extensions << 'ext/kindlegen/extconf.rb'
21
+
22
+ # specify any dependencies here; for example:
23
+ # s.add_development_dependency "rspec"
24
+ # s.add_runtime_dependency "rest-client"
25
+ end
@@ -0,0 +1,5 @@
1
+ require "kindlegen/version"
2
+
3
+ module Kindlegen
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Kindlegen
2
+ VERSION = "1.2.0"
3
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kindlegen
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - TADA Tadashi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-01 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Installing kindlegen command, downloading tar.gz file from amazon.com,
15
+ and extracting it and copy kindlegen command to bin.
16
+ email:
17
+ - t@tdtds.jp
18
+ executables: []
19
+ extensions:
20
+ - ext/kindlegen/extconf.rb
21
+ extra_rdoc_files: []
22
+ files:
23
+ - .gitignore
24
+ - Gemfile
25
+ - Rakefile
26
+ - ext/kindlegen/extconf.rb
27
+ - kindlegen.gemspec
28
+ - lib/kindlegen.rb
29
+ - lib/kindlegen/version.rb
30
+ homepage: ''
31
+ licenses: []
32
+ post_install_message:
33
+ rdoc_options: []
34
+ require_paths:
35
+ - lib
36
+ required_ruby_version: !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubyforge_project: kindlegen
50
+ rubygems_version: 1.8.11
51
+ signing_key:
52
+ specification_version: 3
53
+ summary: Installing kindlegen command.
54
+ test_files: []