Rakefile in fluent-plugin-growthforecast-0.1.4 vs Rakefile in fluent-plugin-growthforecast-0.1.5

- old
+ new

@@ -1,52 +1,11 @@ -# encoding: utf-8 +#!/usr/bin/env rake +require "bundler/gem_tasks" -require 'rubygems' -require 'bundler' -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end -require 'rake' - -require 'jeweler' -Jeweler::Tasks.new do |gem| - # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options - gem.name = "fluent-plugin-growthforecast" - gem.description = "Plugin to post numbers to GrowthForecast (by kazeburo)" - gem.homepage = "http://github.com/tagomoris/fluent-plugin-growthforecast" - gem.summary = gem.description - gem.email = "tagomoris@gmail.com" - gem.authors = ["TAGOMORI Satoshi"] - gem.has_rdoc = "false" - # dependencies defined in Gemfile - gem.files = `git ls-files`.split("\n") - gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - gem.require_paths = ['lib'] - gem.add_dependency "fluentd", "~> 0.10.8" - gem.add_development_dependency "rake", ">= 0.9.2" - gem.add_development_dependency "simplecov", ">= 0.5.4" -end -Jeweler::RubygemsDotOrgTasks.new - require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end task :default => :test - -require 'rdoc/task' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "fluent-plugin-growthforecast #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end