thunderclap 0.3.0 → 0.4.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: b864f2762b90fb969134671f4c53c66ed1a2549c506bc6dcb29603602ffecf07
4
- data.tar.gz: f8a0a93c185d9600f451e7dbe646c4ad04d0f0a2347f129e5ad7c16c69852aa4
3
+ metadata.gz: 9996754205e7580e652dd0622226851d5496cb2513523c971e664cf0fa5f8c48
4
+ data.tar.gz: cb9514b3288a2fbcbee147faf31c2fafcc4f70c3142663302eb17af5086e94c8
5
5
  SHA512:
6
- metadata.gz: 5104cebc661318de90552dbc24476885d423bca5a14bbe3c7049f4846d2993f47a810c31c700fc0fdb26a483b947ec802623150af9fab94b802b057c51aa72f9
7
- data.tar.gz: e702b4077d25b63587a253ed08b8a7b22b0d29ccf4b3aa8a7ebb5256c386a0e01f2433f924c7e854a9c63c50cb41c46c6b16face1d3d6abe9a0869f77d898dda
6
+ metadata.gz: 228c9fee9e1af3f9eabb562e0741e3e8e27d0ab31329bbc85da51f66007230f2bb7b7bbc16fa7a0ad64f899e3f36b3382c603d1a7f34317e396f8a9577f0eb86
7
+ data.tar.gz: 70f444d6a373a8416669611bacf8f326d4308cd7d58dc009e3ed6718e4fc0930c8d34eacd05fef0704944a56be036631e1d1d701a6fcdb74845b47b815657136
@@ -6,7 +6,7 @@ module ThunderclapHelper
6
6
  #
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
- def flash
9
+ def render_thunderclap(flash: nil)
10
10
  render 'thunderclap/partials/flash', flash_object: flash
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Thunderclap
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LuigiR0jas