Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (41 sloc) 1.371 kb
begin
# Try to require the preresolved locked set of gems.
require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
# Fall back on doing an unlocked resolve at runtime.
require "rubygems"
require "bundler"
Bundler.setup
end
require 'spec/rake/spectask'
GEM = 'dm-redis-adapter'
GEM_NAME = 'dm-redis-adapter'
AUTHORS = ['Dan Herrera']
EMAIL = "whoahbot@gmail.com"
HOMEPAGE = "http://github.com/whoahbot/dm-redis-adapter"
SUMMARY = "DataMapper adapter for the Redis key-value database"
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = GEM
gemspec.summary = SUMMARY
gemspec.email = EMAIL
gemspec.homepage = HOMEPAGE
gemspec.description = SUMMARY
gemspec.authors = AUTHORS
gemspec.add_dependency "dm-core", ">= 1.0.0"
gemspec.add_dependency "dm-types", ">= 1.0.0"
gemspec.add_dependency "redis", ">= 2.0.1"
gemspec.files = %w(MIT-LICENSE README.textile Rakefile) + Dir.glob("{lib,spec}/**/*")
gemspec.has_rdoc = false
gemspec.extra_rdoc_files = ["MIT-LICENSE"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
task :default => :spec
desc "Run specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = %w(-fs --color)
end
Jump to Line
Something went wrong with that request. Please try again.