Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Namespaced everything with Compass

  • Loading branch information...
commit 6164ff9ba4ffeaf764b832b505b1a9a3fe19e0a4 1 parent 25b8489
Stephen Way authored
2  .gitignore
View
@@ -2,6 +2,8 @@
*.sublime-project
*.sublime-workspace
.sass-cache/
+*.gem
+.bundle
# OS generated files
.DS_Store
6 README.md
View
@@ -39,10 +39,10 @@ Then verify it's installed.
compass help compass-intuit
-@imports have been branched out in this extension, additionally you can use these:
+Imports have been branched out in this extension, additionally you can use these:
@import "intuit/generic";
-
+
@import "intuit/base";
@import "intuit/objects";
@@ -65,7 +65,7 @@ been possible without inspiration and work from an array of other people.
And probably more…
-This Compass extension was ported by **[Stephen Way](https://twitter.com/stephencway)**
+This Compass extension was created by **[Stephen Way](https://twitter.com/stephencway)**
**inuit.css is the most powerful little framework out there, and it’s ready to
go!**
14 compass-intuit.gemspec
View
@@ -0,0 +1,14 @@
+# -*- encoding: utf-8 -*-
+Gem::Specification.new do |gem|
+ gem.name = "compass-intuit"
+ gem.version = "4.0.0"
+ gem.authors = ["Stephen Way"]
+ gem.email = ["stephen@swy.me"]
+ gem.description = "inuit.css for compass—cooler than a polar bear’s toenails"
+ gem.summary = "inuit.css for compass—cooler than a polar bear’s toenails"
+ gem.homepage = "http://github.com/stephenway/compass-intuit"
+
+ gem.require_paths = ["lib", "stylesheets", "templates"]
+ gem.add_dependency "sass", ">= 3.2"
+ gem.add_dependency "compass", ">= 0.12"
+end
24 intuit.gemspec
View
@@ -1,24 +0,0 @@
-Gem::Specification.new do |s|
- # Release Specific Information
- s.version = "4.0"
- s.date = "2012-10-16"
-
- # Gem Details
- s.name = "compass-intuit"
- s.authors = ["Stephen Way"]
- s.summary = %q{inuit.css for compass—cooler than a polar bear’s toenails}
- s.description = %q{inuit.css for compass—cooler than a polar bear’s toenails}
- s.email = "stephen@swy.me"
- s.homepage = "http://swy.me/"
-
- # Gem Files
- s.files = %w(README.md)
- s.files += Dir.glob("lib/**/*.*")
- s.files += Dir.glob("stylesheets/**/*.*")
- s.files += Dir.glob("templates/**/*.*")
-
- # Gem Bookkeeping
- s.has_rdoc = false
- s.rubygems_version = %q{1.8.24}
- s.add_dependency("compass", [">= 0.12.2"])
-end
5 lib/compass-intuit.rb
View
@@ -0,0 +1,5 @@
+require 'compass'
+
+Compass::Frameworks.register('compass-intuit',
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets'),
+ :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates'))
3  lib/intuit.rb
View
@@ -1,3 +0,0 @@
-require 'compass'
-extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-Compass::Frameworks.register('compass-intuit', :path => extension_path)
0  stylesheets/_intuit.scss → stylesheets/_compass-intuit.scss
View
File renamed without changes
2  templates/project/your-project.scss
View
@@ -11,6 +11,6 @@
*/
// Setup
@import "vars";
-@import "inuit";
+@import "compass-inuit";
// She’s all yours, cap’n... Begin importing your stuff here.
Please sign in to comment.
Something went wrong with that request. Please try again.