hanami 2.0.1 → 2.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '099623ad9ce0088b28fc658340d85094d493f27e4320df725d4dfc062ee4939c'
|
4
|
+
data.tar.gz: 759492d76fb078f025d00e57d8c81cc5840ca769e5a20a0e50d20a0221c9a599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa25a5f37d22c1faf03906914f1c0a4f5d119ae39088df6878d75ef5c830b7be7632b2b633aa915619ff44990784016da4df666b5343b56166cb31a1f613a4ea
|
7
|
+
data.tar.gz: ff70c18b250591af4c2fbaf32532a7ca5cb00adbc17ab87a03e0bb0dddd0ca5a19a7440aa63d0abc9c1570d9784027a4981d2d097632852e7b69f150ebd56328
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
The web, with simplicity.
|
4
4
|
|
5
|
+
## v2.0.2 - 2022-12-25
|
6
|
+
|
7
|
+
### Added
|
8
|
+
|
9
|
+
- [Luca Guidi] Official support for Ruby 3.2
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- [Luca Guidi] Content Security Policy: remove deprecated `plugin-types`
|
14
|
+
|
5
15
|
## v2.0.1 - 2022-12-06
|
6
16
|
|
7
17
|
### Fixed
|
data/lib/hanami/version.rb
CHANGED
@@ -24,7 +24,6 @@ RSpec.describe Hanami::Config::Actions, "#content_security_policy" do
|
|
24
24
|
%(img-src 'self' https: data:),
|
25
25
|
%(media-src 'self'),
|
26
26
|
%(object-src 'none'),
|
27
|
-
%(plugin-types application/pdf),
|
28
27
|
%(script-src 'self'),
|
29
28
|
%(style-src 'self' 'unsafe-inline' https:)
|
30
29
|
].join(";")
|
@@ -62,10 +61,10 @@ RSpec.describe Hanami::Config::Actions, "#content_security_policy" do
|
|
62
61
|
end
|
63
62
|
|
64
63
|
it "nullifies value" do
|
65
|
-
content_security_policy[:
|
64
|
+
content_security_policy[:object_src] = nil
|
66
65
|
|
67
|
-
expect(content_security_policy[:
|
68
|
-
expect(content_security_policy.to_s).to match("
|
66
|
+
expect(content_security_policy[:object_src]).to be(nil)
|
67
|
+
expect(content_security_policy.to_s).to match("object-src ;")
|
69
68
|
end
|
70
69
|
|
71
70
|
it "deletes key" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -407,7 +407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
407
407
|
- !ruby/object:Gem::Version
|
408
408
|
version: '0'
|
409
409
|
requirements: []
|
410
|
-
rubygems_version: 3.
|
410
|
+
rubygems_version: 3.4.1
|
411
411
|
signing_key:
|
412
412
|
specification_version: 4
|
413
413
|
summary: The web, with simplicity
|