flame-flash 3.0.1.rc3 → 3.0.1
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +0 -1
- data/lib/flame/flash/version.rb +1 -1
- data/lib/flame/flash.rb +4 -4
- metadata +15 -27
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9766e7fcda3d759a342b5181092c212c3cfbe45c1c61d2f00a64ff7c835a7d82
|
|
4
|
+
data.tar.gz: d617496f4b019cde435f426e69078b114dcddd3b92d3decb26400240865a6491
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 256389ced0095605f3d647d4faf224789b3d41f12587d358a950ef37a69cee6408681755dee9ca3210f91f5f613071b02ebd35d8bb917c182bb330c9a360a743
|
|
7
|
+
data.tar.gz: 2ed1069df899fc014597a2c130739196c161cdf45616bb52dfc06ff4c72059260c9475ac13cb817ac195b2e82c7324e037c85c7debf5597564ce8ece40cfb7fa
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 3.0.1 (2026-02-20)
|
|
6
|
+
|
|
7
|
+
* Drop Ruby 3.0 and 3.1 support.
|
|
8
|
+
* Add Ruby 4.0 support.
|
|
9
|
+
* Update runtime dependencies.
|
|
10
|
+
* Update development dependencies.
|
|
11
|
+
* Resolve new RuboCop offenses.
|
|
12
|
+
* Improve CI config.
|
|
13
|
+
|
|
5
14
|
## 3.0.1.rc3 (2025-01-05)
|
|
6
15
|
|
|
7
16
|
* Drop Ruby 2.6 and 2.7 support.
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://cirrus-ci.com/github/AlexWayfer/flame-flash)
|
|
4
4
|
[](https://codecov.io/gh/AlexWayfer/flame-flash)
|
|
5
|
-
[](https://codeclimate.com/github/AlexWayfer/flame-flash)
|
|
6
5
|

|
|
7
6
|
[](https://inch-ci.org/github/AlexWayfer/flame-flash)
|
|
8
7
|
[](https://rubygems.org/gems/flame-flash)
|
data/lib/flame/flash/version.rb
CHANGED
data/lib/flame/flash.rb
CHANGED
|
@@ -10,6 +10,8 @@ require_relative 'flash/flash_object'
|
|
|
10
10
|
module Flame
|
|
11
11
|
# Module for Flame::Flash extension with helper methods and base class
|
|
12
12
|
module Flash
|
|
13
|
+
RESERVED_FLASH_KEYS = %i[error warning notice].freeze
|
|
14
|
+
|
|
13
15
|
protected
|
|
14
16
|
|
|
15
17
|
## After hook
|
|
@@ -31,13 +33,13 @@ module Flame
|
|
|
31
33
|
## Upgrade view method
|
|
32
34
|
## @example Render view with error
|
|
33
35
|
## view :show, error: 'Access required'
|
|
34
|
-
def view(path = nil, options = {}, &
|
|
36
|
+
def view(path = nil, options = {}, &)
|
|
35
37
|
options, flashes = extract_flashes(options)
|
|
36
38
|
flash.now.merge flashes
|
|
37
39
|
super(
|
|
38
40
|
path || caller_locations(1, 1)[0].base_label.to_sym,
|
|
39
41
|
options,
|
|
40
|
-
&
|
|
42
|
+
&
|
|
41
43
|
)
|
|
42
44
|
end
|
|
43
45
|
|
|
@@ -56,8 +58,6 @@ module Flame
|
|
|
56
58
|
)
|
|
57
59
|
end
|
|
58
60
|
|
|
59
|
-
RESERVED_FLASH_KEYS = %i[error warning notice].freeze
|
|
60
|
-
|
|
61
61
|
using GorillaPatch::DeepDup
|
|
62
62
|
using GorillaPatch::Slice
|
|
63
63
|
|
metadata
CHANGED
|
@@ -1,54 +1,42 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flame-flash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.1
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Popov
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: flame
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
|
-
- - "
|
|
16
|
+
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 5.0
|
|
19
|
-
- - "<"
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
version: '6'
|
|
18
|
+
version: '5.0'
|
|
22
19
|
type: :runtime
|
|
23
20
|
prerelease: false
|
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
22
|
requirements:
|
|
26
|
-
- - "
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
version: 5.0.0.rc8
|
|
29
|
-
- - "<"
|
|
23
|
+
- - "~>"
|
|
30
24
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: '
|
|
25
|
+
version: '5.0'
|
|
32
26
|
- !ruby/object:Gem::Dependency
|
|
33
27
|
name: gorilla_patch
|
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
|
35
29
|
requirements:
|
|
36
|
-
- - "
|
|
30
|
+
- - "~>"
|
|
37
31
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '
|
|
39
|
-
- - "<"
|
|
40
|
-
- !ruby/object:Gem::Version
|
|
41
|
-
version: '6'
|
|
32
|
+
version: '6.0'
|
|
42
33
|
type: :runtime
|
|
43
34
|
prerelease: false
|
|
44
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
36
|
requirements:
|
|
46
|
-
- - "
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
version: '1'
|
|
49
|
-
- - "<"
|
|
37
|
+
- - "~>"
|
|
50
38
|
- !ruby/object:Gem::Version
|
|
51
|
-
version: '6'
|
|
39
|
+
version: '6.0'
|
|
52
40
|
description: 'Show messages (notifies, errors, warnings) in current or next routes
|
|
53
41
|
after redirect.
|
|
54
42
|
|
|
@@ -71,8 +59,8 @@ licenses:
|
|
|
71
59
|
- MIT
|
|
72
60
|
metadata:
|
|
73
61
|
bug_tracker_uri: https://github.com/AlexWayfer/flame-flash/issues
|
|
74
|
-
changelog_uri: https://github.com/AlexWayfer/flame-flash/blob/v3.0.1
|
|
75
|
-
documentation_uri: http://www.rubydoc.info/gems/flame-flash/3.0.1
|
|
62
|
+
changelog_uri: https://github.com/AlexWayfer/flame-flash/blob/v3.0.1/CHANGELOG.md
|
|
63
|
+
documentation_uri: http://www.rubydoc.info/gems/flame-flash/3.0.1
|
|
76
64
|
homepage_uri: https://github.com/AlexWayfer/flame-flash
|
|
77
65
|
rubygems_mfa_required: 'true'
|
|
78
66
|
source_code_uri: https://github.com/AlexWayfer/flame-flash
|
|
@@ -83,17 +71,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
83
71
|
requirements:
|
|
84
72
|
- - ">="
|
|
85
73
|
- !ruby/object:Gem::Version
|
|
86
|
-
version: '3.
|
|
74
|
+
version: '3.2'
|
|
87
75
|
- - "<"
|
|
88
76
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
77
|
+
version: '5'
|
|
90
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
79
|
requirements:
|
|
92
80
|
- - ">="
|
|
93
81
|
- !ruby/object:Gem::Version
|
|
94
82
|
version: '0'
|
|
95
83
|
requirements: []
|
|
96
|
-
rubygems_version:
|
|
84
|
+
rubygems_version: 4.0.3
|
|
97
85
|
specification_version: 4
|
|
98
86
|
summary: Flash plugin for Flame-framework
|
|
99
87
|
test_files: []
|