jruby-rack 1.2.6 → 1.2.7

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: 2159648060ce06f6471789289d994ed2ea0969262eeb0a05636366bd7e7054e6
4
- data.tar.gz: a2558622849c1b4ea62f4e31abdc215fcd2ada9d7861cb5d8a68b4055c967efe
3
+ metadata.gz: 24de58d357962944b8e2dd77cf34c3af33e5e5f93a68ebf4f75c86666795a9a1
4
+ data.tar.gz: 3e19c76e147b46be50552f6df538588e023ea1fb2556c964633c16320493e84b
5
5
  SHA512:
6
- metadata.gz: fc4875679123ec837aec8f0bc5637d482b19b3c3dcf18adb1fa944739f2d02c07c900d662ffb806b8055825efa829648fd261fc0540639be98afd5e56dd5a0c0
7
- data.tar.gz: 8ce86c189fdcb7f37b0f3e98fdff71cfceb534dae65d87077275d8c0bbac48b92748d80847d125d74c17d44455c7e17d7b46e3d4ac4032ab0ef4f817e5edc4ed
6
+ metadata.gz: 78c1c3a405e8858a390963ab7311a81ce31e3265936949b4900cd5d91b35f6b11f79b214ed46a7ce0951f9ae4f0492bfeef2379e1dedd48077038e943c70c2ba
7
+ data.tar.gz: e0462a4181218c7cbec0ffbb9d4dae3d0bf0fc0de80b8e971fa991056c281976afaa33a6ec873583d582b585a7dcfce8a7c79f2095d2cb445cf5598c13dbac8a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.2.7 (UNRELEASED)
2
+
3
+ - Ensure compatibility with JRuby 10.0 and 10.1 (#419, #423)
4
+ - Ensure compatibility with Rails 8.0 (#419)
5
+ - Fix ability to include and forward to JSPs under Rails (#370)
6
+ - Update (bundled) rack to 2.2.23 (#417)
7
+
1
8
  ## 1.2.6
2
9
 
3
10
  - Add missing block-only signature for debug logging
data/README.md CHANGED
@@ -13,11 +13,11 @@ For more information on Rack, visit http://rack.github.io/.
13
13
 
14
14
  ## Compatibility
15
15
 
16
- | JRuby-Rack Series | Status | Rack | JRuby | Java | Rails | Target Servlet API | Notes |
17
- |------------------------------------------------------------|------------|-----------|------------|------|-----------|---------------------|--------------------------------------------|
18
- | [1.2](https://github.com/jruby/jruby-rack/tree/1.2-stable) | Maintained | 2.2 | 9.3 → 9.4 | 8+ | 5.0 → 7.2 | 3.0 (Java EE 6) | Servlet 3.1 → 4.0 OK with some containers. |
19
- | [1.1](https://github.com/jruby/jruby-rack/tree/1.1-stable) | EOL | 1.x → 2.2 | 1.6 → 9.4 | 6+ | 2.1 → 5.2 | 2.5 (Java EE 5) | Servlet 3.0 → 4.0 OK with some containers. |
20
- | 1.0 | EOL | 0.9 → 1.x | 1.1 → 1.9 | 5+ | 2.1 → 3.x | 2.5 (Java EE 5) | |
16
+ | JRuby-Rack Series | Status | Rack | JRuby | Java | Rails | Target Servlet API | Notes |
17
+ |----------------------------------------------------------------|---------------|-----------|------------|------|-----------|--------------------|----------------------------------------------------------------|
18
+ | [**1.2**](https://github.com/jruby/jruby-rack/tree/1.2-stable) | Maintained | 2.2 | 9.3 → 10.1 | 8+ | 5.0 → 8.0 | 3.0 (Java EE 6) | ✅ _Unofficial_: Servlet 3.1 → 4.0 also OK with most containers |
19
+ | [**1.1**](https://github.com/jruby/jruby-rack/tree/1.1-stable) | EOL @ 2024-05 | 1.x → 2.2 | 1.6 → 9.4 | 6+ | 2.1 → 5.2 | 2.5 (Java EE 5) | ✅ _Unofficial_: Servlet 3.0 → 4.0 also OK with most containers |
20
+ | [**1.0**](https://github.com/jruby/jruby-rack/tree/1.0.10) | EOL @ 2011-11 | 0.9 → 1.x | 1.1 → 1.9 | 5+ | 2.1 → 3.x | 2.5 (Java EE 5) | |
21
21
 
22
22
  ## Getting Started
23
23
 
@@ -125,7 +125,7 @@ can embed it directly in the `web.xml` as follows (using Sinatra as an example):
125
125
  </context-param>
126
126
  ```
127
127
 
128
- Be sure to escape angle-brackets for XML !
128
+ Be sure to escape angle-brackets for XML!
129
129
 
130
130
 
131
131
  ## Servlet Filter
@@ -209,8 +209,6 @@ as context init parameters in web.xml or as VM-wide system properties.
209
209
  sub-path of the main servlet context root.
210
210
  - `gem.path`: Relative path to the bundled gem repository. Defaults to
211
211
  `/WEB-INF/gems`.
212
- - `jruby.compat.version`: Set to "1.8" or "1.9" to make JRuby run a specific
213
- version of Ruby (same as the --1.8 / --1.9 command line flags).
214
212
  - `jruby.min.runtimes`: For non-threadsafe Rails applications using a runtime
215
213
  pool, specify an integer minimum number of runtimes to hold in the pool.
216
214
  - `jruby.max.runtimes`: For non-threadsafe Rails applications, an integer
@@ -319,6 +317,9 @@ logging system, configure `jruby.rack.logging` as follows:
319
317
  For those loggers that require a specific named logger, set it with the
320
318
  `jruby.rack.logging.name` option, by default "jruby.rack" name will be used.
321
319
 
320
+ ## Examples
321
+
322
+ Some example demo applications are available at [./examples](./examples).
322
323
 
323
324
  ## Building
324
325
 
@@ -352,11 +353,17 @@ package and push the .jar every time a commit changes a source file).
352
353
 
353
354
  ## Releasing
354
355
 
356
+ Releasing must be done by users authorized to push to the `org.jruby` group ID on https://central.sonatype.org and to push the `jruby-rack` gem to https://rubygems.org.
357
+
355
358
  * Make sure auth is configured for "central" repository ID in your `.m2/settings.xml`
356
- * Update the version in `src/main/ruby/jruby/rack/version.rb` to the release version
357
- * `./mvnw release:prepare`
358
- * `./mvnw release:perform` (possibly with `-DuseReleaseProfile=false` due to Javadoc doclint failures for now)
359
+ * Update the versions in `pom.xml` and `src/main/ruby/jruby/rack/version.rb` to the release version
360
+ * Commit the version update locally
361
+ * Run `./mvnw deploy -Prelease` to build, sign, and push all artifacts to Maven Central staging
362
+ * Confirm the release completes publishing at `https://central.sonatype.org`
359
363
  * `rake clean gem SKIP_SPECS=true` and push the gem
364
+ * Tag the release version in git
365
+ * Update the versions again to the next dev version (`-SNAPSHOT` for the Maven artifact in `pom.xml` and `.SNAPSHOT` for the gem in `version.rb`)
366
+ * Push all commits and tags to GitHub
360
367
 
361
368
  ## Adding testing for new Rails versions
362
369
 
@@ -8,6 +8,6 @@
8
8
 
9
9
  module JRuby
10
10
  module Rack
11
- VERSION = '1.2.6'
11
+ VERSION = '1.2.7'
12
12
  end
13
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.6.jar", __FILE__)
4
+ File.expand_path("../jruby-rack-1.2.7.jar", __FILE__)
5
5
  end
6
6
  require jruby_rack_jar_path if defined?(JRUBY_VERSION)
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
@@ -9,7 +9,7 @@ authors:
9
9
  - JRuby contributors
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-10-15 00:00:00.000000000 Z
12
+ date: 2026-05-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet
15
15
  API to Rack. For JRuby only.
@@ -22,7 +22,7 @@ files:
22
22
  - CHANGELOG.md
23
23
  - LICENSE.txt
24
24
  - README.md
25
- - lib/jruby-rack-1.2.6.jar
25
+ - lib/jruby-rack-1.2.7.jar
26
26
  - lib/jruby-rack.rb
27
27
  - lib/jruby/rack/version.rb
28
28
  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.6.3
46
+ rubygems_version: 4.0.3
47
47
  specification_version: 4
48
48
  summary: Rack adapter for JRuby and Servlet Containers
49
49
  test_files: []
Binary file