glow 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ require 'glow/filter'
2
2
  require 'action_controller/base'
3
3
 
4
4
  module Glow
5
- class Railtie < Rails::Engine
5
+ class Engine < Rails::Engine
6
6
  config.to_prepare do
7
7
  ::ActionController::Base.send :include, Glow::Filter
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Glow
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- glow (0.0.1)
4
+ glow (0.0.4)
5
5
  jquery-rails
6
- rails (~> 3.0.0)
6
+ rails (>= 3.0.0, < 3.2.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
@@ -2,4 +2,4 @@
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
4
  # Initialize the rails application
5
- Dummy::Application.initialize!
5
+ Rails3::Application.initialize!
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ Rails3::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # In the development environment your application's code is reloaded on
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ Rails3::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # Code is not reloaded between requests
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ Rails3::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # The test environment is used exclusively to run your application's
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '1c522dfa82933ac69d1c28e0a517688053de8e0c29b2004751bef88638e4e64482d17cb51e1b193df17b53f327151a9de9d283e3e5a1f7c15cb9a586f5b44b08'
7
+ Rails3::Application.config.secret_token = '1c522dfa82933ac69d1c28e0a517688053de8e0c29b2004751bef88638e4e64482d17cb51e1b193df17b53f327151a9de9d283e3e5a1f7c15cb9a586f5b44b08'
@@ -1,8 +1,8 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
3
+ Rails3::Application.config.session_store :cookie_store, key: '_dummy_session'
4
4
 
5
5
  # Use the database for sessions instead of the cookie-based default,
6
6
  # which shouldn't be used to store highly confidential information
7
7
  # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
8
+ # Rails3::Application.config.session_store :active_record_store
@@ -1109,3 +1109,41 @@ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.
1109
1109
  Processing by FlashController#ajax as JS
1110
1110
  Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
1111
1111
  Completed 200 OK in 3ms (Views: 2.3ms)
1112
+ Processing by FlashController#redirect as HTML
1113
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1114
+ Redirected to http://test.host/flash
1115
+ Completed 302 Found in 2ms
1116
+ Processing by FlashController#ajax as JS
1117
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1118
+ Completed 200 OK in 167ms (Views: 165.4ms)
1119
+ Processing by FlashController#ajax as JS
1120
+ Parameters: {"message"=>"utf8: ✓", "type"=>:notice}
1121
+ Completed 200 OK in 4ms (Views: 3.2ms)
1122
+
1123
+
1124
+ Started GET "/" for 127.0.0.1 at 2011-09-07 15:15:07 +0200
1125
+ Processing by FlashController#show as HTML
1126
+ Completed 200 OK in 105ms (Views: 104.2ms)
1127
+
1128
+
1129
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-07 15:15:09 +0200
1130
+ Processing by FlashController#redirect as HTML
1131
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
1132
+ Redirected to http://127.0.0.1:55372/flash
1133
+ Completed 302 Found in 2ms
1134
+
1135
+
1136
+ Started GET "/flash" for 127.0.0.1 at 2011-09-07 15:15:10 +0200
1137
+ Processing by FlashController#show as HTML
1138
+ Completed 200 OK in 6ms (Views: 5.8ms)
1139
+
1140
+
1141
+ Started GET "/" for 127.0.0.1 at 2011-09-07 15:15:26 +0200
1142
+ Processing by FlashController#show as HTML
1143
+ Completed 200 OK in 6ms (Views: 5.9ms)
1144
+
1145
+
1146
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-07 15:15:27 +0200
1147
+ Processing by FlashController#ajax as JS
1148
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
1149
+ Completed 200 OK in 3ms (Views: 2.2ms)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- glow (0.0.2)
4
+ glow (0.0.4)
5
5
  jquery-rails
6
6
  rails (>= 3.0.0, < 3.2.0)
7
7
 
@@ -149,3 +149,49 @@ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.
149
149
  Processing by FlashController#ajax as JS
150
150
  Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
151
151
  Completed 200 OK in 3ms (Views: 2.2ms)
152
+ Processing by FlashController#redirect as HTML
153
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
154
+ Redirected to http://test.host/flash
155
+ Completed 302 Found in 3ms
156
+ Processing by FlashController#ajax as JS
157
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
158
+ Completed 200 OK in 373ms (Views: 372.2ms)
159
+ Processing by FlashController#ajax as JS
160
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
161
+ Completed 200 OK in 3ms (Views: 2.4ms)
162
+
163
+
164
+ Started GET "/" for 127.0.0.1 at 2011-09-07 15:17:39 +0200
165
+ Processing by FlashController#show as HTML
166
+ Completed 200 OK in 75ms (Views: 73.9ms)
167
+
168
+
169
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-07 15:17:39 +0200
170
+ Served asset /application.js - 200 OK (261ms)
171
+
172
+
173
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-07 15:17:40 +0200
174
+ Served asset /application.css - 200 OK (21ms)
175
+
176
+
177
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-07 15:17:41 +0200
178
+ Processing by FlashController#redirect as HTML
179
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
180
+ Redirected to http://127.0.0.1:55459/flash
181
+ Completed 302 Found in 3ms
182
+
183
+
184
+ Started GET "/flash" for 127.0.0.1 at 2011-09-07 15:17:41 +0200
185
+ Processing by FlashController#show as HTML
186
+ Completed 200 OK in 7ms (Views: 7.2ms)
187
+
188
+
189
+ Started GET "/" for 127.0.0.1 at 2011-09-07 15:18:05 +0200
190
+ Processing by FlashController#show as HTML
191
+ Completed 200 OK in 7ms (Views: 6.5ms)
192
+
193
+
194
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-07 15:18:07 +0200
195
+ Processing by FlashController#ajax as JS
196
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
197
+ Completed 200 OK in 8ms (Views: 7.2ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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: 2011-09-02 00:00:00.000000000Z
13
+ date: 2011-09-07 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70187854670320 !ruby/object:Gem::Requirement
17
+ requirement: &70155687354460 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -25,10 +25,10 @@ dependencies:
25
25
  version: 3.2.0
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *70187854670320
28
+ version_requirements: *70155687354460
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: jquery-rails
31
- requirement: &70187854669420 !ruby/object:Gem::Requirement
31
+ requirement: &70155687353640 !ruby/object:Gem::Requirement
32
32
  none: false
33
33
  requirements:
34
34
  - - ! '>='
@@ -36,7 +36,7 @@ dependencies:
36
36
  version: '0'
37
37
  type: :runtime
38
38
  prerelease: false
39
- version_requirements: *70187854669420
39
+ version_requirements: *70155687353640
40
40
  description: ! ' Handles Flash messages in Javascript for Rails xhr-responses.
41
41
  Fires a dom event when flash messages are present.
42
42
 
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: 1190458416639592688
165
+ hash: -4442193786218431285
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  none: false
168
168
  requirements:
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: 1190458416639592688
174
+ hash: -4442193786218431285
175
175
  requirements: []
176
176
  rubyforge_project:
177
177
  rubygems_version: 1.8.9