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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6fb759db7bf47f3844a21ec94bbd21a7052df241bcf82fee385920417cd2a11
4
- data.tar.gz: 6c64fab30af703cf0839f689842b24a56d99e06209cbf098c55df67e2298922b
3
+ metadata.gz: 9766e7fcda3d759a342b5181092c212c3cfbe45c1c61d2f00a64ff7c835a7d82
4
+ data.tar.gz: d617496f4b019cde435f426e69078b114dcddd3b92d3decb26400240865a6491
5
5
  SHA512:
6
- metadata.gz: 1374a0c5a939d22455ec4719fdc6a02e8e4b9734bddeb3caf2ea257a5653544a333f93857ab3ea0120ea1a6da337eb9a1f66077677d0509184cfa29ce030e0f9
7
- data.tar.gz: 5aed85f3c396f7ea3c409b4d9ba983962375ce213c01b6aab059fe83bd556edccf5a45fdbaecd829ea3e758f5caa49d2bf263a90f315a3c35fd8f672dbeeeebc
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
  [![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame-flash?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/flame-flash)
4
4
  [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame-flash/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/flame-flash)
5
- [![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/flame-flash.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame-flash)
6
5
  ![Depfu](https://img.shields.io/depfu/AlexWayfer/flame-flash?style=flat-square)
7
6
  [![Inline docs](https://inch-ci.org/github/AlexWayfer/flame-flash.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/flame-flash)
8
7
  [![Gem](https://img.shields.io/gem/v/flame-flash.svg?style=flat-square)](https://rubygems.org/gems/flame-flash)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Flame
4
4
  module Flash
5
- VERSION = '3.0.1.rc3'
5
+ VERSION = '3.0.1'
6
6
  end
7
7
  end
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 = {}, &block)
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
- &block
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.rc3
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: 2025-01-05 00:00:00.000000000 Z
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.0.rc8
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: '6'
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: '1'
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.rc3/CHANGELOG.md
75
- documentation_uri: http://www.rubydoc.info/gems/flame-flash/3.0.1.rc3
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.0'
74
+ version: '3.2'
87
75
  - - "<"
88
76
  - !ruby/object:Gem::Version
89
- version: '3.5'
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: 3.6.2
84
+ rubygems_version: 4.0.3
97
85
  specification_version: 4
98
86
  summary: Flash plugin for Flame-framework
99
87
  test_files: []