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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d747619e5fa0998ec1356d97178021b63d05670216a8006c3c7ec1a34b85738
4
- data.tar.gz: 37e765cf3667110c1718ede76c72b6cf985bd7e46412068c435b72e7f8033e44
3
+ metadata.gz: 9d34e51cefa9bf03973968aa55f0ec71f09d6a8ecc4af77de92b8951225e4fb7
4
+ data.tar.gz: 4ed93fa14bff5142a6793e34a70824d16281452c7873b632dd0b057b8d994246
5
5
  SHA512:
6
- metadata.gz: b99f4ca241ded9ad5574b13136f085e83874e8b489151e31ff6221ebade58ddebad6a0d853bb3da43fd6e915363139fa5609377ab5c7977caff559f210f5c964
7
- data.tar.gz: f9c7b6ac914d7094dc072ef387617863ac32a59eb525f19dbf5210a511280349380892d98cc099c2b1a2abad1f6f18a49ee826f98eb7c3aca40da383432f75d4
6
+ metadata.gz: 711cea756ca82aec6d54f63eb1f027b7b51d0d8aa2fa4735f1e7902afc0ff43eb351f9b7f3dc9181007bc293d6e9e9afd2f660bdea6c2e52605648bfbe67a6f2
7
+ data.tar.gz: dc7daa65ffbf606f1e8d774677c30c7d9239ce29d0b146ac82a595855767ee3fc2a94c1baa3a42dd7d3850f29b944471502bf61c88fdedec79cbe4912ae30d53
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- flash_rails_messages (1.0.1)
4
+ flash_rails_messages (1.0.2)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- flash_rails_messages (1.0.1)
4
+ flash_rails_messages (1.0.2)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
@@ -23,10 +23,10 @@ module FlashRailsMessages
23
23
  end
24
24
 
25
25
  def alert_classes(type)
26
- "#{default_alert_class} #{alert_type_classes[type]} #{custom_alert_classes}".strip
26
+ "#{default_alert_classes} #{alert_type_classes[type]} #{custom_alert_classes}".strip
27
27
  end
28
28
 
29
- def default_alert_class
29
+ def default_alert_classes
30
30
  'alert'
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module FlashRailsMessages
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -16,7 +16,7 @@ module FlashRailsMessages
16
16
  end
17
17
  end
18
18
 
19
- def default_alert_class
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 custom_alert_class
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 default_alert_class
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 custom_alert_class
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.1
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-19 00:00:00.000000000 Z
11
+ date: 2019-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake