compass 0.10.0.pre4 → 0.10.0.pre5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. data/CHANGELOG.markdown +16 -0
  2. data/REVISION +1 -1
  3. data/Rakefile +1 -0
  4. data/VERSION.yml +1 -1
  5. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/_blueprint.sass +0 -0
  6. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_buttons.sass +0 -0
  7. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_colors.sass +0 -0
  8. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_debug.sass +0 -0
  9. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -0
  10. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_form.sass +0 -0
  11. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_grid.sass +0 -0
  12. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_ie.sass +0 -0
  13. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_interaction.sass +0 -0
  14. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_link_icons.sass +0 -0
  15. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_liquid.sass +0 -0
  16. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_print.sass +0 -0
  17. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_reset.sass +0 -0
  18. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_rtl.sass +0 -0
  19. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_scaffolding.sass +0 -0
  20. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_screen.sass +0 -0
  21. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_typography.sass +0 -0
  22. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_utilities.sass +0 -0
  23. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_buttons.sass.html +0 -0
  24. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_colors.sass.html +0 -0
  25. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_debug.sass.html +0 -0
  26. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_fancy_type.sass.html +0 -0
  27. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_form.sass.html +0 -0
  28. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_grid.sass.html +0 -0
  29. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_ie.sass.html +0 -0
  30. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_interaction.sass.html +0 -0
  31. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_link_icons.sass.html +0 -0
  32. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_liquid.sass.html +0 -0
  33. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_print.sass.html +0 -0
  34. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_reset.sass.html +0 -0
  35. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_rtl.sass.html +0 -0
  36. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_scaffolding.sass.html +0 -0
  37. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_screen.sass.html +0 -0
  38. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_typography.sass.html +0 -0
  39. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_utilities.sass.html +0 -0
  40. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/index.html +0 -0
  41. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_buttons.sass.html +0 -0
  42. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_colors.sass.html +0 -0
  43. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_debug.sass.html +0 -0
  44. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_fancy_type.sass.html +0 -0
  45. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_form.sass.html +0 -0
  46. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_grid.sass.html +0 -0
  47. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_interaction.sass.html +0 -0
  48. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_link_icons.sass.html +0 -0
  49. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_liquid.sass.html +0 -0
  50. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_reset.sass.html +0 -0
  51. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_rtl.sass.html +0 -0
  52. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_scaffolding.sass.html +0 -0
  53. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_typography.sass.html +0 -0
  54. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_utilities.sass.html +0 -0
  55. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_buttons.sass +0 -0
  56. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_colors.sass +0 -0
  57. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_debug.sass +0 -0
  58. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +0 -0
  59. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_form.sass +0 -0
  60. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_grid.sass +0 -0
  61. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -0
  62. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_link_icons.sass +0 -0
  63. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_liquid.sass +0 -0
  64. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_reset.sass +0 -0
  65. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -0
  66. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +0 -0
  67. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -0
  68. data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_utilities.sass +0 -0
  69. data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons.sass +0 -0
  70. data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
  71. data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
  72. data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
  73. data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/manifest.rb +0 -0
  74. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons.sass +0 -0
  75. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  76. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
  77. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
  78. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  79. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
  80. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  81. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  82. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  83. data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/manifest.rb +0 -0
  84. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/grid.png +0 -0
  85. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/ie.sass +0 -0
  86. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/manifest.rb +0 -2
  87. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
  88. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/print.sass +0 -0
  89. data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/screen.sass +0 -0
  90. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/_compass.sass +0 -0
  91. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_css3.sass +0 -0
  92. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
  93. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_misc.sass +0 -0
  94. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
  95. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
  96. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_clip.sass +0 -0
  97. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_origin.sass +0 -0
  98. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_size.sass +0 -0
  99. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_border_radius.sass +0 -0
  100. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_box_shadow.sass +0 -0
  101. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_box_sizing.sass +0 -0
  102. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_columns.sass +0 -0
  103. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_font_face.sass +0 -0
  104. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_gradient.sass +0 -0
  105. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_inline_block.sass +0 -0
  106. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_opacity.sass +0 -0
  107. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_text_shadow.sass +0 -0
  108. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_transform.sass +0 -0
  109. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_transition.sass +0 -0
  110. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +0 -0
  111. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -0
  112. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_links.sass +0 -0
  113. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
  114. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_print.sass +0 -0
  115. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_sprites.sass +0 -0
  116. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
  117. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
  118. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +0 -0
  119. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +0 -0
  120. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +0 -0
  121. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_min.sass +0 -0
  122. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +0 -0
  123. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  124. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -0
  125. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +0 -0
  126. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +0 -0
  127. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -0
  128. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +0 -0
  129. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +0 -0
  130. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +0 -0
  131. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -0
  132. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -0
  133. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -0
  134. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -0
  135. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
  136. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +0 -0
  137. data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +0 -0
  138. data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
  139. data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/manifest.rb +0 -0
  140. data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
  141. data/{lib/compass/frameworks → frameworks}/compass/templates/extension/manifest.rb +0 -0
  142. data/{lib/compass/frameworks → frameworks}/compass/templates/extension/stylesheets/main.sass +0 -0
  143. data/{lib/compass/frameworks → frameworks}/compass/templates/extension/templates/project/manifest.rb +0 -0
  144. data/{lib/compass/frameworks → frameworks}/compass/templates/extension/templates/project/screen.sass +0 -0
  145. data/{lib/compass/frameworks → frameworks}/compass/templates/project/USAGE.markdown +0 -0
  146. data/{lib/compass/frameworks → frameworks}/compass/templates/project/ie.sass +0 -0
  147. data/{lib/compass/frameworks → frameworks}/compass/templates/project/manifest.rb +0 -0
  148. data/{lib/compass/frameworks → frameworks}/compass/templates/project/print.sass +0 -0
  149. data/{lib/compass/frameworks → frameworks}/compass/templates/project/screen.sass +0 -0
  150. data/lib/compass/app_integration/rails/installer.rb +4 -3
  151. data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +18 -13
  152. data/lib/compass/commands/watch_project.rb +42 -4
  153. data/lib/compass/configuration.rb +1 -1
  154. data/lib/compass/configuration/data.rb +3 -0
  155. data/lib/compass/configuration/paths.rb +19 -0
  156. data/lib/compass/exec.rb +2 -0
  157. data/lib/compass/exec/global_options_parser.rb +4 -0
  158. data/lib/compass/exec/switch_ui.rb +4 -0
  159. data/lib/compass/frameworks.rb +1 -1
  160. data/lib/compass/grid_builder.rb +7 -4
  161. data/lib/compass/sass_extensions/functions/urls.rb +1 -1
  162. data/lib/vendor/{fssm.rb → fssm/fssm.rb} +3 -10
  163. data/lib/vendor/fssm/{backends → fssm/backends}/fsevents.rb +4 -5
  164. data/lib/vendor/fssm/{backends → fssm/backends}/inotify.rb +3 -5
  165. data/lib/vendor/fssm/{backends → fssm/backends}/polling.rb +2 -3
  166. data/lib/vendor/fssm/{backends → fssm/backends}/rubycocoa/fsevents.rb +0 -0
  167. data/lib/vendor/fssm/fssm/monitor.rb +26 -0
  168. data/lib/vendor/fssm/{path.rb → fssm/path.rb} +1 -1
  169. data/lib/vendor/fssm/{pathname.rb → fssm/pathname.rb} +0 -0
  170. data/lib/vendor/fssm/fssm/state/directory.rb +57 -0
  171. data/lib/vendor/fssm/fssm/state/file.rb +24 -0
  172. data/lib/vendor/fssm/{support.rb → fssm/support.rb} +14 -6
  173. data/lib/vendor/fssm/{tree.rb → fssm/tree.rb} +0 -0
  174. data/test/command_line_helper.rb +14 -4
  175. data/test/command_line_test.rb +8 -8
  176. data/test/configuration_test.rb +25 -0
  177. data/test/rails_integration_test.rb +9 -5
  178. metadata +160 -160
  179. data/deps.rip +0 -1
  180. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +0 -21
  181. data/lib/vendor/fssm/monitor.rb +0 -25
  182. data/lib/vendor/fssm/state.rb +0 -54
@@ -1,25 +0,0 @@
1
- class FSSM::Monitor
2
- def initialize(options={})
3
- @options = options
4
- @backend = FSSM::Backends::Default.new
5
- end
6
-
7
- def path(*args, &block)
8
- path = FSSM::Path.new(*args)
9
-
10
- if block_given?
11
- if block.arity == 1
12
- block.call(path)
13
- else
14
- path.instance_eval(&block)
15
- end
16
- end
17
-
18
- @backend.add_path(path)
19
- path
20
- end
21
-
22
- def run
23
- @backend.run
24
- end
25
- end
@@ -1,54 +0,0 @@
1
- require 'yaml'
2
- class FSSM::State
3
- def initialize(path)
4
- @path = path
5
- @cache = FSSM::Tree::Cache.new
6
- end
7
-
8
- def refresh(base=nil, skip_callbacks=false)
9
- previous, current = recache(base || @path.to_pathname)
10
-
11
- unless skip_callbacks
12
- deleted(previous, current)
13
- created(previous, current)
14
- modified(previous, current)
15
- end
16
- end
17
-
18
- private
19
-
20
- def created(previous, current)
21
- (current.keys - previous.keys).each {|created| @path.create(created)}
22
- end
23
-
24
- def deleted(previous, current)
25
- (previous.keys - current.keys).each {|deleted| @path.delete(deleted)}
26
- end
27
-
28
- def modified(previous, current)
29
- (current.keys & previous.keys).each do |file|
30
- @path.update(file) if (current[file] <=> previous[file]) != 0
31
- end
32
- end
33
-
34
- def recache(base)
35
- base = FSSM::Pathname.for(base)
36
- previous = @cache.files
37
- snapshot(base)
38
- current = @cache.files
39
- [previous, current]
40
- end
41
-
42
- def snapshot(base)
43
- base = FSSM::Pathname.for(base)
44
- @cache.unset(base)
45
- @path.glob.each {|glob| add_glob(base, glob)}
46
- end
47
-
48
- def add_glob(base, glob)
49
- FSSM::Pathname.glob(base.join(glob).to_s).each do |fn|
50
- @cache.set(fn)
51
- end
52
- end
53
-
54
- end