bootstrap_flash_messages 1.0.0 → 1.0.1
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 +4 -4
- data/README.md +2 -3
- data/bootstrap_flash_messages.gemspec +2 -2
- data/lib/bootstrap_flash_messages/version.rb +1 -1
- data/lib/bootstrap_flash_messages.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99d354423edda7b92c0373f7afead4e52d6a0c1f
|
|
4
|
+
data.tar.gz: 9b4917830db38f158efa1fa81bd4afa3237bbf62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7053e990444c0b8b4e863dd97fa464197d3df22252fc1fd4c2eba0c9b8f85ae9d7f99b5ef63a55ed3c12d117a86a7995a4101ef4bfcea6bc58b528c8e5ead913
|
|
7
|
+
data.tar.gz: 41f8457a361be9b66bd4f1af47ce09a172fc3f3b4fad8625b13345abdd1e439c4261ab7bb2c45816147901f9f01b16efa38a11e0a5866e82cd5aa0ddfef19f41
|
data/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# bootstrap_flash_messages
|
|
2
2
|
|
|
3
|
-
version 1.0.
|
|
3
|
+
version 1.0.1
|
|
4
4
|
Robin Brouwer
|
|
5
|
-
montblanc
|
|
6
5
|
|
|
7
6
|
Bootstrap alerts and Rails flash messages combined in one easy-to-use gem.
|
|
8
7
|
|
|
@@ -11,7 +10,7 @@ Bootstrap alerts and Rails flash messages combined in one easy-to-use gem.
|
|
|
11
10
|
|
|
12
11
|
You can use this gem by putting the following inside your Gemfile:
|
|
13
12
|
|
|
14
|
-
gem "bootstrap_flash_messages", "~> 1.0.
|
|
13
|
+
gem "bootstrap_flash_messages", "~> 1.0.1"
|
|
15
14
|
|
|
16
15
|
When you're using Bootstrap 2, you can use version 0.0.7.
|
|
17
16
|
|
|
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
s.version = BootstrapFlashMessages::VERSION
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.authors = ["Robin Brouwer"]
|
|
10
|
-
s.email = ["robin@
|
|
11
|
-
s.homepage = "http://www.
|
|
10
|
+
s.email = ["robin@sparkforce.nl"]
|
|
11
|
+
s.homepage = "http://www.sparkforce.nl"
|
|
12
12
|
s.summary = %q{Bootstrap alerts and Rails flash messages combined in one easy-to-use gem.}
|
|
13
13
|
s.description = %q{Bootstrap alerts and Rails flash messages combined in one easy-to-use gem.}
|
|
14
14
|
|
|
@@ -2,10 +2,10 @@ require 'bootstrap_flash_messages/helpers'
|
|
|
2
2
|
require 'bootstrap_flash_messages/flash_messages'
|
|
3
3
|
|
|
4
4
|
module BootstrapFlashMessages
|
|
5
|
-
|
|
5
|
+
ALERT_CLASS_MAPPING = Hash.new(:info).merge(:notice => :success, :success => :success, :warning => :warning, :error => :danger).freeze
|
|
6
6
|
|
|
7
7
|
def self.alert_class_mapping(key)
|
|
8
|
-
|
|
8
|
+
ALERT_CLASS_MAPPING[key.to_sym]
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def self.initialize
|
metadata
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap_flash_messages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robin Brouwer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Bootstrap alerts and Rails flash messages combined in one easy-to-use
|
|
14
14
|
gem.
|
|
15
15
|
email:
|
|
16
|
-
- robin@
|
|
16
|
+
- robin@sparkforce.nl
|
|
17
17
|
executables: []
|
|
18
18
|
extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
|
@@ -32,7 +32,7 @@ files:
|
|
|
32
32
|
- lib/generators/bootstrap_flash_messages/USAGE
|
|
33
33
|
- lib/generators/bootstrap_flash_messages/locale_generator.rb
|
|
34
34
|
- lib/generators/bootstrap_flash_messages/templates/flash.en.yml
|
|
35
|
-
homepage: http://www.
|
|
35
|
+
homepage: http://www.sparkforce.nl
|
|
36
36
|
licenses: []
|
|
37
37
|
metadata: {}
|
|
38
38
|
post_install_message:
|
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
version: '0'
|
|
52
52
|
requirements: []
|
|
53
53
|
rubyforge_project: nowarning
|
|
54
|
-
rubygems_version: 2.2.
|
|
54
|
+
rubygems_version: 2.2.2
|
|
55
55
|
signing_key:
|
|
56
56
|
specification_version: 4
|
|
57
57
|
summary: Bootstrap alerts and Rails flash messages combined in one easy-to-use gem.
|