turnpike.gemspec in turnpike-0.2.0 vs turnpike.gemspec in turnpike-0.3.0
- old
+ new
@@ -1,31 +1,21 @@
# -*- encoding: utf-8 -*-
-require "./lib/turnpike/version"
+$:.push File.expand_path('../lib', __FILE__)
+require 'turnpike/version'
Gem::Specification.new do |s|
- s.name = "turnpike"
+ s.name = 'turnpike'
s.version = Turnpike::VERSION
- s.authors = ["Paper Cavalier"]
- s.email = ["code@papercavalier.com"]
- s.homepage = "http://code.papercavalier.com/turnpike"
- s.summary = %q{A Redis-backed messaging queue}
- s.description = %q{Turnpike is a Redis-backed messaging queue.}
+ s.authors = ['Hakan Ensari']
+ s.email = ['hakan.ensari@papercavalier.com']
+ s.homepage = 'http://github.com/hakanensari/turnpike'
+ s.summary = %q{A Redis-backed queue}
+ s.description = %q{Turnpike is a Redis-backed queue.}
- s.rubyforge_project = "turnpike"
-
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"]
+ s.require_paths = ['lib']
- {
- 'redis' => '~> 2.2'
- }.each do |lib, version|
- s.add_runtime_dependency lib, version
- end
-
- {
- 'rake' => '~> 0.9'
- }.each do |lib, version|
- s.add_development_dependency lib, version
- end
+ s.add_runtime_dependency 'redis', '~> 3.0.0.rc1'
+ s.add_development_dependency 'rake', '~> 0.9'
end