glow 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -21,3 +21,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
21
21
  end
22
22
 
23
23
  Bundler::GemHelper.install_tasks
24
+
25
+ task :compile do
26
+ sh 'coffee -co vendor/assets/javascripts src/glow.coffee'
27
+ end
@@ -1,5 +1,6 @@
1
1
  require 'glow/filter'
2
- require 'action_controller/base'
2
+ require 'rails/engine'
3
+ require 'action_controller'
3
4
 
4
5
  module Glow
5
6
  class Engine < Rails::Engine
@@ -1,5 +1,6 @@
1
1
  require 'glow/filter'
2
- require 'action_controller/base'
2
+ require 'rails/railtie'
3
+ require 'action_controller'
3
4
 
4
5
  module Glow
5
6
  class Railtie < Rails::Railtie
@@ -1,3 +1,3 @@
1
1
  module Glow
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1147,3 +1147,79 @@ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.
1147
1147
  Processing by FlashController#ajax as JS
1148
1148
  Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
1149
1149
  Completed 200 OK in 3ms (Views: 2.2ms)
1150
+ Processing by FlashController#redirect as HTML
1151
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1152
+ Redirected to http://test.host/flash
1153
+ Completed 302 Found in 2ms
1154
+ Processing by FlashController#ajax as JS
1155
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1156
+ Completed 200 OK in 190ms (Views: 171.9ms)
1157
+ Processing by FlashController#ajax as JS
1158
+ Parameters: {"message"=>"utf8: ✓", "type"=>:notice}
1159
+ Completed 200 OK in 3ms (Views: 2.2ms)
1160
+
1161
+
1162
+ Started GET "/" for 127.0.0.1 at 2011-09-19 12:05:08 +0200
1163
+ Processing by FlashController#show as HTML
1164
+ Completed 200 OK in 56ms (Views: 55.0ms)
1165
+
1166
+
1167
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-19 12:05:09 +0200
1168
+ Processing by FlashController#redirect as HTML
1169
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
1170
+ Redirected to http://127.0.0.1:60295/flash
1171
+ Completed 302 Found in 1ms
1172
+
1173
+
1174
+ Started GET "/flash" for 127.0.0.1 at 2011-09-19 12:05:09 +0200
1175
+ Processing by FlashController#show as HTML
1176
+ Completed 200 OK in 5ms (Views: 5.0ms)
1177
+
1178
+
1179
+ Started GET "/" for 127.0.0.1 at 2011-09-19 12:05:24 +0200
1180
+ Processing by FlashController#show as HTML
1181
+ Completed 200 OK in 7ms (Views: 6.4ms)
1182
+
1183
+
1184
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-19 12:05:25 +0200
1185
+ Processing by FlashController#ajax as JS
1186
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
1187
+ Completed 200 OK in 4ms (Views: 3.1ms)
1188
+ Processing by FlashController#redirect as HTML
1189
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1190
+ Redirected to http://test.host/flash
1191
+ Completed 302 Found in 3ms
1192
+ Processing by FlashController#ajax as JS
1193
+ Parameters: {"message"=>"Glow!", "type"=>:notice}
1194
+ Completed 200 OK in 186ms (Views: 185.1ms)
1195
+ Processing by FlashController#ajax as JS
1196
+ Parameters: {"message"=>"utf8: ✓", "type"=>:notice}
1197
+ Completed 200 OK in 3ms (Views: 2.3ms)
1198
+
1199
+
1200
+ Started GET "/" for 127.0.0.1 at 2011-09-19 13:40:12 +0200
1201
+ Processing by FlashController#show as HTML
1202
+ Completed 200 OK in 30ms (Views: 28.9ms)
1203
+
1204
+
1205
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-19 13:40:13 +0200
1206
+ Processing by FlashController#redirect as HTML
1207
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
1208
+ Redirected to http://127.0.0.1:60783/flash
1209
+ Completed 302 Found in 1ms
1210
+
1211
+
1212
+ Started GET "/flash" for 127.0.0.1 at 2011-09-19 13:40:13 +0200
1213
+ Processing by FlashController#show as HTML
1214
+ Completed 200 OK in 6ms (Views: 5.7ms)
1215
+
1216
+
1217
+ Started GET "/" for 127.0.0.1 at 2011-09-19 13:40:28 +0200
1218
+ Processing by FlashController#show as HTML
1219
+ Completed 200 OK in 6ms (Views: 6.0ms)
1220
+
1221
+
1222
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-19 13:40:28 +0200
1223
+ Processing by FlashController#ajax as JS
1224
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
1225
+ Completed 200 OK in 3ms (Views: 2.1ms)
@@ -195,3 +195,95 @@ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.
195
195
  Processing by FlashController#ajax as JS
196
196
  Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
197
197
  Completed 200 OK in 8ms (Views: 7.2ms)
198
+ Processing by FlashController#redirect as HTML
199
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
200
+ Redirected to http://test.host/flash
201
+ Completed 302 Found in 2ms
202
+ Processing by FlashController#ajax as JS
203
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
204
+ Completed 200 OK in 306ms (Views: 305.3ms)
205
+ Processing by FlashController#ajax as JS
206
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
207
+ Completed 200 OK in 3ms (Views: 2.2ms)
208
+
209
+
210
+ Started GET "/" for 127.0.0.1 at 2011-09-19 12:06:14 +0200
211
+ Processing by FlashController#show as HTML
212
+ Completed 200 OK in 39ms (Views: 37.9ms)
213
+
214
+
215
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-19 12:06:14 +0200
216
+ Served asset /application.css - 200 OK (21ms)
217
+
218
+
219
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-19 12:06:14 +0200
220
+ Served asset /application.js - 200 OK (69ms)
221
+
222
+
223
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-19 12:06:15 +0200
224
+ Processing by FlashController#redirect as HTML
225
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
226
+ Redirected to http://127.0.0.1:60384/flash
227
+ Completed 302 Found in 2ms
228
+
229
+
230
+ Started GET "/flash" for 127.0.0.1 at 2011-09-19 12:06:15 +0200
231
+ Processing by FlashController#show as HTML
232
+ Completed 200 OK in 35ms (Views: 35.2ms)
233
+
234
+
235
+ Started GET "/" for 127.0.0.1 at 2011-09-19 12:06:26 +0200
236
+ Processing by FlashController#show as HTML
237
+ Completed 200 OK in 6ms (Views: 6.1ms)
238
+
239
+
240
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-19 12:06:26 +0200
241
+ Processing by FlashController#ajax as JS
242
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
243
+ Completed 200 OK in 3ms (Views: 2.1ms)
244
+ Processing by FlashController#redirect as HTML
245
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
246
+ Redirected to http://test.host/flash
247
+ Completed 302 Found in 3ms
248
+ Processing by FlashController#ajax as JS
249
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
250
+ Completed 200 OK in 220ms (Views: 218.6ms)
251
+ Processing by FlashController#ajax as JS
252
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
253
+ Completed 200 OK in 3ms (Views: 2.2ms)
254
+
255
+
256
+ Started GET "/" for 127.0.0.1 at 2011-09-19 13:42:27 +0200
257
+ Processing by FlashController#show as HTML
258
+ Completed 200 OK in 50ms (Views: 49.0ms)
259
+
260
+
261
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-19 13:42:27 +0200
262
+ Served asset /application.js - 200 OK (111ms)
263
+
264
+
265
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-19 13:42:27 +0200
266
+ Served asset /application.css - 200 OK (28ms)
267
+
268
+
269
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-19 13:42:28 +0200
270
+ Processing by FlashController#redirect as HTML
271
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
272
+ Redirected to http://127.0.0.1:60901/flash
273
+ Completed 302 Found in 2ms
274
+
275
+
276
+ Started GET "/flash" for 127.0.0.1 at 2011-09-19 13:42:28 +0200
277
+ Processing by FlashController#show as HTML
278
+ Completed 200 OK in 15ms (Views: 15.2ms)
279
+
280
+
281
+ Started GET "/" for 127.0.0.1 at 2011-09-19 13:42:42 +0200
282
+ Processing by FlashController#show as HTML
283
+ Completed 200 OK in 10ms (Views: 10.0ms)
284
+
285
+
286
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-19 13:42:42 +0200
287
+ Processing by FlashController#ajax as JS
288
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
289
+ Completed 200 OK in 3ms (Views: 2.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.4
4
+ version: 0.0.5
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-07 00:00:00.000000000Z
13
+ date: 2011-09-19 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70155687354460 !ruby/object:Gem::Requirement
17
+ requirement: &70183886231760 !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: *70155687354460
28
+ version_requirements: *70183886231760
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: jquery-rails
31
- requirement: &70155687353640 !ruby/object:Gem::Requirement
31
+ requirement: &70183886230780 !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: *70155687353640
39
+ version_requirements: *70183886230780
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: -4442193786218431285
165
+ hash: 3054504905959425433
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: -4442193786218431285
174
+ hash: 3054504905959425433
175
175
  requirements: []
176
176
  rubyforge_project:
177
177
  rubygems_version: 1.8.9