Sha256: e97ee2c2e1384303bfc191cdc95f7814cb706f4f5952c049d918e9acb41501af

Contents?: true

Size: 998 Bytes

Versions: 3

Compression:

Stored size: 998 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/clean'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "fluent-plugin-mongo"
    gemspec.summary = "MongoDB output plugin for Fluent event collector"
    gemspec.author = "Masahiro Nakagawa"
    gemspec.email = "repeatedly@gmail.com"
    gemspec.homepage = "http://github.com/fluent"
    gemspec.has_rdoc = false
    gemspec.require_paths = ["lib"]
    gemspec.add_dependency "fluent", "~> 0.9.14"
    gemspec.add_dependency "mongo", ">= 1.2.0"
    gemspec.test_files = Dir["test/**/*.rb"]
    gemspec.files = Dir["bin/**/*", "lib/**/*", "test/**/*.rb"] + %w[VERSION AUTHORS Rakefile]
    gemspec.executables = []
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Rake::TestTask.new(:test) do |t|
  t.test_files = Dir['test/*_test.rb']
  t.ruby_opts = ['-rubygems'] if defined? Gem
  t.ruby_opts << '-I.'
end

task :default => [:build]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-mongo-0.3.1 Rakefile
fluent-plugin-mongo-0.3.0 Rakefile
fluent-plugin-mongo-0.2.1 Rakefile