compass 0.13.alpha.10 → 0.13.alpha.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.yml +1 -1
- data/features/command_line.feature +46 -77
- data/features/step_definitions/command_line_steps.rb +1 -1
- data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +1 -1
- data/lib/compass.rb +0 -3
- data/lib/compass/sass_extensions/functions/colors.rb +2 -2
- data/lib/compass/sass_extensions/functions/constants.rb +2 -2
- data/lib/compass/sass_extensions/functions/gradient_support.rb +7 -5
- data/lib/compass/util.rb +1 -11
- data/test/fixtures/stylesheets/compass/css/support.css +16 -17
- data/test/fixtures/stylesheets/envtest/tmp/env.css +2 -2
- data/test/fixtures/stylesheets/valid/sass/another_simple.scss +3 -0
- metadata +4 -12
- data/examples/compass/images/emblem-a043c4f148.png +0 -0
- data/examples/compass/images/flag-03c3b29b35.png +0 -0
- data/examples/compass/images/flag-21cfbfbfc8.png +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/_sass.scss +0 -2
- data/frameworks/compass/stylesheets/compass/utilities/sass/_lists.scss +0 -16
- data/frameworks/compass/stylesheets/compass/utilities/sass/_maps.scss +0 -19
- data/lib/compass/app_integration/rails.rb +0 -18
- data/test/fixtures/stylesheets/valid/css/simple.css +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e35f6d157c012711c85e217ed310335e604d88
|
4
|
+
data.tar.gz: 18fc508f4ac20c5b070fda945eb0686ffe81a934
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9afbecbeb9aaba5db2804487353b2703e87f2003a99494d8c989071675f0c3689ac1b865020a9ef27396d793603547a25046f804b6913cdb035f7f7de0054705
|
7
|
+
data.tar.gz: b9af38337a3132a718f0f250d00a3de5c1b9a82feb1b7234a2c88b4f020f3355c4d34b9325f1669b70dd7a102b3595c41bfc0db6f48f87a9e022d555443509fa
|
data/VERSION.yml
CHANGED
@@ -47,7 +47,7 @@ Feature: Command Line
|
|
47
47
|
And I am told how to compile my sass stylesheets
|
48
48
|
|
49
49
|
Scenario: Compiling a project with errors
|
50
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
50
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
51
51
|
And the project has a file named "sass/error.scss" containing:
|
52
52
|
"""
|
53
53
|
.broken {
|
@@ -61,59 +61,46 @@ Feature: Command Line
|
|
61
61
|
And the command exits with a non-zero error code
|
62
62
|
|
63
63
|
Scenario: Compiling an existing project.
|
64
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
64
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
65
65
|
When I run: compass compile
|
66
66
|
Then a directory tmp/ is created
|
67
|
-
And a css file tmp/
|
68
|
-
And a css file tmp/print.css is created
|
69
|
-
And a css file tmp/reset.css is created
|
70
|
-
And a css file tmp/utilities.css is created
|
67
|
+
And a css file tmp/simple.css is created
|
71
68
|
|
72
69
|
Scenario: Compiling an existing project with a specified project
|
73
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
70
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
74
71
|
And I am in the parent directory
|
75
|
-
When I run: compass compile
|
76
|
-
Then a directory
|
77
|
-
And a css file
|
78
|
-
And a css file tmp_compass/tmp/print.css is created
|
79
|
-
And a css file tmp_compass/tmp/reset.css is created
|
80
|
-
And a css file tmp_compass/tmp/utilities.css is created
|
72
|
+
When I run: compass compile tmp_valid
|
73
|
+
Then a directory tmp_valid/tmp/ is created
|
74
|
+
And a css file tmp_valid/tmp/simple.css is created
|
81
75
|
|
82
76
|
Scenario: Dry Run of Compiling an existing project.
|
83
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
77
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
84
78
|
When I run: compass compile --dry-run
|
85
79
|
Then a directory tmp/ is not created
|
86
|
-
And a css file tmp/
|
87
|
-
And a css file tmp/
|
88
|
-
And a css file tmp/
|
89
|
-
And a css file tmp/
|
90
|
-
And a css file tmp/layout.css is reported created
|
91
|
-
And a css file tmp/print.css is reported created
|
92
|
-
And a css file tmp/reset.css is reported created
|
93
|
-
And a css file tmp/utilities.css is reported created
|
80
|
+
And a css file tmp/simple.css is not created
|
81
|
+
And a css file tmp/simple.css is reported created
|
82
|
+
And a css file tmp/another_simple.css is not created
|
83
|
+
And a css file tmp/another_simple.css is reported created
|
94
84
|
|
95
85
|
Scenario: Recompiling a project with no changes
|
96
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
86
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
97
87
|
When I run: compass compile
|
98
88
|
And I run: compass compile
|
99
89
|
|
100
90
|
Scenario: compiling a specific file in a project
|
101
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
102
|
-
And I run: compass compile sass/
|
103
|
-
Then a sass file sass/
|
104
|
-
And a
|
105
|
-
And a
|
106
|
-
And a css file tmp/
|
107
|
-
And a css file tmp/utilities.css is created
|
91
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
92
|
+
And I run: compass compile sass/simple.sass
|
93
|
+
Then a sass file sass/another_simple.scss is not mentioned
|
94
|
+
And a css file tmp/simple.css is reported created
|
95
|
+
And a css file tmp/simple.css is created
|
96
|
+
And a css file tmp/another_simple.css is not created
|
108
97
|
|
109
98
|
Scenario: Re-compiling a specific file in a project with no changes
|
110
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
99
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
111
100
|
When I run: compass compile
|
112
|
-
And I run: compass compile sass/
|
113
|
-
Then a sass file sass/
|
114
|
-
And a
|
115
|
-
And a sass file sass/reset.sass is not mentioned
|
116
|
-
And a css file tmp/utilities.css is reported identical
|
101
|
+
And I run: compass compile sass/simple.sass --force
|
102
|
+
Then a sass file sass/another_simple.scss is not mentioned
|
103
|
+
And a css file tmp/simple.css is reported identical
|
117
104
|
|
118
105
|
Scenario: Basic help
|
119
106
|
When I run: compass help
|
@@ -138,53 +125,45 @@ Feature: Command Line
|
|
138
125
|
| version |
|
139
126
|
|
140
127
|
Scenario: Recompiling a project with no material changes
|
141
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
128
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
142
129
|
When I run: compass compile
|
143
130
|
And I wait 1 second
|
144
|
-
And I touch sass/
|
131
|
+
And I touch sass/simple.sass
|
145
132
|
And I run: compass compile
|
146
|
-
Then a css file tmp/
|
133
|
+
Then a css file tmp/simple.css is reported identical
|
147
134
|
|
148
135
|
Scenario: Recompiling a project with changes
|
149
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
136
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
150
137
|
When I run: compass compile
|
151
138
|
And I wait 1 second
|
152
|
-
And I add some sass to sass/
|
139
|
+
And I add some sass to sass/simple.sass
|
153
140
|
And I run: compass compile
|
154
|
-
And a css file tmp/
|
141
|
+
And a css file tmp/simple.css is reported overwritten
|
155
142
|
|
156
143
|
Scenario: Cleaning a project
|
157
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
144
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
158
145
|
When I run: compass compile
|
159
146
|
And I run: compass clean
|
160
147
|
Then the following files are reported removed:
|
161
|
-
| .sass-cache/
|
162
|
-
| tmp/
|
163
|
-
| tmp/
|
164
|
-
| tmp/box_shadow.css |
|
165
|
-
| tmp/columns.css |
|
166
|
-
| tmp/fonts.css |
|
167
|
-
| images/flag-s5b4f509715.png |
|
148
|
+
| .sass-cache/ |
|
149
|
+
| tmp/simple.css |
|
150
|
+
| tmp/another_simple.css |
|
168
151
|
And the following files are removed:
|
169
|
-
| .sass-cache/
|
170
|
-
| tmp/
|
171
|
-
| tmp/
|
172
|
-
| tmp/box_shadow.css |
|
173
|
-
| tmp/columns.css |
|
174
|
-
| tmp/fonts.css |
|
175
|
-
| images/flag-s5b4f509715.png |
|
152
|
+
| .sass-cache/ |
|
153
|
+
| tmp/simple.css |
|
154
|
+
| tmp/another_simple.css |
|
176
155
|
|
177
156
|
@now
|
178
157
|
Scenario: Watching a project for changes
|
179
158
|
Given ruby supports fork
|
180
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
159
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
181
160
|
When I run: compass compile
|
182
161
|
And I run in a separate process: compass watch
|
183
|
-
And I wait
|
184
|
-
And I touch sass/
|
162
|
+
And I wait 2 seconds
|
163
|
+
And I touch sass/simple.sass
|
185
164
|
And I wait 2 seconds
|
186
165
|
And I shutdown the other process
|
187
|
-
Then a css file tmp/
|
166
|
+
Then a css file tmp/simple.css is reported identical
|
188
167
|
|
189
168
|
Scenario: Generate a compass configuration file
|
190
169
|
Given I should clean up the directory: config
|
@@ -196,7 +175,7 @@ Feature: Command Line
|
|
196
175
|
| css_dir | assets/css |
|
197
176
|
|
198
177
|
Scenario Outline: Print out a configuration value
|
199
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
178
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
200
179
|
When I run: compass config -p <property>
|
201
180
|
Then I should see the following output: <value>
|
202
181
|
And the command exits <exit>
|
@@ -220,23 +199,13 @@ Feature: Command Line
|
|
220
199
|
|
221
200
|
@stats
|
222
201
|
Scenario: Get stats for my project
|
223
|
-
Given I am using the existing project in test/fixtures/stylesheets/
|
202
|
+
Given I am using the existing project in test/fixtures/stylesheets/valid
|
224
203
|
When I run: bundle exec compass stats
|
225
204
|
Then I am told statistics for each file:
|
226
|
-
| Filename
|
227
|
-
| sass/
|
228
|
-
| sass/
|
229
|
-
|
|
230
|
-
| sass/gradients.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
231
|
-
| sass/image_size.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
232
|
-
| sass/images.scss | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
233
|
-
| sass/layout.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
234
|
-
| sass/legacy_clearfix.scss | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
235
|
-
| sass/lists.scss | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
236
|
-
| sass/print.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
237
|
-
| sass/reset.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
238
|
-
| sass/utilities.scss | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
239
|
-
| Total.* | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
205
|
+
| Filename | Rules | Properties | Mixins Defs | Mixins Used | Filesize | CSS Selectors | CSS Properties | CSS Filesize |
|
206
|
+
| sass/simple.sass | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
207
|
+
| sass/another_simple.scss | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
208
|
+
| Total.* | \d+ | \d+ | \d+ | \d+ | \d+ K?B | \d+ | \d+ | \d+ K?B |
|
240
209
|
|
241
210
|
@listframeworks
|
242
211
|
Scenario: List frameworks registered with compass
|
@@ -42,7 +42,7 @@ $input-placeholder-support-threshold: $graceful-usage-threshold !default;
|
|
42
42
|
// }
|
43
43
|
//
|
44
44
|
// if you want to apply the placeholder styles to all elements supporting
|
45
|
-
// the `input-placeholder`
|
45
|
+
// the `input-placeholder` pseudo class (beware of performance impacts):
|
46
46
|
//
|
47
47
|
// * {
|
48
48
|
// @include input-placeholder {
|
data/lib/compass.rb
CHANGED
@@ -4,7 +4,7 @@ module Compass::SassExtensions::Functions::Colors
|
|
4
4
|
def adjust_lightness(color, amount)
|
5
5
|
assert_type color, :Color
|
6
6
|
assert_type amount, :Number
|
7
|
-
color.with(:lightness =>
|
7
|
+
color.with(:lightness => Sass::Util.restrict(color.lightness + amount.value, 0..100))
|
8
8
|
end
|
9
9
|
|
10
10
|
# Scales a color's lightness by some percentage.
|
@@ -20,7 +20,7 @@ module Compass::SassExtensions::Functions::Colors
|
|
20
20
|
def adjust_saturation(color, amount)
|
21
21
|
assert_type color, :Color
|
22
22
|
assert_type amount, :Number
|
23
|
-
color.with(:saturation =>
|
23
|
+
color.with(:saturation => Sass::Util.restrict(color.saturation + amount.value, 0..100))
|
24
24
|
end
|
25
25
|
|
26
26
|
# Scales a color's saturation by some percentage.
|
@@ -14,7 +14,7 @@ module Compass::SassExtensions::Functions::Constants
|
|
14
14
|
else
|
15
15
|
Sass::Script::List.new(position.value.dup, position.separator)
|
16
16
|
end
|
17
|
-
position.value.map
|
17
|
+
position = Sass::Script::List.new(position.value.map do |pos|
|
18
18
|
if pos.is_a? Sass::Script::String
|
19
19
|
opposite = case pos.value
|
20
20
|
when "top" then "bottom"
|
@@ -38,7 +38,7 @@ module Compass::SassExtensions::Functions::Constants
|
|
38
38
|
Compass::Util.compass_warn("Cannot determine the opposite position of: #{pos}")
|
39
39
|
pos
|
40
40
|
end
|
41
|
-
end
|
41
|
+
end, position.separator)
|
42
42
|
if position.value.size == 1
|
43
43
|
position.value.first
|
44
44
|
else
|
@@ -271,16 +271,18 @@ module Compass::SassExtensions::Functions::GradientSupport
|
|
271
271
|
end
|
272
272
|
if (position.value.first.value =~ /top|bottom/) or (position.value.last.value =~ /left|right/)
|
273
273
|
# browsers are pretty forgiving of reversed positions so we are too.
|
274
|
-
position.value.reverse
|
274
|
+
position = Sass::Script::List.new(position.value.reverse, position.separator)
|
275
275
|
end
|
276
276
|
if position.value.size == 1
|
277
277
|
if position.value.first.value =~ /top|bottom/
|
278
|
-
position
|
278
|
+
position = Sass::Script::List.new(
|
279
|
+
[Sass::Script::String.new("center"), position.value.first], position.separator)
|
279
280
|
elsif position.value.first.value =~ /left|right/
|
280
|
-
position
|
281
|
+
position = Sass::Script::List.new(
|
282
|
+
[position.value.first, Sass::Script::String.new("center")], position.separator)
|
281
283
|
end
|
282
284
|
end
|
283
|
-
position.value.map
|
285
|
+
position = Sass::Script::List.new(position.value.map do |p|
|
284
286
|
case p.value
|
285
287
|
when /top|left/
|
286
288
|
Sass::Script::Number.new(0, ["%"])
|
@@ -291,7 +293,7 @@ module Compass::SassExtensions::Functions::GradientSupport
|
|
291
293
|
else
|
292
294
|
p
|
293
295
|
end
|
294
|
-
end
|
296
|
+
end, position.separator)
|
295
297
|
position
|
296
298
|
end
|
297
299
|
|
data/lib/compass/util.rb
CHANGED
@@ -1,18 +1,8 @@
|
|
1
1
|
module Compass::Util
|
2
2
|
extend self
|
3
3
|
|
4
|
-
if defined?(Sass::Util)
|
5
|
-
WARN_METHOD = :sass_warn
|
6
|
-
include Sass::Util
|
7
|
-
extend Sass::Util
|
8
|
-
else
|
9
|
-
WARN_METHOD = :haml_warn
|
10
|
-
include Haml::Util
|
11
|
-
extend Haml::Util
|
12
|
-
end
|
13
|
-
|
14
4
|
def compass_warn(*args)
|
15
|
-
|
5
|
+
Sass::Util.warn(*args)
|
16
6
|
end
|
17
7
|
|
18
8
|
def blank?(value)
|
@@ -1,24 +1,23 @@
|
|
1
1
|
/*
|
2
2
|
|
3
3
|
### Compass Support ------ */
|
4
|
-
/* - [function] set-arglist-default() with no arguments (1
|
5
|
-
/* - [function] set-arglist-default() with a "default" argument (1
|
6
|
-
/* - [function] set-arglist-default() with a "default" argument and another argument (1
|
7
|
-
/* - [function] set-arglist-default() with a "default" argument not first and another argument (1
|
8
|
-
/* - [function] support-legacy-browser() from threshold (2
|
9
|
-
/* - [function] support-legacy-browser() from minimums (2
|
10
|
-
/* - [function] browser-out-of-scope() with no scope (2
|
11
|
-
/* - prefix context tracking (9
|
12
|
-
/* - [function] browser-out-of-scope() with a scope (2
|
13
|
-
/* - [function] browser-out-of-scope() with version (3
|
14
|
-
/* - [mixin] with-prefix() (4
|
15
|
-
/* - [mixin] with-each-prefix() (1
|
16
|
-
/* - [mixin] with-each-prefix() respects $supported-browsers (1
|
17
|
-
/* - [mixin] with-each-prefix() respects $current-prefix (3
|
18
|
-
/* - [fuction] has-browser-subset() (5
|
4
|
+
/* - [function] set-arglist-default() with no arguments (1 Assertions, 1 Passed, 0 Failed) */
|
5
|
+
/* - [function] set-arglist-default() with a "default" argument (1 Assertions, 1 Passed, 0 Failed) */
|
6
|
+
/* - [function] set-arglist-default() with a "default" argument and another argument (1 Assertions, 1 Passed, 0 Failed) */
|
7
|
+
/* - [function] set-arglist-default() with a "default" argument not first and another argument (1 Assertions, 1 Passed, 0 Failed) */
|
8
|
+
/* - [function] support-legacy-browser() from threshold (2 Assertions, 2 Passed, 0 Failed) */
|
9
|
+
/* - [function] support-legacy-browser() from minimums (2 Assertions, 2 Passed, 0 Failed) */
|
10
|
+
/* - [function] browser-out-of-scope() with no scope (2 Assertions, 2 Passed, 0 Failed) */
|
11
|
+
/* - prefix context tracking (9 Assertions, 9 Passed, 0 Failed) */
|
12
|
+
/* - [function] browser-out-of-scope() with a scope (2 Assertions, 2 Passed, 0 Failed) */
|
13
|
+
/* - [function] browser-out-of-scope() with version (3 Assertions, 3 Passed, 0 Failed) */
|
14
|
+
/* - [mixin] with-prefix() (4 Assertions, 4 Passed, 0 Failed) */
|
15
|
+
/* - [mixin] with-each-prefix() (1 Assertions, 1 Passed, 0 Failed) */
|
16
|
+
/* - [mixin] with-each-prefix() respects $supported-browsers (1 Assertions, 1 Passed, 0 Failed) */
|
17
|
+
/* - [mixin] with-each-prefix() respects $current-prefix (3 Assertions, 3 Passed, 0 Failed) */
|
18
|
+
/* - [fuction] has-browser-subset() (5 Assertions, 5 Passed, 0 Failed) */
|
19
19
|
/*
|
20
|
-
|
21
|
-
- 15 Tests
|
20
|
+
15 Tests:
|
22
21
|
- 15 Passed
|
23
22
|
- 0 Failed */
|
24
23
|
/* Capability css-animation is prefixed with -moz because 1.03559% of users need it which is more than the threshold of 0.1%. */
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.alpha.
|
4
|
+
version: 0.13.alpha.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Eppstein
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2013-
|
16
|
+
date: 2013-11-22 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: sass
|
@@ -162,7 +162,6 @@ files:
|
|
162
162
|
- examples/compass/images/emblem/symbolic-link.png
|
163
163
|
- examples/compass/images/emblem/system.png
|
164
164
|
- examples/compass/images/emblem/unreadable.png
|
165
|
-
- examples/compass/images/emblem-a043c4f148.png
|
166
165
|
- examples/compass/images/flag/ad.png
|
167
166
|
- examples/compass/images/flag/ae.png
|
168
167
|
- examples/compass/images/flag/af.png
|
@@ -410,8 +409,6 @@ files:
|
|
410
409
|
- examples/compass/images/flag/za.png
|
411
410
|
- examples/compass/images/flag/zm.png
|
412
411
|
- examples/compass/images/flag/zw.png
|
413
|
-
- examples/compass/images/flag-03c3b29b35.png
|
414
|
-
- examples/compass/images/flag-21cfbfbfc8.png
|
415
412
|
- examples/compass/images/icon-chrome.png
|
416
413
|
- examples/compass/images/icon-firefox.png
|
417
414
|
- examples/compass/images/icon-ie.png
|
@@ -463,7 +460,6 @@ files:
|
|
463
460
|
- examples/yui/typography.html.haml
|
464
461
|
- examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass
|
465
462
|
- examples/css3/extensions/fancy-fonts/templates/project/manifest.rb
|
466
|
-
- examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf
|
467
463
|
- frameworks/compass/stylesheets/_compass.scss
|
468
464
|
- frameworks/compass/stylesheets/_lemonade.scss
|
469
465
|
- frameworks/compass/stylesheets/compass/_css3.scss
|
@@ -525,7 +521,6 @@ files:
|
|
525
521
|
- frameworks/compass/stylesheets/compass/utilities/_links.scss
|
526
522
|
- frameworks/compass/stylesheets/compass/utilities/_lists.scss
|
527
523
|
- frameworks/compass/stylesheets/compass/utilities/_print.scss
|
528
|
-
- frameworks/compass/stylesheets/compass/utilities/_sass.scss
|
529
524
|
- frameworks/compass/stylesheets/compass/utilities/_sprites.scss
|
530
525
|
- frameworks/compass/stylesheets/compass/utilities/_tables.scss
|
531
526
|
- frameworks/compass/stylesheets/compass/utilities/_text.scss
|
@@ -545,8 +540,6 @@ files:
|
|
545
540
|
- frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
|
546
541
|
- frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
|
547
542
|
- frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
|
548
|
-
- frameworks/compass/stylesheets/compass/utilities/sass/_lists.scss
|
549
|
-
- frameworks/compass/stylesheets/compass/utilities/sass/_maps.scss
|
550
543
|
- frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss
|
551
544
|
- frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
|
552
545
|
- frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
|
@@ -568,7 +561,6 @@ files:
|
|
568
561
|
- frameworks/compass/templates/project/screen.sass
|
569
562
|
- frameworks/compass/templates/project/USAGE.markdown
|
570
563
|
- lib/compass/actions.rb
|
571
|
-
- lib/compass/app_integration/rails.rb
|
572
564
|
- lib/compass/app_integration/stand_alone/configuration_defaults.rb
|
573
565
|
- lib/compass/app_integration/stand_alone/installer.rb
|
574
566
|
- lib/compass/app_integration/stand_alone.rb
|
@@ -1103,7 +1095,7 @@ files:
|
|
1103
1095
|
- test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css
|
1104
1096
|
- test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css
|
1105
1097
|
- test/fixtures/stylesheets/valid/config.rb
|
1106
|
-
- test/fixtures/stylesheets/valid/
|
1098
|
+
- test/fixtures/stylesheets/valid/sass/another_simple.scss
|
1107
1099
|
- test/fixtures/stylesheets/valid/sass/simple.sass
|
1108
1100
|
- test/helpers/command_line.rb
|
1109
1101
|
- test/helpers/diff.rb
|
@@ -1589,7 +1581,7 @@ test_files:
|
|
1589
1581
|
- test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css
|
1590
1582
|
- test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css
|
1591
1583
|
- test/fixtures/stylesheets/valid/config.rb
|
1592
|
-
- test/fixtures/stylesheets/valid/
|
1584
|
+
- test/fixtures/stylesheets/valid/sass/another_simple.scss
|
1593
1585
|
- test/fixtures/stylesheets/valid/sass/simple.sass
|
1594
1586
|
- test/helpers/command_line.rb
|
1595
1587
|
- test/helpers/diff.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,16 +0,0 @@
|
|
1
|
-
@function newline() {
|
2
|
-
@return "
|
3
|
-
";
|
4
|
-
}
|
5
|
-
|
6
|
-
// Joins a list into a string with the separator given.
|
7
|
-
@function list-join($list, $separator: ", ") {
|
8
|
-
$result: "";
|
9
|
-
@each $value in $list {
|
10
|
-
@if str-length($result) > 0 {
|
11
|
-
$result: $result + $separator;
|
12
|
-
}
|
13
|
-
$result: $result + #{$value};
|
14
|
-
}
|
15
|
-
@return $result;
|
16
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
// Returns true if a $map is a superset of $sub-map.
|
2
|
-
@function map-contains-all($map, $sub-map) {
|
3
|
-
@each $key, $value in $sub-map {
|
4
|
-
@if not (map-has-key($map, $key) and map-get($map, $key) == $value) {
|
5
|
-
@return false;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
@return true;
|
9
|
-
}
|
10
|
-
|
11
|
-
// Returns true if a $map has any key-value pair in $sub-map.
|
12
|
-
@function map-contains-any($map, $sub-map) {
|
13
|
-
@each $key, $value in $sub-map {
|
14
|
-
@if map-has-key($map, $key) and map-get($map, $key) == $value {
|
15
|
-
@return true;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
@return false;
|
19
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Compass
|
2
|
-
module AppIntegration
|
3
|
-
module Rails
|
4
|
-
extend self
|
5
|
-
def initialize!
|
6
|
-
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.initialize! from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
|
7
|
-
end
|
8
|
-
def root
|
9
|
-
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.root from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
|
10
|
-
::Rails.root
|
11
|
-
end
|
12
|
-
def env
|
13
|
-
Compass::Util.compass_warn("WARNING: Please remove the call to Compass::AppIntegration::Rails.env from #{caller[0].sub(/:.*$/,'')};\nWARNING: This is done automatically now. If this is default compass initializer you can just remove the file.")
|
14
|
-
::Rails.env
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|