Sha256: 6cb278ab7b5277ee6243c76e8a8622f00dfbbea3626caa7397144f79d2a6c117

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "smira-memcache-lock"
    gem.summary = %Q{Memcache key lock, extracted from cache-money, adapted to Rails memcache store.}
    gem.description = %Q{Memcache key lock, extracted from cache-money, adapted to Rails memcache store.}
    gem.email = "me@smira.ru"
    gem.homepage = "http://github.com/smira/memcache-lock"
    gem.authors = ["Andrey Smirnov"]
    gem.add_development_dependency "rspec"
    gem.add_dependency "activesupport", ">= 2.3.5"
    gem.add_dependency "memcache-client", ">= 1.7.4"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "memcache-lock #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smira-memcache-lock-0.2.1 Rakefile
smira-memcache-lock-0.2.0 Rakefile
smira-memcache-lock-0.1.0 Rakefile