Sha256: 964ef25fe367d8a3035981e8f772bccaefbb80383eb0fa408227719ba87ac680
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "fluent-plugin-td" gemspec.summary = "Treasure Data plugin for Fluent event collector" gemspec.author = "Sadayuki Furuhashi" #gemspec.email = "frsyuki@gmail.com" #gemspec.homepage = "http://fluent.github.com/" gemspec.has_rdoc = false gemspec.require_paths = ["lib"] gemspec.add_dependency "fluent", "~> 0.9.7" gemspec.add_dependency "td-client", "~> 0.8.0" gemspec.test_files = Dir["test/**/*.rb"] gemspec.files = Dir["bin/**/*", "lib/**/*", "test/**/*.rb"] + %w[example.conf VERSION AUTHORS Rakefile fluent-plugin-td.gemspec] 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 #VERSION_FILE = "lib/fluent/version.rb" # #file VERSION_FILE => ["VERSION"] do |t| # version = File.read("VERSION").strip # File.open(VERSION_FILE, "w") {|f| # f.write <<EOF #module Fluent # #VERSION = '#{version}' # #end #EOF # } #end # #task :default => [VERSION_FILE, :build] task :default => [:build]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-td-0.9.8 | Rakefile |