hashdot-test-daemon 1.1.0-java → 1.2.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
+ === 1.2.0 (2010-12-7)
2
+ * Upgrade to slf4j ~> 1.6.1, logback ~> 1.0.0
3
+
1
4
  === 1.1.0 (2010-3-7)
2
- * Upgrade slf4j/logback dependencies
3
- * Set gem platform to java
5
+ * Upgrade slf4j/logback dependencies
6
+ * Set gem platform to java
4
7
 
5
8
  === 1.0.0 (2010-2-13)
6
- * Initial version
9
+ * Initial version
@@ -1,9 +1,9 @@
1
+ History.rdoc
1
2
  Manifest.txt
2
3
  README.rdoc
3
- History.rdoc
4
4
  Rakefile
5
- init/hashdot-test-daemon
6
5
  bin/hashdot-test-fg
6
+ init/hashdot-test-daemon
7
7
  lib/hashdot-test-daemon/base.rb
8
8
  lib/hashdot-test-daemon.rb
9
9
  test/test_daemon.rb
data/Rakefile CHANGED
@@ -1,19 +1,4 @@
1
1
  # -*- ruby -*-
2
- #--
3
- # Copyright (C) 2010 David Kellum
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License"); you
6
- # may not use this file except in compliance with the License. You
7
- # may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14
- # implied. See the License for the specific language governing
15
- # permissions and limitations under the License.
16
- #++
17
2
 
18
3
  $LOAD_PATH << './lib'
19
4
  require 'hashdot-test-daemon/base'
@@ -28,8 +13,8 @@ t = RJack::TarPit.new( 'hashdot-test-daemon',
28
13
 
29
14
  t.specify do |h|
30
15
  h.developer( "David Kellum", "dek-oss@gravitext.com" )
31
- h.extra_deps += [ [ 'rjack-slf4j', '~> 1.5.11' ],
32
- [ 'rjack-logback', '~> 0.9.18' ] ]
16
+ h.extra_deps += [ [ 'rjack-slf4j', '~> 1.6.1' ],
17
+ [ 'rjack-logback', '~> 1.0.0' ] ]
33
18
  end
34
19
 
35
20
  task :check_init_versions do
@@ -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.1.0" )
10
+ gem( "hashdot-test-daemon", "= 1.2.0" )
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) 2009-2010 David Kellum
2
+ # Copyright (c) 2010 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
@@ -26,8 +26,9 @@ module Hashdot
26
26
  # The mock service
27
27
  class Runner
28
28
  include RJack
29
+
29
30
  def initialize
30
- @log = SLF4J[self.class]
31
+ @log = SLF4J[ self.class ]
31
32
  @log.info "Initialized hashdot-daemon (VERSION = #{VERSION})"
32
33
  @log.info "SLF4J::VERSION = #{SLF4J::VERSION}"
33
34
  ShutdownHandler.register
@@ -52,7 +53,10 @@ module Hashdot
52
53
  class ShutdownHandler
53
54
  Thread = Java::java.lang.Thread
54
55
  Runtime = Java::java.lang.Runtime
56
+
55
57
  include Java::java.lang.Runnable
58
+ include RJack
59
+
56
60
  def run
57
61
  SLF4J[self.class].info "Shutting down (sleep 3)"
58
62
  sleep 3.0
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (C) 2009-2010 David Kellum
2
+ # Copyright (c) 2010 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.1.0"
19
+ VERSION = "1.2.0"
20
20
  end
21
21
  end
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
  #.hashdot.profile += jruby-shortlived
3
3
  #--
4
- # Copyright (C) 2010 David Kellum
4
+ # Copyright (c) 2010 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
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashdot-test-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 2
8
+ - 0
9
+ version: 1.2.0
5
10
  platform: java
6
11
  authors:
7
12
  - David Kellum
@@ -9,39 +14,51 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-07 00:00:00 -08:00
17
+ date: 2010-12-07 00:00:00 -08:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rjack-slf4j
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ~>
22
26
  - !ruby/object:Gem::Version
23
- version: 1.5.11
24
- version:
27
+ segments:
28
+ - 1
29
+ - 6
30
+ - 1
31
+ version: 1.6.1
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rjack-logback
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ~>
32
40
  - !ruby/object:Gem::Version
33
- version: 0.9.18
34
- version:
41
+ segments:
42
+ - 1
43
+ - 0
44
+ - 0
45
+ version: 1.0.0
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: rjack-tarpit
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - ~>
42
54
  - !ruby/object:Gem::Version
43
- version: 1.2.0
44
- version:
55
+ segments:
56
+ - 1
57
+ - 2
58
+ - 2
59
+ version: 1.2.2
60
+ type: :development
61
+ version_requirements: *id003
45
62
  description: Sample/test hashdot launched daemon packaged as gem.
46
63
  email:
47
64
  - dek-oss@gravitext.com
@@ -51,15 +68,15 @@ extensions: []
51
68
 
52
69
  extra_rdoc_files:
53
70
  - Manifest.txt
54
- - README.rdoc
55
71
  - History.rdoc
72
+ - README.rdoc
56
73
  files:
74
+ - History.rdoc
57
75
  - Manifest.txt
58
76
  - README.rdoc
59
- - History.rdoc
60
77
  - Rakefile
61
- - init/hashdot-test-daemon
62
78
  - bin/hashdot-test-fg
79
+ - init/hashdot-test-daemon
63
80
  - lib/hashdot-test-daemon/base.rb
64
81
  - lib/hashdot-test-daemon.rb
65
82
  - test/test_daemon.rb
@@ -77,18 +94,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
94
  requirements:
78
95
  - - ">="
79
96
  - !ruby/object:Gem::Version
97
+ segments:
98
+ - 0
80
99
  version: "0"
81
- version:
82
100
  required_rubygems_version: !ruby/object:Gem::Requirement
83
101
  requirements:
84
102
  - - ">="
85
103
  - !ruby/object:Gem::Version
104
+ segments:
105
+ - 0
86
106
  version: "0"
87
- version:
88
107
  requirements: []
89
108
 
90
109
  rubyforge_project: hashdot-test-daemon
91
- rubygems_version: 1.3.5
110
+ rubygems_version: 1.3.6
92
111
  signing_key:
93
112
  specification_version: 3
94
113
  summary: Sample/test hashdot launched daemon packaged as gem.