Skip to content

Commit

Permalink
add basic gem structure
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseChavez committed Jun 19, 2018
1 parent 2397425 commit 9905b31
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 34 deletions.
29 changes: 11 additions & 18 deletions foundation-sass-rails.gemspec
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "foundation/sass/rails/version"
require 'foundation/version'

Gem::Specification.new do |spec|
spec.name = "foundation-sass-rails"
spec.version = Foundation::Sass::Rails::VERSION
spec.authors = ["Jesse Chavez"]
spec.email = ["jesse.chavez.r@gmail.com"]
spec.name = 'foundation-sass-rails'
spec.version = Foundation::Sass::VERSION
spec.authors = ['Jesse Chavez']
spec.email = ['jesse.chavez.r@gmail.com']

spec.summary = %q{TODO: Write a short summary, because RubyGems requires one.}
spec.description = %q{TODO: Write a longer description or delete this line.}
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.license = "MIT"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.summary = %q{Foundation Sass}
spec.description = %q{This gem add only the Sass part of Foundation frontend framework to a Rails project.}
spec.homepage = 'https://github.com/JesseChavez/foundation-sass-rails'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
Expand All @@ -30,6 +21,8 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency 'sass', ['>= 3.3.0', '< 3.5']

spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
Expand Down
8 changes: 8 additions & 0 deletions lib/foundation-sass-rails.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'foundation/version'

module Foundation
module Sass
class Engine < ::Rails::Engine
end
end
end
9 changes: 0 additions & 9 deletions lib/foundation/sass/rails.rb

This file was deleted.

7 changes: 0 additions & 7 deletions lib/foundation/sass/rails/version.rb

This file was deleted.

5 changes: 5 additions & 0 deletions lib/foundation/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Foundation
module Sass
VERSION = '0.1.0'
end
end

0 comments on commit 9905b31

Please sign in to comment.