Sha256: a39544d534d6ff25697ece8372eaf08f288593e6a4c4e48483cc104ea239a724

Contents?: true

Size: 636 Bytes

Versions: 7

Compression:

Stored size: 636 Bytes

Contents

#-*- mode: ruby -*-

task default: [:specs]

desc 'run specs'
task :specs do
  $LOAD_PATH << 'specs'

  Dir['specs/*_spec.rb'].each do |f|
    require File.basename(f.sub(/.rb$/, ''))
  end
end

task :headers do
  require 'copyright_header'

  s = Gem::Specification.load(Dir['*gemspec'].first)

  args = {
    license: s.license,
    copyright_software: s.name,
    copyright_software_description: s.description,
    copyright_holders: s.authors,
    copyright_years: [Time.now.year],
    add_path: 'lib',
    output_dir: './'
  }

  command_line = CopyrightHeader::CommandLine.new(args)
  command_line.execute
end

# vim: syntax=Ruby

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/jar-dependencies-0.4.1/Rakefile
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/jar-dependencies-0.4.1/Rakefile
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/jar-dependencies-0.4.1/Rakefile
jar-dependencies-0.4.1 Rakefile
jar-dependencies-0.4.0 Rakefile
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.12/Rakefile
jar-dependencies-0.3.12 Rakefile