rack-pagespeed-fork 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +20 -0
- data/README.md +3 -0
- data/Rakefile +41 -0
- data/VERSION +1 -0
- data/lib/rack-pagespeed.rb +1 -0
- data/lib/rack/pagespeed.rb +50 -0
- data/lib/rack/pagespeed/config.rb +79 -0
- data/lib/rack/pagespeed/filters/all.rb +8 -0
- data/lib/rack/pagespeed/filters/base.rb +64 -0
- data/lib/rack/pagespeed/filters/combine_css.rb +81 -0
- data/lib/rack/pagespeed/filters/combine_javascripts.rb +77 -0
- data/lib/rack/pagespeed/filters/inline_css.rb +16 -0
- data/lib/rack/pagespeed/filters/inline_images.rb +17 -0
- data/lib/rack/pagespeed/filters/inline_javascripts.rb +17 -0
- data/lib/rack/pagespeed/filters/minify_javascripts.rb +41 -0
- data/lib/rack/pagespeed/store/disk.rb +20 -0
- data/lib/rack/pagespeed/store/memcached.rb +21 -0
- data/lib/rack/pagespeed/store/redis.rb +19 -0
- data/rack-pagespeed-fork.gemspec +103 -0
- data/spec/config_spec.rb +110 -0
- data/spec/filters/combine_css_spec.rb +30 -0
- data/spec/filters/combine_javascripts_spec.rb +58 -0
- data/spec/filters/filter_spec.rb +62 -0
- data/spec/filters/inline_css_spec.rb +33 -0
- data/spec/filters/inline_images_spec.rb +28 -0
- data/spec/filters/inline_javascript_spec.rb +30 -0
- data/spec/filters/minify_javascript_spec.rb +59 -0
- data/spec/fixtures/all-small-dog-breeds.jpg +0 -0
- data/spec/fixtures/complex.html +33 -0
- data/spec/fixtures/foo.js +1 -0
- data/spec/fixtures/hh-reset.css +1 -0
- data/spec/fixtures/huge.css +1176 -0
- data/spec/fixtures/iphone.css +1 -0
- data/spec/fixtures/jquery-1.4.1.min.js +152 -0
- data/spec/fixtures/medialess1.css +2 -0
- data/spec/fixtures/medialess2.css +2 -0
- data/spec/fixtures/mock_store.rb +2 -0
- data/spec/fixtures/mylib.js +3 -0
- data/spec/fixtures/noexternalcss.html +11 -0
- data/spec/fixtures/noscripts.html +9 -0
- data/spec/fixtures/ohno.js +1 -0
- data/spec/fixtures/reset.css +1 -0
- data/spec/fixtures/screen.css +2 -0
- data/spec/fixtures/styles.html +10 -0
- data/spec/pagespeed_spec.rb +106 -0
- data/spec/spec_helper.rb +60 -0
- data/spec/store/disk_spec.rb +34 -0
- data/spec/store/memcached_spec.rb +23 -0
- data/spec/store/redis_spec.rb +22 -0
- metadata +178 -0
metadata
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rack-pagespeed-fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Will Jordan
|
8
|
+
- Julio Cesar Ody
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: nokogiri
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: jsmin
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: mime-types
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: bundler
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: jeweler
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.0.1
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 2.0.1
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 2.6.0
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 2.6.0
|
98
|
+
description: Web page speed optimizations at the Rack level - fork
|
99
|
+
email: will@code.org
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files:
|
103
|
+
- README.md
|
104
|
+
files:
|
105
|
+
- Gemfile
|
106
|
+
- README.md
|
107
|
+
- Rakefile
|
108
|
+
- VERSION
|
109
|
+
- lib/rack-pagespeed.rb
|
110
|
+
- lib/rack/pagespeed.rb
|
111
|
+
- lib/rack/pagespeed/config.rb
|
112
|
+
- lib/rack/pagespeed/filters/all.rb
|
113
|
+
- lib/rack/pagespeed/filters/base.rb
|
114
|
+
- lib/rack/pagespeed/filters/combine_css.rb
|
115
|
+
- lib/rack/pagespeed/filters/combine_javascripts.rb
|
116
|
+
- lib/rack/pagespeed/filters/inline_css.rb
|
117
|
+
- lib/rack/pagespeed/filters/inline_images.rb
|
118
|
+
- lib/rack/pagespeed/filters/inline_javascripts.rb
|
119
|
+
- lib/rack/pagespeed/filters/minify_javascripts.rb
|
120
|
+
- lib/rack/pagespeed/store/disk.rb
|
121
|
+
- lib/rack/pagespeed/store/memcached.rb
|
122
|
+
- lib/rack/pagespeed/store/redis.rb
|
123
|
+
- rack-pagespeed-fork.gemspec
|
124
|
+
- spec/config_spec.rb
|
125
|
+
- spec/filters/combine_css_spec.rb
|
126
|
+
- spec/filters/combine_javascripts_spec.rb
|
127
|
+
- spec/filters/filter_spec.rb
|
128
|
+
- spec/filters/inline_css_spec.rb
|
129
|
+
- spec/filters/inline_images_spec.rb
|
130
|
+
- spec/filters/inline_javascript_spec.rb
|
131
|
+
- spec/filters/minify_javascript_spec.rb
|
132
|
+
- spec/fixtures/all-small-dog-breeds.jpg
|
133
|
+
- spec/fixtures/complex.html
|
134
|
+
- spec/fixtures/foo.js
|
135
|
+
- spec/fixtures/hh-reset.css
|
136
|
+
- spec/fixtures/huge.css
|
137
|
+
- spec/fixtures/iphone.css
|
138
|
+
- spec/fixtures/jquery-1.4.1.min.js
|
139
|
+
- spec/fixtures/medialess1.css
|
140
|
+
- spec/fixtures/medialess2.css
|
141
|
+
- spec/fixtures/mock_store.rb
|
142
|
+
- spec/fixtures/mylib.js
|
143
|
+
- spec/fixtures/noexternalcss.html
|
144
|
+
- spec/fixtures/noscripts.html
|
145
|
+
- spec/fixtures/ohno.js
|
146
|
+
- spec/fixtures/reset.css
|
147
|
+
- spec/fixtures/screen.css
|
148
|
+
- spec/fixtures/styles.html
|
149
|
+
- spec/pagespeed_spec.rb
|
150
|
+
- spec/spec_helper.rb
|
151
|
+
- spec/store/disk_spec.rb
|
152
|
+
- spec/store/memcached_spec.rb
|
153
|
+
- spec/store/redis_spec.rb
|
154
|
+
homepage: http://github.com/wjordan/rack-pagespeed
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata: {}
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - '>='
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
requirements: []
|
173
|
+
rubyforge_project:
|
174
|
+
rubygems_version: 2.4.2
|
175
|
+
signing_key:
|
176
|
+
specification_version: 4
|
177
|
+
summary: Web page speed optimizations at the Rack level - fork
|
178
|
+
test_files: []
|