flash-message-conductor 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -31,6 +31,18 @@ Or install it yourself as:
31
31
  ```
32
32
  flash[:message] = 'foo'
33
33
  ```
34
+ **Flash methods Keep, discard, and now are also supported**
35
+
36
+ ```
37
+ add_message('foo', :state => :keep)
38
+ ```
39
+
40
+ **Is the equivalent of:**
41
+
42
+ ```
43
+ flash[:message] = 'foo'
44
+ flash.keep(:message)
45
+ ```
34
46
 
35
47
  **Rails Controller helpers included:**
36
48
 
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
+
20
+ gem.add_runtime_dependency "rails", '>= 3.0.0'
19
21
  end
@@ -1,2 +1,2 @@
1
1
  require "flash-message-conductor/version"
2
- require "flash-message-conductor/railtie" if defined?(Rails)
2
+ require "flash-message-conductor/railtie"
@@ -1,3 +1,3 @@
1
1
  module FlashMessageConductor
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash-message-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,8 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-30 00:00:00.000000000 Z
14
- dependencies: []
13
+ date: 2013-12-06 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 3.0.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 3.0.0
15
31
  description: A simple pattern for managing flash messages in your Ruby on Rails application
16
32
  email:
17
33
  - robbyrussell@planetargon.com
@@ -44,12 +60,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
44
60
  - - ! '>='
45
61
  - !ruby/object:Gem::Version
46
62
  version: '0'
63
+ segments:
64
+ - 0
65
+ hash: -3487179247708114597
47
66
  required_rubygems_version: !ruby/object:Gem::Requirement
48
67
  none: false
49
68
  requirements:
50
69
  - - ! '>='
51
70
  - !ruby/object:Gem::Version
52
71
  version: '0'
72
+ segments:
73
+ - 0
74
+ hash: -3487179247708114597
53
75
  requirements: []
54
76
  rubyforge_project:
55
77
  rubygems_version: 1.8.23