Sha256: 84c22c80085bf4608177d1949c2291b4486b2d4f993b5d151c1547e89b2e4c30

Contents?: true

Size: 1.2 KB

Versions: 12

Compression:

Stored size: 1.2 KB

Contents

lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'rubygems'
require 'rake/clean'
require 'rake/testtask'
require 'date'
require 'semantic_logger/version'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |spec|
    spec.name        = 'semantic_logger'
    spec.version     = SemanticLogger::VERSION
    spec.platform    = Gem::Platform::RUBY
    spec.authors     = ['Reid Morrison']
    spec.email       = ['reidmo@gmail.com']
    spec.homepage    = 'https://github.com/ClarityServices/semantic_logger'
    spec.date        = Date.today.to_s
    spec.summary     = "Semantic Logger for Ruby, and Ruby on Rails"
    spec.description = "Machine readable document oriented logging with support for MongoDB and text files"
    spec.files       = FileList["./**/*"].exclude('*.gem', 'nbproject').map{|f| f.sub(/^\.\//, '')}
    spec.has_rdoc    = true
    spec.add_dependency 'sync_attr'
    spec.add_development_dependency 'shoulda'
  end
  Gem::Builder.new(gemspec).build
end

desc "Run Test Suite"
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
semantic_logger-0.7.1 Rakefile
semantic_logger-0.7.0 Rakefile
semantic_logger-0.6.2 Rakefile
semantic_logger-0.6.1 Rakefile
semantic_logger-0.6.0 Rakefile
semantic_logger-0.5.3 Rakefile
semantic_logger-0.5.2 Rakefile
semantic_logger-0.5.1 Rakefile
semantic_logger-0.5.0 Rakefile
semantic_logger-0.4.2 Rakefile
semantic_logger-0.4.1 Rakefile
semantic_logger-0.4.0 Rakefile