rufus-lru.gemspec in rufus-lru-1.0.3 vs rufus-lru.gemspec in rufus-lru-1.0.4
- old
+ new
@@ -1,55 +1,35 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{rufus-lru}
- s.version = "1.0.3"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["John Mettraux"]
- s.date = %q{2010-01-24}
- s.description = %q{
- LruHash class, a Hash with a max size, controlled by a LRU mechanism
- }
- s.email = %q{jmettraux@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.rdoc"
+ s.name = 'rufus-lru'
+
+ s.version = File.read(
+ File.expand_path('../lib/rufus/lru.rb', __FILE__)
+ ).match(/ VERSION *= *['"]([^'"]+)/)[1]
+
+ s.platform = Gem::Platform::RUBY
+ s.authors = [ 'John Mettraux' ]
+ s.email = [ 'jmettraux@gmail.com' ]
+ s.homepage = 'http://github.com/jmettraux/rufus-lru'
+ s.rubyforge_project = 'rufus'
+ s.summary = 'A Hash with a max size, controlled by a LRU mechanism'
+
+ s.description = %{
+LruHash class, a Hash with a max size, controlled by a LRU mechanism
+ }.strip
+
+ #s.files = `git ls-files`.split("\n")
+ s.files = Dir[
+ 'Rakefile',
+ 'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb',
+ '*.gemspec', '*.txt', '*.rdoc', '*.md'
]
- s.files = [
- "CHANGELOG.txt",
- "LICENSE.txt",
- "README.rdoc",
- "Rakefile",
- "doc/rdoc-style.css",
- "lib/rufus-lru.rb",
- "lib/rufus/lru.rb",
- "rufus-lru.gemspec",
- "test/test.rb"
- ]
- s.homepage = %q{http://github.com/jmettraux/rufus-lru/}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{rufus}
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{LruHash class, a Hash with a max size, controlled by a LRU mechanism}
- s.test_files = [
- "test/test.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ #s.add_runtime_dependency 'tzinfo', '>= 0.3.23'
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<yard>, [">= 0"])
- else
- s.add_dependency(%q<yard>, [">= 0"])
- end
- else
- s.add_dependency(%q<yard>, [">= 0"])
- end
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'rspec', '>= 2.7.0'
+
+ s.require_path = 'lib'
end