Sha256: 4c6c98efaec28c88df34ee28addde20ca1c343428fa47486d7d3aa7ccd8d71de

Contents?: true

Size: 924 Bytes

Versions: 1

Compression:

Stored size: 924 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 = "opengotham_redis-namespace"
    gemspec.summary = "Namespaces Redis commands."
    gemspec.email = "mjording@opengotham.com"
    gemspec.homepage = "http://github.com/opengotham/redis-namespace"
    gemspec.authors = ["Matthew Jording"]
    gemspec.version = '0.4.4'
    gemspec.add_dependency 'redis', ">= 2.0.0.rc2"
    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
  Jeweler::GemcutterTasks.new
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
opengotham_redis-namespace-0.4.4 Rakefile