hammer 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +88 -0
- data/Rakefile +1 -0
- data/bin/hammer +5 -0
- data/hammer.gemspec +23 -0
- data/lib/hammer.rb +5 -0
- data/lib/hammer/cli.rb +83 -0
- data/lib/hammer/vendor/Gemfile +3 -0
- data/lib/hammer/vendor/Gemfile.lock +10 -0
- data/lib/hammer/vendor/bin/compile +24 -0
- data/lib/hammer/vendor/bin/detect +3 -0
- data/lib/hammer/vendor/bin/release +3 -0
- data/lib/hammer/vendor/build +11 -0
- data/lib/hammer/vendor/bundle/bundler/setup.rb +2 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/.gitignore +17 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/.rspec +2 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/Gemfile +4 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/LICENSE.txt +22 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/README.md +29 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/Rakefile +1 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise.rb +4 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/binary.rb +43 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/shell_tools.rb +20 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/version.rb +3 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/spec/spec_helper.rb +2 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/spec/vise_spec.rb +9 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/vise.gemspec +22 -0
- data/lib/hammer/vendor/bundle/ruby/1.9.1/specifications/vise-0.0.1.pre.gemspec +29 -0
- data/lib/hammer/version.rb +3 -0
- metadata +125 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Terence Lee
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# Hammer
|
2
|
+
|
3
|
+
CLI tool to help building binaries using Heroku's anvil.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Install it:
|
8
|
+
|
9
|
+
$ gem install hammer
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
This example will show you how to statically compile libyaml on heroku using hammer. First, we need to create a skeleton build script.
|
14
|
+
|
15
|
+
$ hammer new libyaml
|
16
|
+
Creating hammer skeleton...
|
17
|
+
libyaml/
|
18
|
+
libyaml/build
|
19
|
+
|
20
|
+
The template app should look something ilke this:
|
21
|
+
|
22
|
+
$ cd libyaml/
|
23
|
+
$ cat build
|
24
|
+
#!/bin/sh
|
25
|
+
|
26
|
+
workspace_dir=$1
|
27
|
+
output_dir=$2
|
28
|
+
|
29
|
+
curl -O http://example.com/foo.tgz -s -o - | tar zxf
|
30
|
+
|
31
|
+
cd foo
|
32
|
+
./configure --prefix=$output_dir
|
33
|
+
make
|
34
|
+
make install
|
35
|
+
|
36
|
+
The build script is passed two arguments. The first is the workspace directory. This is where you can build your package in a clean folder. You can download the source code and build it in this directory. We'll automatically cd here, so you start in this directory. `$HOME` is also set to this directory.
|
37
|
+
|
38
|
+
The second argument is the output directory. This is the directory that anvil will package up and generate a tarball for. Make sure to only inclued things you want in the final tarball. You usually want to set the `--prefix` argument to this value or somewhere in this directory.
|
39
|
+
|
40
|
+
We can change the build script to build libyaml. We'll be using the `$VERSION` env var to allow us to pick the version.
|
41
|
+
|
42
|
+
$ cat build
|
43
|
+
#!/bin/sh
|
44
|
+
|
45
|
+
workspace_dir=$1
|
46
|
+
output_dir=$2
|
47
|
+
|
48
|
+
curl http://pyyaml.org/download/libyaml/yaml-$VERSION.tar.gz -s -o - | tar zxf -
|
49
|
+
|
50
|
+
cd yaml-$VERSION
|
51
|
+
env CFLAGS=-fPIC ./configure --enable-static --disable-shared --prefix=$output_dir
|
52
|
+
make
|
53
|
+
make install
|
54
|
+
|
55
|
+
We can now build libyaml. The latest version as of this writing is 0.1.4. We can use the `--env` option to pass a list of env vars to the build script we wrote, like `--env KEY1:VALUE1 KEY2:VALUE2`. We also copy the contents of the current working directory (locally where the command is run) into `/tmp` on Heroku.
|
56
|
+
|
57
|
+
$ hammer build --env VERSION:0.1.4
|
58
|
+
Checking for buildpack files to sync... done, 3 files needed
|
59
|
+
Uploading: 100.0%
|
60
|
+
Checking for app files to sync... done, 0 files needed
|
61
|
+
Launching build process... done
|
62
|
+
Preparing app for compilation... done
|
63
|
+
Fetching buildpack... done
|
64
|
+
Detecting buildpack... done, hammer-binary
|
65
|
+
Fetching cache... empty
|
66
|
+
Compiling app...
|
67
|
+
checking for a BSD-compatible install... /usr/bin/install -c
|
68
|
+
...
|
69
|
+
Packaging the following files/dirs:
|
70
|
+
include
|
71
|
+
lib
|
72
|
+
Writing .profile.d/buildpack.sh... done
|
73
|
+
Putting cache... done
|
74
|
+
Creating slug... done
|
75
|
+
Uploading slug... done
|
76
|
+
Success, slug is https://api.anvilworks.org/slugs/7867fa81-5967-11e2-9db4-7b154f4e3a6a.tgz
|
77
|
+
$ ls
|
78
|
+
build builds
|
79
|
+
$ ls builds/
|
80
|
+
7867fa81-5967-11e2-9db4-7b154f4e3a6a.tgz
|
81
|
+
|
82
|
+
## Contributing
|
83
|
+
|
84
|
+
1. Fork it
|
85
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
86
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
87
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
88
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/hammer
ADDED
data/hammer.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'hammer/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "hammer"
|
8
|
+
gem.version = Hammer::VERSION
|
9
|
+
gem.authors = ["Terence Lee"]
|
10
|
+
gem.email = ["hone02@gmail.com"]
|
11
|
+
gem.description = %q{CLI tool to help building binaries using Heroku's anvil}
|
12
|
+
gem.summary = %q{CLI tool to help building binaries using Heroku's anvil}
|
13
|
+
gem.homepage = ""
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
|
20
|
+
gem.add_dependency "thor", "~> 0.15.0"
|
21
|
+
gem.add_dependency "anvil-cli", "~> 0.15"
|
22
|
+
gem.add_dependency "vise", "~> 0.0.1.pre"
|
23
|
+
end
|
data/lib/hammer.rb
ADDED
data/lib/hammer/cli.rb
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
require "vise/shell_tools"
|
2
|
+
require 'thor'
|
3
|
+
require 'fileutils'
|
4
|
+
require 'tmpdir'
|
5
|
+
require 'uri'
|
6
|
+
|
7
|
+
module Hammer
|
8
|
+
class CLI < Thor
|
9
|
+
include Vise::ShellTools
|
10
|
+
|
11
|
+
desc "new PROJECT_NAME", "generate a new binary project"
|
12
|
+
def new(name)
|
13
|
+
puts "Creating hammer skeleton..."
|
14
|
+
puts "#{name}/"
|
15
|
+
FileUtils.mkdir(name)
|
16
|
+
|
17
|
+
Dir.chdir(name) do
|
18
|
+
puts "#{name}/build"
|
19
|
+
FileUtils.cp(File.join(vendor_dir, "build"), ".")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
desc "build", "builds the binary"
|
24
|
+
method_option :build, :type => :string, :default => ".",
|
25
|
+
:desc => "path to the build scripts"
|
26
|
+
method_option :env, :type => :hash,
|
27
|
+
:desc => "build environment to pass to the build script"
|
28
|
+
def build
|
29
|
+
require 'anvil/engine'
|
30
|
+
slug_url = nil
|
31
|
+
pwd = Dir.pwd
|
32
|
+
|
33
|
+
Dir.mktmpdir do |dir|
|
34
|
+
system("cp -rf #{options[:build]}/* #{dir}")
|
35
|
+
|
36
|
+
Dir.chdir(dir) do
|
37
|
+
FileUtils.cp_r(File.join(vendor_dir, "bin"), ".")
|
38
|
+
FileUtils.cp_r(File.join(vendor_dir, "bundle"), ".")
|
39
|
+
FileUtils.cp(File.join(vendor_dir, "Gemfile"), ".")
|
40
|
+
FileUtils.cp(File.join(vendor_dir, "Gemfile.lock"), ".")
|
41
|
+
|
42
|
+
if options[:env]
|
43
|
+
File.open('env', 'wb') do |file|
|
44
|
+
options[:env].each {|k, v| file.puts "#{k}=#{v}" }
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
slug_url = Anvil::Engine.build(".", :buildpack => ".", :ignore => ["./builds"])
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
Dir.mktmpdir do |dir|
|
53
|
+
filename = URI.parse(slug_url).path.sub("/slugs/", "")
|
54
|
+
|
55
|
+
Dir.chdir(dir) do
|
56
|
+
puts "Removing build cruft"
|
57
|
+
system("curl -s -O #{slug_url}")
|
58
|
+
system("tar zxf #{filename}")
|
59
|
+
system("rm -rf #{filename} .profile.d .bundle Procfile .gitignore")
|
60
|
+
system("tar czf #{filename} *")
|
61
|
+
FileUtils.mkdir_p("#{pwd}/builds")
|
62
|
+
system("mv #{filename} #{pwd}/builds")
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
private
|
68
|
+
def write_bin_file(name, contents)
|
69
|
+
File.open(name, 'wb') do |file|
|
70
|
+
file.chmod(0755)
|
71
|
+
file.puts contents
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
def vendor_dir
|
76
|
+
File.join(File.dirname(__FILE__), "vendor")
|
77
|
+
end
|
78
|
+
|
79
|
+
def read_bin_file(name)
|
80
|
+
File.read(File.join(vendor_dir, "bin/#{name}"))
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require_relative '../bundle/bundler/setup'
|
4
|
+
require 'vise/shell_tools'
|
5
|
+
require 'vise/binary'
|
6
|
+
|
7
|
+
include Vise::ShellTools
|
8
|
+
|
9
|
+
env = {}
|
10
|
+
|
11
|
+
binary = Vise::Binary.new(ARGV[0], ARGV[1])
|
12
|
+
binary.compile do |workspace_dir, output_dir|
|
13
|
+
Dir.chdir(workspace_dir) do
|
14
|
+
env["HOME"] = workspace_dir
|
15
|
+
if File.exists?('/tmp/env')
|
16
|
+
File.readlines('/tmp/env').each do |line|
|
17
|
+
key, value = line.split('=')
|
18
|
+
env[key] = value.chomp
|
19
|
+
end
|
20
|
+
end
|
21
|
+
env_string = Array(env).map {|k, v| "#{k}=#{v}" }.join(" ")
|
22
|
+
system("env #{env_string} /tmp/build #{workspace_dir} #{output_dir}")
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Terence Lee
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Vise
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'vise'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install vise
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require "vise/shell_tools"
|
2
|
+
require "tmpdir"
|
3
|
+
|
4
|
+
module Vise
|
5
|
+
# class assists in building binaries using anvil on Heroku.
|
6
|
+
class Binary
|
7
|
+
include ShellTools
|
8
|
+
|
9
|
+
# @param [String] path to the build dir
|
10
|
+
# @param [String] path to the cache dir
|
11
|
+
# ensures the following:
|
12
|
+
# * move the building scripts into /tmp
|
13
|
+
# * the script /tmp/build` is executable
|
14
|
+
# * build dir is clean
|
15
|
+
def initialize(build_dir, cache_dir)
|
16
|
+
@build_dir = build_dir
|
17
|
+
@cache_dir = cache_dir
|
18
|
+
pipe "mv #{@build_dir}/* /tmp"
|
19
|
+
pipe "chmod u+x /tmp/build"
|
20
|
+
pipe "rm -rf #{@build_dir}/*"
|
21
|
+
end
|
22
|
+
|
23
|
+
# this is the main compile method.
|
24
|
+
# pass a block to compile of what you want to run.
|
25
|
+
# the block gets the source dir to work in, and a
|
26
|
+
# build dir which is the dir that gets packaged.
|
27
|
+
def compile
|
28
|
+
tmpdir = Dir.mktmpdir
|
29
|
+
Dir.chdir(tmpdir) do |source_dir, build_dir|
|
30
|
+
yield source_dir, @build_dir
|
31
|
+
end
|
32
|
+
|
33
|
+
puts "Packaging the following files/dirs:"
|
34
|
+
pipe "ls #{@build_dir}"
|
35
|
+
ensure
|
36
|
+
if ENV['DEBUG']
|
37
|
+
puts "Source dir: #{tmpdir}"
|
38
|
+
else
|
39
|
+
FileUtils.rm_rf(tmpdir)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Vise
|
2
|
+
# convenience methods for interacting with the shell
|
3
|
+
# in ruby that can be used in your build program
|
4
|
+
module ShellTools
|
5
|
+
# run a shell command and stream the output
|
6
|
+
# @param [String] command to be run
|
7
|
+
def pipe(command)
|
8
|
+
output = ""
|
9
|
+
IO.popen(command) do |io|
|
10
|
+
until io.eof?
|
11
|
+
buffer = io.gets
|
12
|
+
output << buffer
|
13
|
+
puts buffer
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
output
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'vise/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "vise"
|
8
|
+
gem.version = Vise::VERSION
|
9
|
+
gem.authors = ["Terence Lee"]
|
10
|
+
gem.email = ["hone02@gmail.com"]
|
11
|
+
gem.description = %q{Library to assist with building binaries using Heroku's anvil}
|
12
|
+
gem.summary = %q{Library to assist with building binaries using Heroku's anvil}
|
13
|
+
gem.homepage = ""
|
14
|
+
gem.license = "MIT"
|
15
|
+
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
+
gem.require_paths = ["lib"]
|
20
|
+
|
21
|
+
gem.add_development_dependency "rake"
|
22
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "vise"
|
5
|
+
s.version = "0.0.1.pre"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Terence Lee"]
|
9
|
+
s.date = "2013-01-06"
|
10
|
+
s.description = "Library to assist with building binaries using Heroku's anvil"
|
11
|
+
s.email = ["hone02@gmail.com"]
|
12
|
+
s.homepage = ""
|
13
|
+
s.licenses = ["MIT"]
|
14
|
+
s.require_paths = ["lib"]
|
15
|
+
s.rubygems_version = "1.8.24"
|
16
|
+
s.summary = "Library to assist with building binaries using Heroku's anvil"
|
17
|
+
|
18
|
+
if s.respond_to? :specification_version then
|
19
|
+
s.specification_version = 3
|
20
|
+
|
21
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
22
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
23
|
+
else
|
24
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
25
|
+
end
|
26
|
+
else
|
27
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
28
|
+
end
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hammer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre
|
5
|
+
prerelease: 6
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Terence Lee
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.15.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.15.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: anvil-cli
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0.15'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.15'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: vise
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.0.1.pre
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.0.1.pre
|
62
|
+
description: CLI tool to help building binaries using Heroku's anvil
|
63
|
+
email:
|
64
|
+
- hone02@gmail.com
|
65
|
+
executables:
|
66
|
+
- hammer
|
67
|
+
extensions: []
|
68
|
+
extra_rdoc_files: []
|
69
|
+
files:
|
70
|
+
- .gitignore
|
71
|
+
- Gemfile
|
72
|
+
- LICENSE.txt
|
73
|
+
- README.md
|
74
|
+
- Rakefile
|
75
|
+
- bin/hammer
|
76
|
+
- hammer.gemspec
|
77
|
+
- lib/hammer.rb
|
78
|
+
- lib/hammer/cli.rb
|
79
|
+
- lib/hammer/vendor/Gemfile
|
80
|
+
- lib/hammer/vendor/Gemfile.lock
|
81
|
+
- lib/hammer/vendor/bin/compile
|
82
|
+
- lib/hammer/vendor/bin/detect
|
83
|
+
- lib/hammer/vendor/bin/release
|
84
|
+
- lib/hammer/vendor/build
|
85
|
+
- lib/hammer/vendor/bundle/bundler/setup.rb
|
86
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/.gitignore
|
87
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/.rspec
|
88
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/Gemfile
|
89
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/LICENSE.txt
|
90
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/README.md
|
91
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/Rakefile
|
92
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise.rb
|
93
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/binary.rb
|
94
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/shell_tools.rb
|
95
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/lib/vise/version.rb
|
96
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/spec/spec_helper.rb
|
97
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/spec/vise_spec.rb
|
98
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/gems/vise-0.0.1.pre/vise.gemspec
|
99
|
+
- lib/hammer/vendor/bundle/ruby/1.9.1/specifications/vise-0.0.1.pre.gemspec
|
100
|
+
- lib/hammer/version.rb
|
101
|
+
homepage: ''
|
102
|
+
licenses: []
|
103
|
+
post_install_message:
|
104
|
+
rdoc_options: []
|
105
|
+
require_paths:
|
106
|
+
- lib
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ! '>'
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 1.3.1
|
119
|
+
requirements: []
|
120
|
+
rubyforge_project:
|
121
|
+
rubygems_version: 1.8.24
|
122
|
+
signing_key:
|
123
|
+
specification_version: 3
|
124
|
+
summary: CLI tool to help building binaries using Heroku's anvil
|
125
|
+
test_files: []
|