Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gembase: new gemspec

  • Loading branch information...
commit 2161cc65570cef4e06f9cc53b1c596fe3cd74064 1 parent a5798a8
@rcarver rcarver authored
Showing with 16 additions and 70 deletions.
  1. +16 −70 fontvariationdescription.gemspec
View
86 fontvariationdescription.gemspec
@@ -1,73 +1,19 @@
-## This is the rakegem gemspec template. Make sure you read and understand
-## all of the comments. Some sections require modification, and others can
-## be deleted if you don't need them. Once you understand the contents of
-## this file, feel free to delete any comments that begin with two hash marks.
-## You can find comprehensive Gem::Specification documentation, at
-## http://docs.rubygems.org/read/chapter/20
-Gem::Specification.new do |s|
- s.specification_version = 2 if s.respond_to? :specification_version=
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.rubygems_version = '1.3.5'
-
- ## Leave these as is they will be modified for you by the rake gemspec task.
- ## If your rubyforge_project name is different, then edit it and comment out
- ## the sub! line in the Rakefile
- s.name = 'fontvariationdescription'
- s.version = '0.10.0'
- s.date = '2011-03-04'
- s.rubyforge_project = 'fontvariationdescription'
-
- ## Make sure your summary is short. The description may be as long
- ## as you like.
- s.summary = "Unambiguously, compactly and clearly describe font in CSS"
- s.description = <<END
-Font Variation Description addresses the need to describe a font in CSS by
-way of its font descriptions such as font-style and font-weight.
-END
-
- ## List the primary authors. If there are a bunch of authors, it's probably
- ## better to set the email to an email list or something. If you don't have
- ## a custom homepage, consider using your GitHub URL or the like.
- s.authors = ["Ryan Carver"]
- s.email = 'ryan@typekit.com'
- s.homepage = 'http://github.com/typekit/fontvariationdescription'
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "fontvariationdescription/version"
- ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
- ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
- s.require_paths = %w[lib]
-
- ## Specify any RDoc options here. You'll want to add your README and
- ## LICENSE files to the extra_rdoc_files list.
- s.rdoc_options = ["--charset=UTF-8"]
- s.extra_rdoc_files = %w[README.md LICENSE]
-
- ## Leave this section as-is. It will be automatically generated from the
- ## contents of your Git repository via the gemspec task. DO NOT REMOVE
- ## THE MANIFEST COMMENTS, they are used as delimiters by the task.
- # = MANIFEST =
- s.files = %w[
- LICENSE
- README.md
- Rakefile
- compact.yml
- expand.yml
- fontvariationdescription.gemspec
- lib/fontvariationdescription.rb
- lib/fontvariationdescription/compactor.rb
- lib/fontvariationdescription/expander.rb
- lib/fontvariationdescription/item.rb
- lib/fontvariationdescription/parser.rb
- lib/fontvariationdescription/test.rb
- parser.yml
- test/compactor_test.rb
- test/expander_test.rb
- test/font_variation_description_test.rb
- test/parser_test.rb
- test/test_helper.rb
- ]
- # = MANIFEST =
+Gem::Specification.new do |s|
+ s.name = "fontvariationdescription"
+ s.version = Fontvariationdescription::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Ryan Carver"]
+ s.email = ["ryan@typekit.com"]
+ s.homepage = ""
+ s.summary = %q{Unambiguously, compactly and clearly describe font in CSS}
+ s.description = %q{Unambiguously, compactly and clearly describe font in CSS}
- ## Test files will be grabbed from the file list. Make sure the path glob
- ## matches what you actually use.
- s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
end
Please sign in to comment.
Something went wrong with that request. Please try again.