flash_helper 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/flash_helper.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rubyforge'
6
6
 
7
7
  SPEC = Gem::Specification.new do |s|
8
8
  s.name = 'flash_helper'
9
- s.version = '1.0.2'
9
+ s.version = '1.0.3'
10
10
  s.authors = ['Nicolas Cavigneaux']
11
11
  s.email = 'nico@bounga.org'
12
12
  s.homepage = 'http://www.bitbucket.org/Bounga/flash-helper'
data/lib/flash_helper.rb CHANGED
@@ -49,7 +49,7 @@ module Bounga
49
49
  elsif flash[:errors]
50
50
  level = @@flash_options[:errors_class]
51
51
  if flash[:errors].instance_of? ActiveRecord::Errors
52
- flash_to_display = message
52
+ flash_to_display = message.dup
53
53
  flash_to_display << activerecord_error_list(flash[:errors])
54
54
  else
55
55
  flash_to_display = flash[:errors]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Cavigneaux
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-08 00:00:00 +01:00
12
+ date: 2008-12-10 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency