hashdot-test-daemon 1.2.2-java → 1.2.3-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.2.3 (2012-3-18)
2
+ * Upgrade to tarpit ~> 2.0, bundler Gemfile, gemspec (build)
3
+ * Use minitest ~> 2.2 (build)
4
+
1
5
  === 1.2.2 (2011-9-11)
2
6
  * Broaden to rjack-logback ~> 1.1
3
7
  * Upgrade to tarpit ~> 1.3.3 (build)
data/README.rdoc CHANGED
@@ -10,7 +10,7 @@ Sample/test hashdot launched daemon packaged as gem.
10
10
 
11
11
  == License
12
12
 
13
- Copyright (c) 2010-2011 David Kellum
13
+ Copyright (c) 2010-2012 David Kellum
14
14
 
15
15
  Licensed under the Apache License, Version 2.0 (the "License"); you
16
16
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -1,35 +1,8 @@
1
1
  # -*- ruby -*-
2
2
 
3
- $LOAD_PATH << './lib'
4
- require 'hashdot-test-daemon/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.3.3'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- t = RJack::TarPit.new( 'hashdot-test-daemon',
11
- Hashdot::Daemon::VERSION,
12
- :java_platform )
13
-
14
- t.specify do |h|
15
- h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
- h.extra_deps += [ [ 'rjack-slf4j', '~> 1.6.1' ],
17
- [ 'rjack-logback', '~> 1.1' ] ]
18
- end
19
-
20
- task :check_init_versions do
21
- t.test_line_match( 'init/hashdot-test-daemon',
22
- /^gem.+#{t.name}/, /= #{t.version}/ )
23
- end
24
- task :check_history_version do
25
- t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
26
- end
27
- task :check_history_date do
28
- t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
29
- end
30
-
31
- task :gem => [ :check_init_versions, :check_history_version ]
32
- task :tag => [ :check_init_versions, :check_history_version, :check_history_date ]
33
- task :push => [ :check_init_versions, :check_history_version, :check_history_date ]
34
-
35
- t.define_tasks
7
+ tp = RJack::TarPit.new( 'hashdot-test-daemon' )
8
+ tp.define_tasks
@@ -7,7 +7,7 @@
7
7
  #. hashdot.vm.options += -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
8
8
 
9
9
  require 'rubygems'
10
- gem( "hashdot-test-daemon", "= 1.2.2" )
10
+ gem( "hashdot-test-daemon", "= 1.2.3" )
11
11
 
12
12
  require 'rjack-logback'
13
13
  RJack::Logback.config_console( :full => true, :thread => true )
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2011 David Kellum
2
+ # Copyright (c) 2010-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2011 David Kellum
2
+ # Copyright (c) 2010-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Hashdot
18
18
  module Daemon
19
- VERSION = "1.2.2"
19
+ VERSION = "1.2.3"
20
20
  end
21
21
  end
data/test/test_daemon.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
  #.hashdot.profile += jruby-shortlived
3
3
  #--
4
- # Copyright (c) 2010-2011 David Kellum
4
+ # Copyright (c) 2010-2012 David Kellum
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License"); you
7
7
  # may not use this file except in compliance with the License. You
@@ -16,19 +16,20 @@
16
16
  # permissions and limitations under the License.
17
17
  #++
18
18
 
19
- TEST_DIR = File.dirname(__FILE__)
20
-
21
- $LOAD_PATH.unshift File.join( TEST_DIR, "..", "lib" )
22
-
23
19
  require 'rubygems'
20
+ require 'bundler/setup'
24
21
 
25
22
  require 'rjack-logback'
23
+ RJack::Logback.config_console( :stderr => true )
24
+
26
25
  require 'hashdot-test-daemon'
27
- require 'test/unit'
26
+
27
+ require 'minitest/unit'
28
+ require 'minitest/autorun'
28
29
 
29
30
  RJack::Logback.config_console
30
31
 
31
- class TestDaemon < Test::Unit::TestCase
32
+ class TestDaemon < MiniTest::Unit::TestCase
32
33
  include Hashdot::Daemon
33
34
  def test_daemon
34
35
  assert Runner.new
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hashdot-test-daemon
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.2
5
+ version: 1.2.3
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,42 +10,53 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-11 00:00:00 Z
13
+ date: 2012-03-18 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rjack-slf4j
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
20
  - - ~>
22
21
  - !ruby/object:Gem::Version
23
22
  version: 1.6.1
23
+ requirement: *id001
24
+ prerelease: false
24
25
  type: :runtime
25
- version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rjack-logback
28
- prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
30
29
  none: false
31
30
  requirements:
32
31
  - - ~>
33
32
  - !ruby/object:Gem::Version
34
33
  version: "1.1"
34
+ requirement: *id002
35
+ prerelease: false
35
36
  type: :runtime
36
- version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency
38
- name: rjack-tarpit
38
+ name: minitest
39
+ version_requirements: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: "2.2"
45
+ requirement: *id003
39
46
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
47
+ type: :development
48
+ - !ruby/object:Gem::Dependency
49
+ name: rjack-tarpit
50
+ version_requirements: &id004 !ruby/object:Gem::Requirement
41
51
  none: false
42
52
  requirements:
43
53
  - - ~>
44
54
  - !ruby/object:Gem::Version
45
- version: 1.3.3
55
+ version: "2.0"
56
+ requirement: *id004
57
+ prerelease: false
46
58
  type: :development
47
- version_requirements: *id003
48
- description: Sample/test hashdot launched daemon packaged as gem.
59
+ description:
49
60
  email:
50
61
  - dek-oss@gravitext.com
51
62
  executables:
@@ -53,7 +64,6 @@ executables:
53
64
  extensions: []
54
65
 
55
66
  extra_rdoc_files:
56
- - Manifest.txt
57
67
  - History.rdoc
58
68
  - README.rdoc
59
69
  files:
@@ -80,19 +90,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
93
+ hash: 2
94
+ segments:
95
+ - 0
83
96
  version: "0"
84
97
  required_rubygems_version: !ruby/object:Gem::Requirement
85
98
  none: false
86
99
  requirements:
87
100
  - - ">="
88
101
  - !ruby/object:Gem::Version
102
+ hash: 2
103
+ segments:
104
+ - 0
89
105
  version: "0"
90
106
  requirements: []
91
107
 
92
- rubyforge_project: hashdot-test-daemon
93
- rubygems_version: 1.8.10
108
+ rubyforge_project:
109
+ rubygems_version: 1.8.15
94
110
  signing_key:
95
111
  specification_version: 3
96
112
  summary: Sample/test hashdot launched daemon packaged as gem.
97
- test_files:
98
- - test/test_daemon.rb
113
+ test_files: []
114
+