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.
- data/CHANGELOG.markdown +16 -0
- data/REVISION +1 -1
- data/Rakefile +1 -0
- data/VERSION.yml +1 -1
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/_blueprint.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_buttons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_colors.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_debug.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_form.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_grid.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_ie.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_interaction.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_link_icons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_liquid.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_print.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_reset.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_rtl.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_scaffolding.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_screen.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_typography.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/_utilities.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_buttons.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_colors.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_debug.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_fancy_type.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_form.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_grid.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_ie.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_interaction.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_link_icons.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_liquid.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_print.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_reset.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_rtl.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_scaffolding.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_screen.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_typography.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/_utilities.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/index.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_buttons.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_colors.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_debug.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_fancy_type.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_form.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_grid.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_interaction.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_link_icons.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_liquid.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_reset.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_rtl.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_scaffolding.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_typography.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/docs/modules/_utilities.sass.html +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_buttons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_colors.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_debug.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_form.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_grid.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_link_icons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_liquid.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_reset.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/stylesheets/blueprint/modules/_utilities.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/buttons/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/link_icons/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/grid.png +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/ie.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/manifest.rb +0 -2
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/print.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/blueprint/templates/project/screen.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/_compass.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_css3.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_misc.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_clip.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_origin.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_background_size.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_border_radius.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_box_shadow.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_box_sizing.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_columns.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_font_face.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_gradient.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_inline_block.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_opacity.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_text_shadow.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_transform.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/css3/_transition.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_links.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_print.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_sprites.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_min.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/extension/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/extension/stylesheets/main.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/extension/templates/project/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/extension/templates/project/screen.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/project/USAGE.markdown +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/project/ie.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/project/manifest.rb +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/project/print.sass +0 -0
- data/{lib/compass/frameworks → frameworks}/compass/templates/project/screen.sass +0 -0
- data/lib/compass/app_integration/rails/installer.rb +4 -3
- data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +18 -13
- data/lib/compass/commands/watch_project.rb +42 -4
- data/lib/compass/configuration.rb +1 -1
- data/lib/compass/configuration/data.rb +3 -0
- data/lib/compass/configuration/paths.rb +19 -0
- data/lib/compass/exec.rb +2 -0
- data/lib/compass/exec/global_options_parser.rb +4 -0
- data/lib/compass/exec/switch_ui.rb +4 -0
- data/lib/compass/frameworks.rb +1 -1
- data/lib/compass/grid_builder.rb +7 -4
- data/lib/compass/sass_extensions/functions/urls.rb +1 -1
- data/lib/vendor/{fssm.rb → fssm/fssm.rb} +3 -10
- data/lib/vendor/fssm/{backends → fssm/backends}/fsevents.rb +4 -5
- data/lib/vendor/fssm/{backends → fssm/backends}/inotify.rb +3 -5
- data/lib/vendor/fssm/{backends → fssm/backends}/polling.rb +2 -3
- data/lib/vendor/fssm/{backends → fssm/backends}/rubycocoa/fsevents.rb +0 -0
- data/lib/vendor/fssm/fssm/monitor.rb +26 -0
- data/lib/vendor/fssm/{path.rb → fssm/path.rb} +1 -1
- data/lib/vendor/fssm/{pathname.rb → fssm/pathname.rb} +0 -0
- data/lib/vendor/fssm/fssm/state/directory.rb +57 -0
- data/lib/vendor/fssm/fssm/state/file.rb +24 -0
- data/lib/vendor/fssm/{support.rb → fssm/support.rb} +14 -6
- data/lib/vendor/fssm/{tree.rb → fssm/tree.rb} +0 -0
- data/test/command_line_helper.rb +14 -4
- data/test/command_line_test.rb +8 -8
- data/test/configuration_test.rb +25 -0
- data/test/rails_integration_test.rb +9 -5
- metadata +160 -160
- data/deps.rip +0 -1
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +0 -21
- data/lib/vendor/fssm/monitor.rb +0 -25
- data/lib/vendor/fssm/state.rb +0 -54
data/lib/vendor/fssm/monitor.rb
DELETED
@@ -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
|
data/lib/vendor/fssm/state.rb
DELETED
@@ -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
|