fishwife 1.5.1-java → 1.5.2-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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 55540d0800e12e66a73e1db44cedd1fb8866d542
4
+ data.tar.gz: 5a5614ab1993e5114a00527c3d469fe6ad8e2e71
5
+ SHA512:
6
+ metadata.gz: b836cb0ccf45f391e243dbaa5b44e0b6f14db5d777c2eb922372e3280f48909dc48e2d779f4cea3dd43bef2e6d9a807bf988ebe0961717db59b3e9fd9da0d8c3
7
+ data.tar.gz: 155e46a47914fe48d338613bc3f4868fda552f3620aa307423db610e155a9569e3427ee7718124e5b47c48cbc75d36f6f2aa62039b5178e1ec6d5a0a9233d3e0
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.5.2 (2013-12-6)
2
+ * Upgrade/broaden to rjack-jetty [9.0.0.5,9.2). This includes 9.1.0.0
3
+ (javax.servlet 3.1.0).
4
+
1
5
  === 1.5.1 (2013-5-7)
2
6
  * Override Rack::Server to disable the default inclusion of
3
7
  Rack::Chunked middleware with "development" or "deployment"
data/Manifest.txt CHANGED
@@ -17,4 +17,4 @@ spec/spec_helper.rb
17
17
  spec/test_app.rb
18
18
  spec/data/hello.txt
19
19
  spec/data/reddit-icon.png
20
- lib/fishwife/fishwife-1.5.1.jar
20
+ lib/fishwife/fishwife-1.5.2.jar
data/README.rdoc CHANGED
@@ -1,59 +1,54 @@
1
1
  = Fishwife
2
2
 
3
3
  * http://github.com/dekellum/fishwife
4
+ * Travis CI: {<img src="https://travis-ci.org/dekellum/fishwife.png" />}[https://travis-ci.org/dekellum/fishwife]
4
5
 
5
6
  == Description
6
7
 
7
- Researching fishing and salting process is supposed to increase the
8
- fishing jetties output. That is, jetties rack holds 9 fish, with
9
- Fishing (10%) and Salting Process (30%), their rack should hold 12
10
- fish.
8
+ A hard working threaded HTTP 1.1 Rack server for JRuby using
9
+ {Jetty}[http://www.eclipse.org/jetty/] 7.x or 9.x. Fishwife deploys
10
+ and operates like other Ruby HTTP servers/rack handlers such as
11
+ Mongrel or Puma. No Java legacy war files (e.g. warbler) required.
11
12
 
12
- They will go through the motion of placing more fish in the rack, but
13
- the program doesn't count more than 9. So, Fishing and Salting Process
14
- is a waste of research.
13
+ As compared to similar projects, most notably
14
+ {Mizuno}[https://github.com/matadon/mizuno]
15
+ from which it was originally forked, Fishwife offers the following
16
+ unique features:
15
17
 
16
- Note: One fishing jetty with one fish monger can feed 33% more people
17
- than one goat farm and one butcher.
18
+ * Depends on the {rjack-jetty}[http://rjack.rubyforge.org/jetty]
19
+ gem which closely tracks the upstream Jetty project, currently for
20
+ versions 7.x and 9.x. You can test and control the version of Jetty
21
+ you use, for example via Bundler, independent of the Fishwife release.
18
22
 
19
- -- {tomnobles}[http://www.civcityforums.com/index.php?topic=1672.20;wap2], 2009-10-23
23
+ * Fishwife may itself be embedded in your own custom server/launcher
24
+ where you have total control over JVM options like heap size, number
25
+ of threads, and other initialization/configuration details. For an
26
+ example, see:
27
+ {boxed-geminabox}[https://github.com/dekellum/boxed-geminabox#readme]
28
+ and notes in {#6}[https://github.com/dekellum/fishwife/issues/6].
20
29
 
21
- === Mizuno
22
-
23
- Fishwife is a fork of {Mizuno}[https://github.com/matadon/mizuno]
24
-
25
- Mizuno is a set of Jetty-powered running shoes for JRuby/Rack. It
26
- provides a handler for Jetty 7-9 on JRuby; multithreading,
27
- event-driven I/O, and async support.
28
-
29
- === Features
30
+ * Logging is unified across Jetty, Fishwife, and your application via
31
+ rjack-slf4j and on to any supported output adapter. (See Logging below)
30
32
 
31
- Mizuno also supports asynchronous request handling, via the Java
32
- Servlet 3.0 asynchronous processing mechanism
33
+ * Rack output streaming is optimized in a custom java extension.
33
34
 
34
- All the speed comes from Jetty; Mizuno just ties it to Rack through
35
- JRuby's Ruby/Java integration layer.
36
-
37
- Note that Mizuno is NOT a direct replacement for jruby-rack or
38
- Warbler, because it doesn't produce WAR files or make any attempt to
39
- package a Rack application for installation in a Java web container.
35
+ * Simple foreground server. Compatible with several real process
36
+ monitors (See Process Monitoring below)
40
37
 
41
38
  == Synopsis
42
39
 
43
- To use Fishwife with your Rack app:
40
+ To use Fishwife with your Rack app and config.ru:
44
41
 
45
42
  gem install fishwife
46
- cd /path/to/my/rack/app
47
43
 
44
+ cd /path/to/my/rack/app
48
45
  fishwife
49
46
 
50
47
  -or-
51
48
 
52
49
  rackup -s Fishwife
53
50
 
54
- You don't need to set up a Java web container for your Rack
55
- application to run under JRuby, because Mizuno works just like
56
- Mongrel, WEBRick, Thin, or any other standard Rack handler.
51
+ See included example/config.ru and the note below on logging.
57
52
 
58
53
  == Logging
59
54
 
@@ -65,7 +60,31 @@ be loaded. The fishwife script will load
65
60
  {rjack-logback}[http://rjack.rubyforge.org/logback/RJack/Logback.html]
66
61
  if found or otherwise fall back to `rjack-slf4j/simple`. If you are
67
62
  starting Fishwife through some other means than the fishwife script, you
68
- will need to load an output provider (see linked docs.)
63
+ will need to load an output provider (see linked docs and notes in
64
+ {#6}[https://github.com/dekellum/fishwife/issues/6]).
65
+
66
+ == Process Monitoring
67
+
68
+ We assume this isn't your only production ruby server and don't
69
+ include any one-off, half-baked process control and monitoring
70
+ features. Note that Unix-like fork(2) is not safe on the JVM and thus
71
+ from JRuby so its not practical to support a fishwife --daemon
72
+ flag. Fishwife simply logs to STDERR by default. Instead consider
73
+ using:
74
+
75
+ * {Bluepill}[https://github.com/arya/bluepill#readme] or God (MRI
76
+ Ruby) process monitors support self-forking of foreground processes,
77
+ for example `rackup` or `fishwife`.
78
+
79
+ * The {Iyyov}[https://github.com/dekellum/iyyov#readme] (JRuby)
80
+ process monitor supports self-daemonizing via the hashdot
81
+ launcher. Your app can also be packaged/updated as a gem if
82
+ desired. For an example see:
83
+ {boxed-geminabox}[https://github.com/dekellum/boxed-geminabox#readme].
84
+
85
+ All options also support redirecting log output (including any
86
+ JVM-level errors) to a file. Iyyov supports log rotation internally.
87
+ Unix-like logrotate(8) may be used with the former process monitors.
69
88
 
70
89
  == License
71
90
 
@@ -87,8 +106,9 @@ permissions and limitations under the License.
87
106
 
88
107
  Copyright (c) 2010-2011 Don Werve
89
108
 
90
- Mizuno is licensed under the Apache Public License, version 2.0; see
91
- the LICENSE file for details.
109
+ Licensed under the Apache Public License, version 2.0.
110
+
111
+ === Jetty
92
112
 
93
113
  Jetty is dual-licensed under the
94
114
  {Eclipse and Apache open-source licenses}[http://www.eclipse.org/jetty/licenses.php],
data/lib/fishwife/base.rb CHANGED
@@ -15,6 +15,6 @@
15
15
  #++
16
16
 
17
17
  module Fishwife
18
- VERSION = '1.5.1'
18
+ VERSION = '1.5.2'
19
19
  LIB_DIR = File.dirname( __FILE__ )
20
20
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
  <groupId>fishwife</groupId>
5
5
  <artifactId>fishwife</artifactId>
6
6
  <packaging>jar</packaging>
7
- <version>1.5.1</version>
7
+ <version>1.5.2</version>
8
8
  <name>Fishwife Java Extension</name>
9
9
 
10
10
  <properties>
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fishwife
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.5.1
4
+ version: 1.5.2
6
5
  platform: java
7
6
  authors:
8
7
  - David Kellum
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-08 00:00:00.000000000 Z
11
+ date: 2013-12-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rack
@@ -18,35 +17,31 @@ dependencies:
18
17
  - - ~>
19
18
  - !ruby/object:Gem::Version
20
19
  version: 1.5.2
21
- none: false
22
20
  requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: 1.5.2
27
- none: false
28
25
  prerelease: false
29
26
  type: :runtime
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rjack-jetty
32
29
  version_requirements: !ruby/object:Gem::Requirement
33
30
  requirements:
34
- - - ~>
35
- - !ruby/object:Gem::Version
36
- version: 9.0.0
37
- - - ! '>='
31
+ - - '>='
38
32
  - !ruby/object:Gem::Version
39
33
  version: 9.0.0.5
40
- none: false
34
+ - - <
35
+ - !ruby/object:Gem::Version
36
+ version: '9.2'
41
37
  requirement: !ruby/object:Gem::Requirement
42
38
  requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 9.0.0
46
- - - ! '>='
39
+ - - '>='
47
40
  - !ruby/object:Gem::Version
48
41
  version: 9.0.0.5
49
- none: false
42
+ - - <
43
+ - !ruby/object:Gem::Version
44
+ version: '9.2'
50
45
  prerelease: false
51
46
  type: :runtime
52
47
  - !ruby/object:Gem::Dependency
@@ -56,13 +51,11 @@ dependencies:
56
51
  - - ~>
57
52
  - !ruby/object:Gem::Version
58
53
  version: 1.7.2
59
- none: false
60
54
  requirement: !ruby/object:Gem::Requirement
61
55
  requirements:
62
56
  - - ~>
63
57
  - !ruby/object:Gem::Version
64
58
  version: 1.7.2
65
- none: false
66
59
  prerelease: false
67
60
  type: :runtime
68
61
  - !ruby/object:Gem::Dependency
@@ -72,13 +65,11 @@ dependencies:
72
65
  - - ~>
73
66
  - !ruby/object:Gem::Version
74
67
  version: 1.7.7
75
- none: false
76
68
  requirement: !ruby/object:Gem::Requirement
77
69
  requirements:
78
70
  - - ~>
79
71
  - !ruby/object:Gem::Version
80
72
  version: 1.7.7
81
- none: false
82
73
  prerelease: false
83
74
  type: :development
84
75
  - !ruby/object:Gem::Dependency
@@ -88,13 +79,11 @@ dependencies:
88
79
  - - ~>
89
80
  - !ruby/object:Gem::Version
90
81
  version: '1.5'
91
- none: false
92
82
  requirement: !ruby/object:Gem::Requirement
93
83
  requirements:
94
84
  - - ~>
95
85
  - !ruby/object:Gem::Version
96
86
  version: '1.5'
97
- none: false
98
87
  prerelease: false
99
88
  type: :development
100
89
  - !ruby/object:Gem::Dependency
@@ -104,13 +93,11 @@ dependencies:
104
93
  - - ~>
105
94
  - !ruby/object:Gem::Version
106
95
  version: 2.13.0
107
- none: false
108
96
  requirement: !ruby/object:Gem::Requirement
109
97
  requirements:
110
98
  - - ~>
111
99
  - !ruby/object:Gem::Version
112
100
  version: 2.13.0
113
- none: false
114
101
  prerelease: false
115
102
  type: :development
116
103
  - !ruby/object:Gem::Dependency
@@ -119,17 +106,15 @@ dependencies:
119
106
  requirements:
120
107
  - - ~>
121
108
  - !ruby/object:Gem::Version
122
- version: '2.0'
123
- none: false
109
+ version: '2.1'
124
110
  requirement: !ruby/object:Gem::Requirement
125
111
  requirements:
126
112
  - - ~>
127
113
  - !ruby/object:Gem::Version
128
- version: '2.0'
129
- none: false
114
+ version: '2.1'
130
115
  prerelease: false
131
116
  type: :development
132
- description: Researching fishing and salting process is supposed to increase the fishing jetties output. That is, jetties rack holds 9 fish, with Fishing (10%) and Salting Process (30%), their rack should hold 12 fish.
117
+ description: A hard working threaded HTTP 1.1 Rack server for JRuby using Jetty 7.x or 9.x. Fishwife deploys and operates like other Ruby HTTP servers/rack handlers such as Mongrel or Puma. No Java legacy war files (e.g. warbler) required.
133
118
  email:
134
119
  - dek-oss@gravitext.com
135
120
  executables:
@@ -158,9 +143,10 @@ files:
158
143
  - spec/test_app.rb
159
144
  - spec/data/hello.txt
160
145
  - spec/data/reddit-icon.png
161
- - lib/fishwife/fishwife-1.5.1.jar
146
+ - lib/fishwife/fishwife-1.5.2.jar
162
147
  homepage: http://github.com/dekellum/fishwife
163
148
  licenses: []
149
+ metadata: {}
164
150
  post_install_message:
165
151
  rdoc_options:
166
152
  - --main
@@ -169,27 +155,18 @@ require_paths:
169
155
  - lib
170
156
  required_ruby_version: !ruby/object:Gem::Requirement
171
157
  requirements:
172
- - - ! '>='
158
+ - - '>='
173
159
  - !ruby/object:Gem::Version
174
160
  version: '0'
175
- segments:
176
- - 0
177
- hash: 2
178
- none: false
179
161
  required_rubygems_version: !ruby/object:Gem::Requirement
180
162
  requirements:
181
- - - ! '>='
163
+ - - '>='
182
164
  - !ruby/object:Gem::Version
183
165
  version: '0'
184
- segments:
185
- - 0
186
- hash: 2
187
- none: false
188
166
  requirements: []
189
167
  rubyforge_project:
190
- rubygems_version: 1.8.24
168
+ rubygems_version: 2.1.9
191
169
  signing_key:
192
- specification_version: 3
170
+ specification_version: 4
193
171
  summary: A hard working Jetty 7 based rack handler.
194
172
  test_files: []
195
- ...