cacheable_flash 0.2.5 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,9 +1,10 @@
1
- source "http://rubygems.org"
1
+ #source "http://rubygems.org"
2
2
 
3
3
  gem "json"
4
4
 
5
5
  # Development dependencies (everything needed to run rake, tests, features, etc.)
6
6
  group :development, :test do
7
+ # The Dummy application for the specs is a Rails 3.1.3 app.
7
8
  gem "rails", "~> 3.1.3"
8
9
 
9
10
  # jquery-rails is used by the dummy application
@@ -12,10 +13,10 @@ group :development, :test do
12
13
  # To use debugger
13
14
  # gem 'ruby-debug19', :require => 'ruby-debug'
14
15
 
15
- gem "rspec-rails", "~> 2.8.0"
16
- gem "rdoc", "~> 3.12"
17
- gem "bundler", "~> 1.0.21"
18
- gem "jeweler", "~> 1.6.4"
19
- gem "reek", "~> 1.2.8"
20
- gem "roodi", "~> 2.1.0"
16
+ gem "rspec-rails", ">= 2.8.0"
17
+ gem "rdoc", ">= 3.12"
18
+ gem "bundler", ">= 1.0.21"
19
+ gem "jeweler", ">= 1.6.4"
20
+ gem "reek", ">= 1.2.8"
21
+ gem "roodi", ">= 2.1.0"
21
22
  end
data/Gemfile.lock CHANGED
@@ -1,5 +1,4 @@
1
1
  GEM
2
- remote: http://rubygems.org/
3
2
  specs:
4
3
  actionmailer (3.1.3)
5
4
  actionpack (= 3.1.3)
@@ -36,23 +35,24 @@ GEM
36
35
  git (1.2.5)
37
36
  hike (1.2.1)
38
37
  i18n (0.6.0)
39
- jeweler (1.6.4)
38
+ jeweler (1.8.3)
40
39
  bundler (~> 1.0)
41
40
  git (>= 1.2.5)
42
41
  rake
42
+ rdoc
43
43
  jquery-rails (1.0.19)
44
44
  railties (~> 3.0)
45
45
  thor (~> 0.14)
46
- json (1.6.5)
46
+ json (1.7.3)
47
47
  mail (2.3.0)
48
48
  i18n (>= 0.4.0)
49
49
  mime-types (~> 1.16)
50
50
  treetop (~> 1.4.8)
51
- mime-types (1.17.2)
52
- multi_json (1.1.0)
51
+ mime-types (1.19)
52
+ multi_json (1.3.6)
53
53
  polyglot (0.3.3)
54
54
  rack (1.3.6)
55
- rack-cache (1.1)
55
+ rack-cache (1.2)
56
56
  rack (>= 0.4)
57
57
  rack-mount (0.8.3)
58
58
  rack (>= 1.0.0)
@@ -78,31 +78,34 @@ GEM
78
78
  rake (0.9.2.2)
79
79
  rdoc (3.12)
80
80
  json (~> 1.4)
81
- reek (1.2.8)
82
- ruby2ruby (~> 1.2)
81
+ reek (1.2.12)
82
+ ripper_ruby_parser (~> 0.0.7)
83
+ ruby2ruby (~> 1.2.5)
83
84
  ruby_parser (~> 2.0)
84
85
  sexp_processor (~> 3.0)
86
+ ripper_ruby_parser (0.0.7)
87
+ sexp_processor (~> 3.0)
85
88
  roodi (2.1.0)
86
89
  ruby_parser
87
- rspec (2.8.0)
88
- rspec-core (~> 2.8.0)
89
- rspec-expectations (~> 2.8.0)
90
- rspec-mocks (~> 2.8.0)
91
- rspec-core (2.8.0)
92
- rspec-expectations (2.8.0)
93
- diff-lcs (~> 1.1.2)
94
- rspec-mocks (2.8.0)
95
- rspec-rails (2.8.1)
90
+ rspec (2.10.0)
91
+ rspec-core (~> 2.10.0)
92
+ rspec-expectations (~> 2.10.0)
93
+ rspec-mocks (~> 2.10.0)
94
+ rspec-core (2.10.1)
95
+ rspec-expectations (2.10.0)
96
+ diff-lcs (~> 1.1.3)
97
+ rspec-mocks (2.10.1)
98
+ rspec-rails (2.10.1)
96
99
  actionpack (>= 3.0)
97
100
  activesupport (>= 3.0)
98
101
  railties (>= 3.0)
99
- rspec (~> 2.8.0)
100
- ruby2ruby (1.3.1)
102
+ rspec (~> 2.10.0)
103
+ ruby2ruby (1.2.5)
101
104
  ruby_parser (~> 2.0)
102
105
  sexp_processor (~> 3.0)
103
106
  ruby_parser (2.3.1)
104
107
  sexp_processor (~> 3.0)
105
- sexp_processor (3.0.10)
108
+ sexp_processor (3.2.0)
106
109
  sprockets (2.0.3)
107
110
  hike (~> 1.2)
108
111
  rack (~> 1.0)
@@ -112,18 +115,18 @@ GEM
112
115
  treetop (1.4.10)
113
116
  polyglot
114
117
  polyglot (>= 0.3.1)
115
- tzinfo (0.3.31)
118
+ tzinfo (0.3.33)
116
119
 
117
120
  PLATFORMS
118
121
  ruby
119
122
 
120
123
  DEPENDENCIES
121
- bundler (~> 1.0.21)
122
- jeweler (~> 1.6.4)
124
+ bundler (>= 1.0.21)
125
+ jeweler (>= 1.6.4)
123
126
  jquery-rails
124
127
  json
125
128
  rails (~> 3.1.3)
126
- rdoc (~> 3.12)
127
- reek (~> 1.2.8)
128
- roodi (~> 2.1.0)
129
- rspec-rails (~> 2.8.0)
129
+ rdoc (>= 3.12)
130
+ reek (>= 1.2.8)
131
+ roodi (>= 2.1.0)
132
+ rspec-rails (>= 2.8.0)
data/README.rdoc CHANGED
@@ -43,7 +43,6 @@ The asset pipeline should have access to the assets in this gem via your app/ass
43
43
  == Mailing List
44
44
 
45
45
  http://groups.google.com/group/PivotalLabsOpenSource
46
- *This mailing list is for the original CacheableFlash, and may not be able to help with issues with this gem.
47
46
 
48
47
  == Bug/Feature Tracker
49
48
 
data/Rakefile CHANGED
@@ -23,10 +23,7 @@ Jeweler::Tasks.new do |gem|
23
23
  gem.license = "MIT"
24
24
  gem.summary = %Q{Render flash messages from a cookie using JavaScript, instead of in your Rails
25
25
  view template}
26
- gem.description = %Q{This plugin enables greater levels of page caching by rendering flash
27
- messages from a cookie using JavaScript, instead of in your Rails
28
- view template. Flash contents are converted to JSON and placed in
29
- a cookie by an after_filter in a controller.}
26
+ gem.description = %Q{Allows caching of pages with flash messages by rendering flash\nmessages from a cookie using JavaScript, instead of statically in your Rails\nview template. Flash contents are converted to JSON and placed in\na cookie by an after_filter in a controller.}
30
27
  gem.email = "peter.boling@gmail.com"
31
28
  gem.authors = ["Peter H. Boling","Brian Takita"]
32
29
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.7
@@ -1,5 +1,5 @@
1
- module CacheableFlash
2
- class ApplicationController < ActionController::Base
3
- include CacheableFlash
4
- end
5
- end
1
+ module CacheableFlash
2
+ class ApplicationController < ActionController::Base
3
+ include CacheableFlash
4
+ end
5
+ end
@@ -1,14 +1,14 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>CacheableFlash</title>
5
- <%= stylesheet_link_tag "cacheable_flash/application", :media => "all" %>
6
- <%= javascript_include_tag "cacheable_flash/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>CacheableFlash</title>
5
+ <%= stylesheet_link_tag "cacheable_flash/application", :media => "all" %>
6
+ <%= javascript_include_tag "cacheable_flash/application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "cacheable_flash"
8
- s.version = "0.2.5"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter H. Boling", "Brian Takita"]
12
- s.date = "2012-03-01"
13
- s.description = "This plugin enables greater levels of page caching by rendering flash\nmessages from a cookie using JavaScript, instead of in your Rails\nview template. Flash contents are converted to JSON and placed in\na cookie by an after_filter in a controller."
12
+ s.date = "2012-06-21"
13
+ s.description = "Allows caching of pages with flash messages by rendering flash\nmessages from a cookie using JavaScript, instead of statically in your Rails\nview template. Flash contents are converted to JSON and placed in\na cookie by an after_filter in a controller."
14
14
  s.email = "peter.boling@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
@@ -29,9 +29,9 @@ Gem::Specification.new do |s|
29
29
  "app/assets/images/cacheable_flash/.gitkeep",
30
30
  "app/assets/javascripts/cacheable_flash/application.js",
31
31
  "app/assets/stylesheets/cacheable_flash/application.css",
32
- "app/controllers/cacheable-flash/application_controller.rb",
32
+ "app/controllers/cacheable_flash/application_controller.rb",
33
33
  "app/helpers/cacheable_flash/application_helper.rb",
34
- "app/views/layouts/cacheable-flash/application.html.erb",
34
+ "app/views/layouts/cacheable_flash/application.html.erb",
35
35
  "cacheable_flash.gemspec",
36
36
  "config/routes.rb",
37
37
  "init.rb",
@@ -92,7 +92,7 @@ Gem::Specification.new do |s|
92
92
  s.homepage = "http://github.com/pivotal/cacheable-flash"
93
93
  s.licenses = ["MIT"]
94
94
  s.require_paths = ["lib"]
95
- s.rubygems_version = "1.8.10"
95
+ s.rubygems_version = "1.8.24"
96
96
  s.summary = "Render flash messages from a cookie using JavaScript, instead of in your Rails view template"
97
97
 
98
98
  if s.respond_to? :specification_version then
@@ -102,33 +102,33 @@ Gem::Specification.new do |s|
102
102
  s.add_runtime_dependency(%q<json>, [">= 0"])
103
103
  s.add_development_dependency(%q<rails>, ["~> 3.1.3"])
104
104
  s.add_development_dependency(%q<jquery-rails>, [">= 0"])
105
- s.add_development_dependency(%q<rspec-rails>, ["~> 2.8.0"])
106
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
107
- s.add_development_dependency(%q<bundler>, ["~> 1.0.21"])
108
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
109
- s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
110
- s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
105
+ s.add_development_dependency(%q<rspec-rails>, [">= 2.8.0"])
106
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
107
+ s.add_development_dependency(%q<bundler>, [">= 1.0.21"])
108
+ s.add_development_dependency(%q<jeweler>, [">= 1.6.4"])
109
+ s.add_development_dependency(%q<reek>, [">= 1.2.8"])
110
+ s.add_development_dependency(%q<roodi>, [">= 2.1.0"])
111
111
  else
112
112
  s.add_dependency(%q<json>, [">= 0"])
113
113
  s.add_dependency(%q<rails>, ["~> 3.1.3"])
114
114
  s.add_dependency(%q<jquery-rails>, [">= 0"])
115
- s.add_dependency(%q<rspec-rails>, ["~> 2.8.0"])
116
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
117
- s.add_dependency(%q<bundler>, ["~> 1.0.21"])
118
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
119
- s.add_dependency(%q<reek>, ["~> 1.2.8"])
120
- s.add_dependency(%q<roodi>, ["~> 2.1.0"])
115
+ s.add_dependency(%q<rspec-rails>, [">= 2.8.0"])
116
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
117
+ s.add_dependency(%q<bundler>, [">= 1.0.21"])
118
+ s.add_dependency(%q<jeweler>, [">= 1.6.4"])
119
+ s.add_dependency(%q<reek>, [">= 1.2.8"])
120
+ s.add_dependency(%q<roodi>, [">= 2.1.0"])
121
121
  end
122
122
  else
123
123
  s.add_dependency(%q<json>, [">= 0"])
124
124
  s.add_dependency(%q<rails>, ["~> 3.1.3"])
125
125
  s.add_dependency(%q<jquery-rails>, [">= 0"])
126
- s.add_dependency(%q<rspec-rails>, ["~> 2.8.0"])
127
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
128
- s.add_dependency(%q<bundler>, ["~> 1.0.21"])
129
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
130
- s.add_dependency(%q<reek>, ["~> 1.2.8"])
131
- s.add_dependency(%q<roodi>, ["~> 2.1.0"])
126
+ s.add_dependency(%q<rspec-rails>, [">= 2.8.0"])
127
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
128
+ s.add_dependency(%q<bundler>, [">= 1.0.21"])
129
+ s.add_dependency(%q<jeweler>, [">= 1.6.4"])
130
+ s.add_dependency(%q<reek>, [">= 1.2.8"])
131
+ s.add_dependency(%q<roodi>, [">= 2.1.0"])
132
132
  end
133
133
  end
134
134
 
@@ -1,44 +1,46 @@
1
- require 'json'
2
-
3
- module CacheableFlash
4
- if defined?(Rails) && ::Rails::VERSION::MAJOR == 3
5
- if ::Rails::VERSION::MINOR >= 1
6
- require "cacheable_flash/engine"
7
- require 'cacheable_flash/railtie'
8
- elsif ::Rails::VERSION::MINOR == 0
9
- require 'cacheable_flash/railtie'
10
- end
11
- else
12
- # For older rails use generator
13
- end
14
-
15
- def self.included(base)
16
- #base must define around_filter, as in Rails
17
- base.around_filter :write_flash_to_cookie
18
- end
19
-
20
- def write_flash_to_cookie
21
- yield if block_given?
22
- cookie_flash = if cookies['flash']
23
- begin
24
- JSON(cookies['flash'])
25
- rescue
26
- {}
27
- end
28
- else
29
- {}
30
- end
31
-
32
- flash.each do |key, value|
33
- if cookie_flash[key.to_s].blank?
34
- cookie_flash[key.to_s] = value.kind_of?(Numeric) ? value.to_s : value
35
- else
36
- cookie_flash[key.to_s] << "<br/>#{value}"
37
- end
38
- end
39
- # Base must define cookies, as in Rails
40
- cookies['flash'] = cookie_flash.to_json.gsub("+", "%2B")
41
- # Base must define flash, as in Rails
42
- flash.clear
43
- end
44
- end
1
+ require 'json'
2
+
3
+ module CacheableFlash
4
+ if defined?(Rails) && ::Rails::VERSION::MAJOR == 3
5
+ if ::Rails::VERSION::MINOR >= 1
6
+ require "cacheable_flash/engine"
7
+ require 'cacheable_flash/railtie'
8
+ elsif ::Rails::VERSION::MINOR == 0
9
+ require 'cacheable_flash/railtie'
10
+ end
11
+ else
12
+ # For older rails use generator
13
+ end
14
+
15
+ def self.included(base)
16
+ #base must define around_filter, as in Rails
17
+ base.around_filter :write_flash_to_cookie
18
+ end
19
+
20
+ def write_flash_to_cookie
21
+ yield if block_given?
22
+ cookie_flash = if cookies['flash']
23
+ begin
24
+ JSON(cookies['flash'])
25
+ rescue
26
+ {}
27
+ end
28
+ else
29
+ {}
30
+ end
31
+
32
+ flash.each do |key, value|
33
+ if cookie_flash[key.to_s].blank?
34
+ cookie_flash[key.to_s] = value.kind_of?(Numeric) ? value.to_s : value
35
+ else
36
+ cookie_flash[key.to_s] << "<br/>#{value}"
37
+ end
38
+ end
39
+ # Base must define cookies, as in Rails
40
+ cookies['flash'] = cookie_flash.to_json.gsub("+", "%2B")
41
+ # Base must define flash, as in Rails
42
+ # TODO: Does not support flash.now feature of the FlashHash in Rails,
43
+ # because flashes are only removed from cookies when they are used.
44
+ flash.clear
45
+ end
46
+ end
@@ -1,3 +1,3 @@
1
1
  module CacheableFlash
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cacheable_flash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-01 00:00:00.000000000Z
13
+ date: 2012-06-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
17
- requirement: &70298566592720 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70298566592720
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: rails
28
- requirement: &70298566592220 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ~>
@@ -33,10 +38,15 @@ dependencies:
33
38
  version: 3.1.3
34
39
  type: :development
35
40
  prerelease: false
36
- version_requirements: *70298566592220
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 3.1.3
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: jquery-rails
39
- requirement: &70298566591720 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ! '>='
@@ -44,76 +54,111 @@ dependencies:
44
54
  version: '0'
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *70298566591720
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: rspec-rails
50
- requirement: &70298566591220 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
- - - ~>
68
+ - - ! '>='
54
69
  - !ruby/object:Gem::Version
55
70
  version: 2.8.0
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *70298566591220
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: 2.8.0
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: rdoc
61
- requirement: &70298566590720 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
- - - ~>
84
+ - - ! '>='
65
85
  - !ruby/object:Gem::Version
66
86
  version: '3.12'
67
87
  type: :development
68
88
  prerelease: false
69
- version_requirements: *70298566590720
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '3.12'
70
95
  - !ruby/object:Gem::Dependency
71
96
  name: bundler
72
- requirement: &70298566590200 !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
73
98
  none: false
74
99
  requirements:
75
- - - ~>
100
+ - - ! '>='
76
101
  - !ruby/object:Gem::Version
77
102
  version: 1.0.21
78
103
  type: :development
79
104
  prerelease: false
80
- version_requirements: *70298566590200
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 1.0.21
81
111
  - !ruby/object:Gem::Dependency
82
112
  name: jeweler
83
- requirement: &70298566589580 !ruby/object:Gem::Requirement
113
+ requirement: !ruby/object:Gem::Requirement
84
114
  none: false
85
115
  requirements:
86
- - - ~>
116
+ - - ! '>='
87
117
  - !ruby/object:Gem::Version
88
118
  version: 1.6.4
89
119
  type: :development
90
120
  prerelease: false
91
- version_requirements: *70298566589580
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: 1.6.4
92
127
  - !ruby/object:Gem::Dependency
93
128
  name: reek
94
- requirement: &70298566588940 !ruby/object:Gem::Requirement
129
+ requirement: !ruby/object:Gem::Requirement
95
130
  none: false
96
131
  requirements:
97
- - - ~>
132
+ - - ! '>='
98
133
  - !ruby/object:Gem::Version
99
134
  version: 1.2.8
100
135
  type: :development
101
136
  prerelease: false
102
- version_requirements: *70298566588940
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 1.2.8
103
143
  - !ruby/object:Gem::Dependency
104
144
  name: roodi
105
- requirement: &70298566588320 !ruby/object:Gem::Requirement
145
+ requirement: !ruby/object:Gem::Requirement
106
146
  none: false
107
147
  requirements:
108
- - - ~>
148
+ - - ! '>='
109
149
  - !ruby/object:Gem::Version
110
150
  version: 2.1.0
111
151
  type: :development
112
152
  prerelease: false
113
- version_requirements: *70298566588320
114
- description: ! 'This plugin enables greater levels of page caching by rendering flash
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: 2.1.0
159
+ description: ! 'Allows caching of pages with flash messages by rendering flash
115
160
 
116
- messages from a cookie using JavaScript, instead of in your Rails
161
+ messages from a cookie using JavaScript, instead of statically in your Rails
117
162
 
118
163
  view template. Flash contents are converted to JSON and placed in
119
164
 
@@ -137,9 +182,9 @@ files:
137
182
  - app/assets/images/cacheable_flash/.gitkeep
138
183
  - app/assets/javascripts/cacheable_flash/application.js
139
184
  - app/assets/stylesheets/cacheable_flash/application.css
140
- - app/controllers/cacheable-flash/application_controller.rb
185
+ - app/controllers/cacheable_flash/application_controller.rb
141
186
  - app/helpers/cacheable_flash/application_helper.rb
142
- - app/views/layouts/cacheable-flash/application.html.erb
187
+ - app/views/layouts/cacheable_flash/application.html.erb
143
188
  - cacheable_flash.gemspec
144
189
  - config/routes.rb
145
190
  - init.rb
@@ -211,7 +256,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
256
  version: '0'
212
257
  segments:
213
258
  - 0
214
- hash: 4480446580812013099
259
+ hash: -2422206270089663668
215
260
  required_rubygems_version: !ruby/object:Gem::Requirement
216
261
  none: false
217
262
  requirements:
@@ -220,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
265
  version: '0'
221
266
  requirements: []
222
267
  rubyforge_project:
223
- rubygems_version: 1.8.10
268
+ rubygems_version: 1.8.24
224
269
  signing_key:
225
270
  specification_version: 3
226
271
  summary: Render flash messages from a cookie using JavaScript, instead of in your