chriseppstein-compass 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.4
1
+ 0.5.5
data/compass.gemspec CHANGED
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{compass}
3
- s.version = "0.5.4"
3
+ s.version = "0.5.5"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Chris Eppstein"]
7
- s.date = %q{2009-03-16}
7
+ s.date = %q{2009-04-01}
8
8
  s.default_executable = %q{compass}
9
9
  s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
10
10
  s.email = %q{chris@eppsteins.net}
@@ -53,10 +53,11 @@ module Compass
53
53
 
54
54
  # Compile one Sass file
55
55
  def compile(sass_filename, css_filename, options)
56
+ puts options.inspect
56
57
  logger.record :compile, basename(sass_filename)
57
58
  engine = ::Sass::Engine.new(open(sass_filename).read,
58
59
  :filename => sass_filename,
59
- :line_comments => options[:environment] == :development,
60
+ :line_comments => options[:line_comments],
60
61
  :style => options[:style],
61
62
  :css_filename => css_filename,
62
63
  :load_paths => options[:load_paths])
@@ -81,6 +81,10 @@ module Compass
81
81
  end
82
82
  end
83
83
 
84
+ def default_line_comments
85
+ environment == :development
86
+ end
87
+
84
88
  def serialize
85
89
  contents = ""
86
90
  required_libraries.each do |lib|
@@ -110,12 +114,14 @@ module Compass
110
114
  end
111
115
  plugin_opts = {:template_location => locations}
112
116
  plugin_opts[:style] = output_style if output_style
117
+ engine_opts[:line_comments] = default_line_comments if environment
113
118
  plugin_opts
114
119
  end
115
120
 
116
121
  def to_sass_engine_options
117
122
  engine_opts = {:load_paths => sass_load_paths}
118
123
  engine_opts[:style] = output_style if output_style
124
+ engine_opts[:line_comments] = default_line_comments if environment
119
125
  engine_opts
120
126
  end
121
127
 
data/lib/compass/exec.rb CHANGED
@@ -72,7 +72,6 @@ module Compass
72
72
  self.options[:project_name] = trim_trailing_separator(self.args.shift)
73
73
  end
74
74
  self.options[:command] ||= self.options[:project_name] ? :create_project : :update_project
75
- self.options[:environment] ||= :production
76
75
  self.options[:framework] ||= :compass
77
76
  self.options[:project_type] ||= :stand_alone
78
77
  end
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  body {
4
2
  line-height: 1.5;
5
3
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
@@ -1,4 +1,3 @@
1
-
2
1
  html, body {
3
2
  height: 100%; }
4
3
 
@@ -1,4 +1,3 @@
1
-
2
1
  .noprint,
3
2
  .no-print {
4
3
  display: none; }
@@ -1,4 +1,3 @@
1
-
2
1
  html, body {
3
2
  margin: 0;
4
3
  padding: 0;
@@ -31,9 +30,8 @@ blockquote, q {
31
30
  font-family: inherit;
32
31
  vertical-align: baseline;
33
32
  quotes: "" ""; }
34
- blockquote:before,
35
- blockquote:after, q:before,
36
- q:after {
33
+ blockquote:before, q:before,
34
+ blockquote:after, q:after {
37
35
  content: ""; }
38
36
 
39
37
  th, td, caption {
@@ -1,20 +1,3 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
1
  .clearfix {
19
2
  overflow: auto;
20
3
  overflow: -moz-scrollbars-none;
@@ -1,6 +1,3 @@
1
-
2
-
3
-
4
1
  .font-size-26px {
5
2
  font-size: 200%; }
6
3
 
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.5.4
4
+ version: 0.5.5
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-03-16 00:00:00 -07:00
12
+ date: 2009-04-01 00:00:00 -07:00
13
13
  default_executable: compass
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency