Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use tarpit 2, bundler, minitest
- Loading branch information
David Kellum
committed
Mar 18, 2012
1 parent
4484353
commit 4bb6cf5
Showing
6 changed files
with
70 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*~ | ||
pkg/ | ||
doc/ | ||
.bundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- ruby -*- | ||
|
||
source :rubygems | ||
|
||
gemspec :name => 'hashdot-test-daemon' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
hashdot-test-daemon (1.2.2-java) | ||
rjack-logback (~> 1.1) | ||
rjack-slf4j (~> 1.6.1) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
bouncy-castle-java (1.5.0146.1) | ||
jruby-openssl (0.7.6.1) | ||
bouncy-castle-java (>= 1.5.0146.1) | ||
json (1.6.5-java) | ||
minitest (2.11.3) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
rjack-logback (1.3.0-java) | ||
rjack-slf4j (~> 1.6.0) | ||
rjack-maven (3.0.3.1-java) | ||
rjack-slf4j (1.6.4.0-java) | ||
rjack-tarpit (2.0.1-java) | ||
jruby-openssl (~> 0.7.4) | ||
rake (~> 0.9.2, >= 0.9.2.2) | ||
rdoc (~> 3.12) | ||
rjack-maven (~> 3.0.3) | ||
|
||
PLATFORMS | ||
java | ||
|
||
DEPENDENCIES | ||
hashdot-test-daemon! | ||
minitest (~> 2.2) | ||
rjack-tarpit (~> 2.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,8 @@ | ||
# -*- ruby -*- | ||
|
||
$LOAD_PATH << './lib' | ||
require 'hashdot-test-daemon/base' | ||
|
||
require 'rubygems' | ||
gem 'rjack-tarpit', '~> 1.3.3' | ||
require 'bundler/setup' | ||
require 'rjack-tarpit' | ||
|
||
t = RJack::TarPit.new( 'hashdot-test-daemon', | ||
Hashdot::Daemon::VERSION, | ||
:java_platform ) | ||
|
||
t.specify do |h| | ||
h.developer( "David Kellum", "dek-oss@gravitext.com" ) | ||
h.extra_deps += [ [ 'rjack-slf4j', '~> 1.6.1' ], | ||
[ 'rjack-logback', '~> 1.1' ] ] | ||
end | ||
|
||
task :check_init_versions do | ||
t.test_line_match( 'init/hashdot-test-daemon', | ||
/^gem.+#{t.name}/, /= #{t.version}/ ) | ||
end | ||
task :check_history_version do | ||
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / ) | ||
end | ||
task :check_history_date do | ||
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ ) | ||
end | ||
|
||
task :gem => [ :check_init_versions, :check_history_version ] | ||
task :tag => [ :check_init_versions, :check_history_version, :check_history_date ] | ||
task :push => [ :check_init_versions, :check_history_version, :check_history_date ] | ||
|
||
t.define_tasks | ||
tp = RJack::TarPit.new( 'hashdot-test-daemon' ) | ||
tp.define_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- ruby -*- | ||
|
||
gem 'rjack-tarpit', '~> 2.0' | ||
require 'rjack-tarpit/spec' | ||
|
||
RJack::TarPit.specify do |s| | ||
require 'hashdot-test-daemon/base' | ||
|
||
s.version = Hashdot::Daemon::VERSION | ||
|
||
s.add_developer( 'David Kellum', 'dek-oss@gravitext.com' ) | ||
|
||
s.depend 'rjack-slf4j', '~> 1.6.1' | ||
s.depend 'rjack-logback', '~> 1.1' | ||
|
||
s.depend 'minitest', '~> 2.2', :dev | ||
|
||
s.platform = :java | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters