compass 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/Rakefile +1 -15
  2. data/VERSION.yml +1 -1
  3. data/features/command_line.feature +2 -0
  4. data/features/extensions.feature +2 -1
  5. data/features/step_definitions/command_line_steps.rb +7 -1
  6. data/frameworks/compass/stylesheets/compass/_support.scss +6 -8
  7. data/frameworks/compass/stylesheets/compass/css3/_images.scss +2 -0
  8. data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +4 -3
  9. data/lib/compass.rb +7 -1
  10. data/lib/compass.rbc +714 -0
  11. data/lib/compass/actions.rbc +2334 -0
  12. data/lib/compass/app_integration.rbc +828 -0
  13. data/lib/compass/app_integration/merb.rbc +102 -0
  14. data/lib/compass/app_integration/rails.rbc +1580 -0
  15. data/lib/compass/app_integration/rails/configuration_defaults.rbc +1673 -0
  16. data/lib/compass/app_integration/rails/installer.rbc +3593 -0
  17. data/lib/compass/app_integration/stand_alone.rbc +589 -0
  18. data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +721 -0
  19. data/lib/compass/app_integration/stand_alone/installer.rbc +1467 -0
  20. data/lib/compass/browser_support.rbc +1132 -0
  21. data/lib/compass/compiler.rbc +4628 -0
  22. data/lib/compass/configuration.rbc +1342 -0
  23. data/lib/compass/configuration/adapters.rbc +2030 -0
  24. data/lib/compass/configuration/comments.rbc +762 -0
  25. data/lib/compass/configuration/data.rbc +2643 -0
  26. data/lib/compass/configuration/defaults.rbc +3042 -0
  27. data/lib/compass/configuration/file_data.rbc +731 -0
  28. data/lib/compass/configuration/helpers.rbc +3220 -0
  29. data/lib/compass/configuration/inheritance.rbc +3345 -0
  30. data/lib/compass/configuration/paths.rbc +412 -0
  31. data/lib/compass/configuration/serialization.rbc +1929 -0
  32. data/lib/compass/dependencies.rbc +220 -0
  33. data/lib/compass/errors.rbc +176 -0
  34. data/lib/compass/frameworks.rbc +3588 -0
  35. data/lib/compass/quick_cache.rbc +320 -0
  36. data/lib/compass/sass_extensions.rb +4 -0
  37. data/lib/compass/sass_extensions.rbc +111 -0
  38. data/lib/compass/sass_extensions/functions.rbc +775 -0
  39. data/lib/compass/sass_extensions/functions/colors.rbc +1275 -0
  40. data/lib/compass/sass_extensions/functions/constants.rbc +1901 -0
  41. data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +1954 -0
  42. data/lib/compass/sass_extensions/functions/display.rbc +993 -0
  43. data/lib/compass/sass_extensions/functions/enumerate.rbc +446 -0
  44. data/lib/compass/sass_extensions/functions/font_files.rbc +404 -0
  45. data/lib/compass/sass_extensions/functions/gradient_support.rb +3 -1
  46. data/lib/compass/sass_extensions/functions/gradient_support.rbc +13899 -0
  47. data/lib/compass/sass_extensions/functions/image_size.rbc +2837 -0
  48. data/lib/compass/sass_extensions/functions/inline_image.rbc +1624 -0
  49. data/lib/compass/sass_extensions/functions/lists.rbc +2565 -0
  50. data/lib/compass/sass_extensions/functions/selectors.rbc +1584 -0
  51. data/lib/compass/sass_extensions/functions/sprites.rb +13 -1
  52. data/lib/compass/sass_extensions/functions/sprites.rbc +3491 -0
  53. data/lib/compass/sass_extensions/functions/trig.rbc +809 -0
  54. data/lib/compass/sass_extensions/functions/urls.rbc +3141 -0
  55. data/lib/compass/sass_extensions/monkey_patches.rbc +134 -0
  56. data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +2153 -0
  57. data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +640 -0
  58. data/lib/compass/sass_extensions/sprites.rbc +299 -0
  59. data/lib/compass/sass_extensions/sprites/base.rb +20 -7
  60. data/lib/compass/sass_extensions/sprites/base.rbc +4529 -0
  61. data/lib/compass/sass_extensions/sprites/engines.rbc +53 -0
  62. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +908 -0
  63. data/lib/compass/sass_extensions/sprites/image.rbc +2583 -0
  64. data/lib/compass/sass_extensions/sprites/sprite_map.rb +15 -3
  65. data/lib/compass/sass_extensions/sprites/sprite_map.rbc +2615 -0
  66. data/lib/compass/sass_extensions/sprites/sprites.rb +3 -3
  67. data/lib/compass/sass_extensions/sprites/sprites.rbc +1573 -0
  68. data/lib/compass/util.rbc +544 -0
  69. data/lib/compass/version.rb +3 -3
  70. data/lib/compass/version.rbc +1259 -0
  71. data/test/fixtures/sprites/public/images/colors/blue.png +0 -0
  72. data/test/fixtures/sprites/public/images/colors/yellow.png +0 -0
  73. data/test/fixtures/sprites/public/images/ko/default_background.png +0 -0
  74. data/test/fixtures/sprites/public/images/ko/starbg26x27.png +0 -0
  75. data/test/fixtures/sprites/public/images/nested/squares/ten-by-ten.png +0 -0
  76. data/test/fixtures/sprites/public/images/prefix/20-by-20.png +0 -0
  77. data/test/fixtures/sprites/public/images/prefix/ten-by-ten.png +0 -0
  78. data/test/fixtures/sprites/public/images/selectors/ten-by-ten.png +0 -0
  79. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_active.png +0 -0
  80. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_hover.png +0 -0
  81. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_target.png +0 -0
  82. data/test/fixtures/sprites/public/images/squares/ten-by-ten.png +0 -0
  83. data/test/fixtures/sprites/public/images/squares/twenty-by-twenty.png +0 -0
  84. data/test/fixtures/stylesheets/blueprint/css/screen.css +1 -0
  85. data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +1 -0
  86. data/test/fixtures/stylesheets/compass/css/gradients.css +57 -0
  87. data/test/fixtures/stylesheets/compass/css/grid_background.css +7 -0
  88. data/test/fixtures/stylesheets/compass/css/pie.css +1 -0
  89. data/test/fixtures/stylesheets/relative/config.rb +1 -0
  90. data/test/{command_line_helper.rb → helpers/command_line.rb} +0 -0
  91. data/test/helpers/diff.rb +49 -0
  92. data/test/{io_helper.rb → helpers/io.rb} +0 -0
  93. data/test/{rails_helper.rb → helpers/rails.rb} +0 -0
  94. data/test/helpers/test_case.rb +55 -0
  95. data/test/{compass_test.rb → integrations/compass_test.rb} +8 -8
  96. data/test/{rails_integration_test.rb → integrations/rails_integration_test.rb} +2 -1
  97. data/test/integrations/sprites_test.rb +607 -0
  98. data/test/{test_rails_helper.rb → integrations/test_rails_helper.rb} +0 -0
  99. data/test/test_helper.rb +13 -4
  100. data/test/{command_line_test.rb → units/command_line_test.rb} +0 -0
  101. data/test/{compass_png_test.rb → units/compass_png_test.rb} +1 -1
  102. data/test/{configuration_test.rb → units/configuration_test.rb} +37 -12
  103. data/test/{sass_extensions_test.rb → units/sass_extensions_test.rb} +0 -0
  104. data/test/units/sprites/base_test.rb +90 -0
  105. data/test/units/sprites/image_test.rb +97 -0
  106. metadata +114 -26
  107. data/test/test_case_helper.rb +0 -13
@@ -22,7 +22,16 @@ require 'compass'
22
22
 
23
23
  require 'test/unit'
24
24
 
25
- require 'test_case_helper'
26
- require 'io_helper'
27
- require 'rails_helper'
28
- require 'command_line_helper'
25
+
26
+ %w(command_line diff io rails test_case).each do |helper|
27
+ require "helpers/#{helper}"
28
+ end
29
+
30
+
31
+ class Test::Unit::TestCase
32
+ include Compass::Diff
33
+ include Compass::TestCaseHelper
34
+ include Compass::IoHelper
35
+ extend Compass::TestCaseHelper::ClassMethods
36
+
37
+ end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
  require 'fileutils'
3
3
 
4
- class CommandLineTest < Test::Unit::TestCase
4
+ class CompassPngTest < Test::Unit::TestCase
5
5
 
6
6
  def test_class_crc_table
7
7
  assert_equal 256, Compass::PNG::CRC_TABLE.length
@@ -3,9 +3,12 @@ require 'compass'
3
3
  require 'stringio'
4
4
 
5
5
  class ConfigurationTest < Test::Unit::TestCase
6
- include Compass::IoHelper
7
6
 
8
- def setup
7
+ setup do
8
+ Compass.reset_configuration!
9
+ end
10
+
11
+ after do
9
12
  Compass.reset_configuration!
10
13
  end
11
14
 
@@ -15,18 +18,23 @@ class ConfigurationTest < Test::Unit::TestCase
15
18
  # Require any additional compass plugins here.
16
19
 
17
20
  project_type = :stand_alone
21
+
18
22
  # Set this to the root of your project when deployed:
19
23
  http_path = "/"
20
24
  css_dir = "css"
21
25
  sass_dir = "sass"
22
26
  images_dir = "img"
23
27
  javascripts_dir = "js"
28
+
24
29
  output_style = :nested
30
+
25
31
  # To enable relative paths to assets via compass helper functions. Uncomment:
26
32
  # relative_assets = true
33
+
27
34
  # To disable debugging comments that display the original location of your selectors. Uncomment:
28
35
  # line_comments = false
29
36
 
37
+
30
38
  # If you prefer the indented syntax, you might want to regenerate this
31
39
  # project again passing --syntax sass, or you can uncomment this:
32
40
  # preferred_syntax = :sass
@@ -43,7 +51,7 @@ class ConfigurationTest < Test::Unit::TestCase
43
51
 
44
52
  expected_lines = contents.string.split("\n").map{|l|l.strip}
45
53
  actual_lines = Compass.configuration.serialize.split("\n").map{|l|l.strip}
46
- assert_equal expected_lines, actual_lines
54
+ assert_correct expected_lines, actual_lines
47
55
  end
48
56
 
49
57
  def test_serialization_warns_with_asset_host_set
@@ -101,19 +109,23 @@ class ConfigurationTest < Test::Unit::TestCase
101
109
  expected_serialization = <<EXPECTED
102
110
  # Require any additional compass plugins here.
103
111
  project_path = "/home/chris/my_compass_project"
112
+
104
113
  # Set this to the root of your project when deployed:
105
114
  http_path = "/"
106
115
  css_dir = "css"
116
+
107
117
  # You can select your preferred output style here (can be overridden via the command line):
108
118
  # output_style = :expanded or :nested or :compact or :compressed
119
+
109
120
  # To enable relative paths to assets via compass helper functions. Uncomment:
110
121
  # relative_assets = true
111
122
  additional_import_paths = ["../foo", "/path/to/my/framework"]
123
+
112
124
  # To disable debugging comments that display the original location of your selectors. Uncomment:
113
125
  # line_comments = false
114
126
  EXPECTED
115
127
  assert_equal "/", Compass.configuration.http_path
116
- assert_equal expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
128
+ assert_correct expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
117
129
  end
118
130
 
119
131
  def test_config_with_pathname
@@ -137,19 +149,23 @@ EXPECTED
137
149
  expected_serialization = <<EXPECTED
138
150
  # Require any additional compass plugins here.
139
151
  project_path = "/home/chris/my_compass_project"
152
+
140
153
  # Set this to the root of your project when deployed:
141
154
  http_path = "/"
142
155
  css_dir = "css"
156
+
143
157
  # You can select your preferred output style here (can be overridden via the command line):
144
158
  # output_style = :expanded or :nested or :compact or :compressed
159
+
145
160
  # To enable relative paths to assets via compass helper functions. Uncomment:
146
161
  # relative_assets = true
147
162
  additional_import_paths = ["../foo", "/path/to/my/framework"]
163
+
148
164
  # To disable debugging comments that display the original location of your selectors. Uncomment:
149
165
  # line_comments = false
150
166
  EXPECTED
151
167
  assert_equal "/", Compass.configuration.http_path
152
- assert_equal expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
168
+ assert_correct expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
153
169
  end
154
170
 
155
171
  def test_sass_options
@@ -164,18 +180,22 @@ EXPECTED
164
180
 
165
181
  expected_serialization = <<EXPECTED
166
182
  # Require any additional compass plugins here.
183
+
167
184
  # Set this to the root of your project when deployed:
168
- http_path = "/"
185
+ http_path = \"/\"
186
+
169
187
  # You can select your preferred output style here (can be overridden via the command line):
170
188
  # output_style = :expanded or :nested or :compact or :compressed
189
+
171
190
  # To enable relative paths to assets via compass helper functions. Uncomment:
172
- # relative_assets = true
173
- sass_options = {:foo=>"bar"}
191
+ # relative_assets = true\nsass_options = {:foo=>\"bar\"}
192
+
174
193
  # To disable debugging comments that display the original location of your selectors. Uncomment:
175
194
  # line_comments = false
195
+
176
196
  EXPECTED
177
197
 
178
- assert_equal expected_serialization, Compass.configuration.serialize
198
+ assert_correct(expected_serialization, Compass.configuration.serialize)
179
199
  end
180
200
 
181
201
  def test_strip_trailing_directory_separators
@@ -223,18 +243,24 @@ EXPECTED
223
243
  assert_equal "baz", Compass.configuration.foobar
224
244
  expected_serialization = <<EXPECTED
225
245
  # Require any additional compass plugins here.
246
+
226
247
  # Set this to the root of your project when deployed:
227
248
  http_path = "/"
249
+
228
250
  # You can select your preferred output style here (can be overridden via the command line):
229
251
  # output_style = :expanded or :nested or :compact or :compressed
252
+
230
253
  # To enable relative paths to assets via compass helper functions. Uncomment:
231
254
  # relative_assets = true
255
+
232
256
  # To disable debugging comments that display the original location of your selectors. Uncomment:
233
257
  # line_comments = false
258
+
259
+
234
260
  # this is a foobar
235
261
  foobar = "baz"
236
262
  EXPECTED
237
- assert_equal expected_serialization, Compass.configuration.serialize
263
+ assert_correct(expected_serialization, Compass.configuration.serialize)
238
264
  Compass.reset_configuration!
239
265
  Compass.configuration.environment = :production
240
266
  assert_equal "foo", Compass.configuration.foobar
@@ -254,6 +280,5 @@ EXPECTED
254
280
  end
255
281
  end.compact
256
282
  end
257
-
258
-
283
+
259
284
  end
@@ -0,0 +1,90 @@
1
+ require 'test_helper'
2
+
3
+ class SpritesBaseTest < Test::Unit::TestCase
4
+
5
+ def setup
6
+ Hash.send(:include, Compass::SassExtensions::Functions::Sprites::VariableReader)
7
+ @images_src_path = File.join(File.dirname(__FILE__), '..', '..', 'fixtures', 'sprites', 'public', 'images')
8
+ @images_tmp_path = File.join(File.dirname(__FILE__), '..', '..', 'fixtures', 'sprites', 'public', 'images-tmp')
9
+ FileUtils.cp_r @images_src_path, @images_tmp_path
10
+ config = Compass::Configuration::Data.new('config')
11
+ config.images_path = @images_tmp_path
12
+ Compass.add_configuration(config)
13
+ Compass.configure_sass_plugin!
14
+ @options = {'cleanup' => Sass::Script::Bool.new(true)}
15
+ setup_map
16
+ end
17
+
18
+ def setup_map
19
+ @map = Compass::SpriteMap.new("selectors/*.png", @options)
20
+ @base = Compass::SassExtensions::Sprites::Base.new(@map.sprite_names.map{|n| "selectors/#{n}.png"}, @map, @map.sass_engine, @map.options)
21
+ end
22
+
23
+ def teardown
24
+ FileUtils.rm_r @images_tmp_path
25
+ end
26
+
27
+ it "should have the correct size" do
28
+ assert_equal [10,40], @base.size
29
+ end
30
+
31
+ it "should have the sprite names" do
32
+ assert_equal @map.sprite_names, @base.sprite_names
33
+ end
34
+
35
+ it 'should have image filenames' do
36
+ assert_equal Dir["#{@images_tmp_path}/selectors/*.png"].sort, @base.image_filenames
37
+ end
38
+
39
+ it 'should need generation' do
40
+ assert @base.generation_required?
41
+ end
42
+
43
+ test 'uniqueness_hash' do
44
+ assert_equal 'ef52c5c63a', @base.uniqueness_hash
45
+ end
46
+
47
+ it 'should be outdated' do
48
+ assert @base.outdated?
49
+ end
50
+
51
+ it 'should have correct filename' do
52
+ assert_equal File.join(@images_tmp_path, "#{@base.path}-#{@base.uniqueness_hash}.png"), @base.filename
53
+ end
54
+
55
+ it "should return the 'ten-by-ten' image" do
56
+ assert_equal 'ten-by-ten', @base.image_for('ten-by-ten').name
57
+ assert @base.image_for('ten-by-ten').is_a?(Compass::SassExtensions::Sprites::Image)
58
+ end
59
+
60
+ %w(target hover active).each do |selector|
61
+ it "should have a #{selector}" do
62
+ assert @base.send(:"has_#{selector}?", 'ten-by-ten')
63
+ end
64
+
65
+ it "should return #{selector} image class" do
66
+ assert_equal "ten-by-ten_#{selector}", @base.image_for('ten-by-ten').send(:"#{selector}").name
67
+ end
68
+
69
+ end
70
+
71
+ it "should generate sprite" do
72
+ @base.generate
73
+ assert File.exists?(@base.filename)
74
+ assert !@base.generation_required?
75
+ assert !@base.outdated?
76
+ end
77
+
78
+ it "should remove old sprite when generating new" do
79
+ @base.generate
80
+ file = @base.filename
81
+ assert File.exists?(file), "Original file does not exist"
82
+ file_to_remove = File.join(@images_tmp_path, 'selectors', 'ten-by-ten.png')
83
+ FileUtils.rm file_to_remove
84
+ assert !File.exists?(file_to_remove), "Failed to remove sprite file"
85
+ setup_map
86
+ @base.generate
87
+ assert !File.exists?(file), "Sprite file did not get removed"
88
+ end
89
+
90
+ end
@@ -0,0 +1,97 @@
1
+ require 'test_helper'
2
+ require 'mocha'
3
+ require 'ostruct'
4
+ class SpritesImageTest < Test::Unit::TestCase
5
+
6
+
7
+ def setup
8
+ @images_src_path = File.join(File.dirname(__FILE__), '..', '..', 'fixtures', 'sprites', 'public', 'images')
9
+ file = StringIO.new("images_path = #{@images_src_path.inspect}\n")
10
+ Compass.add_configuration(file, "sprite_config")
11
+ @repeat = 'no-repeat'
12
+ @spacing = 0
13
+ @position = 100
14
+ @offset = 100
15
+ end
16
+
17
+ let(:sprite_filename) { 'squares/ten-by-ten.png' }
18
+ let(:sprite_path) { File.join(@images_src_path, sprite_filename) }
19
+ let(:sprite_name) { File.basename(sprite_filename, '.png') }
20
+
21
+ def parent
22
+ map = Compass::SpriteMap.new("selectors/*.png", options)
23
+ @parent ||= Compass::SassExtensions::Sprites::Base.new(map.sprite_names.map{|n| "selectors/#{n}.png"}, map, map.sass_engine, map.options)
24
+ end
25
+
26
+ let(:options) do
27
+ options = {:offset => @offset}
28
+ options.stubs(:get_var).with(anything).returns(nil)
29
+ ::OpenStruct.any_instance.stubs(:unitless?).returns(true)
30
+ options.stubs(:get_var).with("#{sprite_name}-repeat").returns(::OpenStruct.new(:value => @repeat))
31
+ options.stubs(:get_var).with("#{sprite_name}-spacing").returns(::OpenStruct.new(:value => @spacing))
32
+ options.stubs(:get_var).with("#{sprite_name}-position").returns(::OpenStruct.new(:value => @position))
33
+ options
34
+ end
35
+
36
+
37
+
38
+ let(:digest) { Digest::MD5.file(sprite_path).hexdigest }
39
+
40
+
41
+ let(:image) { Compass::SassExtensions::Sprites::Image.new(parent, File.join(sprite_filename), options)}
42
+
43
+ test 'initialize' do
44
+ assert_equal sprite_name, image.name
45
+ assert_equal sprite_path, image.file
46
+ assert_equal sprite_filename, image.relative_file
47
+ assert_equal 10, image.width
48
+ assert_equal 10, image.height
49
+ assert_equal digest, image.digest
50
+ assert_equal 0, image.top
51
+ assert_equal 0, image.left
52
+ end
53
+
54
+ test 'hover' do
55
+ assert_equal 'ten-by-ten_hover', image.hover.name
56
+ end
57
+
58
+ test 'no parent' do
59
+ assert_nil image.parent
60
+ end
61
+
62
+ test 'image type is nil' do
63
+ @repeat = nil
64
+ assert_nil image.repeat
65
+ end
66
+
67
+
68
+ test 'image type is "global"' do
69
+ @repeat = 'global'
70
+ assert_equal @repeat, image.repeat
71
+ end
72
+
73
+ test 'image type is "no-repeat"' do
74
+ assert_equal 'no-repeat', image.repeat
75
+ end
76
+
77
+ test 'image position' do
78
+ assert_equal Sass::Script::Number.new(100, ["px"]).value, image.position.value
79
+ end
80
+
81
+ test 'image spacing' do
82
+ @spacing = 10
83
+ assert_equal @spacing, image.spacing
84
+ end
85
+
86
+ test 'offset' do
87
+ assert_equal @offset, image.offset
88
+ end
89
+
90
+ test 'neither, uses 0' do
91
+ @offset = 0
92
+ img = image
93
+ img.position.stubs(:unitless?).returns(false)
94
+ assert_equal 0, img.offset
95
+ end
96
+
97
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 1
10
- version: 0.11.1
9
+ - 2
10
+ version: 0.11.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Eppstein
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2011-04-25 00:00:00 -07:00
22
+ date: 2011-06-10 00:00:00 -07:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -615,22 +615,32 @@ files:
615
615
  - frameworks/compass/templates/project/screen.sass
616
616
  - frameworks/compass/templates/project/USAGE.markdown
617
617
  - lib/compass/actions.rb
618
+ - lib/compass/actions.rbc
618
619
  - lib/compass/app_integration/merb/runtime.rb
619
620
  - lib/compass/app_integration/merb.rb
621
+ - lib/compass/app_integration/merb.rbc
620
622
  - lib/compass/app_integration/rails/actionpack2/action_controller.rb
621
623
  - lib/compass/app_integration/rails/actionpack2/sass_plugin.rb
622
624
  - lib/compass/app_integration/rails/actionpack2/urls.rb
623
625
  - lib/compass/app_integration/rails/actionpack3/railtie.rb
624
626
  - lib/compass/app_integration/rails/configuration_defaults.rb
627
+ - lib/compass/app_integration/rails/configuration_defaults.rbc
625
628
  - lib/compass/app_integration/rails/installer.rb
629
+ - lib/compass/app_integration/rails/installer.rbc
626
630
  - lib/compass/app_integration/rails/runtime.rb
627
631
  - lib/compass/app_integration/rails/templates/compass-install-rails.rb
628
632
  - lib/compass/app_integration/rails.rb
633
+ - lib/compass/app_integration/rails.rbc
629
634
  - lib/compass/app_integration/stand_alone/configuration_defaults.rb
635
+ - lib/compass/app_integration/stand_alone/configuration_defaults.rbc
630
636
  - lib/compass/app_integration/stand_alone/installer.rb
637
+ - lib/compass/app_integration/stand_alone/installer.rbc
631
638
  - lib/compass/app_integration/stand_alone.rb
639
+ - lib/compass/app_integration/stand_alone.rbc
632
640
  - lib/compass/app_integration.rb
641
+ - lib/compass/app_integration.rbc
633
642
  - lib/compass/browser_support.rb
643
+ - lib/compass/browser_support.rbc
634
644
  - lib/compass/commands/base.rb
635
645
  - lib/compass/commands/create_project.rb
636
646
  - lib/compass/commands/default.rb
@@ -653,18 +663,31 @@ files:
653
663
  - lib/compass/commands/write_configuration.rb
654
664
  - lib/compass/commands.rb
655
665
  - lib/compass/compiler.rb
666
+ - lib/compass/compiler.rbc
656
667
  - lib/compass/configuration/adapters.rb
668
+ - lib/compass/configuration/adapters.rbc
657
669
  - lib/compass/configuration/comments.rb
670
+ - lib/compass/configuration/comments.rbc
658
671
  - lib/compass/configuration/data.rb
672
+ - lib/compass/configuration/data.rbc
659
673
  - lib/compass/configuration/defaults.rb
674
+ - lib/compass/configuration/defaults.rbc
660
675
  - lib/compass/configuration/file_data.rb
676
+ - lib/compass/configuration/file_data.rbc
661
677
  - lib/compass/configuration/helpers.rb
678
+ - lib/compass/configuration/helpers.rbc
662
679
  - lib/compass/configuration/inheritance.rb
680
+ - lib/compass/configuration/inheritance.rbc
663
681
  - lib/compass/configuration/paths.rb
682
+ - lib/compass/configuration/paths.rbc
664
683
  - lib/compass/configuration/serialization.rb
684
+ - lib/compass/configuration/serialization.rbc
665
685
  - lib/compass/configuration.rb
686
+ - lib/compass/configuration.rbc
666
687
  - lib/compass/dependencies.rb
688
+ - lib/compass/dependencies.rbc
667
689
  - lib/compass/errors.rb
690
+ - lib/compass/errors.rbc
668
691
  - lib/compass/exec/command_option_parser.rb
669
692
  - lib/compass/exec/global_options_parser.rb
670
693
  - lib/compass/exec/helpers.rb
@@ -673,6 +696,7 @@ files:
673
696
  - lib/compass/exec/switch_ui.rb
674
697
  - lib/compass/exec.rb
675
698
  - lib/compass/frameworks.rb
699
+ - lib/compass/frameworks.rbc
676
700
  - lib/compass/grid_builder.rb
677
701
  - lib/compass/installers/bare_installer.rb
678
702
  - lib/compass/installers/base.rb
@@ -682,44 +706,82 @@ files:
682
706
  - lib/compass/installers.rb
683
707
  - lib/compass/logger.rb
684
708
  - lib/compass/quick_cache.rb
709
+ - lib/compass/quick_cache.rbc
685
710
  - lib/compass/rails.rb
686
711
  - lib/compass/sass_extensions/functions/colors.rb
712
+ - lib/compass/sass_extensions/functions/colors.rbc
687
713
  - lib/compass/sass_extensions/functions/constants.rb
714
+ - lib/compass/sass_extensions/functions/constants.rbc
688
715
  - lib/compass/sass_extensions/functions/cross_browser_support.rb
716
+ - lib/compass/sass_extensions/functions/cross_browser_support.rbc
689
717
  - lib/compass/sass_extensions/functions/display.rb
718
+ - lib/compass/sass_extensions/functions/display.rbc
690
719
  - lib/compass/sass_extensions/functions/enumerate.rb
720
+ - lib/compass/sass_extensions/functions/enumerate.rbc
691
721
  - lib/compass/sass_extensions/functions/font_files.rb
722
+ - lib/compass/sass_extensions/functions/font_files.rbc
692
723
  - lib/compass/sass_extensions/functions/gradient_support.rb
724
+ - lib/compass/sass_extensions/functions/gradient_support.rbc
693
725
  - lib/compass/sass_extensions/functions/image_size.rb
726
+ - lib/compass/sass_extensions/functions/image_size.rbc
694
727
  - lib/compass/sass_extensions/functions/inline_image.rb
728
+ - lib/compass/sass_extensions/functions/inline_image.rbc
695
729
  - lib/compass/sass_extensions/functions/lists.rb
730
+ - lib/compass/sass_extensions/functions/lists.rbc
696
731
  - lib/compass/sass_extensions/functions/selectors.rb
732
+ - lib/compass/sass_extensions/functions/selectors.rbc
697
733
  - lib/compass/sass_extensions/functions/sprites.rb
734
+ - lib/compass/sass_extensions/functions/sprites.rbc
698
735
  - lib/compass/sass_extensions/functions/trig.rb
736
+ - lib/compass/sass_extensions/functions/trig.rbc
699
737
  - lib/compass/sass_extensions/functions/urls.rb
738
+ - lib/compass/sass_extensions/functions/urls.rbc
700
739
  - lib/compass/sass_extensions/functions.rb
740
+ - lib/compass/sass_extensions/functions.rbc
701
741
  - lib/compass/sass_extensions/monkey_patches/browser_support.rb
742
+ - lib/compass/sass_extensions/monkey_patches/browser_support.rbc
702
743
  - lib/compass/sass_extensions/monkey_patches/traversal.rb
744
+ - lib/compass/sass_extensions/monkey_patches/traversal.rbc
703
745
  - lib/compass/sass_extensions/monkey_patches.rb
746
+ - lib/compass/sass_extensions/monkey_patches.rbc
704
747
  - lib/compass/sass_extensions/sprites/base.rb
748
+ - lib/compass/sass_extensions/sprites/base.rbc
705
749
  - lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb
750
+ - lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc
706
751
  - lib/compass/sass_extensions/sprites/engines.rb
752
+ - lib/compass/sass_extensions/sprites/engines.rbc
707
753
  - lib/compass/sass_extensions/sprites/image.rb
754
+ - lib/compass/sass_extensions/sprites/image.rbc
708
755
  - lib/compass/sass_extensions/sprites/sprite_map.rb
756
+ - lib/compass/sass_extensions/sprites/sprite_map.rbc
709
757
  - lib/compass/sass_extensions/sprites/sprites.rb
758
+ - lib/compass/sass_extensions/sprites/sprites.rbc
710
759
  - lib/compass/sass_extensions/sprites.rb
760
+ - lib/compass/sass_extensions/sprites.rbc
711
761
  - lib/compass/sass_extensions.rb
762
+ - lib/compass/sass_extensions.rbc
712
763
  - lib/compass/stats.rb
713
764
  - lib/compass/test_case.rb
714
765
  - lib/compass/util.rb
766
+ - lib/compass/util.rbc
715
767
  - lib/compass/validator.rb
716
768
  - lib/compass/version.rb
769
+ - lib/compass/version.rbc
717
770
  - lib/compass.rb
718
- - test/command_line_helper.rb
719
- - test/command_line_test.rb
720
- - test/compass_png_test.rb
721
- - test/compass_test.rb
722
- - test/configuration_test.rb
771
+ - lib/compass.rbc
772
+ - test/fixtures/sprites/public/images/colors/blue.png
773
+ - test/fixtures/sprites/public/images/colors/yellow.png
774
+ - test/fixtures/sprites/public/images/ko/default_background.png
775
+ - test/fixtures/sprites/public/images/ko/starbg26x27.png
776
+ - test/fixtures/sprites/public/images/nested/squares/ten-by-ten.png
777
+ - test/fixtures/sprites/public/images/prefix/20-by-20.png
778
+ - test/fixtures/sprites/public/images/prefix/ten-by-ten.png
779
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten.png
780
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_active.png
781
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_hover.png
782
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_target.png
783
+ - test/fixtures/sprites/public/images/squares/ten-by-ten.png
784
+ - test/fixtures/sprites/public/images/squares/twenty-by-twenty.png
723
785
  - test/fixtures/stylesheets/blueprint/config.rb
724
786
  - test/fixtures/stylesheets/blueprint/css/ie.css
725
787
  - test/fixtures/stylesheets/blueprint/css/print.css
@@ -1083,13 +1145,22 @@ files:
1083
1145
  - test/fixtures/stylesheets/relative/sass/screen.sass
1084
1146
  - test/fixtures/stylesheets/valid/config.rb
1085
1147
  - test/fixtures/stylesheets/valid/sass/simple.sass
1086
- - test/io_helper.rb
1087
- - test/rails_helper.rb
1088
- - test/rails_integration_test.rb
1089
- - test/sass_extensions_test.rb
1090
- - test/test_case_helper.rb
1148
+ - test/helpers/command_line.rb
1149
+ - test/helpers/diff.rb
1150
+ - test/helpers/io.rb
1151
+ - test/helpers/rails.rb
1152
+ - test/helpers/test_case.rb
1153
+ - test/integrations/compass_test.rb
1154
+ - test/integrations/rails_integration_test.rb
1155
+ - test/integrations/sprites_test.rb
1156
+ - test/integrations/test_rails_helper.rb
1091
1157
  - test/test_helper.rb
1092
- - test/test_rails_helper.rb
1158
+ - test/units/command_line_test.rb
1159
+ - test/units/compass_png_test.rb
1160
+ - test/units/configuration_test.rb
1161
+ - test/units/sass_extensions_test.rb
1162
+ - test/units/sprites/base_test.rb
1163
+ - test/units/sprites/image_test.rb
1093
1164
  - features/command_line.feature
1094
1165
  - features/extensions.feature
1095
1166
  - features/rails_integration.feature
@@ -1130,11 +1201,19 @@ signing_key:
1130
1201
  specification_version: 3
1131
1202
  summary: A Real Stylesheet Framework
1132
1203
  test_files:
1133
- - test/command_line_helper.rb
1134
- - test/command_line_test.rb
1135
- - test/compass_png_test.rb
1136
- - test/compass_test.rb
1137
- - test/configuration_test.rb
1204
+ - test/fixtures/sprites/public/images/colors/blue.png
1205
+ - test/fixtures/sprites/public/images/colors/yellow.png
1206
+ - test/fixtures/sprites/public/images/ko/default_background.png
1207
+ - test/fixtures/sprites/public/images/ko/starbg26x27.png
1208
+ - test/fixtures/sprites/public/images/nested/squares/ten-by-ten.png
1209
+ - test/fixtures/sprites/public/images/prefix/20-by-20.png
1210
+ - test/fixtures/sprites/public/images/prefix/ten-by-ten.png
1211
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten.png
1212
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_active.png
1213
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_hover.png
1214
+ - test/fixtures/sprites/public/images/selectors/ten-by-ten_target.png
1215
+ - test/fixtures/sprites/public/images/squares/ten-by-ten.png
1216
+ - test/fixtures/sprites/public/images/squares/twenty-by-twenty.png
1138
1217
  - test/fixtures/stylesheets/blueprint/config.rb
1139
1218
  - test/fixtures/stylesheets/blueprint/css/ie.css
1140
1219
  - test/fixtures/stylesheets/blueprint/css/print.css
@@ -1498,13 +1577,22 @@ test_files:
1498
1577
  - test/fixtures/stylesheets/relative/sass/screen.sass
1499
1578
  - test/fixtures/stylesheets/valid/config.rb
1500
1579
  - test/fixtures/stylesheets/valid/sass/simple.sass
1501
- - test/io_helper.rb
1502
- - test/rails_helper.rb
1503
- - test/rails_integration_test.rb
1504
- - test/sass_extensions_test.rb
1505
- - test/test_case_helper.rb
1580
+ - test/helpers/command_line.rb
1581
+ - test/helpers/diff.rb
1582
+ - test/helpers/io.rb
1583
+ - test/helpers/rails.rb
1584
+ - test/helpers/test_case.rb
1585
+ - test/integrations/compass_test.rb
1586
+ - test/integrations/rails_integration_test.rb
1587
+ - test/integrations/sprites_test.rb
1588
+ - test/integrations/test_rails_helper.rb
1506
1589
  - test/test_helper.rb
1507
- - test/test_rails_helper.rb
1590
+ - test/units/command_line_test.rb
1591
+ - test/units/compass_png_test.rb
1592
+ - test/units/configuration_test.rb
1593
+ - test/units/sass_extensions_test.rb
1594
+ - test/units/sprites/base_test.rb
1595
+ - test/units/sprites/image_test.rb
1508
1596
  - features/command_line.feature
1509
1597
  - features/extensions.feature
1510
1598
  - features/rails_integration.feature