compass 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/features/command_line.feature +35 -11
- data/features/extensions.feature +4 -2
- data/features/step_definitions/command_line_steps.rb +3 -0
- data/features/step_definitions/extension_steps.rb +10 -1
- data/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +1 -1
- data/frameworks/blueprint/templates/basic/manifest.rb +1 -1
- data/frameworks/blueprint/templates/basic/screen.sass +1 -0
- data/frameworks/blueprint/templates/project/ie.sass +1 -1
- data/frameworks/blueprint/templates/project/print.sass +1 -1
- data/frameworks/blueprint/templates/project/screen.sass +6 -3
- data/frameworks/blueprint/templates/semantic/manifest.rb +1 -1
- data/frameworks/blueprint/templates/semantic/print.sass +0 -3
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +9 -6
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +3 -1
- data/lib/compass/app_integration/rails.rb +8 -0
- data/lib/compass/app_integration/rails/installer.rb +1 -1
- data/lib/compass/commands/help.rb +1 -11
- data/lib/compass/commands/installer_command.rb +1 -5
- data/lib/compass/commands/list_frameworks.rb +19 -2
- data/lib/compass/commands/project_base.rb +4 -2
- data/lib/compass/commands/update_project.rb +7 -3
- data/lib/compass/configuration/helpers.rb +2 -2
- data/lib/compass/frameworks.rb +21 -0
- data/lib/compass/sass_extensions/functions/image_size.rb +2 -2
- data/lib/compass/stats.rb +3 -1
- data/test/command_line_test.rb +0 -5
- data/test/compass_test.rb +21 -8
- data/test/fixtures/stylesheets/blueprint/css/ie.css +60 -0
- data/test/fixtures/stylesheets/blueprint/css/print.css +56 -0
- data/test/fixtures/stylesheets/blueprint/css/screen.css +804 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/utilities.css +37 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.sass +3 -0
- data/test/fixtures/stylesheets/compass/css/print.css +1 -2
- data/test/fixtures/stylesheets/compass/sass/utilities.scss +9 -0
- data/test/fixtures/stylesheets/image_urls/css/screen.css +0 -2
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +2 -2
- data/test/fixtures/stylesheets/relative/css/ie.css +1 -1
- data/test/rails_integration_test.rb +2 -2
- metadata +15 -5
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +0 -7
@@ -0,0 +1,37 @@
|
|
1
|
+
.clear {
|
2
|
+
clear: both; }
|
3
|
+
|
4
|
+
.nowrap {
|
5
|
+
white-space: nowrap; }
|
6
|
+
|
7
|
+
.clearfix {
|
8
|
+
overflow: hidden;
|
9
|
+
display: inline-block; }
|
10
|
+
.clearfix {
|
11
|
+
display: block; }
|
12
|
+
|
13
|
+
.small {
|
14
|
+
font-size: 0.8em;
|
15
|
+
margin-bottom: 1.875em;
|
16
|
+
line-height: 1.875em; }
|
17
|
+
|
18
|
+
.large {
|
19
|
+
font-size: 1.2em;
|
20
|
+
line-height: 2.5em;
|
21
|
+
margin-bottom: 1.25em; }
|
22
|
+
|
23
|
+
.first {
|
24
|
+
margin-left: 0;
|
25
|
+
padding-left: 0; }
|
26
|
+
|
27
|
+
.last {
|
28
|
+
margin-right: 0;
|
29
|
+
padding-right: 0; }
|
30
|
+
|
31
|
+
.top {
|
32
|
+
margin-top: 0;
|
33
|
+
padding-top: 0; }
|
34
|
+
|
35
|
+
.bottom {
|
36
|
+
margin-bottom: 0;
|
37
|
+
padding-bottom: 0; }
|
@@ -1,5 +1,4 @@
|
|
1
|
-
.noprint,
|
2
|
-
.no-print {
|
1
|
+
.noprint, .no-print {
|
3
2
|
display: none; }
|
4
3
|
|
5
4
|
address.print-only, blockquote.print-only, center.print-only, dir.print-only, div.print-only, dd.print-only, dl.print-only, dt.print-only, fieldset.print-only, form.print-only, frameset.print-only, h1.print-only, h2.print-only, h3.print-only, h4.print-only, h5.print-only, h6.print-only, hr.print-only, isindex.print-only, menu.print-only, noframes.print-only, noscript.print-only, ol.print-only, p.print-only, pre.print-only, ul.print-only {
|
@@ -1,5 +1,3 @@
|
|
1
|
-
/* line 1, ../sass/screen.sass */
|
2
1
|
.showgrid { background-image: url('http://assets2.example.com/images/grid.png?busted=true'); }
|
3
2
|
|
4
|
-
/* line 4, ../sass/screen.sass */
|
5
3
|
.inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); }
|
@@ -1 +1 @@
|
|
1
|
-
/* Welcome to Compass. Use this file to write IE specific override styles. Import this file using the following HTML or equivalent: <!--[if IE]>
|
1
|
+
/* Welcome to Compass. Use this file to write IE specific override styles. Import this file using the following HTML or equivalent: <!--[if IE]> <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> <![endif]--> */
|
@@ -15,7 +15,7 @@ class RailsIntegrationTest < Test::Unit::TestCase
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def test_rails_install
|
18
|
-
|
18
|
+
within_tmp_directory do
|
19
19
|
begin
|
20
20
|
generate_rails_app_directories("compass_rails")
|
21
21
|
Dir.chdir "compass_rails" do
|
@@ -30,7 +30,7 @@ class RailsIntegrationTest < Test::Unit::TestCase
|
|
30
30
|
ensure
|
31
31
|
FileUtils.rm_rf "compass_rails"
|
32
32
|
end
|
33
|
-
|
33
|
+
end
|
34
34
|
rescue LoadError
|
35
35
|
puts "Skipping rails test. Couldn't Load rails"
|
36
36
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 10
|
8
|
-
-
|
9
|
-
version: 0.10.
|
8
|
+
- 2
|
9
|
+
version: 0.10.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chris Eppstein
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-05-
|
19
|
+
date: 2010-05-31 00:00:00 -07:00
|
20
20
|
default_executable: compass
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -453,11 +453,16 @@ files:
|
|
453
453
|
- test/compass_test.rb
|
454
454
|
- test/configuration_test.rb
|
455
455
|
- test/fixtures/stylesheets/blueprint/config.rb
|
456
|
+
- test/fixtures/stylesheets/blueprint/css/ie.css
|
457
|
+
- test/fixtures/stylesheets/blueprint/css/print.css
|
458
|
+
- test/fixtures/stylesheets/blueprint/css/screen.css
|
459
|
+
- test/fixtures/stylesheets/blueprint/css/single-imports/utilities.css
|
456
460
|
- test/fixtures/stylesheets/blueprint/css/typography.css
|
457
461
|
- test/fixtures/stylesheets/blueprint/images/grid.png
|
458
462
|
- test/fixtures/stylesheets/blueprint/sass/ie.sass
|
459
463
|
- test/fixtures/stylesheets/blueprint/sass/print.sass
|
460
464
|
- test/fixtures/stylesheets/blueprint/sass/screen.sass
|
465
|
+
- test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.sass
|
461
466
|
- test/fixtures/stylesheets/blueprint/sass/typography.sass
|
462
467
|
- test/fixtures/stylesheets/compass/100x150.jpg
|
463
468
|
- test/fixtures/stylesheets/compass/config.rb
|
@@ -478,7 +483,7 @@ files:
|
|
478
483
|
- test/fixtures/stylesheets/compass/sass/layout.sass
|
479
484
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
480
485
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
481
|
-
- test/fixtures/stylesheets/compass/sass/utilities.
|
486
|
+
- test/fixtures/stylesheets/compass/sass/utilities.scss
|
482
487
|
- test/fixtures/stylesheets/image_urls/config.rb
|
483
488
|
- test/fixtures/stylesheets/image_urls/css/screen.css
|
484
489
|
- test/fixtures/stylesheets/image_urls/images/grid.png
|
@@ -535,11 +540,16 @@ test_files:
|
|
535
540
|
- test/compass_test.rb
|
536
541
|
- test/configuration_test.rb
|
537
542
|
- test/fixtures/stylesheets/blueprint/config.rb
|
543
|
+
- test/fixtures/stylesheets/blueprint/css/ie.css
|
544
|
+
- test/fixtures/stylesheets/blueprint/css/print.css
|
545
|
+
- test/fixtures/stylesheets/blueprint/css/screen.css
|
546
|
+
- test/fixtures/stylesheets/blueprint/css/single-imports/utilities.css
|
538
547
|
- test/fixtures/stylesheets/blueprint/css/typography.css
|
539
548
|
- test/fixtures/stylesheets/blueprint/images/grid.png
|
540
549
|
- test/fixtures/stylesheets/blueprint/sass/ie.sass
|
541
550
|
- test/fixtures/stylesheets/blueprint/sass/print.sass
|
542
551
|
- test/fixtures/stylesheets/blueprint/sass/screen.sass
|
552
|
+
- test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.sass
|
543
553
|
- test/fixtures/stylesheets/blueprint/sass/typography.sass
|
544
554
|
- test/fixtures/stylesheets/compass/100x150.jpg
|
545
555
|
- test/fixtures/stylesheets/compass/config.rb
|
@@ -560,7 +570,7 @@ test_files:
|
|
560
570
|
- test/fixtures/stylesheets/compass/sass/layout.sass
|
561
571
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
562
572
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
563
|
-
- test/fixtures/stylesheets/compass/sass/utilities.
|
573
|
+
- test/fixtures/stylesheets/compass/sass/utilities.scss
|
564
574
|
- test/fixtures/stylesheets/image_urls/config.rb
|
565
575
|
- test/fixtures/stylesheets/image_urls/css/screen.css
|
566
576
|
- test/fixtures/stylesheets/image_urls/images/grid.png
|