Sha256: a5800e49b1de70b8666fcb92e0b27752ca1e2bdb87130d1ce6680dec05d73cc2

Contents?: true

Size: 855 Bytes

Versions: 1

Compression:

Stored size: 855 Bytes

Contents

task :default => :spec
task :test    => :spec

desc "Build a gem"
task :gem => [ :gemspec, :build ]

desc "Run specs"
task :spec do
  exec "spec spec/redis_spec.rb"
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "redis-namespace"
    gemspec.summary = "Namespaces Redis commands."
    gemspec.email = "chris@ozmm.org"
    gemspec.homepage = "http://github.com/defunkt/redis-namespace"
    gemspec.authors = ["Chris Wanstrath"]
    gemspec.version = '0.4.2'
    gemspec.add_dependency 'redis'
    gemspec.description = <<description
Adds a Redis::Namespace class which can be used to namespace calls
to Redis. This is useful when using a single instance of Redis with
multiple, different applications.
description
  end
rescue LoadError
  warn "Jeweler not available. Install it with:"
  warn "gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis-namespace-0.4.2 Rakefile