flame-flash 3.0.1.rc1 → 3.0.1.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -1
- data/README.md +3 -3
- data/lib/flame/flash/flash_array.rb +2 -2
- data/lib/flame/flash/version.rb +1 -1
- data/lib/flame/flash.rb +2 -5
- metadata +16 -170
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6fb759db7bf47f3844a21ec94bbd21a7052df241bcf82fee385920417cd2a11
|
4
|
+
data.tar.gz: 6c64fab30af703cf0839f689842b24a56d99e06209cbf098c55df67e2298922b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1374a0c5a939d22455ec4719fdc6a02e8e4b9734bddeb3caf2ea257a5653544a333f93857ab3ea0120ea1a6da337eb9a1f66077677d0509184cfa29ce030e0f9
|
7
|
+
data.tar.gz: 5aed85f3c396f7ea3c409b4d9ba983962375ce213c01b6aab059fe83bd556edccf5a45fdbaecd829ea3e758f5caa49d2bf263a90f315a3c35fd8f672dbeeeebc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
3
|
+
## Unreleased
|
4
|
+
|
5
|
+
## 3.0.1.rc3 (2025-01-05)
|
6
|
+
|
7
|
+
* Drop Ruby 2.6 and 2.7 support.
|
8
|
+
* Add Ruby 3.2, 3.3 and 3.4 support.
|
9
|
+
* Lock Ruby version more strict
|
10
|
+
There can be breaking changes in minor updates.
|
11
|
+
* Update development dependencies.
|
12
|
+
* Resolve new RuboCop offenses.
|
13
|
+
* Move development dependencies from `gemspec` into `Gemfile`.
|
14
|
+
|
15
|
+
## 3.0.1.rc2 (2022-09-24)
|
16
|
+
|
17
|
+
* Drop Ruby 2.5 support.
|
18
|
+
* Add Ruby 3.1 support.
|
19
|
+
* Update dependencies, like Flame, Gorilla Patch, development ones.
|
20
|
+
* Update metadata in gemspec.
|
21
|
+
* Add `bundle-audit` CI task.
|
4
22
|
|
5
23
|
## 3.0.1.rc1 (2021-04-16)
|
6
24
|
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Flame Flash
|
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
|
-
[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/flame-flash/
|
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
5
|
[![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/flame-flash.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame-flash)
|
6
6
|
![Depfu](https://img.shields.io/depfu/AlexWayfer/flame-flash?style=flat-square)
|
7
|
-
[![Inline docs](https://inch-ci.org/github/AlexWayfer/flame-flash.svg?branch=
|
8
|
-
[![license](https://img.shields.io/github/license/AlexWayfer/flame-flash.svg?style=flat-square)](https://github.com/AlexWayfer/flame-flash/blob/master/LICENSE.txt)
|
7
|
+
[![Inline docs](https://inch-ci.org/github/AlexWayfer/flame-flash.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/flame-flash)
|
9
8
|
[![Gem](https://img.shields.io/gem/v/flame-flash.svg?style=flat-square)](https://rubygems.org/gems/flame-flash)
|
9
|
+
[![License](https://img.shields.io/github/license/AlexWayfer/flame-flash.svg?style=flat-square)](LICENSE.txt)
|
10
10
|
|
11
11
|
[Flashes](http://guides.rubyonrails.org/action_controller_overview.html#the-flash)
|
12
12
|
for [Flame](https://github.com/AlexWayfer/flame).
|
data/lib/flame/flash/version.rb
CHANGED
data/lib/flame/flash.rb
CHANGED
@@ -19,32 +19,29 @@ module Flame
|
|
19
19
|
end
|
20
20
|
|
21
21
|
## Upgrade redirect method
|
22
|
-
## TODO: write `@see`
|
23
22
|
## @example Redirect to show method of Articles controller with error
|
24
23
|
## redirect ArticlesController, :show, id: 2, error: 'Access required'
|
25
24
|
def redirect(*args)
|
26
25
|
args, flashes = extract_flashes_for_redirect(args)
|
27
26
|
flash.merge flashes
|
28
27
|
flash.next.concat(flash.now) ## for multiple redirects
|
29
|
-
super
|
28
|
+
super
|
30
29
|
end
|
31
30
|
|
32
31
|
## Upgrade view method
|
33
|
-
## TODO: write `@see`
|
34
32
|
## @example Render view with error
|
35
33
|
## view :show, error: 'Access required'
|
36
34
|
def view(path = nil, options = {}, &block)
|
37
35
|
options, flashes = extract_flashes(options)
|
38
36
|
flash.now.merge flashes
|
39
37
|
super(
|
40
|
-
path || caller_locations(1, 1)[0].
|
38
|
+
path || caller_locations(1, 1)[0].base_label.to_sym,
|
41
39
|
options,
|
42
40
|
&block
|
43
41
|
)
|
44
42
|
end
|
45
43
|
|
46
44
|
## Record flashes before halting
|
47
|
-
## TODO: write `@see`
|
48
45
|
def halt(*args)
|
49
46
|
record_flashes
|
50
47
|
super
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-05 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: flame
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.0.0.
|
18
|
+
version: 5.0.0.rc8
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: '6'
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 5.0.0.
|
28
|
+
version: 5.0.0.rc8
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: '6'
|
@@ -39,7 +38,7 @@ dependencies:
|
|
39
38
|
version: '1'
|
40
39
|
- - "<"
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
41
|
+
version: '6'
|
43
42
|
type: :runtime
|
44
43
|
prerelease: false
|
45
44
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,161 +48,7 @@ dependencies:
|
|
49
48
|
version: '1'
|
50
49
|
- - "<"
|
51
50
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: pry-byebug
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.9'
|
60
|
-
type: :development
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '3.9'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: bundler
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '2.0'
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '2.0'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: gem_toys
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 0.8.0
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 0.8.0
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: toys
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: 0.11.4
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: 0.11.4
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: codecov
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: 0.5.0
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.5.0
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: rack-test
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '1.0'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '1.0'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: rspec
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '3.9'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '3.9'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: simplecov
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: 0.21.2
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: 0.21.2
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: rubocop
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '1.4'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '1.4'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: rubocop-performance
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - "~>"
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: '1.0'
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - "~>"
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '1.0'
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: rubocop-rspec
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - "~>"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '2.0'
|
200
|
-
type: :development
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - "~>"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '2.0'
|
51
|
+
version: '6'
|
207
52
|
description: 'Show messages (notifies, errors, warnings) in current or next routes
|
208
53
|
after redirect.
|
209
54
|
|
@@ -225,10 +70,12 @@ homepage: https://github.com/AlexWayfer/flame-flash
|
|
225
70
|
licenses:
|
226
71
|
- MIT
|
227
72
|
metadata:
|
228
|
-
|
73
|
+
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
|
229
76
|
homepage_uri: https://github.com/AlexWayfer/flame-flash
|
230
|
-
|
231
|
-
|
77
|
+
rubygems_mfa_required: 'true'
|
78
|
+
source_code_uri: https://github.com/AlexWayfer/flame-flash
|
232
79
|
rdoc_options: []
|
233
80
|
require_paths:
|
234
81
|
- lib
|
@@ -236,18 +83,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
83
|
requirements:
|
237
84
|
- - ">="
|
238
85
|
- !ruby/object:Gem::Version
|
239
|
-
version: '
|
86
|
+
version: '3.0'
|
240
87
|
- - "<"
|
241
88
|
- !ruby/object:Gem::Version
|
242
|
-
version: '
|
89
|
+
version: '3.5'
|
243
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
91
|
requirements:
|
245
|
-
- - "
|
92
|
+
- - ">="
|
246
93
|
- !ruby/object:Gem::Version
|
247
|
-
version:
|
94
|
+
version: '0'
|
248
95
|
requirements: []
|
249
|
-
rubygems_version: 3.2
|
250
|
-
signing_key:
|
96
|
+
rubygems_version: 3.6.2
|
251
97
|
specification_version: 4
|
252
98
|
summary: Flash plugin for Flame-framework
|
253
99
|
test_files: []
|