Sha256: 2b53a22f8c15664431ef1f94513294e5bf0157af5048a28d94e5f6637a7723a3
Contents?: true
Size: 1.56 KB
Versions: 5
Compression:
Stored size: 1.56 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "fluentd" gemspec.summary = "Fluent event collector" gemspec.author = "Sadayuki Furuhashi" gemspec.email = "frsyuki@gmail.com" gemspec.homepage = "http://fluentd.org/" gemspec.has_rdoc = false gemspec.require_paths = ["lib"] gemspec.add_dependency "msgpack", "~> 0.4.4" gemspec.add_dependency "json", ">= 1.4.3" gemspec.add_dependency "yajl-ruby", "~> 1.0.0" gemspec.add_dependency "cool.io", "~> 1.1.0" gemspec.add_dependency "http_parser.rb", "~> 0.5.1" gemspec.add_development_dependency "rake", ">= 0.9.2" gemspec.test_files = Dir["test/**/*.rb"] gemspec.files = Dir["bin/**/*", "lib/**/*", "test/**/*.rb"] + %w[fluent.conf VERSION AUTHORS Rakefile COPYING fluentd.gemspec] gemspec.executables = ['fluentd', 'fluent-cat', 'fluent-gem'] gemspec.required_ruby_version = '~> 1.9.2' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" 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 :test => [:base_test] Rake::TestTask.new(:base_test) do |t| t.libs << "test" t.test_files = (Dir["test/*.rb"] + Dir["test/plugin/*.rb"] - ["helper.rb"]).sort t.verbose = true #t.warning = true end task :default => [VERSION_FILE, :build]
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fluentd-0.10.13 | Rakefile |
fluentd-0.10.12 | Rakefile |
fluentd-0.10.11 | Rakefile |
fluentd-0.10.10 | Rakefile |
fluentd-0.10.9 | Rakefile |