stylo 0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +25 -0
- data/LICENSE +20 -0
- data/README.rdoc +18 -0
- data/Rakefile +46 -0
- data/TODO +4 -0
- data/cucumber.yml +2 -0
- data/features/fixtures/child.css +3 -0
- data/features/fixtures/child.js +3 -0
- data/features/fixtures/grand_parent.css +5 -0
- data/features/fixtures/grand_parent.js +5 -0
- data/features/fixtures/grand_parent_with_parent_with_child.css +11 -0
- data/features/fixtures/grand_parent_with_parent_with_child.js +11 -0
- data/features/fixtures/parent.css +5 -0
- data/features/fixtures/parent.js +5 -0
- data/features/fixtures/parent_with_child.css +7 -0
- data/features/fixtures/parent_with_child.js +7 -0
- data/features/fixtures/processed_sass_child.css +2 -0
- data/features/fixtures/processed_sass_which_uses_mixin.css +3 -0
- data/features/fixtures/sass_child.scss +4 -0
- data/features/fixtures/sass_mixins.scss +3 -0
- data/features/fixtures/sass_which_uses_mixin.scss +6 -0
- data/features/fixtures.rb +5 -0
- data/features/javascripts.feature +19 -0
- data/features/response_headers.feature +13 -0
- data/features/sass_integration.feature +13 -0
- data/features/step_definitions/stylo_steps.rb +24 -0
- data/features/stylesheets.feature +31 -0
- data/features/stylo_cannot_serve_asset.feature +5 -0
- data/features/support/env.rb +24 -0
- data/lib/stylo/asset_loader.rb +9 -0
- data/lib/stylo/combiner.rb +14 -0
- data/lib/stylo/config.rb +14 -0
- data/lib/stylo/pipeline_steps/caching.rb +11 -0
- data/lib/stylo/pipeline_steps/javascript.rb +15 -0
- data/lib/stylo/pipeline_steps/sass.rb +18 -0
- data/lib/stylo/pipeline_steps/stylesheet.rb +15 -0
- data/lib/stylo/processor.rb +47 -0
- data/lib/stylo/rack.rb +20 -0
- data/lib/stylo/railtie.rb +13 -0
- data/lib/stylo/response.rb +41 -0
- data/lib/stylo.rb +5 -0
- data/spec/asset_loader_spec.rb +16 -0
- data/spec/combiner_spec.rb +41 -0
- data/spec/pipeline_steps/caching_spec.rb +26 -0
- data/spec/pipeline_steps/javascript_spec.rb +84 -0
- data/spec/pipeline_steps/sass_spec.rb +94 -0
- data/spec/pipeline_steps/stylesheet_spec.rb +84 -0
- data/spec/rack_spec.rb +75 -0
- data/spec/spec_helper.rb +18 -0
- data/spec/stylo_spec_helpers.rb +30 -0
- data/stylo.gemspec +116 -0
- metadata +198 -0
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: stylo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
version: "0.5"
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- mwagg
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-10-18 00:00:00 +01:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: cucumber
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rack-test
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: sinatra
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: haml
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 45
|
85
|
+
segments:
|
86
|
+
- 3
|
87
|
+
- 0
|
88
|
+
- 21
|
89
|
+
version: 3.0.21
|
90
|
+
type: :runtime
|
91
|
+
version_requirements: *id005
|
92
|
+
description: Server side stylesheet combining for readonly hosting environments
|
93
|
+
email: michael@guerillatactics.co.uk
|
94
|
+
executables: []
|
95
|
+
|
96
|
+
extensions: []
|
97
|
+
|
98
|
+
extra_rdoc_files:
|
99
|
+
- LICENSE
|
100
|
+
- README.rdoc
|
101
|
+
- TODO
|
102
|
+
files:
|
103
|
+
- .document
|
104
|
+
- .gitignore
|
105
|
+
- LICENSE
|
106
|
+
- README.rdoc
|
107
|
+
- Rakefile
|
108
|
+
- TODO
|
109
|
+
- cucumber.yml
|
110
|
+
- features/fixtures.rb
|
111
|
+
- features/fixtures/child.css
|
112
|
+
- features/fixtures/child.js
|
113
|
+
- features/fixtures/grand_parent.css
|
114
|
+
- features/fixtures/grand_parent.js
|
115
|
+
- features/fixtures/grand_parent_with_parent_with_child.css
|
116
|
+
- features/fixtures/grand_parent_with_parent_with_child.js
|
117
|
+
- features/fixtures/parent.css
|
118
|
+
- features/fixtures/parent.js
|
119
|
+
- features/fixtures/parent_with_child.css
|
120
|
+
- features/fixtures/parent_with_child.js
|
121
|
+
- features/fixtures/processed_sass_child.css
|
122
|
+
- features/fixtures/processed_sass_which_uses_mixin.css
|
123
|
+
- features/fixtures/sass_child.scss
|
124
|
+
- features/fixtures/sass_mixins.scss
|
125
|
+
- features/fixtures/sass_which_uses_mixin.scss
|
126
|
+
- features/javascripts.feature
|
127
|
+
- features/response_headers.feature
|
128
|
+
- features/sass_integration.feature
|
129
|
+
- features/step_definitions/stylo_steps.rb
|
130
|
+
- features/stylesheets.feature
|
131
|
+
- features/stylo_cannot_serve_asset.feature
|
132
|
+
- features/support/env.rb
|
133
|
+
- lib/stylo.rb
|
134
|
+
- lib/stylo/asset_loader.rb
|
135
|
+
- lib/stylo/combiner.rb
|
136
|
+
- lib/stylo/config.rb
|
137
|
+
- lib/stylo/pipeline_steps/caching.rb
|
138
|
+
- lib/stylo/pipeline_steps/javascript.rb
|
139
|
+
- lib/stylo/pipeline_steps/sass.rb
|
140
|
+
- lib/stylo/pipeline_steps/stylesheet.rb
|
141
|
+
- lib/stylo/processor.rb
|
142
|
+
- lib/stylo/rack.rb
|
143
|
+
- lib/stylo/railtie.rb
|
144
|
+
- lib/stylo/response.rb
|
145
|
+
- spec/asset_loader_spec.rb
|
146
|
+
- spec/combiner_spec.rb
|
147
|
+
- spec/pipeline_steps/caching_spec.rb
|
148
|
+
- spec/pipeline_steps/javascript_spec.rb
|
149
|
+
- spec/pipeline_steps/sass_spec.rb
|
150
|
+
- spec/pipeline_steps/stylesheet_spec.rb
|
151
|
+
- spec/rack_spec.rb
|
152
|
+
- spec/spec_helper.rb
|
153
|
+
- spec/stylo_spec_helpers.rb
|
154
|
+
- stylo.gemspec
|
155
|
+
has_rdoc: true
|
156
|
+
homepage: http://github.com/mwagg/stylo
|
157
|
+
licenses: []
|
158
|
+
|
159
|
+
post_install_message:
|
160
|
+
rdoc_options:
|
161
|
+
- --charset=UTF-8
|
162
|
+
require_paths:
|
163
|
+
- lib
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
hash: 3
|
170
|
+
segments:
|
171
|
+
- 0
|
172
|
+
version: "0"
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 3
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
version: "0"
|
182
|
+
requirements: []
|
183
|
+
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 1.3.7
|
186
|
+
signing_key:
|
187
|
+
specification_version: 3
|
188
|
+
summary: Server side stylesheet combining for readonly hosting environments
|
189
|
+
test_files:
|
190
|
+
- spec/asset_loader_spec.rb
|
191
|
+
- spec/combiner_spec.rb
|
192
|
+
- spec/pipeline_steps/caching_spec.rb
|
193
|
+
- spec/pipeline_steps/javascript_spec.rb
|
194
|
+
- spec/pipeline_steps/sass_spec.rb
|
195
|
+
- spec/pipeline_steps/stylesheet_spec.rb
|
196
|
+
- spec/rack_spec.rb
|
197
|
+
- spec/spec_helper.rb
|
198
|
+
- spec/stylo_spec_helpers.rb
|