Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1d78a29a9
Fetching contributors…

Cannot retrieve contributors at this time

executable file 54 lines (46 sloc) 1.969 kb
require 'rake'
require 'rubygems'
require 'rspec/core/rake_task'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'lib/waz-storage'
task :default => [:specs]
RSpec::Core::RakeTask.new do |t|
t.name = :specs
t.pattern = "tests/**/*.rb"
t.rcov = true
t.rcov_opts = ['--text-report', '--exclude', "exclude.*/.gem,test,Library,#{ENV['GEM_HOME']}", '--sort', 'coverage' ]
t.rspec_opts = ['-cfn']
end
namespace :dist do
spec = Gem::Specification.new do |s|
s.name = 'waz-storage'
s.version = Gem::Version.new(WAZ::Storage::Version)
s.summary = "Client library for Windows Azure's Storage Service REST API"
s.description = "A simple implementation of Windows Azure Storage API for Ruby, inspired by the S3 gems and self experience of dealing with queues. The major goal of the whole gem is to enable ruby developers [like me =)] to leverage Windows Azure Storage features and have another option for cloud storage."
s.email = 'johnny.halife@me.com'
s.author = 'Johnny G. Halife'
s.homepage = 'http://waz-storage.heroku.com'
s.require_paths = ["lib"]
s.files = FileList['rakefile', 'lib/**/*.rb']
s.test_files = Dir['test/**/*']
s.has_rdoc = true
s.rdoc_options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
# Dependencies
s.add_dependency 'rest-client'
s.add_dependency 'ruby-hmac'
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
end
namespace :docs do
Rake::RDocTask.new do |t|
t.rdoc_dir = 'rdoc'
t.title = "Windows Azure Storage library - simple gem for accessing WAZ's Storage REST API"
t.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
t.options << '--charset' << 'utf-8'
t.rdoc_files.include('README.rdoc')
t.rdoc_files.include('lib/**/*.rb')
end
end
Jump to Line
Something went wrong with that request. Please try again.