glassfish 0.9.4-universal-java → 0.9.5-universal-java

Sign up to get free protection for your applications and to get access to all the features.
data/bin/glassfish_rails CHANGED
@@ -1,2 +1,61 @@
1
- puts "\n'glassfish_rails' is discontinued, use 'glassfish' command instead.\n\nThis script will be removed in the next release.
2
- \n\n"
1
+ # == Synopsis
2
+ #
3
+ # glassfish: GlassFish v3 server for Rack based frameworks such as: Rails, Merb, Sinatra...
4
+ #
5
+ # == Usage:
6
+ #
7
+ # glassfish [OPTION] APPLICATION_PATH
8
+ #
9
+ # -h, --help::
10
+ # show help
11
+ #
12
+ # -c, --contextroot PATH::
13
+ # change the context root (default: '/')
14
+ #
15
+ # -p, --port PORT::
16
+ # change server port (default: 3000)
17
+ #
18
+ # -e, --environment ENV::
19
+ # change rails environment (default: development)
20
+ #
21
+ # -n --runtimes NUMBER::
22
+ # Number of JRuby runtimes to create initially
23
+ #
24
+ # --runtimes-min NUMBER::
25
+ # Minimum JRuby runtimes to create
26
+ #
27
+ # --runtimes-max NUMBER::
28
+ # Maximum number of JRuby runtimes to create
29
+ #
30
+ # -d, --daemon::
31
+ # Run GlassFish as daemon. Currently works with Linux and Solaris OS.
32
+ #
33
+ # -P, --pid FILE::
34
+ # PID file where PID will be written. Applicable when used with -d option. The default pid file is tmp/pids/glassfish-<PID>.pid
35
+ #
36
+ # -l, --log FILE::
37
+ # Log file, where the server log messages will go. By default the server logs go to log/development.log file. To see the logs on console run with -l option without any argument.
38
+ #
39
+ # --log-level LEVEL::
40
+ # Log level 0 to 7. 0:OFF, 1:SEVERE, 2:WARNING, 3:INFO (default), 4:FINE, 5:FINER, 6:FINEST, 7:ALL.
41
+ #
42
+ # --config FILE::
43
+ # Configuration file location. Use glassfish.yml as template. Generate it using 'gfrake config' command.
44
+ #
45
+ # APPLICATION_PATH (optional): Path to the application to be run (default: current).
46
+ #
47
+ # For further configuration, run GlassFish rake command 'gfrake -T'
48
+
49
+ require "java"
50
+ $LOAD_PATH << "#{File.dirname(__FILE__)}/../modules"
51
+ $LOAD_PATH << "#{File.dirname(__FILE__)}/../lib"
52
+
53
+ require 'command_line_parser'
54
+ require 'glassfish'
55
+
56
+ puts "\n'glassfish_rails' is deprecated, use 'glassfish' command instead.\nThis script will be removed in the next release.
57
+ \n\n"
58
+
59
+ options = GlassFish::CommandLineParser.new.parse
60
+ gf = GlassFish::Server.new
61
+ gf.startup(options)
@@ -4,4 +4,4 @@
4
4
  #directory was created by the different version of gem.
5
5
  #
6
6
  glassfish:
7
- version: 0.9.4
7
+ version: 0.9.5
data/lib/version.rb CHANGED
@@ -35,6 +35,6 @@
35
35
  #++
36
36
 
37
37
  module GlassFish
38
- VERSION = "0.9.4"
38
+ VERSION = "0.9.5"
39
39
  FULLVERSION = "GlassFish gem version: #{VERSION}\nhttp://glassfishgem.rubyforge.org"
40
40
  end
Binary file
metadata CHANGED
@@ -149,7 +149,7 @@ platform: universal-java
149
149
  test_files: []
150
150
 
151
151
  version: !ruby/object:Gem::Version
152
- version: 0.9.4
152
+ version: 0.9.5
153
153
  require_paths:
154
154
  - lib
155
155
  dependencies: