compass 0.12.alpha.0 → 0.12.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. data/Rakefile +1 -0
  2. data/VERSION.yml +1 -1
  3. data/bin/compass +1 -1
  4. data/bin/compass.compiled.rbc +707 -0
  5. data/examples/downloader.rb +3 -2
  6. data/examples/ninesixty/bootstrap.rb +1 -1
  7. data/features/command_line.feature +17 -17
  8. data/features/extensions.feature +6 -0
  9. data/features/step_definitions/command_line_steps.rb +2 -0
  10. data/frameworks/compass/stylesheets/compass/_support.scss +1 -1
  11. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +7 -24
  12. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +0 -15
  13. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +12 -12
  14. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +6 -20
  15. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +38 -24
  16. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +19 -0
  17. data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +12 -3
  18. data/frameworks/compass/stylesheets/compass/typography/lists/_bullets.scss +1 -1
  19. data/frameworks/compass/stylesheets/compass/typography/lists/_inline-block-list.scss +14 -11
  20. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +29 -6
  21. data/frameworks/compass/templates/pie/PIE.htc +83 -64
  22. data/lib/compass.rbc +42 -36
  23. data/lib/compass/actions.rb +0 -1
  24. data/lib/compass/actions.rbc +244 -85
  25. data/lib/compass/app_integration.rbc +28 -20
  26. data/lib/compass/app_integration/merb.rbc +8 -4
  27. data/lib/compass/app_integration/rails.rbc +664 -148
  28. data/lib/compass/app_integration/rails/actionpack31/helpers.rb +23 -0
  29. data/lib/compass/app_integration/rails/actionpack31/railtie.rb +8 -10
  30. data/lib/compass/app_integration/rails/configuration_defaults.rbc +1089 -332
  31. data/lib/compass/app_integration/rails/installer.rbc +145 -61
  32. data/lib/compass/app_integration/stand_alone.rbc +15 -15
  33. data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +23 -23
  34. data/lib/compass/app_integration/stand_alone/installer.rbc +52 -32
  35. data/lib/compass/browser_support.rbc +35 -23
  36. data/lib/compass/commands.rbc +307 -0
  37. data/lib/compass/commands/base.rbc +1044 -0
  38. data/lib/compass/commands/clean_project.rbc +1856 -0
  39. data/lib/compass/commands/create_project.rbc +2691 -0
  40. data/lib/compass/commands/default.rbc +1677 -0
  41. data/lib/compass/commands/generate_grid_background.rbc +1939 -0
  42. data/lib/compass/commands/help.rbc +1921 -0
  43. data/lib/compass/commands/imports.rbc +969 -0
  44. data/lib/compass/commands/installer_command.rbc +807 -0
  45. data/lib/compass/commands/interactive.rbc +1341 -0
  46. data/lib/compass/commands/list_frameworks.rbc +1111 -0
  47. data/lib/compass/commands/print_version.rbc +2478 -0
  48. data/lib/compass/commands/project_base.rbc +2085 -0
  49. data/lib/compass/commands/project_stats.rb +7 -7
  50. data/lib/compass/commands/project_stats.rbc +4202 -0
  51. data/lib/compass/commands/registry.rbc +1350 -0
  52. data/lib/compass/commands/sprite.rbc +2212 -0
  53. data/lib/compass/commands/stamp_pattern.rbc +2011 -0
  54. data/lib/compass/commands/unpack_extension.rbc +2348 -0
  55. data/lib/compass/commands/update_project.rbc +3002 -0
  56. data/lib/compass/commands/validate_project.rbc +1686 -0
  57. data/lib/compass/commands/watch_project.rbc +4155 -0
  58. data/lib/compass/commands/write_configuration.rbc +2896 -0
  59. data/lib/compass/compiler.rb +3 -0
  60. data/lib/compass/compiler.rbc +591 -398
  61. data/lib/compass/configuration.rbc +134 -78
  62. data/lib/compass/configuration/adapters.rbc +98 -40
  63. data/lib/compass/configuration/comments.rbc +132 -51
  64. data/lib/compass/configuration/data.rb +6 -0
  65. data/lib/compass/configuration/data.rbc +541 -551
  66. data/lib/compass/configuration/defaults.rbc +764 -189
  67. data/lib/compass/configuration/file_data.rbc +37 -125
  68. data/lib/compass/configuration/helpers.rb +1 -0
  69. data/lib/compass/configuration/helpers.rbc +433 -153
  70. data/lib/compass/configuration/inheritance.rb +2 -0
  71. data/lib/compass/configuration/inheritance.rbc +412 -165
  72. data/lib/compass/configuration/paths.rbc +9 -9
  73. data/lib/compass/configuration/serialization.rbc +151 -84
  74. data/lib/compass/dependencies.rbc +16 -4
  75. data/lib/compass/errors.rbc +5 -5
  76. data/lib/compass/exec.rbc +500 -0
  77. data/lib/compass/exec/command_option_parser.rbc +676 -0
  78. data/lib/compass/exec/global_options_parser.rbc +1306 -0
  79. data/lib/compass/exec/helpers.rbc +758 -0
  80. data/lib/compass/exec/project_options_parser.rbc +1515 -0
  81. data/lib/compass/exec/sub_command_ui.rbc +1191 -0
  82. data/lib/compass/frameworks.rb +10 -4
  83. data/lib/compass/frameworks.rbc +118 -66
  84. data/lib/compass/grid_builder.rbc +0 -0
  85. data/lib/compass/installers.rbc +152 -0
  86. data/lib/compass/installers/bare_installer.rbc +939 -0
  87. data/lib/compass/installers/base.rbc +4427 -0
  88. data/lib/compass/installers/manifest.rbc +3335 -0
  89. data/lib/compass/installers/manifest_installer.rbc +1591 -0
  90. data/lib/compass/installers/template_context.rbc +1030 -0
  91. data/lib/compass/logger.rbc +2317 -0
  92. data/lib/compass/quick_cache.rbc +12 -8
  93. data/lib/compass/sass_extensions.rbc +8 -4
  94. data/lib/compass/sass_extensions/functions.rb +4 -2
  95. data/lib/compass/sass_extensions/functions.rbc +90 -57
  96. data/lib/compass/sass_extensions/functions/colors.rbc +22 -18
  97. data/lib/compass/sass_extensions/functions/constants.rbc +45 -25
  98. data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +48 -36
  99. data/lib/compass/sass_extensions/functions/display.rbc +341 -107
  100. data/lib/compass/sass_extensions/functions/enumerate.rbc +9 -9
  101. data/lib/compass/sass_extensions/functions/env.rb +5 -0
  102. data/lib/compass/sass_extensions/functions/env.rbc +299 -0
  103. data/lib/compass/sass_extensions/functions/font_files.rb +32 -3
  104. data/lib/compass/sass_extensions/functions/font_files.rbc +540 -123
  105. data/lib/compass/sass_extensions/functions/gradient_support.rbc +379 -167
  106. data/lib/compass/sass_extensions/functions/image_size.rb +19 -16
  107. data/lib/compass/sass_extensions/functions/image_size.rbc +715 -400
  108. data/lib/compass/sass_extensions/functions/inline_image.rb +1 -1
  109. data/lib/compass/sass_extensions/functions/inline_image.rbc +152 -98
  110. data/lib/compass/sass_extensions/functions/lists.rbc +75 -39
  111. data/lib/compass/sass_extensions/functions/selectors.rbc +36 -28
  112. data/lib/compass/sass_extensions/functions/sprites.rb +27 -4
  113. data/lib/compass/sass_extensions/functions/sprites.rbc +255 -233
  114. data/lib/compass/sass_extensions/functions/trig.rbc +53 -51
  115. data/lib/compass/sass_extensions/functions/urls.rbc +3151 -1044
  116. data/lib/compass/sass_extensions/monkey_patches.rbc +5 -5
  117. data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +63 -47
  118. data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +36 -16
  119. data/lib/compass/sass_extensions/sprites.rbc +93 -13
  120. data/lib/compass/sass_extensions/sprites/engines.rbc +615 -6
  121. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +260 -94
  122. data/lib/compass/sass_extensions/sprites/image.rb +5 -5
  123. data/lib/compass/sass_extensions/sprites/image.rbc +694 -316
  124. data/lib/compass/sass_extensions/sprites/image_methods.rbc +900 -0
  125. data/lib/compass/sass_extensions/sprites/image_row.rbc +1168 -0
  126. data/lib/compass/sass_extensions/sprites/layout_methods.rb +12 -8
  127. data/lib/compass/sass_extensions/sprites/layout_methods.rbc +3236 -0
  128. data/lib/compass/sass_extensions/sprites/row_fitter.rb +7 -1
  129. data/lib/compass/sass_extensions/sprites/row_fitter.rbc +2067 -0
  130. data/lib/compass/sass_extensions/sprites/sprite_map.rb +1 -1
  131. data/lib/compass/sass_extensions/sprites/sprite_map.rbc +714 -3641
  132. data/lib/compass/sass_extensions/sprites/sprite_methods.rb +24 -4
  133. data/lib/compass/sass_extensions/sprites/sprite_methods.rbc +3190 -0
  134. data/lib/compass/sprite_importer.rb +15 -80
  135. data/lib/compass/sprite_importer.rbc +1125 -1495
  136. data/lib/compass/sprite_importer/binding.rb +11 -0
  137. data/lib/compass/sprite_importer/content.erb +81 -0
  138. data/lib/compass/util.rbc +19 -11
  139. data/lib/compass/version.rbc +53 -25
  140. data/test/fixtures/extensions/only_stylesheets/compass_init.rb +1 -0
  141. data/test/fixtures/extensions/only_stylesheets/scss/only_stylesheets/foo.scss +3 -0
  142. data/test/fixtures/fonts/bgrove.base64.txt +1 -0
  143. data/test/fixtures/fonts/bgrove.ttf +0 -0
  144. data/test/fixtures/sprites/public/images/bool/false.png +0 -0
  145. data/test/fixtures/sprites/public/images/bool/true.png +0 -0
  146. data/test/fixtures/stylesheets/blueprint/css/screen.css +1 -2
  147. data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +1 -2
  148. data/test/fixtures/stylesheets/compass/css/border_radius.css +6 -9
  149. data/test/fixtures/stylesheets/compass/css/box.css +0 -19
  150. data/test/fixtures/stylesheets/compass/css/box_shadow.css +3 -6
  151. data/test/fixtures/stylesheets/compass/css/columns.css +8 -16
  152. data/test/fixtures/stylesheets/compass/css/grid_background.css +4 -8
  153. data/test/fixtures/stylesheets/compass/css/lists.css +7 -7
  154. data/test/fixtures/stylesheets/compass/css/pie.css +2 -3
  155. data/test/fixtures/stylesheets/compass/css/reset.css +0 -1
  156. data/test/fixtures/stylesheets/compass/css/sprites.css +1 -1
  157. data/test/fixtures/stylesheets/compass/css/text_shadow.css +0 -3
  158. data/test/fixtures/stylesheets/compass/css/transform.css +28 -92
  159. data/test/fixtures/stylesheets/compass/css/transition.css +11 -0
  160. data/test/fixtures/stylesheets/compass/css/user-interface.css +4 -0
  161. data/test/fixtures/stylesheets/compass/images/{flag-s8c3c755a68.png → flag-s8f1e8fdb9b.png} +0 -0
  162. data/test/fixtures/stylesheets/compass/sass/text_shadow.scss +0 -1
  163. data/test/fixtures/stylesheets/compass/sass/transition.scss +4 -0
  164. data/test/fixtures/stylesheets/compass/sass/user-interface.scss +5 -0
  165. data/test/fixtures/stylesheets/envtest/config.rb +9 -0
  166. data/test/fixtures/stylesheets/envtest/css/env.css +2 -0
  167. data/test/fixtures/stylesheets/envtest/sass/env.scss +3 -0
  168. data/test/fixtures/stylesheets/envtest/tmp/env.css +2 -0
  169. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/config.rb +25 -0
  170. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/ie.scss +5 -0
  171. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/print.scss +3 -0
  172. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/screen.scss +6 -0
  173. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/ie.css +5 -0
  174. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css +3 -0
  175. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css +68 -0
  176. data/test/helpers/command_line.rbc +2820 -0
  177. data/test/helpers/diff.rbc +1104 -0
  178. data/test/helpers/io.rbc +962 -0
  179. data/test/helpers/rails.rbc +1116 -0
  180. data/test/helpers/test_case.rbc +1255 -0
  181. data/test/integrations/compass_test.rb +24 -2
  182. data/test/integrations/compass_test.rbc +6589 -0
  183. data/test/integrations/rails_integration_test.rbc +1342 -0
  184. data/test/integrations/sprites_test.rb +123 -25
  185. data/test/integrations/sprites_test.rbc +6192 -0
  186. data/test/test_helper.rb +7 -5
  187. data/test/test_helper.rbc +1694 -0
  188. data/test/tmp/compass_rails/public/images/{selectors-sef52c5c63a.png → selectors-s4c703bbc05.png} +0 -0
  189. data/test/units/actions_test.rbc +644 -0
  190. data/test/units/command_line_test.rbc +1532 -0
  191. data/test/units/compass_png_test.rbc +0 -0
  192. data/test/units/configuration_test.rbc +3833 -0
  193. data/test/units/rails_configuration_test.rbc +1032 -0
  194. data/test/units/sass_extensions_test.rb +31 -0
  195. data/test/units/sass_extensions_test.rbc +3586 -0
  196. data/test/units/sprites/engine_test.rbc +962 -0
  197. data/test/units/sprites/image_row_test.rbc +1578 -0
  198. data/test/units/sprites/image_test.rb +3 -3
  199. data/test/units/sprites/image_test.rbc +2836 -0
  200. data/test/units/sprites/importer_test.rb +6 -0
  201. data/test/units/sprites/importer_test.rbc +2620 -0
  202. data/test/units/sprites/row_fitter_test.rbc +1479 -0
  203. data/test/units/sprites/sprite_command_test.rbc +1147 -0
  204. data/test/units/sprites/sprite_map_test.rb +19 -6
  205. data/test/units/sprites/sprite_map_test.rbc +6515 -0
  206. metadata +180 -54
@@ -9,6 +9,23 @@ module Compass::SassExtensions::Functions::Sprites
9
9
  self[variable_name.to_s.gsub(/-/,"_")]
10
10
  end
11
11
  end
12
+ # Returns the system path of the sprite file
13
+ def sprite_path(map)
14
+ Sass::Script::String.new(map.name_and_hash)
15
+ end
16
+ Sass::Script::Functions.declare :sprite_path, [:map]
17
+
18
+ # Returns the sprite file as an inline image
19
+ # @include "icon/*.png";
20
+ # #{$icon-sprite-base-class} {
21
+ # background-image: inline-sprite($icon-sprites);
22
+ # }
23
+ def inline_sprite(map)
24
+ verify_map(map, "sprite-url")
25
+ map.generate
26
+ inline_image(sprite_path(map))
27
+ end
28
+ Sass::Script::Functions.declare :inline_sprite, [:map]
12
29
 
13
30
  # Creates a Compass::SassExtensions::Sprites::SpriteMap object. A sprite map, when used in a property is the same
14
31
  # as calling sprite-url. So the following background properties are equivalent:
@@ -68,7 +85,7 @@ module Compass::SassExtensions::Functions::Sprites
68
85
  end
69
86
  Sass::Script::Functions.declare :sprite_file, [:map, :sprite]
70
87
 
71
- # Returns voolean if sprite has a parent
88
+ # Returns boolean if sprite has a parent
72
89
  def sprite_does_not_have_parent(map, sprite)
73
90
  sprite = convert_sprite_name(sprite)
74
91
  verify_map map
@@ -120,6 +137,8 @@ module Compass::SassExtensions::Functions::Sprites
120
137
  #
121
138
  # background-position: 3px -36px;
122
139
  def sprite_position(map, sprite = nil, offset_x = ZERO, offset_y = ZERO)
140
+ assert_type offset_x, :Number
141
+ assert_type offset_y, :Number
123
142
  sprite = convert_sprite_name(sprite)
124
143
  verify_map(map, "sprite-position")
125
144
  unless sprite && sprite.is_a?(Sass::Script::String)
@@ -151,10 +170,14 @@ module Compass::SassExtensions::Functions::Sprites
151
170
  protected
152
171
 
153
172
  def convert_sprite_name(sprite)
154
- if sprite.is_a?(Sass::Script::Color)
155
- return Sass::Script::String.new(Sass::Script::Color::HTML4_COLORS_REVERSE[sprite.rgb])
173
+ case sprite
174
+ when Sass::Script::Color
175
+ Sass::Script::String.new(Sass::Script::Color::HTML4_COLORS_REVERSE[sprite.rgb])
176
+ when Sass::Script::Bool
177
+ Sass::Script::String.new(sprite.to_s)
178
+ else
179
+ sprite
156
180
  end
157
- sprite
158
181
  end
159
182
 
160
183
  def verify_map(map, error = "sprite")
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 9595534255132031488
3
3
  x
4
4
  M
5
5
  1
@@ -820,8 +820,8 @@ I
820
820
  I
821
821
  23
822
822
  x
823
- 78
824
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
823
+ 80
824
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
825
825
  p
826
826
  1
827
827
  x
@@ -842,8 +842,8 @@ I
842
842
  I
843
843
  10
844
844
  x
845
- 78
846
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
845
+ 80
846
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
847
847
  p
848
848
  0
849
849
  x
@@ -959,8 +959,8 @@ I
959
959
  I
960
960
  29
961
961
  x
962
- 78
963
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
962
+ 80
963
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
964
964
  p
965
965
  2
966
966
  x
@@ -1233,7 +1233,7 @@ x
1233
1233
  10
1234
1234
  initialize
1235
1235
  p
1236
- 17
1236
+ 19
1237
1237
  I
1238
1238
  -1
1239
1239
  I
@@ -1255,6 +1255,10 @@ I
1255
1255
  I
1256
1256
  28
1257
1257
  I
1258
+ 44
1259
+ I
1260
+ 0
1261
+ I
1258
1262
  45
1259
1263
  I
1260
1264
  2a
@@ -1269,8 +1273,8 @@ I
1269
1273
  I
1270
1274
  96
1271
1275
  x
1272
- 78
1273
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1276
+ 80
1277
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1274
1278
  p
1275
1279
  6
1276
1280
  x
@@ -1421,8 +1425,8 @@ I
1421
1425
  I
1422
1426
  32
1423
1427
  x
1424
- 78
1425
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1428
+ 80
1429
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1426
1430
  p
1427
1431
  1
1428
1432
  x
@@ -1583,8 +1587,8 @@ x
1583
1587
  8
1584
1588
  allocate
1585
1589
  x
1586
- 13
1587
- relative_file
1590
+ 4
1591
+ file
1588
1592
  x
1589
1593
  10
1590
1594
  initialize
@@ -1592,7 +1596,7 @@ x
1592
1596
  14
1593
1597
  missing_image!
1594
1598
  p
1595
- 15
1599
+ 17
1596
1600
  I
1597
1601
  -1
1598
1602
  I
@@ -1622,10 +1626,14 @@ I
1622
1626
  I
1623
1627
  42
1624
1628
  I
1629
+ 5c
1630
+ I
1631
+ 0
1632
+ I
1625
1633
  5d
1626
1634
  x
1627
- 78
1628
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1635
+ 80
1636
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1629
1637
  p
1630
1638
  3
1631
1639
  x
@@ -1813,8 +1821,8 @@ I
1813
1821
  I
1814
1822
  57
1815
1823
  x
1816
- 78
1817
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1824
+ 80
1825
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
1818
1826
  p
1819
1827
  2
1820
1828
  x
@@ -2066,7 +2074,7 @@ x
2066
2074
  10
2067
2075
  initialize
2068
2076
  p
2069
- 15
2077
+ 17
2070
2078
  I
2071
2079
  -1
2072
2080
  I
@@ -2092,14 +2100,18 @@ I
2092
2100
  I
2093
2101
  57
2094
2102
  I
2103
+ 44
2104
+ I
2105
+ 0
2106
+ I
2095
2107
  45
2096
2108
  I
2097
2109
  59
2098
2110
  I
2099
2111
  94
2100
2112
  x
2101
- 78
2102
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2113
+ 80
2114
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2103
2115
  p
2104
2116
  3
2105
2117
  x
@@ -2126,7 +2138,7 @@ x
2126
2138
  10
2127
2139
  sprite_url
2128
2140
  i
2129
- 155
2141
+ 95
2130
2142
  5
2131
2143
  20
2132
2144
  0
@@ -2217,70 +2229,10 @@ i
2217
2229
  49
2218
2230
  7
2219
2231
  1
2220
- 45
2221
- 3
2222
- 15
2223
- 43
2224
- 5
2225
- 43
2226
- 16
2227
- 13
2228
- 71
2229
- 7
2230
- 47
2231
- 9
2232
- 116
2233
- 47
2234
- 49
2235
- 8
2236
- 0
2237
- 13
2238
- 3
2239
- 47
2240
- 49
2241
- 14
2242
- 1
2243
- 15
2244
- 8
2245
- 120
2246
- 3
2247
- 49
2248
- 7
2249
- 1
2250
- 45
2251
- 3
2252
- 17
2253
- 43
2254
- 5
2255
- 43
2256
- 16
2257
- 13
2258
- 71
2259
- 7
2260
- 47
2261
- 9
2262
- 146
2263
- 47
2264
- 49
2265
- 8
2266
- 0
2267
- 13
2268
- 3
2269
2232
  47
2270
2233
  49
2271
- 14
2272
- 1
2273
2234
  15
2274
- 8
2275
- 150
2276
- 3
2277
- 49
2278
- 7
2279
2235
  1
2280
- 47
2281
- 49
2282
- 18
2283
- 3
2284
2236
  11
2285
2237
  I
2286
2238
  8
@@ -2292,7 +2244,7 @@ I
2292
2244
  1
2293
2245
  n
2294
2246
  p
2295
- 19
2247
+ 16
2296
2248
  s
2297
2249
  10
2298
2250
  sprite-url
@@ -2336,16 +2288,11 @@ s
2336
2288
  x
2337
2289
  10
2338
2290
  initialize
2339
- n
2340
- x
2341
- 4
2342
- Bool
2343
- n
2344
2291
  x
2345
- 9
2346
- image_url
2292
+ 19
2293
+ generated_image_url
2347
2294
  p
2348
- 15
2295
+ 9
2349
2296
  I
2350
2297
  -1
2351
2298
  I
@@ -2363,22 +2310,10 @@ I
2363
2310
  I
2364
2311
  63
2365
2312
  I
2366
- 5a
2367
- I
2368
- 64
2369
- I
2370
- 78
2371
- I
2372
- 65
2373
- I
2374
- 96
2375
- I
2376
- 63
2377
- I
2378
- 9b
2313
+ 5f
2379
2314
  x
2380
- 78
2381
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2315
+ 80
2316
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2382
2317
  p
2383
2318
  1
2384
2319
  x
@@ -2396,7 +2331,7 @@ x
2396
2331
  15
2397
2332
  sprite_position
2398
2333
  i
2399
- 343
2334
+ 363
2400
2335
  23
2401
2336
  1
2402
2337
  10
@@ -2427,10 +2362,30 @@ i
2427
2362
  15
2428
2363
  5
2429
2364
  20
2430
- 1
2365
+ 2
2366
+ 7
2367
+ 3
2431
2368
  47
2432
2369
  49
2370
+ 4
2371
+ 2
2372
+ 15
2373
+ 5
2374
+ 20
2433
2375
  3
2376
+ 7
2377
+ 3
2378
+ 47
2379
+ 49
2380
+ 4
2381
+ 2
2382
+ 15
2383
+ 5
2384
+ 20
2385
+ 1
2386
+ 47
2387
+ 49
2388
+ 5
2434
2389
  1
2435
2390
  19
2436
2391
  1
@@ -2439,48 +2394,48 @@ i
2439
2394
  20
2440
2395
  0
2441
2396
  7
2442
- 4
2397
+ 6
2443
2398
  64
2444
2399
  47
2445
2400
  49
2446
- 5
2401
+ 7
2447
2402
  2
2448
2403
  15
2449
2404
  20
2450
2405
  1
2451
2406
  13
2452
2407
  9
2453
- 67
2408
+ 87
2454
2409
  15
2455
2410
  20
2456
2411
  1
2457
2412
  45
2458
- 6
2459
- 7
2460
- 43
2461
2413
  8
2462
- 43
2463
2414
  9
2464
- 49
2415
+ 43
2465
2416
  10
2417
+ 43
2418
+ 11
2419
+ 49
2420
+ 12
2466
2421
  1
2467
2422
  9
2468
- 72
2423
+ 92
2469
2424
  1
2470
2425
  8
2471
- 85
2426
+ 105
2472
2427
  5
2473
2428
  45
2474
- 6
2475
- 11
2429
+ 8
2430
+ 13
2476
2431
  43
2477
- 12
2432
+ 14
2478
2433
  7
2479
- 13
2434
+ 15
2480
2435
  64
2481
2436
  47
2482
2437
  49
2483
- 14
2438
+ 16
2484
2439
  2
2485
2440
  15
2486
2441
  20
@@ -2488,10 +2443,10 @@ i
2488
2443
  20
2489
2444
  1
2490
2445
  49
2491
- 15
2446
+ 17
2492
2447
  0
2493
2448
  49
2494
- 16
2449
+ 18
2495
2450
  1
2496
2451
  19
2497
2452
  4
@@ -2499,10 +2454,10 @@ i
2499
2454
  20
2500
2455
  4
2501
2456
  9
2502
- 106
2457
+ 126
2503
2458
  1
2504
2459
  8
2505
- 115
2460
+ 135
2506
2461
  5
2507
2462
  20
2508
2463
  0
@@ -2510,58 +2465,58 @@ i
2510
2465
  1
2511
2466
  47
2512
2467
  49
2513
- 17
2468
+ 19
2514
2469
  2
2515
2470
  15
2516
2471
  20
2517
2472
  2
2518
2473
  49
2519
- 18
2474
+ 20
2520
2475
  0
2521
2476
  7
2522
- 19
2477
+ 21
2523
2478
  64
2524
2479
  83
2525
- 20
2480
+ 22
2526
2481
  9
2527
- 134
2482
+ 154
2528
2483
  20
2529
2484
  2
2530
2485
  19
2531
2486
  5
2532
2487
  8
2533
- 215
2488
+ 235
2534
2489
  20
2535
2490
  2
2536
2491
  49
2537
- 15
2492
+ 17
2538
2493
  0
2539
2494
  20
2540
2495
  4
2541
2496
  49
2542
- 21
2497
+ 23
2543
2498
  0
2544
2499
  82
2545
- 22
2500
+ 24
2546
2501
  19
2547
2502
  5
2548
2503
  15
2549
2504
  45
2550
- 6
2551
- 23
2552
- 43
2553
2505
  8
2506
+ 25
2554
2507
  43
2555
- 24
2508
+ 10
2509
+ 43
2510
+ 3
2556
2511
  13
2557
2512
  71
2558
- 25
2513
+ 26
2559
2514
  47
2560
2515
  9
2561
- 192
2516
+ 212
2562
2517
  47
2563
2518
  49
2564
- 26
2519
+ 27
2565
2520
  0
2566
2521
  13
2567
2522
  20
@@ -2570,45 +2525,45 @@ i
2570
2525
  5
2571
2526
  78
2572
2527
  83
2573
- 20
2528
+ 22
2574
2529
  9
2575
- 180
2530
+ 200
2576
2531
  35
2577
2532
  0
2578
2533
  8
2579
- 185
2534
+ 205
2580
2535
  7
2581
- 27
2536
+ 28
2582
2537
  64
2583
2538
  35
2584
2539
  1
2585
2540
  47
2586
2541
  49
2587
- 28
2542
+ 29
2588
2543
  2
2589
2544
  15
2590
2545
  8
2591
- 213
2546
+ 233
2592
2547
  20
2593
2548
  5
2594
2549
  20
2595
2550
  5
2596
2551
  78
2597
2552
  83
2598
- 20
2553
+ 22
2599
2554
  9
2600
- 205
2555
+ 225
2601
2556
  35
2602
2557
  0
2603
2558
  8
2604
- 210
2559
+ 230
2605
2560
  7
2606
- 27
2561
+ 28
2607
2562
  64
2608
2563
  35
2609
2564
  1
2610
2565
  49
2611
- 25
2566
+ 26
2612
2567
  2
2613
2568
  19
2614
2569
  5
@@ -2616,34 +2571,34 @@ i
2616
2571
  20
2617
2572
  3
2618
2573
  49
2619
- 15
2574
+ 17
2620
2575
  0
2621
2576
  20
2622
2577
  4
2623
2578
  49
2624
- 29
2579
+ 30
2625
2580
  0
2626
2581
  82
2627
- 22
2582
+ 24
2628
2583
  19
2629
2584
  6
2630
2585
  15
2631
2586
  45
2632
- 6
2633
- 30
2634
- 43
2635
2587
  8
2588
+ 31
2636
2589
  43
2637
- 24
2590
+ 10
2591
+ 43
2592
+ 3
2638
2593
  13
2639
2594
  71
2640
- 25
2595
+ 26
2641
2596
  47
2642
2597
  9
2643
- 274
2598
+ 294
2644
2599
  47
2645
2600
  49
2646
- 26
2601
+ 27
2647
2602
  0
2648
2603
  13
2649
2604
  20
@@ -2652,65 +2607,65 @@ i
2652
2607
  6
2653
2608
  78
2654
2609
  83
2655
- 20
2610
+ 22
2656
2611
  9
2657
- 262
2612
+ 282
2658
2613
  35
2659
2614
  0
2660
2615
  8
2661
- 267
2616
+ 287
2662
2617
  7
2663
- 27
2618
+ 28
2664
2619
  64
2665
2620
  35
2666
2621
  1
2667
2622
  47
2668
2623
  49
2669
- 28
2624
+ 29
2670
2625
  2
2671
2626
  15
2672
2627
  8
2673
- 295
2628
+ 315
2674
2629
  20
2675
2630
  6
2676
2631
  20
2677
2632
  6
2678
2633
  78
2679
2634
  83
2680
- 20
2635
+ 22
2681
2636
  9
2682
- 287
2637
+ 307
2683
2638
  35
2684
2639
  0
2685
2640
  8
2686
- 292
2641
+ 312
2687
2642
  7
2688
- 27
2643
+ 28
2689
2644
  64
2690
2645
  35
2691
2646
  1
2692
2647
  49
2693
- 25
2648
+ 26
2694
2649
  2
2695
2650
  19
2696
2651
  6
2697
2652
  15
2698
2653
  45
2699
- 6
2700
- 31
2701
- 43
2702
2654
  8
2703
- 43
2704
2655
  32
2656
+ 43
2657
+ 10
2658
+ 43
2659
+ 33
2705
2660
  13
2706
2661
  71
2707
- 25
2662
+ 26
2708
2663
  47
2709
2664
  9
2710
- 331
2665
+ 351
2711
2666
  47
2712
2667
  49
2713
- 26
2668
+ 27
2714
2669
  0
2715
2670
  13
2716
2671
  20
@@ -2720,14 +2675,14 @@ i
2720
2675
  35
2721
2676
  2
2722
2677
  7
2723
- 33
2678
+ 34
2724
2679
  47
2725
2680
  49
2726
- 28
2681
+ 29
2727
2682
  2
2728
2683
  15
2729
2684
  8
2730
- 342
2685
+ 362
2731
2686
  20
2732
2687
  5
2733
2688
  20
@@ -2735,9 +2690,9 @@ i
2735
2690
  35
2736
2691
  2
2737
2692
  7
2738
- 33
2693
+ 34
2739
2694
  49
2740
- 25
2695
+ 26
2741
2696
  2
2742
2697
  11
2743
2698
  I
@@ -2750,13 +2705,19 @@ I
2750
2705
  4
2751
2706
  n
2752
2707
  p
2753
- 34
2708
+ 35
2754
2709
  x
2755
2710
  4
2756
2711
  ZERO
2757
2712
  n
2758
2713
  n
2759
2714
  x
2715
+ 6
2716
+ Number
2717
+ x
2718
+ 11
2719
+ assert_type
2720
+ x
2760
2721
  19
2761
2722
  convert_sprite_name
2762
2723
  s
@@ -2814,9 +2775,6 @@ x
2814
2775
  -
2815
2776
  n
2816
2777
  x
2817
- 6
2818
- Number
2819
- x
2820
2778
  3
2821
2779
  new
2822
2780
  x
@@ -2840,72 +2798,124 @@ x
2840
2798
  5
2841
2799
  space
2842
2800
  p
2843
- 31
2801
+ 57
2844
2802
  I
2845
2803
  -1
2846
2804
  I
2847
- 7c
2805
+ 7a
2848
2806
  I
2849
2807
  1c
2850
2808
  I
2851
- 7d
2809
+ 7b
2852
2810
  I
2853
2811
  26
2854
2812
  I
2813
+ 7c
2814
+ I
2815
+ 30
2816
+ I
2817
+ 7d
2818
+ I
2819
+ 3a
2820
+ I
2855
2821
  7e
2856
2822
  I
2857
- 31
2823
+ 45
2858
2824
  I
2859
2825
  7f
2860
2826
  I
2861
- 48
2827
+ 5c
2862
2828
  I
2863
2829
  80
2864
2830
  I
2865
- 56
2831
+ 69
2832
+ I
2833
+ 0
2834
+ I
2835
+ 6a
2866
2836
  I
2867
2837
  82
2868
2838
  I
2869
- 63
2839
+ 77
2870
2840
  I
2871
2841
  83
2872
2842
  I
2873
- 6a
2843
+ 7e
2874
2844
  I
2875
2845
  84
2876
2846
  I
2877
- 74
2847
+ 87
2848
+ I
2849
+ 0
2850
+ I
2851
+ 88
2878
2852
  I
2879
2853
  86
2880
2854
  I
2881
- 80
2855
+ 94
2882
2856
  I
2883
2857
  87
2884
2858
  I
2885
- 86
2859
+ 9a
2886
2860
  I
2887
2861
  89
2888
2862
  I
2889
- 95
2863
+ a9
2864
+ I
2865
+ 8a
2866
+ I
2867
+ cd
2868
+ I
2869
+ 0
2870
+ I
2871
+ d4
2872
+ I
2873
+ 8a
2874
+ I
2875
+ e6
2876
+ I
2877
+ 0
2878
+ I
2879
+ e9
2890
2880
  I
2891
2881
  8a
2892
2882
  I
2893
- d8
2883
+ eb
2884
+ I
2885
+ 0
2886
+ I
2887
+ ec
2894
2888
  I
2895
2889
  8c
2896
2890
  I
2897
- e7
2891
+ fb
2898
2892
  I
2899
2893
  8d
2900
2894
  I
2901
- 12a
2895
+ 11f
2896
+ I
2897
+ 0
2898
+ I
2899
+ 126
2900
+ I
2901
+ 8d
2902
+ I
2903
+ 138
2904
+ I
2905
+ 0
2906
+ I
2907
+ 13b
2908
+ I
2909
+ 8d
2910
+ I
2911
+ 13e
2902
2912
  I
2903
2913
  8e
2904
2914
  I
2905
- 157
2915
+ 16b
2906
2916
  x
2907
- 78
2908
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2917
+ 80
2918
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
2909
2919
  p
2910
2920
  7
2911
2921
  x
@@ -2979,8 +2989,8 @@ x
2979
2989
  11
2980
2990
  SyntaxError
2981
2991
  s
2982
- 139
2983
- The sprite-image() function has been replaced by sprite(). See http://beta.compass-style.org/help/tutorials/spriting/ for more information.
2992
+ 134
2993
+ The sprite-image() function has been replaced by sprite(). See http://compass-style.org/help/tutorials/spriting/ for more information.
2984
2994
  x
2985
2995
  5
2986
2996
  raise
@@ -2997,8 +3007,8 @@ I
2997
3007
  I
2998
3008
  e
2999
3009
  x
3000
- 78
3001
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3010
+ 80
3011
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3002
3012
  p
3003
3013
  1
3004
3014
  x
@@ -3152,7 +3162,7 @@ x
3152
3162
  initialize
3153
3163
  n
3154
3164
  p
3155
- 11
3165
+ 13
3156
3166
  I
3157
3167
  -1
3158
3168
  I
@@ -3170,14 +3180,18 @@ I
3170
3180
  I
3171
3181
  9c
3172
3182
  I
3183
+ 50
3184
+ I
3185
+ 0
3186
+ I
3173
3187
  51
3174
3188
  I
3175
3189
  9f
3176
3190
  I
3177
3191
  54
3178
3192
  x
3179
- 78
3180
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3193
+ 80
3194
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3181
3195
  p
3182
3196
  1
3183
3197
  x
@@ -3266,7 +3280,7 @@ x
3266
3280
  15
3267
3281
  missing_sprite!
3268
3282
  p
3269
- 7
3283
+ 9
3270
3284
  I
3271
3285
  -1
3272
3286
  I
@@ -3280,10 +3294,14 @@ I
3280
3294
  I
3281
3295
  a4
3282
3296
  I
3297
+ 24
3298
+ I
3299
+ 0
3300
+ I
3283
3301
  25
3284
3302
  x
3285
- 78
3286
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3303
+ 80
3304
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3287
3305
  p
3288
3306
  2
3289
3307
  x
@@ -3370,7 +3388,7 @@ x
3370
3388
  5
3371
3389
  raise
3372
3390
  p
3373
- 7
3391
+ 9
3374
3392
  I
3375
3393
  -1
3376
3394
  I
@@ -3384,10 +3402,14 @@ I
3384
3402
  I
3385
3403
  aa
3386
3404
  I
3405
+ 1e
3406
+ I
3407
+ 0
3408
+ I
3387
3409
  1f
3388
3410
  x
3389
- 78
3390
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3411
+ 80
3412
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3391
3413
  p
3392
3414
  1
3393
3415
  x
@@ -3525,8 +3547,8 @@ af
3525
3547
  I
3526
3548
  38
3527
3549
  x
3528
- 78
3529
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3550
+ 80
3551
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3530
3552
  p
3531
3553
  2
3532
3554
  x
@@ -3612,8 +3634,8 @@ b3
3612
3634
  I
3613
3635
  16
3614
3636
  x
3615
- 78
3616
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3637
+ 80
3638
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3617
3639
  p
3618
3640
  1
3619
3641
  x
@@ -3696,11 +3718,11 @@ I
3696
3718
  I
3697
3719
  160
3698
3720
  I
3699
- 67
3721
+ 65
3700
3722
  I
3701
3723
  171
3702
3724
  I
3703
- 7c
3725
+ 7a
3704
3726
  I
3705
3727
  17f
3706
3728
  I
@@ -3748,8 +3770,8 @@ b2
3748
3770
  I
3749
3771
  227
3750
3772
  x
3751
- 78
3752
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3773
+ 80
3774
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3753
3775
  p
3754
3776
  0
3755
3777
  x
@@ -3764,7 +3786,7 @@ I
3764
3786
  I
3765
3787
  22
3766
3788
  x
3767
- 78
3768
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3789
+ 80
3790
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/sprites.rb
3769
3791
  p
3770
3792
  0