spitball 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README +10 -0
- data/Rakefile +35 -0
- data/VERSION +1 -0
- data/spitball.gemspec +62 -0
- metadata +70 -7
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/pkg
|
data/README
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
## spitball
|
2
|
+
|
3
|
+
A very simple gem package generation tool built on `bundler`. Pass it a
|
4
|
+
gem file, it spits out a tarball of the generated gem
|
5
|
+
environment. Perfect for "bundle once, upload everywhere"-style
|
6
|
+
deployment.
|
7
|
+
|
8
|
+
Also comes with `spitball-server`, a small sinatra app that you can run
|
9
|
+
on a dedicated build server. The `spitball` command line client can then
|
10
|
+
pull packages down from said server.
|
data/Rakefile
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
ROOT_DIR = File.expand_path(File.dirname(__FILE__))
|
2
|
+
|
3
|
+
require 'rubygems' rescue nil
|
4
|
+
require 'rake'
|
5
|
+
require 'spec/rake/spectask'
|
6
|
+
|
7
|
+
task :default => :spec
|
8
|
+
|
9
|
+
desc "Run all specs in spec directory."
|
10
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
11
|
+
t.spec_opts = ['--options', "\"#{ROOT_DIR}/spec/spec.opts\""]
|
12
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
13
|
+
end
|
14
|
+
|
15
|
+
# gemification with jeweler
|
16
|
+
# FIXME: stop using jeweler when I get smarter.
|
17
|
+
begin
|
18
|
+
require 'jeweler'
|
19
|
+
Jeweler::Tasks.new do |gem|
|
20
|
+
gem.name = "spitball"
|
21
|
+
gem.summary = "get a bundle"
|
22
|
+
gem.description = "Use bundler to generate gem tarball packages."
|
23
|
+
gem.email = "freels@twitter.com"
|
24
|
+
gem.homepage = "http://twitter.com"
|
25
|
+
gem.authors = ["Matt Freels", "Brandon Mitchell"]
|
26
|
+
|
27
|
+
gem.add_dependency 'bundler', '>= 0.9.5'
|
28
|
+
gem.add_dependency 'sinatra', '>= 1.0'
|
29
|
+
|
30
|
+
gem.add_development_dependency 'rspec'
|
31
|
+
gem.add_development_dependency 'rr'
|
32
|
+
end
|
33
|
+
rescue LoadError
|
34
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
35
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1
|
data/spitball.gemspec
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{spitball}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Matt Freels", "Brandon Mitchell"]
|
12
|
+
s.date = %q{2010-07-15}
|
13
|
+
s.description = %q{Use bundler to generate gem tarball packages.}
|
14
|
+
s.email = %q{freels@twitter.com}
|
15
|
+
s.executables = ["spitball", "spitball-server"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"README"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".gitignore",
|
21
|
+
"Gemfile.sample",
|
22
|
+
"README",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"bin/spitball",
|
26
|
+
"bin/spitball-server",
|
27
|
+
"lib/spitball.rb",
|
28
|
+
"lib/spitball/digest.rb",
|
29
|
+
"lib/spitball/file_lock.rb",
|
30
|
+
"lib/spitball/remote.rb",
|
31
|
+
"lib/spitball/repo.rb",
|
32
|
+
"spitball.gemspec"
|
33
|
+
]
|
34
|
+
s.homepage = %q{http://twitter.com}
|
35
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
36
|
+
s.require_paths = ["lib"]
|
37
|
+
s.rubygems_version = %q{1.3.7}
|
38
|
+
s.summary = %q{get a bundle}
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_runtime_dependency(%q<bundler>, [">= 0.9.5"])
|
46
|
+
s.add_runtime_dependency(%q<sinatra>, [">= 1.0"])
|
47
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
48
|
+
s.add_development_dependency(%q<rr>, [">= 0"])
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<bundler>, [">= 0.9.5"])
|
51
|
+
s.add_dependency(%q<sinatra>, [">= 1.0"])
|
52
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
53
|
+
s.add_dependency(%q<rr>, [">= 0"])
|
54
|
+
end
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<bundler>, [">= 0.9.5"])
|
57
|
+
s.add_dependency(%q<sinatra>, [">= 1.0"])
|
58
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
59
|
+
s.add_dependency(%q<rr>, [">= 0"])
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spitball
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Freels
|
@@ -18,8 +18,66 @@ cert_chain: []
|
|
18
18
|
|
19
19
|
date: 2010-07-15 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
|
-
dependencies:
|
22
|
-
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: bundler
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 49
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 9
|
34
|
+
- 5
|
35
|
+
version: 0.9.5
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: sinatra
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 15
|
47
|
+
segments:
|
48
|
+
- 1
|
49
|
+
- 0
|
50
|
+
version: "1.0"
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
type: :development
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rr
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 3
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
version: "0"
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id004
|
23
81
|
description: Use bundler to generate gem tarball packages.
|
24
82
|
email: freels@twitter.com
|
25
83
|
executables:
|
@@ -27,10 +85,14 @@ executables:
|
|
27
85
|
- spitball-server
|
28
86
|
extensions: []
|
29
87
|
|
30
|
-
extra_rdoc_files:
|
31
|
-
|
88
|
+
extra_rdoc_files:
|
89
|
+
- README
|
32
90
|
files:
|
91
|
+
- .gitignore
|
33
92
|
- Gemfile.sample
|
93
|
+
- README
|
94
|
+
- Rakefile
|
95
|
+
- VERSION
|
34
96
|
- bin/spitball
|
35
97
|
- bin/spitball-server
|
36
98
|
- lib/spitball.rb
|
@@ -38,6 +100,7 @@ files:
|
|
38
100
|
- lib/spitball/file_lock.rb
|
39
101
|
- lib/spitball/remote.rb
|
40
102
|
- lib/spitball/repo.rb
|
103
|
+
- spitball.gemspec
|
41
104
|
has_rdoc: true
|
42
105
|
homepage: http://twitter.com
|
43
106
|
licenses: []
|