boxed-geminabox 1.0.b.0-java → 1.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,5 @@
1
+ === 1.0.0 (2012-9-2)
2
+ * Update/narrow to rjack-jetty ~> 7.6.5
3
+
1
4
  === 1.0.b.0 (2012-2-25)
2
5
  * Initial release
@@ -8,3 +8,4 @@ config/jobs.rb
8
8
  init/boxed-geminabox
9
9
  lib/boxed-geminabox/base.rb
10
10
  lib/boxed-geminabox.rb
11
+ test/test_server.rb
@@ -5,10 +5,10 @@
5
5
  == Description
6
6
 
7
7
  A complete, boxed, and ready to run
8
- geminabox[http://tomlea.co.uk/p/gem-in-a-box] deamon on
9
- fishwife[https://github.com/dekellum/fishwife#readme], jetty, jruby.
8
+ {geminabox}[http://tomlea.co.uk/p/gem-in-a-box] deamon on
9
+ {fishwife}[https://github.com/dekellum/fishwife#readme], jetty, jruby.
10
10
  Install via `gem`, then launch via command line or, with monitoring,
11
- via Iyyov[https://github.com/dekellum/iyyov#readme].
11
+ via {Iyyov}[https://github.com/dekellum/iyyov#readme].
12
12
 
13
13
  == License
14
14
 
@@ -23,7 +23,7 @@
23
23
  #++
24
24
 
25
25
  require 'rubygems'
26
- gem( 'boxed-geminabox', '= 1.0.b.0' )
26
+ gem( 'boxed-geminabox', '= 1.0.0' )
27
27
 
28
28
  module BinScript
29
29
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Boxed
18
18
  module Geminabox
19
- VERSION = '1.0.b.0'
19
+ VERSION = '1.0.0'
20
20
  LIB_DIR = File.dirname( __FILE__ )
21
21
  end
22
22
  end
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
4
+ #--
5
+ # Copyright (c) 2012 David Kellum
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
8
+ # may not use this file except in compliance with the License. You may
9
+ # obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
+ #++
19
+
20
+ require 'rubygems'
21
+ require 'bundler/setup'
22
+
23
+ require 'minitest/unit'
24
+ require 'minitest/autorun'
25
+
26
+ require 'rjack-logback'
27
+ RJack::Logback.config_console( :stderr => true )
28
+
29
+ require 'boxed-geminabox'
30
+
31
+ require 'net/http'
32
+
33
+ if ARGV.include?( '-v' ) || ARGV.include?( '--verbose' )
34
+ RJack::Logback.root.level = RJack::Logback::DEBUG
35
+ else
36
+ # Make test output logging compatible: no partial lines.
37
+ class TestOut
38
+ def print( *a ); $stdout.puts( *a ); end
39
+ def puts( *a ); $stdout.puts( *a ); end
40
+ end
41
+ MiniTest::Unit.output = TestOut.new
42
+ end
43
+
44
+ class TestServer < MiniTest::Unit::TestCase
45
+ include Boxed::Geminabox
46
+
47
+ def test_root
48
+ server = Server.new( :port => 0 )
49
+ server.start
50
+
51
+ res = Net::HTTP.start( 'localhost', server.port ) do |http|
52
+ http.get( '/' )
53
+ end
54
+ assert_instance_of( Net::HTTPOK, res )
55
+ ensure
56
+ if server
57
+ server.stop
58
+ server.join
59
+ end
60
+ end
61
+
62
+ end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxed-geminabox
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 4
5
- version: 1.0.b.0
4
+ prerelease:
5
+ version: 1.0.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-25 00:00:00 Z
13
+ date: 2012-09-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fishwife
@@ -24,61 +24,72 @@ dependencies:
24
24
  prerelease: false
25
25
  type: :runtime
26
26
  - !ruby/object:Gem::Dependency
27
- name: geminabox
27
+ name: rjack-jetty
28
28
  version_requirements: &id002 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.5.2
33
+ version: 7.6.5
34
34
  requirement: *id002
35
35
  prerelease: false
36
36
  type: :runtime
37
37
  - !ruby/object:Gem::Dependency
38
- name: hooker
38
+ name: geminabox
39
39
  version_requirements: &id003 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: 1.0.0
44
+ version: 0.5.2
45
45
  requirement: *id003
46
46
  prerelease: false
47
47
  type: :runtime
48
48
  - !ruby/object:Gem::Dependency
49
- name: rjack-logback
49
+ name: hooker
50
50
  version_requirements: &id004 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: "1.2"
55
+ version: 1.0.0
56
56
  requirement: *id004
57
57
  prerelease: false
58
58
  type: :runtime
59
59
  - !ruby/object:Gem::Dependency
60
- name: minitest
60
+ name: rjack-logback
61
61
  version_requirements: &id005 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
65
65
  - !ruby/object:Gem::Version
66
- version: 2.11.2
66
+ version: "1.2"
67
67
  requirement: *id005
68
68
  prerelease: false
69
+ type: :runtime
70
+ - !ruby/object:Gem::Dependency
71
+ name: minitest
72
+ version_requirements: &id006 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.11.2
78
+ requirement: *id006
79
+ prerelease: false
69
80
  type: :development
70
81
  - !ruby/object:Gem::Dependency
71
82
  name: rjack-tarpit
72
- version_requirements: &id006 !ruby/object:Gem::Requirement
83
+ version_requirements: &id007 !ruby/object:Gem::Requirement
73
84
  none: false
74
85
  requirements:
75
86
  - - ~>
76
87
  - !ruby/object:Gem::Version
77
88
  version: "2.0"
78
- requirement: *id006
89
+ requirement: *id007
79
90
  prerelease: false
80
91
  type: :development
81
- description: A complete, boxed, and ready to run geminabox deamon on fishwife[https://github.com/dekellum/fishwife#readme], jetty, jruby. Install via `gem`, then launch via command line or, with monitoring, via Iyyov[https://github.com/dekellum/iyyov#readme].
92
+ description: A complete, boxed, and ready to run geminabox deamon on fishwife, jetty, jruby. Install via `gem`, then launch via command line or, with monitoring, via Iyyov.
82
93
  email:
83
94
  - dek-oss@gravitext.com
84
95
  executables:
@@ -99,6 +110,7 @@ files:
99
110
  - init/boxed-geminabox
100
111
  - lib/boxed-geminabox/base.rb
101
112
  - lib/boxed-geminabox.rb
113
+ - test/test_server.rb
102
114
  homepage: http://github.com/dekellum/boxed-geminabox
103
115
  licenses: []
104
116
 
@@ -120,15 +132,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
132
  required_rubygems_version: !ruby/object:Gem::Requirement
121
133
  none: false
122
134
  requirements:
123
- - - ">"
135
+ - - ">="
124
136
  - !ruby/object:Gem::Version
125
- version: 1.3.1
137
+ hash: 2
138
+ segments:
139
+ - 0
140
+ version: "0"
126
141
  requirements: []
127
142
 
128
143
  rubyforge_project:
129
- rubygems_version: 1.8.15
144
+ rubygems_version: 1.8.24
130
145
  signing_key:
131
146
  specification_version: 3
132
- summary: A complete, boxed, and ready to run geminabox deamon on fishwife[https://github.com/dekellum/fishwife#readme], jetty, jruby.
147
+ summary: A complete, boxed, and ready to run geminabox deamon on fishwife, jetty, jruby.
133
148
  test_files: []
134
149