sinatra 3.0.1 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sinatra might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09b4ec1cb58e2e7dfa9dc645bd16f2f94a391912464b5b50d622586965742820'
4
- data.tar.gz: fc4b0427e02ba2455895f237e81c24c36b2e397ab5fbce9267346185aeaf0424
3
+ metadata.gz: 860a421d40a861cf3e72e70593f1f5efb8f62ab3437b2b33480f49760157a4b4
4
+ data.tar.gz: 1315cc471ba7015ceba615fefc85b71b798bf11e9b743df603759b9e9c7066d7
5
5
  SHA512:
6
- metadata.gz: 99bf716439cd1c81eaa7abcb65a524026251fe4e2d388bdf69229fc1024782573d6fba7de9f533243e411bb3daea00354fa73e8f1100a9e93ef2eaf207f06acf
7
- data.tar.gz: f897562768896052c1c781ea6b1ca499167f4b7bc4cfeab398a7244cdee265dab1d5e4a05dc4efa7f8f61a11656fa6d49550d448a4e37c3ffedb57b1b6e11375
6
+ metadata.gz: 82916e7a13f0a5ba10c5a39f771de44b1f40164ef6ba1c140907b5a6d17066632998721d9a5cc132b445fda5d10948b30ee071adc3f7dd4ab23f2fe46df420d7
7
+ data.tar.gz: 401077fd189ff1c79aa97d266b1f4e5ec14560a9ddd0ceb4f810815f340159b96a752523b7e79432d02d8aa92cc0a61c54c20eba58ab336b0f3a3c3409168617
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  * _Your new feature here._
4
4
 
5
+ ## 3.0.3 / 2022-11-11
6
+
7
+ * Fix: fixed ReDoS for Rack::Protection::IPSpoofing. [#1823](https://github.com/sinatra/sinatra/pull/1823) by @ooooooo-q
8
+
9
+ ## 3.0.2 / 2022-10-01
10
+
11
+ * New: Add Haml 6 support. [#1820](https://github.com/sinatra/sinatra/pull/1820) by Jordan Owens
12
+
5
13
  ## 3.0.1 / 2022-09-26
6
14
 
7
15
  * Fix: Revert removal of rack-protection.rb. [#1814](https://github.com/sinatra/sinatra/pull/1814) by Olle Jonsson
data/Gemfile CHANGED
@@ -15,9 +15,14 @@ gem 'rake'
15
15
 
16
16
  rack_version = ENV['rack'].to_s
17
17
  rack_version = nil if rack_version.empty? || (rack_version == 'stable')
18
- rack_version = { github: 'rack/rack' } if rack_version == 'main'
18
+ rack_version = { github: 'rack/rack' } if rack_version == 'latest'
19
19
  gem 'rack', rack_version
20
20
 
21
+ puma_version = ENV['puma'].to_s
22
+ puma_version = nil if puma_version.empty? || (puma_version == 'stable')
23
+ puma_version = { github: 'puma/puma' } if puma_version == 'latest'
24
+ gem 'puma', puma_version
25
+
21
26
  gem 'minitest', '~> 5.0'
22
27
  gem 'rack-test', github: 'rack/rack-test'
23
28
  gem 'rubocop', '~> 1.32.0', require: false
@@ -40,7 +45,6 @@ gem 'liquid'
40
45
  gem 'markaby'
41
46
  gem 'nokogiri', '> 1.5.0'
42
47
  gem 'pandoc-ruby', '~> 2.0.2'
43
- gem 'puma'
44
48
  gem 'rabl'
45
49
  gem 'rainbows', platforms: [:mri] # uses #fork
46
50
  gem 'rdiscount', platforms: [:ruby]
data/README.md CHANGED
@@ -938,7 +938,7 @@ __END__
938
938
 
939
939
  @@ layout
940
940
  %html
941
- = yield
941
+ != yield
942
942
 
943
943
  @@ index
944
944
  %div.title Hello world.
@@ -2903,4 +2903,4 @@ SemVerTag.
2903
2903
  * API documentation for the [latest release](http://www.rubydoc.info/gems/sinatra)
2904
2904
  or the [current HEAD](http://www.rubydoc.info/github/sinatra/sinatra) on
2905
2905
  [RubyDoc](http://www.rubydoc.info/)
2906
- * [CI server](https://travis-ci.org/sinatra/sinatra)
2906
+ * [CI Actions](https://github.com/sinatra/sinatra/actions)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.0.3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sinatra
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Mizerany
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-09-26 00:00:00.000000000 Z
14
+ date: 2022-11-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: mustermann
@@ -53,14 +53,14 @@ dependencies:
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 3.0.1
56
+ version: 3.0.3
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 3.0.1
63
+ version: 3.0.3
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: tilt
66
66
  requirement: !ruby/object:Gem::Requirement