jruby-rack 1.1.22 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b2e23d3f7b4edb117ef52f46e19dc6d715ac9b2d
4
- data.tar.gz: e2f0bf7e45f8d02e2f59ca620df40b6c3de75972
2
+ SHA256:
3
+ metadata.gz: 134a0e023105cb9e48ba4abd8c19b80641ea2be351de89152bc37cb79da25443
4
+ data.tar.gz: f68b392739da19a4d15651fd990dce9c0e5fbaf4f97ae11844b57a72ca5a134d
5
5
  SHA512:
6
- metadata.gz: 122497458678d930cd3d053ae27a00c9310f39571ffefa1fe272a896d381aaaa5cf7001f152e47f1395372efd520b663ff97a71e5ae69dc6c7f60ca7d32beecd
7
- data.tar.gz: d58fd78f73519d6b73dcfd743b0047554c497e09f901fd0d5f8375125cd178da9f98ab3195ba86e1a97f97fc6beb1c80af3af7b52fea988245051ca063da945b
6
+ metadata.gz: 4df03904efc76deeb79d855d2a500f22457b8b5ed721b145abf233fc8f5f3c955011d8b3a2d1e3df1a59ef93cb03e0a339e9f939ddcfc548384af89e894cf733
7
+ data.tar.gz: 8fac63b42eacac8f504472d71c1fbfd4ca4cf82207854b5b5619de75666b352323b08720557c95561ca65d297be149269c7ab55a0b0fdd1e7ae963677fb1ecae
data/History.md CHANGED
@@ -1,37 +1,3 @@
1
- ## 1.1.22
2
-
3
- - compile using Java 6 source compat
4
- - update (bundled) rack to 1.6.13
5
- - avoid NativeException - not used on recent JRuby
6
- - avoid Fixnum warning - assume recent JRuby
7
- - Add error message to log when runtime error is handled (#213)
8
-
9
- ## 1.1.21 (17/09/17)
10
-
11
- - update (bundled) rack to 1.6.8
12
- - add Rack::Handler::Servlet::DefaultEnv#get_header (#212)
13
- missing methods to handle ActionController::Base#reset_session
14
- - can only safely stream natively on ActionDispatch <= 3.2 (#210)
15
- (broken Rails streaming for Rails 4.x)
16
- - when handling OPTION calls ignore both 'Date' and 'Allow' headers (#205)
17
-
18
- ## 1.1.20 (22/01/16)
19
-
20
- - pre-maturely avoid Ruby frozen string literals coming at us ... ''.dup meh!
21
- - allow to boot when RAILS_ROOT/public directory does not exist (closes #197)
22
- - for better booter detection - export public path after working dir was changed
23
- - `ActionController::Base` provides a method `servlet_response` to return the
24
- `java.servlet_response` rack env (#201)
25
- - adjust jruby home dir fallback (for default $LOAD_PATH) correctly on 9K and --2.0
26
- - servlet env should behave on `fetch` and `[]` like a Hash (nil value can be set)
27
-
28
- ## 1.1.19 (01/07/15)
29
-
30
- - update (bundled) rack to 1.5.5
31
- - servlet attrs with null/false values should not end up with an '' env value (#195)
32
- - tune ErrorApp + ShowStatus to respect set 'rack.showstatus.detail' (#194)
33
- - allow for more `JRuby::Rack::ErrorApp` customizations + retrieve cause when needed
34
-
35
1
  ## 1.1.18 (13/01/15)
36
2
 
37
3
  - back-port Rack::ShowStatus to be used with out ErrorApp (contains XSS fix #190)
@@ -73,7 +39,7 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
73
39
  - a work-around for WAS (8.5) failing on `Dir.chdir` while booting (#170)
74
40
  - consider response unhandled when OPTIONS with "Allow" header set (#153)
75
41
  - improved handling for jruby.compat.version (should work with jruby-head)
76
- - start using de.saumya.mojo jruby plugins for mvn (relates to #108 as well)
42
+ - start using org.jruby.maven jruby plugins for mvn (relates to #108 as well)
77
43
  this allows us to work without a GEM_HOME/GEM_PATH (local ruby install)
78
44
  - use ruby-style methods for the servlet api (in our servlet_env handler)
79
45
 
@@ -216,6 +182,7 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
216
182
  - jruby runtime pooling for plain Rack applications (not just Rails)
217
183
 
218
184
  ## 1.1.7 (21/06/12)
185
+ >>>>>>> 1.1-stable:History.md
219
186
 
220
187
  - support for delegating logs to java.util.logging (jruby.rack.logging: JUL)
221
188
  - extend RackLogger with levels for better logging with underlying log impl
data/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # The MIT License
3
3
  #
4
- # Copyright (c) 2012-2016 Karol Bucek, LTD.
4
+ # Copyright (c) 2012-2014 Karol Bucek, LTD
5
5
  # Copyright (c) 2010-2012 Engine Yard, Inc.
6
6
  # Copyright (c) 2007-2009 Sun Microsystems, Inc.
7
7
  #
data/README.md CHANGED
@@ -6,6 +6,10 @@ JRuby-Rack supports Rails as well as any Rack-compatible Ruby web framework.
6
6
 
7
7
  For more information on Rack, visit http://rack.github.io/.
8
8
 
9
+ **This README (master) targets JRuby-Rack 1.2 (unreleased) please use the
10
+ [1.1-stable](https://github.com/jruby/jruby-rack/tree/1.1-stable) branch for
11
+ current stable 1.1.x releases.**
12
+
9
13
  [![Gem Version](https://badge.fury.io/rb/jruby-rack.png)][8]
10
14
  [![Build Status][9]](http://travis-ci.org/jruby/jruby-rack)
11
15
 
@@ -14,9 +18,13 @@ For more information on Rack, visit http://rack.github.io/.
14
18
  JRuby-Rack 1.1.x aims to be compatible with JRuby >= 1.6.4 (we recommend 1.7.x),
15
19
  Generally, any container that supports Java Servlet >= 2.5 (JEE 5) is supported.
16
20
 
21
+ JRuby-Rack 1.2.x is expected to officially support JRuby >= 1.7.10 and will be
22
+ compiled against the Java Servlet 3.0 API.
23
+
17
24
  ## Getting Started
18
25
 
19
26
  The most-common way to use JRuby-Rack with a Java server is to get [Warbler][1].
27
+
20
28
  Warbler depends on the latest version of JRuby-Rack and ensures it gets placed
21
29
  in your WAR file when it gets built.
22
30
 
@@ -134,8 +142,8 @@ using is `org.jruby.rack.RackFilter`, the filter supports the following
134
142
  only), by default "true"
135
143
  - **addsHtmlToPathInfo** controls whether the .html suffix is added to the URI
136
144
  when checking if the request is for a static page
137
- - **verifiesHtmlResource** used with the previous parameter to makee sure the
138
- requested static resource exist before adding the .html request URI suffix
145
+ - **verifiesHtmlResource** used with the previous parameter to make sure the
146
+ requested static resource exists before adding the .html request URI suffix
139
147
 
140
148
  The application can also be configured to dispatch through a servlet instead of
141
149
  a filter, the servlet class name is `org.jruby.rack.RackServlet`.
@@ -334,4 +342,4 @@ More information at the [wiki][5] or ask us at **#jruby**'s IRC channel.
334
342
  [4]: https://github.com/jruby/jruby-rack/issues
335
343
  [5]: https://wiki.github.com/jruby/jruby-rack
336
344
  [8]: http://badge.fury.io/rb/jruby-rack
337
- [9]: https://secure.travis-ci.org/jruby/jruby-rack.png?branch=1.1-stable
345
+ [9]: https://secure.travis-ci.org/jruby/jruby-rack.png?branch=master
@@ -1,5 +1,4 @@
1
1
  #--
2
- # Copyright (c) 2012-2017 Karol Bucek, LTD.
3
2
  # Copyright (c) 2010-2012 Engine Yard, Inc.
4
3
  # Copyright (c) 2007-2009 Sun Microsystems, Inc.
5
4
  # This source code is available under the MIT license.
@@ -8,6 +7,6 @@
8
7
 
9
8
  module JRuby
10
9
  module Rack
11
- VERSION = '1.1.22'
10
+ VERSION = '1.2.0'
12
11
  end
13
12
  end
Binary file
data/lib/jruby-rack.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  module JRubyJars
3
3
  def self.jruby_rack_jar_path
4
- File.expand_path("../jruby-rack-1.1.22.jar", __FILE__)
4
+ File.expand_path("../jruby-rack-1.2.0.jar", __FILE__)
5
5
  end
6
6
  require jruby_rack_jar_path if defined?(JRUBY_VERSION)
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.22
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-16 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet
14
14
  API to Rack. For JRuby only.
@@ -21,7 +21,7 @@ files:
21
21
  - History.md
22
22
  - LICENSE.txt
23
23
  - README.md
24
- - lib/jruby-rack-1.1.22.jar
24
+ - lib/jruby-rack-1.2.0.jar
25
25
  - lib/jruby-rack.rb
26
26
  - lib/jruby/rack/version.rb
27
27
  homepage: http://jruby.org
@@ -43,8 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubyforge_project:
47
- rubygems_version: 2.6.14.1
46
+ rubygems_version: 3.3.26
48
47
  signing_key:
49
48
  specification_version: 4
50
49
  summary: Rack adapter for JRuby and Servlet Containers
Binary file