compass 0.13.alpha.4 → 0.13.alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.markdown +2 -3
- data/Rakefile +91 -5
- data/VERSION.yml +1 -1
- 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/features/command_line.feature +2 -6
- data/features/step_definitions/command_line_steps.rb +1 -0
- data/frameworks/compass/stylesheets/compass/_css3.scss +0 -1
- data/frameworks/compass/stylesheets/compass/_support.scss +353 -35
- data/frameworks/compass/stylesheets/compass/css3/_animation.scss +49 -48
- data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +4 -8
- data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +15 -19
- data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +17 -19
- data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +4 -8
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +37 -39
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +45 -20
- data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +6 -8
- data/frameworks/compass/stylesheets/compass/css3/_box.scss +12 -13
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +46 -26
- data/frameworks/compass/stylesheets/compass/css3/_deprecated-support.scss +272 -0
- data/frameworks/compass/stylesheets/compass/css3/_filter.scss +17 -10
- data/frameworks/compass/stylesheets/compass/css3/_flexbox.scss +134 -281
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +5 -5
- data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +14 -11
- data/frameworks/compass/stylesheets/compass/css3/_images.scss +77 -67
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +15 -6
- data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +6 -2
- data/frameworks/compass/stylesheets/compass/css3/_pie.scss +1 -73
- data/frameworks/compass/stylesheets/compass/css3/_regions.scss +7 -6
- data/frameworks/compass/stylesheets/compass/css3/_selection.scss +45 -17
- data/frameworks/compass/stylesheets/compass/css3/_shared.scss +4 -261
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +1 -1
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +24 -32
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +102 -152
- data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +42 -27
- data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +2 -1
- data/frameworks/compass/stylesheets/compass/typography/links/_hover-link.scss +1 -1
- data/frameworks/compass/stylesheets/compass/typography/lists/_horizontal-list.scss +2 -2
- data/frameworks/compass/stylesheets/compass/typography/lists/_inline-list.scss +1 -1
- data/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss +1 -1
- data/frameworks/compass/stylesheets/compass/utilities/_sass.scss +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/color/_brightness.scss +12 -0
- data/frameworks/compass/stylesheets/compass/utilities/color/_contrast.scss +36 -12
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +6 -2
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +23 -4
- data/frameworks/compass/stylesheets/compass/utilities/general/_min.scss +1 -1
- data/frameworks/compass/stylesheets/compass/utilities/sass/_lists.scss +16 -0
- data/frameworks/compass/stylesheets/compass/utilities/sass/_maps.scss +19 -0
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +25 -18
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +3 -1
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +3 -3
- data/lib/compass.rb +1 -1
- data/lib/compass/browser_support.rb +1 -1
- data/lib/compass/caniuse.rb +247 -0
- data/lib/compass/configuration/adapters.rb +7 -1
- data/lib/compass/sass_extensions/functions.rb +5 -0
- data/lib/compass/sass_extensions/functions/constants.rb +2 -2
- data/lib/compass/sass_extensions/functions/cross_browser_support.rb +176 -1
- data/lib/compass/sass_extensions/functions/display.rb +24 -19
- data/lib/compass/sass_extensions/functions/env.rb +37 -8
- data/lib/compass/sass_extensions/functions/gradient_support.rb +10 -13
- data/lib/compass/sass_extensions/functions/math.rb +31 -13
- data/lib/compass/sass_extensions/functions/sprites.rb +48 -25
- data/lib/compass/sass_extensions/monkey_patches/browser_support.rb +42 -13
- data/lib/compass/sass_extensions/sprites/image.rb +14 -4
- data/lib/compass/sass_extensions/sprites/image_methods.rb +19 -3
- data/lib/compass/sprite_importer/content.erb +8 -7
- data/lib/compass/watcher/project_watcher.rb +75 -42
- data/lib/compass/watcher/watch.rb +35 -17
- data/test/fixtures/sprites/public/images/focus/ten-by-ten.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_active.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_focus.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_hover.png +0 -0
- data/test/fixtures/sprites/public/images/focus/ten-by-ten_target.png +0 -0
- data/test/fixtures/stylesheets/compass/config.rb +1 -0
- data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +1 -9
- data/test/fixtures/stylesheets/compass/css/animation.css +1 -9
- data/test/fixtures/stylesheets/compass/css/appearance.css +3 -0
- data/test/fixtures/stylesheets/compass/css/background-clip.css +4 -8
- data/test/fixtures/stylesheets/compass/css/background-origin.css +4 -8
- data/test/fixtures/stylesheets/compass/css/background-size.css +3 -10
- data/test/fixtures/stylesheets/compass/css/border_radius.css +3 -3
- data/test/fixtures/stylesheets/compass/css/{box-sizeing.css → box-sizing.css} +2 -2
- data/test/fixtures/stylesheets/compass/css/box_shadow.css +15 -5
- data/test/fixtures/stylesheets/compass/css/brightness.css +14 -0
- data/test/fixtures/stylesheets/compass/css/browser-support.css +306 -0
- data/test/fixtures/stylesheets/compass/css/color.css +18 -0
- data/test/fixtures/stylesheets/compass/css/columns.css +27 -18
- data/test/fixtures/stylesheets/compass/css/filters.css +6 -6
- data/test/fixtures/stylesheets/compass/css/flexbox.css +84 -111
- data/test/fixtures/stylesheets/compass/css/fonts.css +1 -1
- data/test/fixtures/stylesheets/compass/css/gradients.css +53 -53
- data/test/fixtures/stylesheets/compass/css/grid_background.css +11 -11
- data/test/fixtures/stylesheets/compass/css/hyphenation.css +2 -4
- data/test/fixtures/stylesheets/compass/css/lists.css +6 -12
- data/test/fixtures/stylesheets/compass/css/regions.css +2 -2
- data/test/fixtures/stylesheets/compass/css/selection.css +41 -4
- data/test/fixtures/stylesheets/compass/css/sprites_with_explicit_separator.css +16 -0
- data/test/fixtures/stylesheets/compass/css/support.css +62 -0
- data/test/fixtures/stylesheets/compass/css/transform.css +64 -136
- data/test/fixtures/stylesheets/compass/css/transition.css +27 -45
- data/test/fixtures/stylesheets/compass/css/typography/links/hover-link.css +4 -0
- data/test/fixtures/stylesheets/compass/css/user-interface.css +34 -7
- data/test/fixtures/stylesheets/compass/css/utilities.css +7 -7
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +6 -9
- data/test/fixtures/stylesheets/compass/images/flag_states-sc42d7bf926.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_active.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_focus.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_hover.png +0 -0
- data/test/fixtures/stylesheets/compass/images/flag_states/foo_target.png +0 -0
- data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +1 -3
- data/test/fixtures/stylesheets/compass/sass/appearance.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/background-clip.scss +0 -5
- data/test/fixtures/stylesheets/compass/sass/background-origin.scss +0 -5
- data/test/fixtures/stylesheets/compass/sass/background-size.scss +0 -5
- data/test/fixtures/stylesheets/compass/sass/{box-sizeing.scss → box-sizing.scss} +1 -1
- data/test/fixtures/stylesheets/compass/sass/box_shadow.scss +2 -0
- data/test/fixtures/stylesheets/compass/sass/brightness.scss +12 -0
- data/test/fixtures/stylesheets/compass/sass/browser-support.scss +30 -0
- data/test/fixtures/stylesheets/compass/sass/color.scss +22 -0
- data/test/fixtures/stylesheets/compass/sass/filters.scss +1 -0
- data/test/fixtures/stylesheets/compass/sass/flexbox.scss +84 -40
- data/test/fixtures/stylesheets/compass/sass/gradients.sass +3 -2
- data/test/fixtures/stylesheets/compass/sass/selection.scss +29 -4
- data/test/fixtures/stylesheets/compass/sass/sprites_with_explicit_separator.scss +7 -0
- data/test/fixtures/stylesheets/compass/sass/support.scss +137 -0
- data/test/fixtures/stylesheets/compass/sass/transition.scss +0 -3
- data/test/fixtures/stylesheets/compass/sass/typography/links/hover-link.scss +3 -0
- data/test/fixtures/stylesheets/compass/sass/user-interface.scss +16 -5
- data/test/fixtures/stylesheets/compass/sass/utilities.scss +4 -4
- data/test/fixtures/stylesheets/envtest/css/env.css +4 -4
- data/test/fixtures/stylesheets/envtest/tmp/env.css +4 -4
- data/test/integrations/sprites_test.rb +30 -1
- data/test/test_helper.rb +2 -2
- data/test/units/caniuse_test.rb +115 -0
- data/test/units/command_line_test.rb +1 -0
- data/test/units/sass_extensions_test.rb +5 -0
- data/test/units/sprites/image_test.rb +12 -0
- data/test/units/sprites/sprite_map_test.rb +11 -0
- data/test/units/watcher/project_watcher_test.rb +26 -18
- metadata +96 -42
- data/examples/compass/src/pie.scss +0 -110
- data/frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss +0 -87
- data/frameworks/compass/templates/pie/LICENSE +0 -12
- data/frameworks/compass/templates/pie/LICENSE-APACHE2.txt +0 -13
- data/frameworks/compass/templates/pie/LICENSE-GPL2.txt +0 -278
- data/frameworks/compass/templates/pie/PIE.htc +0 -96
- data/frameworks/compass/templates/pie/manifest.rb +0 -39
- data/frameworks/compass/templates/pie/pie.scss +0 -74
- data/lib/compass/sass_extensions/functions/utility.rb +0 -10
- data/test/fixtures/stylesheets/compass/css/pie.css +0 -23
- data/test/fixtures/stylesheets/compass/sass/pie.scss +0 -47
data/test/test_helper.rb
CHANGED
@@ -6,8 +6,8 @@ test_dir = File.dirname(__FILE__)
|
|
6
6
|
$:.unshift(test_dir) unless $:.include?(test_dir)
|
7
7
|
|
8
8
|
require 'compass'
|
9
|
-
|
10
9
|
require 'test/unit'
|
10
|
+
require 'true'
|
11
11
|
|
12
12
|
|
13
13
|
class String
|
@@ -62,4 +62,4 @@ module SpriteHelper
|
|
62
62
|
rescue Errno::ENOENT => e
|
63
63
|
end
|
64
64
|
|
65
|
-
end
|
65
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'compass'
|
3
|
+
|
4
|
+
class CanIUseTest < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def caniuse
|
7
|
+
Compass::CanIUse.instance
|
8
|
+
end
|
9
|
+
|
10
|
+
DEFAULT_CAPABILITY_OPTIONS = [{:full_support => true}, {:partial_support => true}]
|
11
|
+
|
12
|
+
def test_unknown_browsers
|
13
|
+
assert_equal "unknown", Compass::CanIUse::PUBLIC_BROWSER_NAMES["unknown"]
|
14
|
+
assert_equal "unknown", Compass::CanIUse::CAN_I_USE_NAMES["unknown"]
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_browser_names
|
18
|
+
assert_equal Compass::CanIUse::PUBLIC_BROWSER_NAMES.values.sort, caniuse.browsers
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_prefixes
|
22
|
+
assert_equal %w(-moz -ms -o -webkit), caniuse.prefixes
|
23
|
+
assert_equal %w(-moz -webkit), caniuse.prefixes(%w(chrome firefox safari))
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_prefix
|
27
|
+
assert_equal "-webkit", caniuse.prefix("chrome")
|
28
|
+
assert_equal "-webkit", caniuse.prefix("safari")
|
29
|
+
assert_equal "-ms", caniuse.prefix("ie")
|
30
|
+
assert_equal "-o", caniuse.prefix("opera")
|
31
|
+
assert_equal "-webkit", caniuse.prefix("opera", "15")
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_browsers_with_prefix
|
35
|
+
assert_equal %w(android android-chrome blackberry chrome ios-safari opera opera-mobile safari),
|
36
|
+
caniuse.browsers_with_prefix("-webkit").sort
|
37
|
+
assert_equal %w(android-firefox firefox),
|
38
|
+
caniuse.browsers_with_prefix("-moz").sort
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_capabilities
|
42
|
+
# This is meant to break if a capability goes away or arrives
|
43
|
+
# So that we can think about what that means for compass
|
44
|
+
assert_equal ["background-img-opts", "border-image", "border-radius", "calc",
|
45
|
+
"css-animation", "css-boxshadow", "css-canvas", "css-counters",
|
46
|
+
"css-featurequeries", "css-filters", "css-fixed", "css-gencontent",
|
47
|
+
"css-gradients", "css-grid", "css-hyphens", "css-masks",
|
48
|
+
"css-mediaqueries", "css-opacity", "css-placeholder", "css-reflections", "css-regions",
|
49
|
+
"css-repeating-gradients", "css-resize", "css-sel2", "css-sel3",
|
50
|
+
"css-selection", "css-table", "css-textshadow", "css-transitions",
|
51
|
+
"css3-boxsizing", "css3-colors", "css3-tabsize", "flexbox",
|
52
|
+
"font-feature", "fontface", "getcomputedstyle", "inline-block",
|
53
|
+
"intrinsic-width", "minmaxwh", "multibackgrounds", "multicolumn",
|
54
|
+
"object-fit", "outline", "pointer-events", "rem", "style-scoped",
|
55
|
+
"svg-css", "text-overflow", "text-stroke", "transforms2d",
|
56
|
+
"transforms3d", "ttf", "user-select-none", "viewport-units",
|
57
|
+
"word-break", "wordwrap"],
|
58
|
+
caniuse.capabilities
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_usage
|
62
|
+
total = 0
|
63
|
+
caniuse.browsers.each do |browser|
|
64
|
+
caniuse.versions(browser).each do |version|
|
65
|
+
total += caniuse.usage(browser, version)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
# all browsers add up to about 94%. that's... unfortunate.
|
69
|
+
assert total > 90 && total < 100
|
70
|
+
end
|
71
|
+
|
72
|
+
def test_prefixed_usage
|
73
|
+
assert 0 < caniuse.prefixed_usage("-webkit", "border-radius", DEFAULT_CAPABILITY_OPTIONS)
|
74
|
+
assert_equal 0, caniuse.prefixed_usage("-webkit", "outline", DEFAULT_CAPABILITY_OPTIONS)
|
75
|
+
assert_raises ArgumentError do
|
76
|
+
caniuse.prefixed_usage("-webkit", "unknown", DEFAULT_CAPABILITY_OPTIONS)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_requires_prefix
|
81
|
+
assert_raises ArgumentError do
|
82
|
+
caniuse.requires_prefix("chrome", "3", "border-radius", DEFAULT_CAPABILITY_OPTIONS)
|
83
|
+
end
|
84
|
+
assert_equal "-webkit", caniuse.requires_prefix("chrome", "4", "border-radius", DEFAULT_CAPABILITY_OPTIONS)
|
85
|
+
assert_equal nil, caniuse.requires_prefix("chrome", "5", "border-radius", DEFAULT_CAPABILITY_OPTIONS)
|
86
|
+
assert_equal nil, caniuse.requires_prefix("chrome", "30", "border-radius", DEFAULT_CAPABILITY_OPTIONS)
|
87
|
+
assert_equal "-webkit", caniuse.requires_prefix("opera", "16", "css-filters", DEFAULT_CAPABILITY_OPTIONS)
|
88
|
+
end
|
89
|
+
|
90
|
+
def test_browser_minimums
|
91
|
+
mins = caniuse.browser_minimums("css-filters", "-webkit")
|
92
|
+
expected = {
|
93
|
+
"android-chrome"=>"0",
|
94
|
+
"blackberry"=>"10",
|
95
|
+
"chrome"=>"18",
|
96
|
+
"ios-safari"=>"6.0-6.1",
|
97
|
+
"opera"=>"15",
|
98
|
+
"opera-mobile"=>"14",
|
99
|
+
"safari"=>"6"
|
100
|
+
}
|
101
|
+
assert_equal(expected, mins)
|
102
|
+
mins = caniuse.browser_minimums("css-filters", "-o")
|
103
|
+
expected = {}
|
104
|
+
assert_equal(expected, mins)
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_capability_matches
|
108
|
+
assert caniuse.capability_matches(
|
109
|
+
caniuse.browser_support("chrome", "10", "flexbox"),
|
110
|
+
[{:full_support => true}, {:partial_support => true, :spec_versions => [1]}])
|
111
|
+
assert !caniuse.capability_matches(
|
112
|
+
caniuse.browser_support("chrome", "10", "flexbox"),
|
113
|
+
[{:full_support => true}, {:partial_support => true, :spec_versions => [3]}])
|
114
|
+
end
|
115
|
+
end
|
@@ -77,17 +77,22 @@ class SassExtensionsTest < Test::Unit::TestCase
|
|
77
77
|
def test_math_functions
|
78
78
|
assert_equal "0.84147", evaluate("sin(1)")
|
79
79
|
assert_equal "0.84147px", evaluate("sin(1px)")
|
80
|
+
assert_equal "0.5236", evaluate("asin(0.5)")
|
81
|
+
assert_equal "0.5236", evaluate("asin(100px/200px)")
|
80
82
|
assert_equal "0.0", evaluate("sin(pi())")
|
81
83
|
assert_equal "1", evaluate("sin(pi() / 2)")
|
82
84
|
assert_equal "0.0", evaluate("sin(180deg)")
|
83
85
|
assert_equal "-1", evaluate("sin(3* pi() / 2)")
|
84
86
|
assert_equal "-1", evaluate("cos(pi())")
|
85
87
|
assert_equal "1", evaluate("cos(360deg)")
|
88
|
+
assert_equal "1.0472", evaluate("acos(0.5)")
|
89
|
+
assert_equal "1.0472", evaluate("acos(100px/200px)")
|
86
90
|
assert_equal "-0.17605", evaluate("sin(270)")
|
87
91
|
assert_equal "1", evaluate("cos(2*pi())")
|
88
92
|
assert_equal "0.0", evaluate("cos(pi() / 2)")
|
89
93
|
assert_equal "0.0", evaluate("cos(3* pi() / 2)")
|
90
94
|
assert_equal "0.0", evaluate("tan(pi())")
|
95
|
+
assert_equal "0.46365", evaluate("atan(0.5)")
|
91
96
|
assert_equal "0.0", evaluate("tan(360deg)")
|
92
97
|
assert_equal "0.95892", evaluate("sin(360)")
|
93
98
|
assert evaluate("tan(pi()/2 - 0.0001)").to_f > 1000, evaluate("tan(pi()/2 - 0.0001)")
|
@@ -52,6 +52,18 @@ class SpritesImageTest < Test::Unit::TestCase
|
|
52
52
|
assert_equal 'ten-by-ten_hover', test_image.hover.name
|
53
53
|
end
|
54
54
|
|
55
|
+
test 'hover should find image by _ or - in file name' do
|
56
|
+
map = test_map(:seperator => '-')
|
57
|
+
map.images.each_index do |i|
|
58
|
+
if map.images[i].name == 'ten-by-ten_hover'
|
59
|
+
map.images[i].stubs(:name).returns('ten-by-ten-hover')
|
60
|
+
end
|
61
|
+
end
|
62
|
+
test_image = map.images.first
|
63
|
+
|
64
|
+
assert_equal 'ten-by-ten-hover', test_image.hover.name
|
65
|
+
end
|
66
|
+
|
55
67
|
test 'no parent' do
|
56
68
|
assert_nil test_image.parent
|
57
69
|
end
|
@@ -60,6 +60,17 @@ class SpriteMapTest < Test::Unit::TestCase
|
|
60
60
|
assert_equal "ten-by-ten_#{selector}", @base.image_for('ten-by-ten').send(:"#{selector}").name
|
61
61
|
end
|
62
62
|
|
63
|
+
it "should find file with '-' #{selector}" do
|
64
|
+
map = sprite_map_test(:seperator => '-')
|
65
|
+
map.images.each_index do |i|
|
66
|
+
if map.images[i].name != 'ten-by-ten'
|
67
|
+
name = map.images[i].name.gsub(/_/, '-')
|
68
|
+
map.images[i].stubs(:name).returns(name)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
assert_equal "ten-by-ten-#{selector}", map.image_for('ten-by-ten').send(:"#{selector}").name
|
72
|
+
end
|
73
|
+
|
63
74
|
end
|
64
75
|
|
65
76
|
it "should generate sprite" do
|
@@ -3,8 +3,6 @@ require 'compass'
|
|
3
3
|
|
4
4
|
class ProjectWatcherTest < Test::Unit::TestCase
|
5
5
|
|
6
|
-
FOO = ['foo.scss']
|
7
|
-
|
8
6
|
def setup
|
9
7
|
@working_path = File.join(fixture_path, 'stylesheets', 'valid')
|
10
8
|
@to = File.join(@working_path, 'css')
|
@@ -13,15 +11,27 @@ class ProjectWatcherTest < Test::Unit::TestCase
|
|
13
11
|
@project_watcher = Compass::Watcher::ProjectWatcher.new(@working_path)
|
14
12
|
end
|
15
13
|
|
14
|
+
def fullpath(basename)
|
15
|
+
File.join(@working_path, basename)
|
16
|
+
end
|
17
|
+
|
18
|
+
def foo_basename
|
19
|
+
"foo.scss"
|
20
|
+
end
|
21
|
+
|
22
|
+
def sample_basename
|
23
|
+
File.join('sass', 'sample.scss')
|
24
|
+
end
|
25
|
+
|
16
26
|
test "should initalize correctly" do
|
17
27
|
assert @project_watcher.listener.is_a?(Listen::Listener)
|
18
|
-
assert_equal
|
28
|
+
assert_equal 1, @project_watcher.watchers.size
|
19
29
|
end
|
20
30
|
|
21
31
|
test "should have 3 watchers" do
|
22
32
|
Dir.chdir File.join(@working_path, 'sass') do
|
23
33
|
@project_watcher = Compass::Watcher::ProjectWatcher.new(Dir.pwd)
|
24
|
-
assert_equal
|
34
|
+
assert_equal 1, @project_watcher.watchers.size
|
25
35
|
end
|
26
36
|
end
|
27
37
|
|
@@ -30,35 +40,33 @@ class ProjectWatcherTest < Test::Unit::TestCase
|
|
30
40
|
end
|
31
41
|
|
32
42
|
test "sass callback add" do
|
33
|
-
@project_watcher.expects(:sass_added).with(
|
34
|
-
@project_watcher.send(:sass_callback, @working_path,
|
43
|
+
@project_watcher.expects(:sass_added).with(fullpath(foo_basename)).once
|
44
|
+
@project_watcher.send(:sass_callback, @working_path, foo_basename, :added)
|
35
45
|
end
|
36
46
|
|
37
47
|
test "sass callback modified" do
|
38
|
-
@project_watcher.expects(:sass_modified).with(
|
39
|
-
@project_watcher.send(:sass_callback, @working_path,
|
48
|
+
@project_watcher.expects(:sass_modified).with(fullpath(foo_basename)).once
|
49
|
+
@project_watcher.send(:sass_callback, @working_path, foo_basename, :modified)
|
40
50
|
end
|
41
51
|
|
42
52
|
test "sass callback removed" do
|
43
|
-
@project_watcher.expects(:sass_removed).with(
|
44
|
-
@project_watcher.send(:sass_callback, @working_path,
|
53
|
+
@project_watcher.expects(:sass_removed).with(fullpath(foo_basename)).once
|
54
|
+
@project_watcher.send(:sass_callback, @working_path, foo_basename, :removed)
|
45
55
|
end
|
46
56
|
|
47
|
-
SAMPLE = ['sass/sample.scss']
|
48
|
-
|
49
57
|
test "listen callback modified" do
|
50
|
-
@project_watcher.expects(:sass_modified).with(
|
51
|
-
@project_watcher.send(:listen_callback,
|
58
|
+
@project_watcher.expects(:sass_modified).with(fullpath(sample_basename)).once
|
59
|
+
@project_watcher.send(:listen_callback, sample_basename, [], [])
|
52
60
|
end
|
53
61
|
|
54
62
|
test "listen callback added" do
|
55
|
-
@project_watcher.expects(:sass_added).with(
|
56
|
-
@project_watcher.send(:listen_callback, [],
|
63
|
+
@project_watcher.expects(:sass_added).with(fullpath(sample_basename)).once
|
64
|
+
@project_watcher.send(:listen_callback, [], sample_basename, [])
|
57
65
|
end
|
58
66
|
|
59
67
|
test "listen callback removed" do
|
60
|
-
@project_watcher.expects(:sass_removed).with(
|
61
|
-
@project_watcher.send(:listen_callback, [], [],
|
68
|
+
@project_watcher.expects(:sass_removed).with(fullpath(sample_basename)).once
|
69
|
+
@project_watcher.send(:listen_callback, [], [], sample_basename)
|
62
70
|
end
|
63
71
|
|
64
72
|
def remove_to
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.alpha.
|
5
|
-
prerelease: 5
|
4
|
+
version: 0.13.alpha.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Eppstein
|
@@ -14,28 +13,25 @@ authors:
|
|
14
13
|
autorequire:
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
|
-
date: 2013-
|
16
|
+
date: 2013-10-12 00:00:00.000000000 Z
|
18
17
|
dependencies:
|
19
18
|
- !ruby/object:Gem::Dependency
|
20
19
|
name: sass
|
21
20
|
requirement: !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
21
|
requirements:
|
24
22
|
- - ~>
|
25
23
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
24
|
+
version: 3.3.0.rc.0
|
27
25
|
type: :runtime
|
28
26
|
prerelease: false
|
29
27
|
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
31
28
|
requirements:
|
32
29
|
- - ~>
|
33
30
|
- !ruby/object:Gem::Version
|
34
|
-
version: 3.
|
31
|
+
version: 3.3.0.rc.0
|
35
32
|
- !ruby/object:Gem::Dependency
|
36
33
|
name: chunky_png
|
37
34
|
requirement: !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
35
|
requirements:
|
40
36
|
- - ~>
|
41
37
|
- !ruby/object:Gem::Version
|
@@ -43,7 +39,6 @@ dependencies:
|
|
43
39
|
type: :runtime
|
44
40
|
prerelease: false
|
45
41
|
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
42
|
requirements:
|
48
43
|
- - ~>
|
49
44
|
- !ruby/object:Gem::Version
|
@@ -51,19 +46,31 @@ dependencies:
|
|
51
46
|
- !ruby/object:Gem::Dependency
|
52
47
|
name: listen
|
53
48
|
requirement: !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
49
|
requirements:
|
56
|
-
- -
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.1.0
|
53
|
+
type: :runtime
|
54
|
+
prerelease: false
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.1.0
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: json
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
57
65
|
- !ruby/object:Gem::Version
|
58
|
-
version: 0
|
66
|
+
version: '0'
|
59
67
|
type: :runtime
|
60
68
|
prerelease: false
|
61
69
|
version_requirements: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
70
|
requirements:
|
64
|
-
- -
|
71
|
+
- - '>='
|
65
72
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0
|
73
|
+
version: '0'
|
67
74
|
description: Compass is a Sass-based Stylesheet Framework that streamlines the creation
|
68
75
|
and maintenance of CSS.
|
69
76
|
email: chris@eppsteins.net
|
@@ -153,6 +160,7 @@ files:
|
|
153
160
|
- examples/compass/images/emblem/symbolic-link.png
|
154
161
|
- examples/compass/images/emblem/system.png
|
155
162
|
- examples/compass/images/emblem/unreadable.png
|
163
|
+
- examples/compass/images/emblem-a043c4f148.png
|
156
164
|
- examples/compass/images/flag/ad.png
|
157
165
|
- examples/compass/images/flag/ae.png
|
158
166
|
- examples/compass/images/flag/af.png
|
@@ -400,6 +408,8 @@ files:
|
|
400
408
|
- examples/compass/images/flag/za.png
|
401
409
|
- examples/compass/images/flag/zm.png
|
402
410
|
- examples/compass/images/flag/zw.png
|
411
|
+
- examples/compass/images/flag-03c3b29b35.png
|
412
|
+
- examples/compass/images/flag-21cfbfbfc8.png
|
403
413
|
- examples/compass/images/icon-chrome.png
|
404
414
|
- examples/compass/images/icon-firefox.png
|
405
415
|
- examples/compass/images/icon-ie.png
|
@@ -410,7 +420,6 @@ files:
|
|
410
420
|
- examples/compass/src/bp_layout.scss
|
411
421
|
- examples/compass/src/compass.scss
|
412
422
|
- examples/compass/src/images/blue_arrow.gif
|
413
|
-
- examples/compass/src/pie.scss
|
414
423
|
- examples/compass/src/sprites.scss
|
415
424
|
- examples/compass/src/sticky_footer.scss
|
416
425
|
- examples/compass/src/utilities.scss
|
@@ -452,6 +461,7 @@ files:
|
|
452
461
|
- examples/yui/typography.html.haml
|
453
462
|
- examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass
|
454
463
|
- examples/css3/extensions/fancy-fonts/templates/project/manifest.rb
|
464
|
+
- examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf
|
455
465
|
- frameworks/compass/stylesheets/_compass.scss
|
456
466
|
- frameworks/compass/stylesheets/_lemonade.scss
|
457
467
|
- frameworks/compass/stylesheets/compass/_css3.scss
|
@@ -471,6 +481,7 @@ files:
|
|
471
481
|
- frameworks/compass/stylesheets/compass/css3/_box-sizing.scss
|
472
482
|
- frameworks/compass/stylesheets/compass/css3/_box.scss
|
473
483
|
- frameworks/compass/stylesheets/compass/css3/_columns.scss
|
484
|
+
- frameworks/compass/stylesheets/compass/css3/_deprecated-support.scss
|
474
485
|
- frameworks/compass/stylesheets/compass/css3/_filter.scss
|
475
486
|
- frameworks/compass/stylesheets/compass/css3/_flexbox.scss
|
476
487
|
- frameworks/compass/stylesheets/compass/css3/_font-face.scss
|
@@ -483,7 +494,6 @@ files:
|
|
483
494
|
- frameworks/compass/stylesheets/compass/css3/_selection.scss
|
484
495
|
- frameworks/compass/stylesheets/compass/css3/_shared.scss
|
485
496
|
- frameworks/compass/stylesheets/compass/css3/_text-shadow.scss
|
486
|
-
- frameworks/compass/stylesheets/compass/css3/_transform-legacy.scss
|
487
497
|
- frameworks/compass/stylesheets/compass/css3/_transform.scss
|
488
498
|
- frameworks/compass/stylesheets/compass/css3/_transition.scss
|
489
499
|
- frameworks/compass/stylesheets/compass/css3/_user-interface.scss
|
@@ -513,9 +523,11 @@ files:
|
|
513
523
|
- frameworks/compass/stylesheets/compass/utilities/_links.scss
|
514
524
|
- frameworks/compass/stylesheets/compass/utilities/_lists.scss
|
515
525
|
- frameworks/compass/stylesheets/compass/utilities/_print.scss
|
526
|
+
- frameworks/compass/stylesheets/compass/utilities/_sass.scss
|
516
527
|
- frameworks/compass/stylesheets/compass/utilities/_sprites.scss
|
517
528
|
- frameworks/compass/stylesheets/compass/utilities/_tables.scss
|
518
529
|
- frameworks/compass/stylesheets/compass/utilities/_text.scss
|
530
|
+
- frameworks/compass/stylesheets/compass/utilities/color/_brightness.scss
|
519
531
|
- frameworks/compass/stylesheets/compass/utilities/color/_contrast.scss
|
520
532
|
- frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss
|
521
533
|
- frameworks/compass/stylesheets/compass/utilities/general/_float.scss
|
@@ -531,6 +543,8 @@ files:
|
|
531
543
|
- frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
|
532
544
|
- frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
|
533
545
|
- frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
|
546
|
+
- frameworks/compass/stylesheets/compass/utilities/sass/_lists.scss
|
547
|
+
- frameworks/compass/stylesheets/compass/utilities/sass/_maps.scss
|
534
548
|
- frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss
|
535
549
|
- frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
|
536
550
|
- frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
|
@@ -546,12 +560,6 @@ files:
|
|
546
560
|
- frameworks/compass/templates/extension/stylesheets/main.sass
|
547
561
|
- frameworks/compass/templates/extension/templates/project/manifest.rb
|
548
562
|
- frameworks/compass/templates/extension/templates/project/screen.sass
|
549
|
-
- frameworks/compass/templates/pie/LICENSE
|
550
|
-
- frameworks/compass/templates/pie/LICENSE-APACHE2.txt
|
551
|
-
- frameworks/compass/templates/pie/LICENSE-GPL2.txt
|
552
|
-
- frameworks/compass/templates/pie/manifest.rb
|
553
|
-
- frameworks/compass/templates/pie/PIE.htc
|
554
|
-
- frameworks/compass/templates/pie/pie.scss
|
555
563
|
- frameworks/compass/templates/project/ie.sass
|
556
564
|
- frameworks/compass/templates/project/manifest.rb
|
557
565
|
- frameworks/compass/templates/project/print.sass
|
@@ -564,6 +572,7 @@ files:
|
|
564
572
|
- lib/compass/app_integration/stand_alone.rb
|
565
573
|
- lib/compass/app_integration.rb
|
566
574
|
- lib/compass/browser_support.rb
|
575
|
+
- lib/compass/caniuse.rb
|
567
576
|
- lib/compass/commands/base.rb
|
568
577
|
- lib/compass/commands/clean_project.rb
|
569
578
|
- lib/compass/commands/create_project.rb
|
@@ -632,7 +641,6 @@ files:
|
|
632
641
|
- lib/compass/sass_extensions/functions/selectors.rb
|
633
642
|
- lib/compass/sass_extensions/functions/sprites.rb
|
634
643
|
- lib/compass/sass_extensions/functions/urls.rb
|
635
|
-
- lib/compass/sass_extensions/functions/utility.rb
|
636
644
|
- lib/compass/sass_extensions/functions.rb
|
637
645
|
- lib/compass/sass_extensions/monkey_patches/browser_support.rb
|
638
646
|
- lib/compass/sass_extensions/monkey_patches/traversal.rb
|
@@ -677,6 +685,11 @@ files:
|
|
677
685
|
- test/fixtures/sprites/public/images/bool/true.png
|
678
686
|
- test/fixtures/sprites/public/images/colors/blue.png
|
679
687
|
- test/fixtures/sprites/public/images/colors/yellow.png
|
688
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten.png
|
689
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_active.png
|
690
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_focus.png
|
691
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_hover.png
|
692
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_target.png
|
680
693
|
- test/fixtures/sprites/public/images/image_row/large.png
|
681
694
|
- test/fixtures/sprites/public/images/image_row/large_square.png
|
682
695
|
- test/fixtures/sprites/public/images/image_row/medium.png
|
@@ -717,13 +730,17 @@ files:
|
|
717
730
|
- test/fixtures/stylesheets/compass/config.rb
|
718
731
|
- test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css
|
719
732
|
- test/fixtures/stylesheets/compass/css/animation.css
|
733
|
+
- test/fixtures/stylesheets/compass/css/appearance.css
|
720
734
|
- test/fixtures/stylesheets/compass/css/background-clip.css
|
721
735
|
- test/fixtures/stylesheets/compass/css/background-origin.css
|
722
736
|
- test/fixtures/stylesheets/compass/css/background-size.css
|
723
737
|
- test/fixtures/stylesheets/compass/css/border_radius.css
|
724
|
-
- test/fixtures/stylesheets/compass/css/box-
|
738
|
+
- test/fixtures/stylesheets/compass/css/box-sizing.css
|
725
739
|
- test/fixtures/stylesheets/compass/css/box.css
|
726
740
|
- test/fixtures/stylesheets/compass/css/box_shadow.css
|
741
|
+
- test/fixtures/stylesheets/compass/css/brightness.css
|
742
|
+
- test/fixtures/stylesheets/compass/css/browser-support.css
|
743
|
+
- test/fixtures/stylesheets/compass/css/color.css
|
727
744
|
- test/fixtures/stylesheets/compass/css/columns.css
|
728
745
|
- test/fixtures/stylesheets/compass/css/filters.css
|
729
746
|
- test/fixtures/stylesheets/compass/css/flexbox.css
|
@@ -738,17 +755,19 @@ files:
|
|
738
755
|
- test/fixtures/stylesheets/compass/css/legacy_clearfix.css
|
739
756
|
- test/fixtures/stylesheets/compass/css/lists.css
|
740
757
|
- test/fixtures/stylesheets/compass/css/opacity.css
|
741
|
-
- test/fixtures/stylesheets/compass/css/pie.css
|
742
758
|
- test/fixtures/stylesheets/compass/css/print.css
|
743
759
|
- test/fixtures/stylesheets/compass/css/regions.css
|
744
760
|
- test/fixtures/stylesheets/compass/css/replacement.css
|
745
761
|
- test/fixtures/stylesheets/compass/css/reset.css
|
746
762
|
- test/fixtures/stylesheets/compass/css/selection.css
|
747
763
|
- test/fixtures/stylesheets/compass/css/sprites.css
|
764
|
+
- test/fixtures/stylesheets/compass/css/sprites_with_explicit_separator.css
|
748
765
|
- test/fixtures/stylesheets/compass/css/stretching.css
|
766
|
+
- test/fixtures/stylesheets/compass/css/support.css
|
749
767
|
- test/fixtures/stylesheets/compass/css/text_shadow.css
|
750
768
|
- test/fixtures/stylesheets/compass/css/transform.css
|
751
769
|
- test/fixtures/stylesheets/compass/css/transition.css
|
770
|
+
- test/fixtures/stylesheets/compass/css/typography/links/hover-link.css
|
752
771
|
- test/fixtures/stylesheets/compass/css/units.css
|
753
772
|
- test/fixtures/stylesheets/compass/css/user-interface.css
|
754
773
|
- test/fixtures/stylesheets/compass/css/utilities.css
|
@@ -1006,15 +1025,25 @@ files:
|
|
1006
1025
|
- test/fixtures/stylesheets/compass/images/flag/zm.png
|
1007
1026
|
- test/fixtures/stylesheets/compass/images/flag/zw.png
|
1008
1027
|
- test/fixtures/stylesheets/compass/images/flag-s5b4f509715.png
|
1028
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo.png
|
1029
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_active.png
|
1030
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_focus.png
|
1031
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_hover.png
|
1032
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_target.png
|
1033
|
+
- test/fixtures/stylesheets/compass/images/flag_states-sc42d7bf926.png
|
1009
1034
|
- test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss
|
1010
1035
|
- test/fixtures/stylesheets/compass/sass/animation.scss
|
1036
|
+
- test/fixtures/stylesheets/compass/sass/appearance.scss
|
1011
1037
|
- test/fixtures/stylesheets/compass/sass/background-clip.scss
|
1012
1038
|
- test/fixtures/stylesheets/compass/sass/background-origin.scss
|
1013
1039
|
- test/fixtures/stylesheets/compass/sass/background-size.scss
|
1014
1040
|
- test/fixtures/stylesheets/compass/sass/border_radius.scss
|
1015
|
-
- test/fixtures/stylesheets/compass/sass/box-
|
1041
|
+
- test/fixtures/stylesheets/compass/sass/box-sizing.scss
|
1016
1042
|
- test/fixtures/stylesheets/compass/sass/box.sass
|
1017
1043
|
- test/fixtures/stylesheets/compass/sass/box_shadow.scss
|
1044
|
+
- test/fixtures/stylesheets/compass/sass/brightness.scss
|
1045
|
+
- test/fixtures/stylesheets/compass/sass/browser-support.scss
|
1046
|
+
- test/fixtures/stylesheets/compass/sass/color.scss
|
1018
1047
|
- test/fixtures/stylesheets/compass/sass/columns.scss
|
1019
1048
|
- test/fixtures/stylesheets/compass/sass/filters.scss
|
1020
1049
|
- test/fixtures/stylesheets/compass/sass/flexbox.scss
|
@@ -1029,17 +1058,19 @@ files:
|
|
1029
1058
|
- test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss
|
1030
1059
|
- test/fixtures/stylesheets/compass/sass/lists.scss
|
1031
1060
|
- test/fixtures/stylesheets/compass/sass/opacity.scss
|
1032
|
-
- test/fixtures/stylesheets/compass/sass/pie.scss
|
1033
1061
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
1034
1062
|
- test/fixtures/stylesheets/compass/sass/regions.scss
|
1035
1063
|
- test/fixtures/stylesheets/compass/sass/replacement.scss
|
1036
1064
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
1037
1065
|
- test/fixtures/stylesheets/compass/sass/selection.scss
|
1038
1066
|
- test/fixtures/stylesheets/compass/sass/sprites.scss
|
1067
|
+
- test/fixtures/stylesheets/compass/sass/sprites_with_explicit_separator.scss
|
1039
1068
|
- test/fixtures/stylesheets/compass/sass/stretching.sass
|
1069
|
+
- test/fixtures/stylesheets/compass/sass/support.scss
|
1040
1070
|
- test/fixtures/stylesheets/compass/sass/text_shadow.scss
|
1041
1071
|
- test/fixtures/stylesheets/compass/sass/transform.scss
|
1042
1072
|
- test/fixtures/stylesheets/compass/sass/transition.scss
|
1073
|
+
- test/fixtures/stylesheets/compass/sass/typography/links/hover-link.scss
|
1043
1074
|
- test/fixtures/stylesheets/compass/sass/units.scss
|
1044
1075
|
- test/fixtures/stylesheets/compass/sass/user-interface.scss
|
1045
1076
|
- test/fixtures/stylesheets/compass/sass/utilities.scss
|
@@ -1081,6 +1112,7 @@ files:
|
|
1081
1112
|
- test/integrations/sprites_test.rb
|
1082
1113
|
- test/test_helper.rb
|
1083
1114
|
- test/units/actions_test.rb
|
1115
|
+
- test/units/caniuse_test.rb
|
1084
1116
|
- test/units/command_line_test.rb
|
1085
1117
|
- test/units/compass_module_test.rb
|
1086
1118
|
- test/units/compiler_test.rb
|
@@ -1106,30 +1138,27 @@ files:
|
|
1106
1138
|
- features/step_definitions/extension_steps.rb
|
1107
1139
|
homepage: http://compass-style.org
|
1108
1140
|
licenses: []
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
'
|
1141
|
+
metadata: {}
|
1142
|
+
post_install_message: |2
|
1143
|
+
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
|
1113
1144
|
rdoc_options: []
|
1114
1145
|
require_paths:
|
1115
1146
|
- lib
|
1116
1147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1117
|
-
none: false
|
1118
1148
|
requirements:
|
1119
|
-
- -
|
1149
|
+
- - '>='
|
1120
1150
|
- !ruby/object:Gem::Version
|
1121
1151
|
version: '0'
|
1122
1152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1123
|
-
none: false
|
1124
1153
|
requirements:
|
1125
|
-
- -
|
1154
|
+
- - '>'
|
1126
1155
|
- !ruby/object:Gem::Version
|
1127
1156
|
version: 1.3.1
|
1128
1157
|
requirements: []
|
1129
1158
|
rubyforge_project:
|
1130
|
-
rubygems_version:
|
1159
|
+
rubygems_version: 2.0.3
|
1131
1160
|
signing_key:
|
1132
|
-
specification_version:
|
1161
|
+
specification_version: 4
|
1133
1162
|
summary: A Real Stylesheet Framework
|
1134
1163
|
test_files:
|
1135
1164
|
- test/fixtures/extensions/only_stylesheets/compass_init.rb
|
@@ -1142,6 +1171,11 @@ test_files:
|
|
1142
1171
|
- test/fixtures/sprites/public/images/bool/true.png
|
1143
1172
|
- test/fixtures/sprites/public/images/colors/blue.png
|
1144
1173
|
- test/fixtures/sprites/public/images/colors/yellow.png
|
1174
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten.png
|
1175
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_active.png
|
1176
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_focus.png
|
1177
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_hover.png
|
1178
|
+
- test/fixtures/sprites/public/images/focus/ten-by-ten_target.png
|
1145
1179
|
- test/fixtures/sprites/public/images/image_row/large.png
|
1146
1180
|
- test/fixtures/sprites/public/images/image_row/large_square.png
|
1147
1181
|
- test/fixtures/sprites/public/images/image_row/medium.png
|
@@ -1182,13 +1216,17 @@ test_files:
|
|
1182
1216
|
- test/fixtures/stylesheets/compass/config.rb
|
1183
1217
|
- test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css
|
1184
1218
|
- test/fixtures/stylesheets/compass/css/animation.css
|
1219
|
+
- test/fixtures/stylesheets/compass/css/appearance.css
|
1185
1220
|
- test/fixtures/stylesheets/compass/css/background-clip.css
|
1186
1221
|
- test/fixtures/stylesheets/compass/css/background-origin.css
|
1187
1222
|
- test/fixtures/stylesheets/compass/css/background-size.css
|
1188
1223
|
- test/fixtures/stylesheets/compass/css/border_radius.css
|
1189
|
-
- test/fixtures/stylesheets/compass/css/box-
|
1224
|
+
- test/fixtures/stylesheets/compass/css/box-sizing.css
|
1190
1225
|
- test/fixtures/stylesheets/compass/css/box.css
|
1191
1226
|
- test/fixtures/stylesheets/compass/css/box_shadow.css
|
1227
|
+
- test/fixtures/stylesheets/compass/css/brightness.css
|
1228
|
+
- test/fixtures/stylesheets/compass/css/browser-support.css
|
1229
|
+
- test/fixtures/stylesheets/compass/css/color.css
|
1192
1230
|
- test/fixtures/stylesheets/compass/css/columns.css
|
1193
1231
|
- test/fixtures/stylesheets/compass/css/filters.css
|
1194
1232
|
- test/fixtures/stylesheets/compass/css/flexbox.css
|
@@ -1203,17 +1241,19 @@ test_files:
|
|
1203
1241
|
- test/fixtures/stylesheets/compass/css/legacy_clearfix.css
|
1204
1242
|
- test/fixtures/stylesheets/compass/css/lists.css
|
1205
1243
|
- test/fixtures/stylesheets/compass/css/opacity.css
|
1206
|
-
- test/fixtures/stylesheets/compass/css/pie.css
|
1207
1244
|
- test/fixtures/stylesheets/compass/css/print.css
|
1208
1245
|
- test/fixtures/stylesheets/compass/css/regions.css
|
1209
1246
|
- test/fixtures/stylesheets/compass/css/replacement.css
|
1210
1247
|
- test/fixtures/stylesheets/compass/css/reset.css
|
1211
1248
|
- test/fixtures/stylesheets/compass/css/selection.css
|
1212
1249
|
- test/fixtures/stylesheets/compass/css/sprites.css
|
1250
|
+
- test/fixtures/stylesheets/compass/css/sprites_with_explicit_separator.css
|
1213
1251
|
- test/fixtures/stylesheets/compass/css/stretching.css
|
1252
|
+
- test/fixtures/stylesheets/compass/css/support.css
|
1214
1253
|
- test/fixtures/stylesheets/compass/css/text_shadow.css
|
1215
1254
|
- test/fixtures/stylesheets/compass/css/transform.css
|
1216
1255
|
- test/fixtures/stylesheets/compass/css/transition.css
|
1256
|
+
- test/fixtures/stylesheets/compass/css/typography/links/hover-link.css
|
1217
1257
|
- test/fixtures/stylesheets/compass/css/units.css
|
1218
1258
|
- test/fixtures/stylesheets/compass/css/user-interface.css
|
1219
1259
|
- test/fixtures/stylesheets/compass/css/utilities.css
|
@@ -1471,15 +1511,25 @@ test_files:
|
|
1471
1511
|
- test/fixtures/stylesheets/compass/images/flag/zm.png
|
1472
1512
|
- test/fixtures/stylesheets/compass/images/flag/zw.png
|
1473
1513
|
- test/fixtures/stylesheets/compass/images/flag-s5b4f509715.png
|
1514
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo.png
|
1515
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_active.png
|
1516
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_focus.png
|
1517
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_hover.png
|
1518
|
+
- test/fixtures/stylesheets/compass/images/flag_states/foo_target.png
|
1519
|
+
- test/fixtures/stylesheets/compass/images/flag_states-sc42d7bf926.png
|
1474
1520
|
- test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss
|
1475
1521
|
- test/fixtures/stylesheets/compass/sass/animation.scss
|
1522
|
+
- test/fixtures/stylesheets/compass/sass/appearance.scss
|
1476
1523
|
- test/fixtures/stylesheets/compass/sass/background-clip.scss
|
1477
1524
|
- test/fixtures/stylesheets/compass/sass/background-origin.scss
|
1478
1525
|
- test/fixtures/stylesheets/compass/sass/background-size.scss
|
1479
1526
|
- test/fixtures/stylesheets/compass/sass/border_radius.scss
|
1480
|
-
- test/fixtures/stylesheets/compass/sass/box-
|
1527
|
+
- test/fixtures/stylesheets/compass/sass/box-sizing.scss
|
1481
1528
|
- test/fixtures/stylesheets/compass/sass/box.sass
|
1482
1529
|
- test/fixtures/stylesheets/compass/sass/box_shadow.scss
|
1530
|
+
- test/fixtures/stylesheets/compass/sass/brightness.scss
|
1531
|
+
- test/fixtures/stylesheets/compass/sass/browser-support.scss
|
1532
|
+
- test/fixtures/stylesheets/compass/sass/color.scss
|
1483
1533
|
- test/fixtures/stylesheets/compass/sass/columns.scss
|
1484
1534
|
- test/fixtures/stylesheets/compass/sass/filters.scss
|
1485
1535
|
- test/fixtures/stylesheets/compass/sass/flexbox.scss
|
@@ -1494,17 +1544,19 @@ test_files:
|
|
1494
1544
|
- test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss
|
1495
1545
|
- test/fixtures/stylesheets/compass/sass/lists.scss
|
1496
1546
|
- test/fixtures/stylesheets/compass/sass/opacity.scss
|
1497
|
-
- test/fixtures/stylesheets/compass/sass/pie.scss
|
1498
1547
|
- test/fixtures/stylesheets/compass/sass/print.sass
|
1499
1548
|
- test/fixtures/stylesheets/compass/sass/regions.scss
|
1500
1549
|
- test/fixtures/stylesheets/compass/sass/replacement.scss
|
1501
1550
|
- test/fixtures/stylesheets/compass/sass/reset.sass
|
1502
1551
|
- test/fixtures/stylesheets/compass/sass/selection.scss
|
1503
1552
|
- test/fixtures/stylesheets/compass/sass/sprites.scss
|
1553
|
+
- test/fixtures/stylesheets/compass/sass/sprites_with_explicit_separator.scss
|
1504
1554
|
- test/fixtures/stylesheets/compass/sass/stretching.sass
|
1555
|
+
- test/fixtures/stylesheets/compass/sass/support.scss
|
1505
1556
|
- test/fixtures/stylesheets/compass/sass/text_shadow.scss
|
1506
1557
|
- test/fixtures/stylesheets/compass/sass/transform.scss
|
1507
1558
|
- test/fixtures/stylesheets/compass/sass/transition.scss
|
1559
|
+
- test/fixtures/stylesheets/compass/sass/typography/links/hover-link.scss
|
1508
1560
|
- test/fixtures/stylesheets/compass/sass/units.scss
|
1509
1561
|
- test/fixtures/stylesheets/compass/sass/user-interface.scss
|
1510
1562
|
- test/fixtures/stylesheets/compass/sass/utilities.scss
|
@@ -1546,6 +1598,7 @@ test_files:
|
|
1546
1598
|
- test/integrations/sprites_test.rb
|
1547
1599
|
- test/test_helper.rb
|
1548
1600
|
- test/units/actions_test.rb
|
1601
|
+
- test/units/caniuse_test.rb
|
1549
1602
|
- test/units/command_line_test.rb
|
1550
1603
|
- test/units/compass_module_test.rb
|
1551
1604
|
- test/units/compiler_test.rb
|
@@ -1569,3 +1622,4 @@ test_files:
|
|
1569
1622
|
- features/extensions.feature
|
1570
1623
|
- features/step_definitions/command_line_steps.rb
|
1571
1624
|
- features/step_definitions/extension_steps.rb
|
1625
|
+
has_rdoc:
|