compass 0.12.1 → 0.12.2.rc.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +15 -45
- data/VERSION.yml +3 -1
- data/features/command_line.feature +1 -0
- data/frameworks/compass/stylesheets/compass/_css3.scss +1 -0
- data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +6 -3
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +4 -10
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +18 -7
- data/frameworks/compass/stylesheets/compass/css3/_regions.scss +22 -0
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +6 -6
- data/frameworks/compass/stylesheets/compass/reset/_utilities.scss +4 -2
- data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +19 -11
- data/frameworks/compass/stylesheets/compass/typography/text/_replacement.scss +25 -5
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +1 -1
- data/lib/compass/commands.rb +4 -3
- data/lib/compass/commands/extension_command.rb +60 -0
- data/lib/compass/configuration/adapters.rb +8 -2
- data/lib/compass/configuration/data.rb +1 -0
- data/lib/compass/exec/global_options_parser.rb +8 -1
- data/lib/compass/sass_extensions/functions/sprites.rb +10 -2
- data/lib/compass/version.rb +2 -1
- data/test/fixtures/stylesheets/blueprint/css/screen.css +2 -2
- data/test/fixtures/stylesheets/compass/css/border_radius.css +0 -6
- data/test/fixtures/stylesheets/compass/css/columns.css +15 -0
- data/test/fixtures/stylesheets/compass/css/regions.css +7 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +2 -2
- data/test/fixtures/stylesheets/compass/css/transform.css +108 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +5 -5
- data/test/fixtures/stylesheets/compass/sass/columns.scss +1 -0
- data/test/fixtures/stylesheets/compass/sass/regions.scss +4 -0
- data/test/integrations/sprites_test.rb +4 -4
- data/test/units/configuration_test.rb +15 -0
- metadata +51 -70
@@ -773,18 +773,18 @@ class SpritesTest < Test::Unit::TestCase
|
|
773
773
|
background:url('/colors-s58671cb5bb.png') no-repeat;
|
774
774
|
}
|
775
775
|
.blue {
|
776
|
-
text-indent
|
777
|
-
white-space:nowrap;
|
776
|
+
text-indent:-119988px;
|
778
777
|
overflow:hidden;
|
778
|
+
text-align:left;
|
779
779
|
background-position:0 0;
|
780
780
|
background-image:url('/colors-s58671cb5bb.png');
|
781
781
|
background-repeat:no-repeat;
|
782
782
|
}
|
783
783
|
|
784
784
|
.yellow {
|
785
|
-
text-indent
|
786
|
-
white-space:nowrap;
|
785
|
+
text-indent:-119988px;
|
787
786
|
overflow:hidden;
|
787
|
+
text-align:left;
|
788
788
|
background-position:0 -10px;
|
789
789
|
height:10px;
|
790
790
|
width:10px;
|
@@ -240,6 +240,21 @@ EXPECTED
|
|
240
240
|
assert_correct expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
|
241
241
|
end
|
242
242
|
|
243
|
+
def test_additional_import_paths_can_be_importers
|
244
|
+
contents = StringIO.new(<<-CONFIG)
|
245
|
+
http_path = "/"
|
246
|
+
project_path = "/home/chris/my_compass_project"
|
247
|
+
css_dir = "css"
|
248
|
+
additional_import_paths = ["../foo"]
|
249
|
+
add_import_path Sass::Importers::Filesystem.new("/tmp/foo")
|
250
|
+
CONFIG
|
251
|
+
|
252
|
+
Compass.add_configuration(contents, "test_additional_import_paths")
|
253
|
+
|
254
|
+
assert Compass.configuration.sass_load_paths.find{|p| p.is_a?(Sass::Importers::Filesystem) && p.root == "/tmp/foo"}
|
255
|
+
assert Compass.configuration.to_sass_plugin_options[:load_paths].find{|p| p.is_a?(Sass::Importers::Filesystem) && p.root == "/tmp/foo"}
|
256
|
+
end
|
257
|
+
|
243
258
|
def test_config_with_pathname
|
244
259
|
contents = StringIO.new(<<-CONFIG)
|
245
260
|
http_path = "/"
|
metadata
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 12
|
8
|
-
- 1
|
9
|
-
version: 0.12.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.2.rc.0
|
5
|
+
prerelease: 7
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Chris Eppstein
|
13
9
|
- Scott Davis
|
14
10
|
- Eric A. Meyer
|
@@ -18,62 +14,49 @@ authors:
|
|
18
14
|
autorequire:
|
19
15
|
bindir: bin
|
20
16
|
cert_chain: []
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
dependencies:
|
25
|
-
- !ruby/object:Gem::Dependency
|
17
|
+
date: 2012-05-10 00:00:00.000000000Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
26
20
|
name: sass
|
27
|
-
|
28
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
requirement: &70125510087820 !ruby/object:Gem::Requirement
|
29
22
|
none: false
|
30
|
-
requirements:
|
23
|
+
requirements:
|
31
24
|
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
|
34
|
-
- 3
|
35
|
-
- 1
|
36
|
-
version: "3.1"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
37
27
|
type: :runtime
|
38
|
-
version_requirements: *id001
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: chunky_png
|
41
28
|
prerelease: false
|
42
|
-
|
29
|
+
version_requirements: *70125510087820
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: chunky_png
|
32
|
+
requirement: &70125510087300 !ruby/object:Gem::Requirement
|
43
33
|
none: false
|
44
|
-
requirements:
|
34
|
+
requirements:
|
45
35
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
48
|
-
- 1
|
49
|
-
- 2
|
50
|
-
version: "1.2"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.2'
|
51
38
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: fssm
|
55
39
|
prerelease: false
|
56
|
-
|
40
|
+
version_requirements: *70125510087300
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fssm
|
43
|
+
requirement: &70125510086780 !ruby/object:Gem::Requirement
|
57
44
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
- 2
|
64
|
-
- 7
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
65
48
|
version: 0.2.7
|
66
49
|
type: :runtime
|
67
|
-
|
68
|
-
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: *70125510086780
|
52
|
+
description: Compass is a Sass-based Stylesheet Framework that streamlines the creation
|
53
|
+
and maintainance of CSS.
|
69
54
|
email: chris@eppsteins.net
|
70
|
-
executables:
|
55
|
+
executables:
|
71
56
|
- compass
|
72
57
|
extensions: []
|
73
|
-
|
74
58
|
extra_rdoc_files: []
|
75
|
-
|
76
|
-
files:
|
59
|
+
files:
|
77
60
|
- README.markdown
|
78
61
|
- LICENSE.markdown
|
79
62
|
- VERSION.yml
|
@@ -538,6 +521,7 @@ files:
|
|
538
521
|
- frameworks/compass/stylesheets/compass/css3/_inline-block.scss
|
539
522
|
- frameworks/compass/stylesheets/compass/css3/_opacity.scss
|
540
523
|
- frameworks/compass/stylesheets/compass/css3/_pie.scss
|
524
|
+
- frameworks/compass/stylesheets/compass/css3/_regions.scss
|
541
525
|
- frameworks/compass/stylesheets/compass/css3/_shared.scss
|
542
526
|
- frameworks/compass/stylesheets/compass/css3/_text-shadow.scss
|
543
527
|
- frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss
|
@@ -638,6 +622,7 @@ files:
|
|
638
622
|
- lib/compass/commands/create_project.rbc
|
639
623
|
- lib/compass/commands/default.rb
|
640
624
|
- lib/compass/commands/default.rbc
|
625
|
+
- lib/compass/commands/extension_command.rb
|
641
626
|
- lib/compass/commands/generate_grid_background.rb
|
642
627
|
- lib/compass/commands/generate_grid_background.rbc
|
643
628
|
- lib/compass/commands/help.rb
|
@@ -918,6 +903,7 @@ files:
|
|
918
903
|
- test/fixtures/stylesheets/compass/css/opacity.css
|
919
904
|
- test/fixtures/stylesheets/compass/css/pie.css
|
920
905
|
- test/fixtures/stylesheets/compass/css/print.css
|
906
|
+
- test/fixtures/stylesheets/compass/css/regions.css
|
921
907
|
- test/fixtures/stylesheets/compass/css/reset.css
|
922
908
|
- test/fixtures/stylesheets/compass/css/sprites.css
|
923
909
|
- test/fixtures/stylesheets/compass/css/stretching.css
|
@@ -1198,6 +1184,7 @@ files:
|
|
1198
1184
|
- test/fixtures/stylesheets/compass/sass/opacity.scss
|
1199
1185
|
- test/fixtures/stylesheets/compass/sass/pie.scss
|
1200
1186
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
1187
|
+
- test/fixtures/stylesheets/compass/sass/regions.scss
|
1201
1188
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
1202
1189
|
- test/fixtures/stylesheets/compass/sass/sprites.scss
|
1203
1190
|
- test/fixtures/stylesheets/compass/sass/stretching.sass
|
@@ -1283,39 +1270,31 @@ files:
|
|
1283
1270
|
- features/extensions.feature
|
1284
1271
|
- features/step_definitions/command_line_steps.rb
|
1285
1272
|
- features/step_definitions/extension_steps.rb
|
1286
|
-
has_rdoc: true
|
1287
1273
|
homepage: http://compass-style.org
|
1288
1274
|
licenses: []
|
1289
|
-
|
1290
1275
|
post_install_message:
|
1291
1276
|
rdoc_options: []
|
1292
|
-
|
1293
|
-
require_paths:
|
1277
|
+
require_paths:
|
1294
1278
|
- lib
|
1295
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
1279
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
1296
1280
|
none: false
|
1297
|
-
requirements:
|
1298
|
-
- -
|
1299
|
-
- !ruby/object:Gem::Version
|
1300
|
-
|
1301
|
-
|
1302
|
-
version: "0"
|
1303
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
1281
|
+
requirements:
|
1282
|
+
- - ! '>='
|
1283
|
+
- !ruby/object:Gem::Version
|
1284
|
+
version: '0'
|
1285
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
1304
1286
|
none: false
|
1305
|
-
requirements:
|
1306
|
-
- -
|
1307
|
-
- !ruby/object:Gem::Version
|
1308
|
-
|
1309
|
-
- 0
|
1310
|
-
version: "0"
|
1287
|
+
requirements:
|
1288
|
+
- - ! '>'
|
1289
|
+
- !ruby/object:Gem::Version
|
1290
|
+
version: 1.3.1
|
1311
1291
|
requirements: []
|
1312
|
-
|
1313
1292
|
rubyforge_project:
|
1314
|
-
rubygems_version: 1.
|
1293
|
+
rubygems_version: 1.8.10
|
1315
1294
|
signing_key:
|
1316
1295
|
specification_version: 3
|
1317
1296
|
summary: A Real Stylesheet Framework
|
1318
|
-
test_files:
|
1297
|
+
test_files:
|
1319
1298
|
- test/fixtures/extensions/only_stylesheets/compass_init.rb
|
1320
1299
|
- test/fixtures/extensions/only_stylesheets/scss/only_stylesheets/foo.scss
|
1321
1300
|
- test/fixtures/fonts/bgrove.base64.txt
|
@@ -1424,6 +1403,7 @@ test_files:
|
|
1424
1403
|
- test/fixtures/stylesheets/compass/css/opacity.css
|
1425
1404
|
- test/fixtures/stylesheets/compass/css/pie.css
|
1426
1405
|
- test/fixtures/stylesheets/compass/css/print.css
|
1406
|
+
- test/fixtures/stylesheets/compass/css/regions.css
|
1427
1407
|
- test/fixtures/stylesheets/compass/css/reset.css
|
1428
1408
|
- test/fixtures/stylesheets/compass/css/sprites.css
|
1429
1409
|
- test/fixtures/stylesheets/compass/css/stretching.css
|
@@ -1704,6 +1684,7 @@ test_files:
|
|
1704
1684
|
- test/fixtures/stylesheets/compass/sass/opacity.scss
|
1705
1685
|
- test/fixtures/stylesheets/compass/sass/pie.scss
|
1706
1686
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
1687
|
+
- test/fixtures/stylesheets/compass/sass/regions.scss
|
1707
1688
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
1708
1689
|
- test/fixtures/stylesheets/compass/sass/sprites.scss
|
1709
1690
|
- test/fixtures/stylesheets/compass/sass/stretching.sass
|