flash_notifier 1.0.1 → 1.0.2
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 +5 -5
- data/flash_notifier.gemspec +1 -1
- data/lib/flash_notifier/flash_helper.rb +1 -1
- data/lib/flash_notifier/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c9dac58ebe2fc82a573cd36d6fa27a80a3f6ea11
|
|
4
|
+
data.tar.gz: 4c3b4dd1ec0dcd7317f126743d174b95c9d88ae9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae377a6ac2cb3d3d7e89744efaba0f77f4e202af281ba4978407b5247995f019dac59936b5dc069f4873422a9566d0f4bbe3b2e52f5c6e691338f6eaaa86a9ee
|
|
7
|
+
data.tar.gz: 807afd3e23e1229eb73a6939461f14c485a5fc31a0ea0b360b5ccfcb34d9ce75588633c993f2d50e51a7e0ef5861f4e3cbf8a4fec1e26505e67773d3215d4dd3
|
data/flash_notifier.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ require "flash_notifier/version"
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "flash_notifier"
|
|
8
8
|
spec.version = FlashNotifier::VERSION
|
|
9
|
-
spec.authors = ["
|
|
9
|
+
spec.authors = ["Fakhir Shad", "Muaaz Rafi"]
|
|
10
10
|
spec.email = ["fakhir.shad@virtual-force.com","muaazrafi@gmail.com"]
|
|
11
11
|
spec.platform = Gem::Platform::RUBY
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ module FlashHelper
|
|
|
18
18
|
}
|
|
19
19
|
html = ''
|
|
20
20
|
flash.each do |type, message|
|
|
21
|
-
html += content_tag :div, class: "alert #{alert_klasses[type.to_sym] || type.to_s} alert-dismissible fade
|
|
21
|
+
html += content_tag :div, class: "alert #{alert_klasses[type.to_sym] || type.to_s} alert-dismissible fade show", role: 'alert' do
|
|
22
22
|
inner_html = link_to 'x', '#', class: 'close', data: {dismiss: 'alert'}, aria_label: 'close', title: 'close'
|
|
23
23
|
inner_html += content_tag :div, message, class: 'text'
|
|
24
24
|
inner_html.html_safe
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flash_notifier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Fakhir Shad
|
|
8
|
+
- Muaaz Rafi
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: exe
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
12
|
+
date: 2018-08-06 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: bundler
|
|
@@ -87,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
88
|
version: '0'
|
|
88
89
|
requirements: []
|
|
89
90
|
rubyforge_project:
|
|
90
|
-
rubygems_version: 2.
|
|
91
|
+
rubygems_version: 2.6.13
|
|
91
92
|
signing_key:
|
|
92
93
|
specification_version: 4
|
|
93
94
|
summary: Integrate Flash Messages with ease using Noty JS, Toastr JS or Bootstrap
|