Permalink
Browse files

Refractor of Gem

  • Loading branch information...
Sam Richard
Sam Richard committed Feb 14, 2012
1 parent 408948e commit 7861b181e803e59a07dae339c6f842d19cc7ed93
Binary file not shown.
Binary file not shown.
@@ -2,26 +2,30 @@
Gem::Specification.new do |s|
s.name = %q{compass-aura}
- s.version = "0.1.3"
+ s.version = "0.1.4"
- s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Sam Richard"]
- s.date = %q{2012-02-14}
+ s.date = %q{2011-02-14}
s.description = %q{Typography based Responsive Framework utilizing Susy and Modular Scale.}
- s.email = %w{snugug@gmail.com}
- s.has_rdoc = false
- s.files = [
- "compass-aura.gemspec",
- "lib/compass-aura.rb",
- "sass/_aura.scss",
- "sass/aura/_functions.scss",
- "sass/aura/_mixins.scss",
- "sass/aura/_variables.scss"
- ]
- s.homepage = %q{https://github.com/Snugug/Aura}
+ s.email = %q{snugug@gmail.com}
+ s.files = ["compass-aura.gemspec", "lib/aura.rb", "stylesheets/_aura.scss", "stylesheets/aura/_functions.scss", "stylesheets/aura/_mixins.scss", "stylesheets/aura/_variables.scss"]
+ s.homepage = %q{http://snug.ug/}
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "compass-aura", "--main"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{compass-aura}
s.rubygems_version = %q{1.7.2}
s.summary = %q{Typography based Responsive Framework.}
- s.add_dependency(%q<compass>, ["~> 0.11"])
-end
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<compass>, [">= 0.11.1"])
+ else
+ s.add_dependency(%q<compass>, [">= 0.11.1"])
+ end
+ else
+ s.add_dependency(%q<compass>, [">= 0.11.1"])
+ end
+end
View
@@ -0,0 +1,6 @@
+require 'compass'
+require 'susy'
+require 'modular-scale'
+
+extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
+Compass::Frameworks.register('aura', :path => extension_path)
@@ -1,12 +0,0 @@
-require 'compass'
-require 'susy'
-require 'modular-scale'
-Compass::Frameworks.register('aura',
- :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'sass'))
-
-module Aura
-
- VERSION = "0.1.3"
- DATE = "2012-02-14"
-
-end
File renamed without changes.
@@ -0,0 +1,2 @@
+# Make sure you list all the project template files here in the manifest.
+stylesheet 'screen.sass', :media => 'screen, projection'
@@ -0,0 +1,2 @@
+// This is where you put the contents of the main stylesheet for the user's project.
+// It should import your sass stylesheets and demonstrate how to use them.

0 comments on commit 7861b18

Please sign in to comment.