chriseppstein-compass 0.6.3 → 0.6.4
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/README.markdown +29 -10
- data/VERSION +1 -1
- data/compass.gemspec +2 -2
- data/lib/compass/exec.rb +18 -14
- metadata +2 -2
data/README.markdown
CHANGED
@@ -1,17 +1,36 @@
|
|
1
1
|
# Compass
|
2
|
-
A [Sass]
|
3
|
-
|
4
|
-
- [
|
5
|
-
- [
|
6
|
-
- [
|
7
|
-
- [
|
8
|
-
- Other frameworks can be added relatively easily.
|
2
|
+
A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of the following CSS frameworks:
|
3
|
+
|
4
|
+
- [Compass Core][compass_core_website] - [Wiki Documentation][compass_core_wiki]
|
5
|
+
- [Blueprint][blueprint_website] - [Wiki Documentation][bleuprint_wiki]
|
6
|
+
- [YUI][yui_website] - [Wiki Documentation][yui_wiki]
|
7
|
+
- [960][ninesixty_website] - [Wiki Documentation][ninesixty_wiki]
|
8
|
+
- Other frameworks can be added relatively easily. Port your own!
|
9
9
|
|
10
10
|
## Compass Provides
|
11
|
-
1. A command line tool for
|
12
|
-
2.
|
11
|
+
1. A [command line tool][command_line_wiki] for managing your Sass projects.
|
12
|
+
2. Simple integration with [Ruby-on-Rails][ruby_on_rails_wiki], [Merb][merb_wiki], [StaticMatic][static_matic_wiki], and even [non-ruby application servers][command_line_wiki].
|
13
13
|
3. Loads of Sass mixins to make building your website a snap.
|
14
14
|
|
15
15
|
## More Information
|
16
|
-
Please see the [wiki]
|
16
|
+
Please see the [wiki][wiki]
|
17
|
+
|
18
|
+
## Author
|
19
|
+
Compass is written by [Chris Eppstein][chris_eppstein]. Chris is the Software Architect of [Caring.com][caring.com] and a member of the [Sass][sass] core team.
|
17
20
|
|
21
|
+
[sass]: http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html "Syntactically Awesome StyleSheets"
|
22
|
+
[compass_core_website]: http://github.com/chriseppstein/compass/tree/master/frameworks/compass
|
23
|
+
[compass_core_wiki]: http://github.com/chriseppstein/compass/wikis/compass-core-documentation
|
24
|
+
[blueprint_website]: http://blueprintcss.org/
|
25
|
+
[bleuprint_wiki]: http://github.com/chriseppstein/compass/wikis/blueprint-documentation
|
26
|
+
[yui_website]: http://developer.yahoo.com/yui/grids/
|
27
|
+
[yui_wiki]: http://github.com/chriseppstein/compass/wikis/yui-documentation
|
28
|
+
[ninesixty_website]: http://960.gs/
|
29
|
+
[ninesixty_wiki]: http://github.com/chriseppstein/compass/wikis/960gs-documentation
|
30
|
+
[command_line_wiki]: http://wiki.github.com/chriseppstein/compass/command-line-tool
|
31
|
+
[wiki]: http://github.com/chriseppstein/compass/wikis/home
|
32
|
+
[ruby_on_rails_wiki]: http://wiki.github.com/chriseppstein/compass/ruby-on-rails-integration
|
33
|
+
[merb_wiki]: http://wiki.github.com/chriseppstein/compass/merb-integration
|
34
|
+
[static_matic_wiki]: http://wiki.github.com/chriseppstein/compass/staticmatic-integration
|
35
|
+
[chris_eppstein]: http://acts-as-architect.blogspot.com
|
36
|
+
[caring.com]: http://www.caring.com/ "Senior Care Resources"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
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.6.
|
3
|
+
s.version = "0.6.4"
|
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-04-
|
7
|
+
s.date = %q{2009-04-25}
|
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}
|
data/lib/compass/exec.rb
CHANGED
@@ -101,6 +101,19 @@ END
|
|
101
101
|
self.options[:quiet] = true
|
102
102
|
end
|
103
103
|
|
104
|
+
opts.on('-f FRAMEWORK', '--framework FRAMEWORK', 'Use the specified framework.') do |framework|
|
105
|
+
self.options[:framework] = framework
|
106
|
+
end
|
107
|
+
|
108
|
+
opts.on('-p', '--pattern PATTERN', 'Stamp out a pattern into the current project. Must be used in combination with -f.') do |pattern|
|
109
|
+
self.options[:command] = :stamp_pattern
|
110
|
+
self.options[:pattern] = pattern
|
111
|
+
end
|
112
|
+
|
113
|
+
opts.on('-n', '--pattern-name NAME', 'The name to use when stamping a pattern. Must be used in combination with -p.') do |name|
|
114
|
+
self.options[:pattern_name] = name
|
115
|
+
end
|
116
|
+
|
104
117
|
opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir|
|
105
118
|
self.options[:sass_dir] = sass_dir
|
106
119
|
end
|
@@ -117,10 +130,6 @@ END
|
|
117
130
|
self.options[:command] = :write_configuration
|
118
131
|
end
|
119
132
|
|
120
|
-
opts.on('-f FRAMEWORK', '--framework FRAMEWORK', 'Set up a new project using the specified framework.') do |framework|
|
121
|
-
self.options[:framework] = framework
|
122
|
-
end
|
123
|
-
|
124
133
|
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment: development, production (default)') do |env|
|
125
134
|
self.options[:environment] = env
|
126
135
|
end
|
@@ -154,22 +163,17 @@ END
|
|
154
163
|
end
|
155
164
|
|
156
165
|
opts.on('--imports', :NONE, 'Emit an import path suitable for use with the Sass command-line tool.') do
|
157
|
-
#XXX cross platform support?
|
158
166
|
print ::Compass::Frameworks::ALL.map{|f| "-I #{f.stylesheets_directory}"}.join(' ')
|
159
167
|
exit
|
160
168
|
end
|
161
169
|
|
162
|
-
opts.on('--
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
opts.on('-p', '--pattern PATTERN', 'Stamp out a pattern into the current project. Must be used in combination with -f.') do |pattern|
|
167
|
-
self.options[:command] = :stamp_pattern
|
168
|
-
self.options[:pattern] = pattern
|
170
|
+
opts.on('--install-dir', :NONE, 'Emit the location where compass is installed.') do
|
171
|
+
puts ::Compass.base_directory
|
172
|
+
exit
|
169
173
|
end
|
170
174
|
|
171
|
-
opts.on('
|
172
|
-
self.options[:
|
175
|
+
opts.on('--validate', :NONE, 'Validate your project\'s compiled css. Requires Java.') do
|
176
|
+
self.options[:command] = :validate_project
|
173
177
|
end
|
174
178
|
|
175
179
|
opts.on_tail("-?", "-h", "--help", "Show this message") do
|
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.
|
4
|
+
version: 0.6.4
|
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-04-
|
12
|
+
date: 2009-04-25 00:00:00 -07:00
|
13
13
|
default_executable: compass
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|