jruby-rack 1.0.8 → 1.0.9
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.
- data/README.md +16 -0
- data/lib/{jruby-rack-1.0.8.jar → jruby-rack-1.0.9.jar} +0 -0
- data/lib/jruby/rack/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -192,6 +192,15 @@ as context init parameters in web.xml or as VM-wide system properties.
|
|
192
192
|
- `jruby.rack.ignore.env`: Clears out the ENV hash in each runtime to
|
193
193
|
insulate the application from the environment.
|
194
194
|
|
195
|
+
## Initialization
|
196
|
+
|
197
|
+
There are often cases where you need to perform custom initialization
|
198
|
+
of the Ruby environment before booting the application. You can create
|
199
|
+
a file called `META-INF/init.rb` or `WEB-INF/init.rb` inside the war
|
200
|
+
file for this purpose. These files, if found, will be evaluated before
|
201
|
+
booting the Rack environment, allowing you to set environment
|
202
|
+
variables, load scripts, etc.
|
203
|
+
|
195
204
|
## Logging
|
196
205
|
|
197
206
|
JRuby-Rack sets up a delegate logger for Rails that sends logging
|
@@ -228,6 +237,13 @@ following two will suffice (but see the NOTE below).
|
|
228
237
|
|
229
238
|
The generated jar should be located here: target/jruby-rack-*.jar.
|
230
239
|
|
240
|
+
# Issues
|
241
|
+
|
242
|
+
Please use GitHub to file bugs, patches and pull requests.
|
243
|
+
|
244
|
+
- https://github.com/nicksieger/jruby-rack
|
245
|
+
- https://github.com/nicksieger/jruby-rack/issues
|
246
|
+
|
231
247
|
## Rails Step-by-step
|
232
248
|
|
233
249
|
This example shows how to create and deploy a simple Rails app using
|
Binary file
|
data/lib/jruby/rack/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: jruby-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Nick Sieger
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-05-24 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -27,7 +27,7 @@ files:
|
|
27
27
|
- History.txt
|
28
28
|
- LICENSE.txt
|
29
29
|
- README.md
|
30
|
-
- lib/jruby-rack-1.0.
|
30
|
+
- lib/jruby-rack-1.0.9.jar
|
31
31
|
- lib/jruby-rack.rb
|
32
32
|
- lib/jruby/rack/version.rb
|
33
33
|
has_rdoc: true
|