jruby-rack 1.2.2 → 1.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da031dff9b1220f96f99161e8e8ab7d7685929ffd08ff8f762ba3fe27d85174b
4
- data.tar.gz: 712c41c72395dec83caaae6570904ed9710cb13ad13c58371dbae32d80ae345a
3
+ metadata.gz: '0784c07fb75554d0d6284cbbf836f067a17fed1fd0adcf7528b398fccc2ef6bd'
4
+ data.tar.gz: 19135cf85cc512e82202144d342e59c1f7fffed04aa2b37b22b9606a3d66d1a1
5
5
  SHA512:
6
- metadata.gz: 635e3cab8959729b8a4f5d872abeadb716d15dafa1d893ec38e622447ffc84e7617a84ba20889cb4fba3644a5676ec3b92080663db1e3f633abf39bcf9d6a76b
7
- data.tar.gz: 331a9ca17cbc1e079e9cf82408ddfd7c48980755fd08f760f6bb86dab522e049d523091016c3cedd4940575a08d10240923b53bc9dd9e6a0968c74c9a43e686e
6
+ metadata.gz: 380bdecc92e5c370e71750bfaeef2e9a8f2c17bc01ed51e52034be79a7797af549d5c970fd8d8e9c7b2394a2fd8f5633eb4f750179b2583131611ba3ac743b8d
7
+ data.tar.gz: dd8a92b129984b0502ae5d1909f72f213acaad1b8f6770a6f4f4acbd4bfe1e07fb22e34d2986b01fad950286f41d8185b5e18d849b220e9db3dc491d9815b8f9
data/History.md CHANGED
@@ -1,3 +1,63 @@
1
+ ## 1.2.3
2
+
3
+ - avoid warnings due usage of `File.exists?`
4
+ - Fix Rails 7.1 compatibility by ensuring active_support is required before railtie
5
+ - Workaround logger require issues with concurrent-ruby 1.3.5 and older Rails versions
6
+ - Workaround NameError frozen string literal issues with JRuby 9.3 and Rails 5.2/6.0
7
+ - Use non-public lookup to avoid classloader issues (#268)
8
+ - visibility changes to ensure they can be run on Java 17+ as well without using reflection hack
9
+ - Fix ERB deprecation warning
10
+ - Fix new loggers to avoid logging at multiple levels
11
+ - update (bundled) rack to 2.2.15
12
+ - Corrects Rack 2.x compatibility when used with modern Rails, and requires Rack 2.x going forward
13
+ - forward ports all 1.1.x fixes to the 1.2.x stream which were omitted in 1.2.2 release (#262)
14
+ - fixes regression NoMethodError undefined method get_header (#259)
15
+ - correct use of session store with Rails 7.0+ (#244)
16
+ - reinstate automated tests for Rails 5.0 - 7.2 (#271)
17
+
18
+ ## 1.2.2
19
+
20
+ First release of the 1.2.x branch.
21
+ - Requires Java 8 or later
22
+ - Requires Java Servlet API 3.0 or later
23
+ - Improved logger implementation
24
+ - Fixes broken multipart data (#247)
25
+ - update (bundled) rack to 2.2.9
26
+
27
+ ## 1.1.22
28
+
29
+ - compile using Java 6 source compat
30
+ - update (bundled) rack to 1.6.13
31
+ - avoid NativeException - not used on recent JRuby
32
+ - avoid Fixnum warning - assume recent JRuby
33
+ - Add error message to log when runtime error is handled (#213)
34
+
35
+ ## 1.1.21 (17/09/17)
36
+
37
+ - update (bundled) rack to 1.6.8
38
+ - add Rack::Handler::Servlet::DefaultEnv#get_header (#212)
39
+ missing methods to handle ActionController::Base#reset_session
40
+ - can only safely stream natively on ActionDispatch <= 3.2 (#210)
41
+ (broken Rails streaming for Rails 4.x)
42
+ - when handling OPTION calls ignore both 'Date' and 'Allow' headers (#205)
43
+
44
+ ## 1.1.20 (22/01/16)
45
+
46
+ - pre-maturely avoid Ruby frozen string literals coming at us ... ''.dup meh!
47
+ - allow to boot when RAILS_ROOT/public directory does not exist (closes #197)
48
+ - for better booter detection - export public path after working dir was changed
49
+ - `ActionController::Base` provides a method `servlet_response` to return the
50
+ `java.servlet_response` rack env (#201)
51
+ - adjust jruby home dir fallback (for default $LOAD_PATH) correctly on 9K and --2.0
52
+ - servlet env should behave on `fetch` and `[]` like a Hash (nil value can be set)
53
+
54
+ ## 1.1.19 (01/07/15)
55
+
56
+ - update (bundled) rack to 1.5.5
57
+ - servlet attrs with null/false values should not end up with an '' env value (#195)
58
+ - tune ErrorApp + ShowStatus to respect set 'rack.showstatus.detail' (#194)
59
+ - allow for more `JRuby::Rack::ErrorApp` customizations + retrieve cause when needed
60
+
1
61
  ## 1.1.18 (13/01/15)
2
62
 
3
63
  - back-port Rack::ShowStatus to be used with out ErrorApp (contains XSS fix #190)
@@ -182,7 +242,6 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
182
242
  - jruby runtime pooling for plain Rack applications (not just Rails)
183
243
 
184
244
  ## 1.1.7 (21/06/12)
185
- >>>>>>> 1.1-stable:History.md
186
245
 
187
246
  - support for delegating logs to java.util.logging (jruby.rack.logging: JUL)
188
247
  - 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-2014 Karol Bucek, LTD
4
+ # Copyright (c) 2012-2016 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,20 +6,23 @@ 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
9
+ **This README (master) targets JRuby-Rack 1.2. Please use the
10
10
  [1.1-stable](https://github.com/jruby/jruby-rack/tree/1.1-stable) branch for
11
11
  current stable 1.1.x releases.**
12
12
 
13
13
  [![Gem Version](https://badge.fury.io/rb/jruby-rack.png)][8]
14
- [![Build Status][9]](http://travis-ci.org/jruby/jruby-rack)
14
+ [![Build Status](https://github.com/jruby/jruby-rack/actions/workflows/maven.yml/badge.svg)][9]
15
15
 
16
16
  ## Compatibility
17
17
 
18
- JRuby-Rack 1.1.x aims to be compatible with JRuby >= 1.6.4 (we recommend 1.7.x),
19
- Generally, any container that supports Java Servlet >= 2.5 (JEE 5) is supported.
18
+ JRuby-Rack 1.2.x
19
+ - aims to be compatible with JRuby >= 9.3 and its supported JDK versions
20
+ - supports any container compatible with Java Servlet 3.0 API
21
+
22
+ JRuby-Rack 1.1.x
23
+ - aims to be compatible with JRuby >= 1.6.4 (used successfully through JRuby 9.4.x)
24
+ - supports any container compatible with Java Servlet 2.5 API (JEE 5)
20
25
 
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
26
 
24
27
  ## Getting Started
25
28
 
@@ -277,7 +280,7 @@ provided *config.ru* the bundled (latest) version of Rack will get loaded.
277
280
  Use **rack.version** to specify the Rack gem version to be loaded before rackup :
278
281
 
279
282
  # encoding: UTF-8
280
- # rack.version: ~>1.3.6 (before code is loaded gem '~>1.3.6' will be called)
283
+ # rack.version: ~>2.2.10 (before code is loaded gem '~>2.2.10' will be called)
281
284
 
282
285
  Or the equivalent of doing `bundle exec rackup ...` if you're using Bundler :
283
286
 
@@ -349,4 +352,4 @@ More information at the [wiki][5] or ask us at **#jruby**'s IRC channel.
349
352
  [4]: https://github.com/jruby/jruby-rack/issues
350
353
  [5]: https://wiki.github.com/jruby/jruby-rack
351
354
  [8]: http://badge.fury.io/rb/jruby-rack
352
- [9]: https://secure.travis-ci.org/jruby/jruby-rack.png?branch=master
355
+ [9]: https://github.com/jruby/jruby-rack/actions/workflows/maven.yml
@@ -1,4 +1,5 @@
1
1
  #--
2
+ # Copyright (c) 2012-2017 Karol Bucek, LTD.
2
3
  # Copyright (c) 2010-2012 Engine Yard, Inc.
3
4
  # Copyright (c) 2007-2009 Sun Microsystems, Inc.
4
5
  # This source code is available under the MIT license.
@@ -7,6 +8,6 @@
7
8
 
8
9
  module JRuby
9
10
  module Rack
10
- VERSION = '1.2.2'
11
+ VERSION = '1.2.3'
11
12
  end
12
13
  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.2.2.jar", __FILE__)
4
+ File.expand_path("../jruby-rack-1.2.3.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.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-10 00:00:00.000000000 Z
11
+ date: 2025-05-30 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.2.2.jar
24
+ - lib/jruby-rack-1.2.3.jar
25
25
  - lib/jruby-rack.rb
26
26
  - lib/jruby/rack/version.rb
27
27
  homepage: http://jruby.org
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubygems_version: 3.3.26
46
+ rubygems_version: 3.2.33
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Rack adapter for JRuby and Servlet Containers
Binary file