bootstrap_flash_messages 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: f366f23e74319dee69123d53e1986bf41f3b4031
4
- data.tar.gz: 10c2b230c89ec5ac9fdd4445dbbff9b6a2d98104
3
+ metadata.gz: 99d354423edda7b92c0373f7afead4e52d6a0c1f
4
+ data.tar.gz: 9b4917830db38f158efa1fa81bd4afa3237bbf62
5
5
  SHA512:
6
- metadata.gz: de4b83d0dd14725bd27aec9f33f1b6ed96cd51479443d8326c6708d57332c0817a049407179d721a373ba3213634aa574441c2eead426f4dcaec0c33223eb38b
7
- data.tar.gz: 130c9f96deb7ee5b3bf279d6ab9ebfb48494f0284cb60bf1b9b55cddc86b1887e4df03e59d0ebb32baff5e1a015f070c46c1ff9d22e3c82810f17e44b254009a
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.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.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@montblanc.nl"]
11
- s.homepage = "http://www.montblanc.nl"
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
 
@@ -1,3 +1,3 @@
1
1
  module BootstrapFlashMessages
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -2,10 +2,10 @@ require 'bootstrap_flash_messages/helpers'
2
2
  require 'bootstrap_flash_messages/flash_messages'
3
3
 
4
4
  module BootstrapFlashMessages
5
- @alert_class_mapping = { :notice => :success, :success => :success, :info => :info, :warning => :warning, :error => :danger }
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
- @alert_class_mapping[key.to_sym]
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.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: 2014-01-31 00:00:00.000000000 Z
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@montblanc.nl
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.montblanc.nl
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.1
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.