Sha256: 8cb160d599e0b5149b9377eed0b7969486c52d19ecb240a4ed79b67a23bc3eae

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

require 'rake'

begin
  require 'spec/rake/spectask'

  desc "Run all examples"
  Spec::Rake::SpecTask.new('spec') do |t|
    t.spec_files = FileList['spec/**/*.rb']
  end

  desc "Run all examples with RCov"
  Spec::Rake::SpecTask.new('spec:rcov') do |t|
    t.spec_files = FileList['spec/**/*.rb']
    t.rcov = true
    t.rcov_opts = ['--exclude', 'spec,gem']
  end
rescue LoadError
  puts "Could not load Rspec. To run tests, use `gem install rspec`"
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "oria"
    gemspec.summary = "A Ruby-based, in-memory KVS with one half of the peristence you want"
    gemspec.description = %{
      Oria (oh-rye-uh) is an in-memory, Ruby-based Key-Value store. It's designed to handle moderate amounts of data quickly
      and easily without causing deployment issues or server headaches. It uses EventMachine to provide a networked interface
      to a semi-persistent KVS and asynchronously writes the in-memory data to YAML files.
    }
    gemspec.email = "flip@x451.com"
    gemspec.homepage = "http://github.com/flipsasser/oria"
    gemspec.authors = ["Flip Sasser"]
    gemspec.add_dependency('eventmachine', '>= 0.12.10')
    gemspec.add_dependency('json', '>= 1.2.0')
  end
rescue LoadError
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oria-0.0.3 Rakefile
oria-0.0.2 Rakefile
oria-0.0.1 Rakefile