forked from oddbird/susy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
susy.gemspec
57 lines (48 loc) · 1.73 KB
/
susy.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
# General Project Information
s.name = "susy"
s.version = File.read(File.join(File.dirname(__FILE__), "VERSION"))
s.licenses = ['BSD-3-Clause']
s.date = "2015-09-01"
# RubyForge Information
s.rubyforge_project = "susy"
s.rubygems_version = "2.0.3"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
# Author Information
s.authors = ["Miriam Eric Suzanne"]
s.email = ["[email protected]"]
s.homepage = "http://susy.oddbird.net/"
# Project Description
s.summary = "Responsive layout toolkit for Sass."
s.description = "Susy is a toolkit for building layouts of all types with a simple, natural syntax."
# Files to Include
s.require_paths = ["lib"]
s.files = Dir.glob("lib/*.*")
s.files += Dir.glob("sass/**/*.*")
s.files += Dir.glob("templates/**/*.*")
s.files += ["docs/changelog.rst", "LICENSE.txt", "README.md", "VERSION"]
# Docs Information
s.extra_rdoc_files = ["docs/changelog.rst", "LICENSE.txt", "README.md", "lib/susy.rb"]
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Susy", "--main", "README.md"]
dependencies = {
"sass" => [">= 3.3.0", "< 3.5"]
}
# Project Dependencies
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
dependencies.each do |project, version|
s.add_runtime_dependency(project, version)
end
else
dependencies.each do |project, version|
s.add_dependency(project, version)
end
end
else
dependencies.each do |project, version|
s.add_dependency(project, version)
end
end
end