formeze 4.0.0 → 4.1.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
2
  SHA256:
3
- metadata.gz: 966031b2657f2210d398a97d3c8dd6a1cc4e424e39972db1c3bad968cfe3bc8e
4
- data.tar.gz: 140936f1897241dc7ee598fd8e63296d3d7918879dd263d825e68299897e1a1f
3
+ metadata.gz: 797956c11fea269806464fd4a0ea221b74f0a54db569c5d73f3277737e7d6e27
4
+ data.tar.gz: b095c29110d1bed615009b469258eba3acb33930bd8d0a434658fc70daf7fd91
5
5
  SHA512:
6
- metadata.gz: '092df6a16316cd7fb65f997e3e25e65622a1e8e112a5da8db6c56ca4146dc4485502fcc1ed7b9cb6a34e452878e3a6151a7c3c7c47e759ef7fe6349d35f5c1e4'
7
- data.tar.gz: 0b4641a90d0d9e7e0cface189b699f12ebd60e94de2350a7dcbee537be6e22bd8b721587199ce3e24202ea5ccb8c1083438abd9bfa5d55538556825e08cbe0bc
6
+ metadata.gz: b02c13c677e38ab17d1db9557499d579431b7f33a72c3c3e0f49766bf4fa21daf04af7ff60f2740db92bbcb610e1b11792df90d55cd7a8e1776e3ad2efd6b785
7
+ data.tar.gz: 5cdb99967751d382b3e40ee8207c170494fed281c33ea779fa5fcc5b41a090514749f41d004c5bdeb8501e665124c888487cf75c36ab0851645e3c2a529a0458
data/CHANGES.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 4.1.0
2
+
3
+ * Fixed compatibility with rack 3+
4
+
5
+ # 4.0.1
6
+
7
+ * Fixed outdated changelog_uri
8
+
1
9
  # 4.0.0
2
10
 
3
11
  * Removed support for older rubies. **Required ruby version is now 2.4.0**
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2020 TIMCRAFT
1
+ Copyright (c) 2012-2024 TIMCRAFT
2
2
 
3
3
  This is an Open Source project licensed under the terms of the LGPLv3 license.
4
4
  Please see <http://www.gnu.org/licenses/lgpl-3.0.html> for license text.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # formeze
2
2
 
3
3
  ![Gem Version](https://badge.fury.io/rb/formeze.svg)
4
- ![Build Status](https://github.com/readysteady/formeze/workflows/Test/badge.svg)
4
+ ![Test Status](https://github.com/readysteady/formeze/actions/workflows/test.yml/badge.svg)
5
5
 
6
6
  Ruby gem for validating form data.
7
7
 
data/formeze.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'formeze'
3
- s.version = '4.0.0'
3
+ s.version = '4.1.0'
4
4
  s.license = 'LGPL-3.0'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Tim Craft']
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
15
15
  'homepage' => 'https://github.com/readysteady/formeze',
16
16
  'source_code_uri' => 'https://github.com/readysteady/formeze',
17
17
  'bug_tracker_uri' => 'https://github.com/readysteady/formeze/issues',
18
- 'changelog_uri' => 'https://github.com/readysteady/formeze/blob/master/CHANGES.md'
18
+ 'changelog_uri' => 'https://github.com/readysteady/formeze/blob/main/CHANGES.md'
19
19
  }
20
20
  end
data/lib/formeze.rb CHANGED
@@ -240,7 +240,9 @@ module Formeze
240
240
  end
241
241
 
242
242
  def stdinput
243
- @options[:request].body
243
+ @options[:request].body.tap do |body|
244
+ body.rewind if body.respond_to?(:rewind)
245
+ end
244
246
  end
245
247
  end
246
248
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formeze
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Craft
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-13 00:00:00.000000000 Z
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby gem for validating form data
14
14
  email:
@@ -29,7 +29,7 @@ metadata:
29
29
  homepage: https://github.com/readysteady/formeze
30
30
  source_code_uri: https://github.com/readysteady/formeze
31
31
  bug_tracker_uri: https://github.com/readysteady/formeze/issues
32
- changelog_uri: https://github.com/readysteady/formeze/blob/master/CHANGES.md
32
+ changelog_uri: https://github.com/readysteady/formeze/blob/main/CHANGES.md
33
33
  post_install_message:
34
34
  rdoc_options: []
35
35
  require_paths:
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  requirements: []
48
- rubygems_version: 3.1.2
48
+ rubygems_version: 3.4.10
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: See description