jruby-rack 1.2.2 → 1.2.4

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: 1becdd6815173bccddf1fdb8ca6501876745258aba86eb0d18ceacab82e0482f
4
+ data.tar.gz: e55c77bc6c8a10b557380b61a06bc1b4d0f2000593915a2f26733f63f5927c68
5
5
  SHA512:
6
- metadata.gz: 635e3cab8959729b8a4f5d872abeadb716d15dafa1d893ec38e622447ffc84e7617a84ba20889cb4fba3644a5676ec3b92080663db1e3f633abf39bcf9d6a76b
7
- data.tar.gz: 331a9ca17cbc1e079e9cf82408ddfd7c48980755fd08f760f6bb86dab522e049d523091016c3cedd4940575a08d10240923b53bc9dd9e6a0968c74c9a43e686e
6
+ metadata.gz: 9a73d749573c629076cc5d85f43b22c4d6bded7a9048a560dcdc74caa700c07a2df9a450eac890e23e1b096a2ca5fb206989599b34d87cda5feb600e8a036be8
7
+ data.tar.gz: d04e67c0b239917dc0d41f50227bf5efe72f1d25ea4862828b7333815ec78f3fe4bb6d39b7c9f8f88b083e86d0cdbf209b6cd62a351c45ebc43d6749f2e9942d
data/History.md CHANGED
@@ -1,3 +1,68 @@
1
+ ## 1.2.4
2
+
3
+ - update (bundled) rack to 2.2.17
4
+ - Fix Rails 7.1 CSRF protection when working with `JavaServletStore` sessions
5
+
6
+ ## 1.2.3
7
+
8
+ - avoid warnings due to usage of `File.exists?`
9
+ - Fix Rails 7.1 compatibility by ensuring active_support is required before railtie
10
+ - Workaround logger require issues with concurrent-ruby 1.3.5 and older Rails versions
11
+ - Workaround NameError frozen string literal issues with JRuby 9.3 and Rails 5.2/6.0
12
+ - Use non-public lookup to avoid classloader issues (#268)
13
+ - visibility changes to ensure they can be run on Java 17+ as well without using reflection hack
14
+ - Fix ERB deprecation warning
15
+ - Fix new loggers to avoid logging at multiple levels
16
+ - update (bundled) rack to 2.2.15
17
+ - Corrects Rack 2.x compatibility when used with modern Rails, and requires Rack 2.x going forward
18
+ - forward ports all 1.1.x fixes to the 1.2.x stream which were omitted in 1.2.2 release (#262)
19
+ - fixes regression NoMethodError undefined method get_header (#259)
20
+ - correct use of session store with Rails 7.0+ (#244)
21
+ - reinstate automated tests for Rails 5.0 - 7.2 (#271)
22
+
23
+ ## 1.2.2
24
+
25
+ First release of the 1.2.x branch.
26
+ - Requires Java 8 or later
27
+ - Requires Java Servlet API 3.0 or later
28
+ - Improved logger implementation
29
+ - Fixes broken multipart data (#247)
30
+ - update (bundled) rack to 2.2.9
31
+
32
+ ## 1.1.22
33
+
34
+ - compile using Java 6 source compat
35
+ - update (bundled) rack to 1.6.13
36
+ - avoid NativeException - not used on recent JRuby
37
+ - avoid Fixnum warning - assume recent JRuby
38
+ - Add error message to log when runtime error is handled (#213)
39
+
40
+ ## 1.1.21 (17/09/17)
41
+
42
+ - update (bundled) rack to 1.6.8
43
+ - add Rack::Handler::Servlet::DefaultEnv#get_header (#212)
44
+ missing methods to handle ActionController::Base#reset_session
45
+ - can only safely stream natively on ActionDispatch <= 3.2 (#210)
46
+ (broken Rails streaming for Rails 4.x)
47
+ - when handling OPTION calls ignore both 'Date' and 'Allow' headers (#205)
48
+
49
+ ## 1.1.20 (22/01/16)
50
+
51
+ - pre-maturely avoid Ruby frozen string literals coming at us ... ''.dup meh!
52
+ - allow to boot when RAILS_ROOT/public directory does not exist (closes #197)
53
+ - for better booter detection - export public path after working dir was changed
54
+ - `ActionController::Base` provides a method `servlet_response` to return the
55
+ `java.servlet_response` rack env (#201)
56
+ - adjust jruby home dir fallback (for default $LOAD_PATH) correctly on 9K and --2.0
57
+ - servlet env should behave on `fetch` and `[]` like a Hash (nil value can be set)
58
+
59
+ ## 1.1.19 (01/07/15)
60
+
61
+ - update (bundled) rack to 1.5.5
62
+ - servlet attrs with null/false values should not end up with an '' env value (#195)
63
+ - tune ErrorApp + ShowStatus to respect set 'rack.showstatus.detail' (#194)
64
+ - allow for more `JRuby::Rack::ErrorApp` customizations + retrieve cause when needed
65
+
1
66
  ## 1.1.18 (13/01/15)
2
67
 
3
68
  - back-port Rack::ShowStatus to be used with out ErrorApp (contains XSS fix #190)
@@ -182,7 +247,6 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
182
247
  - jruby runtime pooling for plain Rack applications (not just Rails)
183
248
 
184
249
  ## 1.1.7 (21/06/12)
185
- >>>>>>> 1.1-stable:History.md
186
250
 
187
251
  - support for delegating logs to java.util.logging (jruby.rack.logging: JUL)
188
252
  - 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
 
@@ -332,7 +335,7 @@ package and push the .jar every time a commit changes a source file).
332
335
 
333
336
  ## Releasing
334
337
 
335
- * Make sure auth is configured for "ossrh" repository ID in your .m2/settings.xml
338
+ * Make sure auth is configured for "central" repository ID in your .m2/settings.xml
336
339
  * Update the version in src/main/ruby/jruby/rack/version.rb to the release version
337
340
  * mvn release:prepare
338
341
  * mvn release:perform (possibly with -DuseReleaseProfile=false due to Javadoc doclint failures for now)
@@ -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.4'
11
12
  end
12
13
  end
Binary file
data/lib/jruby-rack.rb CHANGED
@@ -1,8 +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.4.jar", __FILE__)
5
5
  end
6
6
  require jruby_rack_jar_path if defined?(JRUBY_VERSION)
7
7
  end
8
- require 'jruby/rack/version' # @deprecated to be removed in 1.2
metadata CHANGED
@@ -1,14 +1,13 @@
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-10 00:00:00.000000000 Z
10
+ date: 2025-08-08 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet
14
13
  API to Rack. For JRuby only.
@@ -21,14 +20,13 @@ files:
21
20
  - History.md
22
21
  - LICENSE.txt
23
22
  - README.md
24
- - lib/jruby-rack-1.2.2.jar
23
+ - lib/jruby-rack-1.2.4.jar
25
24
  - lib/jruby-rack.rb
26
25
  - lib/jruby/rack/version.rb
27
26
  homepage: http://jruby.org
28
27
  licenses:
29
28
  - MIT
30
29
  metadata: {}
31
- post_install_message:
32
30
  rdoc_options: []
33
31
  require_paths:
34
32
  - lib
@@ -43,8 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
41
  - !ruby/object:Gem::Version
44
42
  version: '0'
45
43
  requirements: []
46
- rubygems_version: 3.3.26
47
- signing_key:
44
+ rubygems_version: 3.6.3
48
45
  specification_version: 4
49
46
  summary: Rack adapter for JRuby and Servlet Containers
50
47
  test_files: []
Binary file