flash_rails_messages 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gemfiles/rails_5.2.gemfile.lock +1 -1
- data/gemfiles/rails_6.0.gemfile.lock +1 -1
- data/lib/flash_rails_messages/base.rb +2 -2
- data/lib/flash_rails_messages/version.rb +1 -1
- data/lib/generators/flash_rails_messages/templates/config/initializers/flash_rails_messages_bootstrap.rb +2 -2
- data/lib/generators/flash_rails_messages/templates/config/initializers/flash_rails_messages_foundation.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d34e51cefa9bf03973968aa55f0ec71f09d6a8ecc4af77de92b8951225e4fb7
|
4
|
+
data.tar.gz: 4ed93fa14bff5142a6793e34a70824d16281452c7873b632dd0b057b8d994246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 711cea756ca82aec6d54f63eb1f027b7b51d0d8aa2fa4735f1e7902afc0ff43eb351f9b7f3dc9181007bc293d6e9e9afd2f660bdea6c2e52605648bfbe67a6f2
|
7
|
+
data.tar.gz: dc7daa65ffbf606f1e8d774677c30c7d9239ce29d0b146ac82a595855767ee3fc2a94c1baa3a42dd7d3850f29b944471502bf61c88fdedec79cbe4912ae30d53
|
@@ -23,10 +23,10 @@ module FlashRailsMessages
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def alert_classes(type)
|
26
|
-
"#{
|
26
|
+
"#{default_alert_classes} #{alert_type_classes[type]} #{custom_alert_classes}".strip
|
27
27
|
end
|
28
28
|
|
29
|
-
def
|
29
|
+
def default_alert_classes
|
30
30
|
'alert'
|
31
31
|
end
|
32
32
|
|
@@ -16,7 +16,7 @@ module FlashRailsMessages
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
def
|
19
|
+
def default_alert_classes
|
20
20
|
'alert'
|
21
21
|
end
|
22
22
|
|
@@ -29,7 +29,7 @@ module FlashRailsMessages
|
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
32
|
+
def custom_alert_classes
|
33
33
|
'alert-dismissible'
|
34
34
|
end
|
35
35
|
end
|
@@ -15,7 +15,7 @@ module FlashRailsMessages
|
|
15
15
|
#end
|
16
16
|
#end
|
17
17
|
|
18
|
-
def
|
18
|
+
def default_alert_classes
|
19
19
|
'alert-box'
|
20
20
|
end
|
21
21
|
|
@@ -28,7 +28,7 @@ module FlashRailsMessages
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
-
#def
|
31
|
+
#def custom_alert_classes
|
32
32
|
#Add custom alert classes as a string
|
33
33
|
#end
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flash_rails_messages
|
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
|
- Alejandro Gutiérrez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|