thunderclap 0.1.0 → 0.3.0

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: c7fa69f434eff8b2c135847df146e73d589fda329f7fed2798edec6387f52e54
4
- data.tar.gz: b33483ef186a9888a8da04e2473d9713d9b8e14f25b01dd4152a1f2236915b45
3
+ metadata.gz: b864f2762b90fb969134671f4c53c66ed1a2549c506bc6dcb29603602ffecf07
4
+ data.tar.gz: f8a0a93c185d9600f451e7dbe646c4ad04d0f0a2347f129e5ad7c16c69852aa4
5
5
  SHA512:
6
- metadata.gz: 7a282f4fac4a0fa2cfaafdee098f4e9f7fd2b9794d7c575630cb39f405e592d59b2de4369b31e87dd8f38b3cc96e3176dc8baad363c8f9066dd254051ac965b5
7
- data.tar.gz: d1f09f0e7e7f5677cb1723cc025a7bf52b746f0622bed283d7727d21b80d1a4eee821b146508f1b7f2a9b945fed4f2051f9261a50d3c9bd5cbcb3bbfaa9e1f30
6
+ metadata.gz: 5104cebc661318de90552dbc24476885d423bca5a14bbe3c7049f4846d2993f47a810c31c700fc0fdb26a483b947ec802623150af9fab94b802b057c51aa72f9
7
+ data.tar.gz: e702b4077d25b63587a253ed08b8a7b22b0d29ccf4b3aa8a7ebb5256c386a0e01f2433f924c7e854a9c63c50cb41c46c6b16face1d3d6abe9a0869f77d898dda
@@ -7,6 +7,6 @@ module ThunderclapHelper
7
7
  # @param auto_dismiss_delay [Integer] The delay in milliseconds before the flash message automatically dismisses.
8
8
  # @return [String] The rendered flash message.
9
9
  def flash
10
- render 'thunderclap/partials/flash'
10
+ render 'thunderclap/partials/flash', flash_object: flash
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  <ul>
2
- <% flash.each do |type, msg| %>
2
+ <% flash_object.each do |type, msg| %>
3
3
  <li>
4
4
  <div>
5
5
  <span>
@@ -1,3 +1,3 @@
1
1
  module Thunderclap
2
- VERSION = "0.1.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thunderclap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LuigiR0jas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-12 00:00:00.000000000 Z
12
+ date: 2024-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails