template_streaming 0.0.11 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -0
- data/README.markdown +177 -88
- data/Rakefile +0 -21
- data/lib/template_streaming.rb +184 -99
- data/lib/template_streaming/autoflushing.rb +88 -0
- data/lib/template_streaming/caching.rb +68 -0
- data/lib/template_streaming/error_recovery.rb +199 -85
- data/lib/template_streaming/new_relic.rb +555 -0
- data/lib/template_streaming/templates/errors.erb +37 -0
- data/lib/template_streaming/version.rb +1 -1
- data/rails/init.rb +3 -0
- data/spec/autoflushing_spec.rb +75 -0
- data/spec/caching_spec.rb +126 -0
- data/spec/error_recovery_spec.rb +261 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/support/streaming_app.rb +135 -0
- data/spec/template_streaming_spec.rb +926 -0
- metadata +55 -27
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: template_streaming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 11
|
9
|
-
version: 0.0.11
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- George Ogata
|
@@ -14,24 +10,45 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-05-16 00:00:00 -04:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
17
|
+
name: actionpack
|
22
18
|
prerelease: false
|
23
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 2.3.11
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
24
32
|
requirements:
|
25
33
|
- - ">="
|
26
34
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
35
|
version: "0"
|
30
36
|
type: :development
|
31
|
-
version_requirements: *
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: temporaries
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id003
|
32
49
|
description: |
|
33
50
|
Adds a #flush helper to Rails which flushes the output buffer to
|
34
|
-
the client
|
51
|
+
the client before the template has finished rendering.
|
35
52
|
|
36
53
|
email:
|
37
54
|
- george.ogata@gmail.com
|
@@ -39,50 +56,61 @@ executables: []
|
|
39
56
|
|
40
57
|
extensions: []
|
41
58
|
|
42
|
-
extra_rdoc_files:
|
43
|
-
|
44
|
-
- README.markdown
|
59
|
+
extra_rdoc_files: []
|
60
|
+
|
45
61
|
files:
|
46
62
|
- doc/fast-profile.png
|
47
63
|
- doc/slow-profile.png
|
64
|
+
- lib/template_streaming/autoflushing.rb
|
65
|
+
- lib/template_streaming/caching.rb
|
48
66
|
- lib/template_streaming/error_recovery.rb
|
67
|
+
- lib/template_streaming/new_relic.rb
|
68
|
+
- lib/template_streaming/templates/errors.erb
|
49
69
|
- lib/template_streaming/version.rb
|
50
70
|
- lib/template_streaming.rb
|
71
|
+
- rails/init.rb
|
51
72
|
- LICENSE
|
52
73
|
- README.markdown
|
53
74
|
- Rakefile
|
54
75
|
- CHANGELOG
|
76
|
+
- spec/autoflushing_spec.rb
|
77
|
+
- spec/caching_spec.rb
|
78
|
+
- spec/error_recovery_spec.rb
|
79
|
+
- spec/spec_helper.rb
|
80
|
+
- spec/support/streaming_app.rb
|
81
|
+
- spec/template_streaming_spec.rb
|
55
82
|
has_rdoc: true
|
56
83
|
homepage: http://github.com/oggy/template_streaming
|
57
84
|
licenses: []
|
58
85
|
|
59
86
|
post_install_message:
|
60
|
-
rdoc_options:
|
61
|
-
|
87
|
+
rdoc_options: []
|
88
|
+
|
62
89
|
require_paths:
|
63
90
|
- lib
|
64
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
65
93
|
requirements:
|
66
94
|
- - ">="
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
segments:
|
69
|
-
- 0
|
70
96
|
version: "0"
|
71
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
72
99
|
requirements:
|
73
100
|
- - ">="
|
74
101
|
- !ruby/object:Gem::Version
|
75
|
-
segments:
|
76
|
-
- 1
|
77
|
-
- 3
|
78
|
-
- 6
|
79
102
|
version: 1.3.6
|
80
103
|
requirements: []
|
81
104
|
|
82
105
|
rubyforge_project:
|
83
|
-
rubygems_version: 1.
|
106
|
+
rubygems_version: 1.6.2
|
84
107
|
signing_key:
|
85
108
|
specification_version: 3
|
86
|
-
summary:
|
87
|
-
test_files:
|
88
|
-
|
109
|
+
summary: Progressive rendering for Rails.
|
110
|
+
test_files:
|
111
|
+
- spec/autoflushing_spec.rb
|
112
|
+
- spec/caching_spec.rb
|
113
|
+
- spec/error_recovery_spec.rb
|
114
|
+
- spec/spec_helper.rb
|
115
|
+
- spec/support/streaming_app.rb
|
116
|
+
- spec/template_streaming_spec.rb
|