glassfish 1.0.0-universal-java → 1.0.1-universal-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,13 @@
1
+ == 1.0.1
2
+
3
+ This is a quick update to 1.0.0.
4
+
5
+ 1. A critical issue was found where log was overwritten on every restart. The issue ticket is: 27553[http://rubyforge.org/tracker/?func=detail&atid=21080&aid=27553&group_id=5450].
6
+
7
+ 2. GlassFish has its own Rackup handler. Run your rackup script using <b>rackup</b> command
8
+ $ rackup -s Glassfish
9
+
10
+
1
11
  == 1.0.0
2
12
 
3
13
  This is 1.0.0 final release of GlassFish gem. This release is based on GlassFish v3 final release. See GlassFish project page[http://glassfish.dev.java.net].
@@ -17,7 +27,6 @@ This is 1.0.0 final release of GlassFish gem. This release is based on GlassFish
17
27
  use Rack::ShowExceptions
18
28
  map "/lobster" do
19
29
  use Rack::Lint
20
- run HelloWorld.new
21
30
  run Proc.new {[200, {"Content-Type" => "text/html"}, "Hello"]}
22
31
  end
23
32
  end
data/README.txt CHANGED
@@ -40,6 +40,14 @@ That's all you need to run your application.
40
40
 
41
41
  $glassfish -h
42
42
 
43
+ To run your rackup script
44
+
45
+ $ rackup -s Glassfish
46
+
47
+ or
48
+ $ glassfish
49
+
50
+
43
51
  ===Synopsis
44
52
 
45
53
  glassfish: GlassFish v3 server for Rack based frameworks such as: Rails,
@@ -89,7 +97,7 @@ That's all you need to run your application.
89
97
  current).
90
98
 
91
99
  For further configuration, run GlassFish rake command 'gfrake -T'
92
-
100
+
93
101
  ===Configuration
94
102
 
95
103
  $gfrake -T
Binary file
Binary file
@@ -0,0 +1,50 @@
1
+ #--
2
+ #DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
+ #
4
+ #Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
5
+ #
6
+ #The contents of this file are subject to the terms of either the GNU
7
+ #General Public License Version 2 only ("GPL") or the Common Development
8
+ #and Distribution License("CDDL") (collectively, the "License"). You
9
+ #may not use this file except in compliance with the License. You can obtain
10
+ #a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
11
+ #or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
12
+ #language governing permissions and limitations under the License.
13
+ #
14
+ #When distributing the software, include this License Header Notice in each
15
+ #file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
16
+ #Sun designates this particular file as subject to the "Classpath" exception
17
+ #as provided by Sun in the GPL Version 2 section of the License file that
18
+ #accompanied this code. If applicable, add the following below the License
19
+ #Header, with the fields enclosed by brackets [] replaced by your own
20
+ #identifying information: "Portions Copyrighted [year]
21
+ #[name of copyright owner]"
22
+ #
23
+ #Contributor(s):
24
+ #
25
+ #If you wish your version of this file to be governed by only the CDDL or
26
+ #only the GPL Version 2, indicate your decision by adding "[Contributor]
27
+ #elects to include this software in this distribution under the [CDDL or GPL
28
+ #Version 2] license." If you don't indicate a single choice of license, a
29
+ #recipient has the option to distribute your version of this file under
30
+ #either the CDDL, the GPL Version 2 or to extend the choice of license to
31
+ #its licensees as provided above. However, if you add GPL Version 2 code
32
+ #and therefore, elected the GPL Version 2 license, then the option applies
33
+ #only if the new code is made subject to such option by the copyright
34
+ #holder.
35
+ #++
36
+
37
+ require "glassfish"
38
+
39
+ module Rack
40
+ module Handler
41
+ class Glassfish
42
+ def self.run(app, options={})
43
+ GlassFish::Server.start(:address=>(options[:Host] || '0.0.0.0'),
44
+ :port=>(options[:Port] || 3000)) do
45
+ run app
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -35,6 +35,6 @@
35
35
  #++
36
36
 
37
37
  module GlassFish
38
- VERSION = "1.0.0"
38
+ VERSION = "1.0.1"
39
39
  FULLVERSION = "GlassFish gem version: #{VERSION}\nhttp://glassfishgem.rubyforge.org"
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glassfish
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: universal-java
6
6
  authors:
7
7
  - Vivek Pandey
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-10 00:00:00 -08:00
12
+ date: 2009-12-22 00:00:00 -08:00
13
13
  default_executable: glassfish
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -60,6 +60,7 @@ files:
60
60
  - lib/jruby/rack/sinatra.rb
61
61
  - lib/rack/adapter/merb.rb
62
62
  - lib/rack/adapter/rails.rb
63
+ - lib/rack/handler/glassfish.rb
63
64
  - lib/rack/handler/grizzly.rb
64
65
  - generators/gfrake/templates/glassfish.yml
65
66
  - README.txt