chriseppstein-compass 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.markdown CHANGED
@@ -1,5 +1,22 @@
1
1
  COMPASS CHANGELOG
2
2
  =================
3
+ 0.6.7
4
+ -----
5
+
6
+ Bug fix release.
7
+
8
+ ### Rails
9
+
10
+ The output_style will no longer be set in the compass.config file. Instead compass will use the runtime rails environment to set a sensible default.
11
+
12
+ ### Command Line
13
+
14
+ The Sass cache directory will be placed into the sass directory of the project instead of the directory from where the compass command was ran.
15
+
16
+ ### Compass Core
17
+
18
+ Extracted two new mixins from +horizontal-list. The new +horizontal-list-container and +horizontal-list-item mixins can be used to build your
19
+ horizontal list when you need more control over the selectors (E.g. when working with nested lists).
3
20
 
4
21
  0.6.6
5
22
  -----
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
data/compass.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{compass}
5
- s.version = "0.6.6"
5
+ s.version = "0.6.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Eppstein"]
9
- s.date = %q{2009-05-08}
9
+ s.date = %q{2009-05-23}
10
10
  s.default_executable = %q{compass}
11
11
  s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
12
12
  s.email = %q{chris@eppsteins.net}
@@ -27,13 +27,10 @@ Gem::Specification.new do |s|
27
27
 
28
28
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
29
29
  s.add_runtime_dependency(%q<haml-edge>, [">= 0"])
30
- s.add_development_dependency(%q<echoe>, [">= 0"])
31
30
  else
32
31
  s.add_dependency(%q<haml-edge>, [">= 0"])
33
- s.add_dependency(%q<echoe>, [">= 0"])
34
32
  end
35
33
  else
36
34
  s.add_dependency(%q<haml-edge>, [">= 0"])
37
- s.add_dependency(%q<echoe>, [">= 0"])
38
35
  end
39
36
  end
@@ -1,20 +1,52 @@
1
+ //**\\
2
+ Horizontal list layout module.
3
+
4
+ Easy mode using simple descendant li selectors:
5
+
6
+ ul.nav
7
+ +horizontal-list
8
+
9
+ Advanced mode:
10
+ If you need to target the list items using a different selector then use
11
+ +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
12
+ This may help when working on layouts involving nested lists. For example:
13
+
14
+ ul.nav
15
+ +horizontal-list-container
16
+ > li
17
+ +horizontal-list-item
18
+
1
19
  @import bullets.sass
2
20
  @import compass/utilities/general/reset.sass
3
21
  @import compass/utilities/general/float.sass
4
22
 
5
- // A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
6
- // This is not an inline list.
7
- =horizontal-list(!padding = 4px)
23
+ //**
24
+ Can be mixed into any selector that target a ul or ol that is meant
25
+ to have a horizontal layout. Used to implement +horizontal-list.
26
+ =horizontal-list-container
8
27
  +reset-box-model
9
28
  +clearfix
29
+
30
+ //**
31
+ Can be mixed into any li selector that is meant to participate in a horizontal layout.
32
+ Used to implement +horizontal-list.
33
+ =horizontal-list-item(!padding = 4px)
34
+ +no-bullet
35
+ :white-space nowrap
36
+ +float-left
37
+ :padding
38
+ :left= !padding
39
+ :right= !padding
40
+ &.first
41
+ :padding-left 0px
42
+ &.last
43
+ :padding-right 0px
44
+
45
+ //**
46
+ A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
47
+ This is not an inline list.
48
+ =horizontal-list(!padding = 4px)
49
+ +horizontal-list-item-container
10
50
  li
11
- +no-bullet
12
- :white-space nowrap
13
- +float-left
14
- :padding
15
- :left= !padding
16
- :right= !padding
17
- &.first
18
- :padding-left 0px
19
- &.last
20
- :padding-right 0px
51
+ +horizontal-list-item(!padding)
52
+
@@ -64,7 +64,8 @@ module Compass
64
64
  :line_comments => options[:line_comments],
65
65
  :style => options[:style],
66
66
  :css_filename => css_filename,
67
- :load_paths => options[:load_paths])
67
+ :load_paths => options[:load_paths],
68
+ :cache_location => options[:cache_location])
68
69
  css_content = engine.render
69
70
  write_file(css_filename, css_content, options.merge(:force => true))
70
71
  else
@@ -10,6 +10,7 @@ module Compass
10
10
  self.from, self.to = from, to
11
11
  self.logger = options.delete(:logger)
12
12
  self.options = options
13
+ self.options[:cache_location] ||= File.join(from, ".sass-cache")
13
14
  end
14
15
 
15
16
  def sass_files
@@ -80,6 +80,8 @@ Emit compiled stylesheets to #{recommended_location}/? (Y/n) }
80
80
  Compass.configuration.serialize do |prop, value|
81
81
  if prop == :project_path
82
82
  "project_path = RAILS_ROOT if defined?(RAILS_ROOT)\n"
83
+ elsif prop == :output_style
84
+ ""
83
85
  end
84
86
  end
85
87
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chriseppstein-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Eppstein
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-08 00:00:00 -07:00
12
+ date: 2009-05-23 00:00:00 -07:00
13
13
  default_executable: compass
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,16 +22,6 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: "0"
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: echoe
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
35
25
  description: Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.
36
26
  email: chris@eppsteins.net
37
27
  executables: