interpolate.gemspec in interpolate-0.2.4 vs interpolate.gemspec in interpolate-0.3.0
- old
+ new
@@ -1,65 +1,30 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$LOAD_PATH.unshift File.expand_path('../lib/', __FILE__)
+require 'interpolate/version'
-Gem::Specification.new do |s|
- s.name = %q{interpolate}
- s.version = "0.2.4"
+Gem::Specification.new do |gem|
+ gem.required_rubygems_version = '>= 1.3.6'
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Adam Collins"]
- s.date = %q{2011-04-10}
- s.description = %q{Description
+ # Gem metadata
+ gem.name = 'interpolate'
+ gem.version = Interpolate::VERSION
+ gem.platform = Gem::Platform::RUBY
-Library for generic Interpolation objects. Useful for such things as generating
-linear motion between points (or arrays of points), multi-channel color
-gradients, piecewise functions, or even just placing values within intervals.
-}
- s.email = %q{adam@m104.us}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.md"
- ]
- s.files = [
- "CHANGELOG.md",
- "LICENSE",
- "Manifest.txt",
- "README.md",
- "Rakefile",
- "VERSION",
- "examples/arrays.rb",
- "examples/buckets.rb",
- "examples/colors.rb",
- "examples/nested.rb",
- "interpolate.gemspec",
- "lib/interpolate.rb",
- "lib/interpolate/add/core.rb",
- "lib/interpolate/add/core/array.rb",
- "lib/interpolate/add/core/numeric.rb",
- "lib/interpolate/interpolation.rb",
- "test/test_all.rb"
- ]
- s.homepage = %q{http://github.com/m104/interpolate}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Create linear interpolations from key points and values}
- s.test_files = [
- "examples/arrays.rb",
- "examples/buckets.rb",
- "examples/colors.rb",
- "examples/nested.rb",
- "test/test_all.rb"
- ]
+ gem.summary = 'Create arbitrary interpolations from key points and values'
+ gem.description = 'Interpolate is a library for generic linear interpolation objects. Useful for such things as calculating linear motion between locations (or arrays of locations), multi-channel color gradients, piecewise functions, or even just placing values within intervals.'
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ gem.authors = ['Adam Collins']
+ gem.email = ['adam@m104.us']
+ gem.homepage = 'http://github.com/m104/interpolate'
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ # Dependencies
+ gem.require_paths = ['lib']
+ #gem.add_development_dependency "rspec"
+ #gem.add_runtime_dependency "whatever"
+
+ # Manifest
+ all_files = `git ls-files`.split("\n")
+ gem.files = all_files
+ gem.test_files = all_files.grep(/^test\//)
end