Sha256: 3b5e3f59dce916cf4e2f670423d4500fe8ee0d0e9f06be4ee3f77746c2e1a7a8

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

require 'rubygems'
require 'rake'
require 'yaml'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "bertclient_new"
    gem.summary = %Q{BERT::Client is a threadsafe BERT-RPC client with support for persistent connections and SSL}
    gem.email = "marcin.wtorkowski@gmail.com"
    gem.homepage = "http://github.com/WTK/bertclient"
    gem.authors = ["Marcin Wtorkowski"]
    gem.add_dependency('bert')
    # gem is a Gem::Specification...
    # see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

task :default => :version

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

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

task :console do
  exec('irb -I lib -r bertclient')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bertclient_new-0.4.3 Rakefile
bertclient_new-0.4.2 Rakefile
bertclient_new-0.4.1 Rakefile