Sha256: 7c5a2b9fc19d766e507ea1f7b14b1ed32529a9990f1f848343e65bc50f7c876e

Contents?: true

Size: 1021 Bytes

Versions: 1

Compression:

Stored size: 1021 Bytes

Contents

begin
  require 'jeweler'
  
  Jeweler.class_eval do
    protected
    
    def fill_in_gemspec_defaults(gemspec)
      if gemspec.files.nil? || gemspec.files.empty?
        gemspec.files = FileList['Rakefile', '{bin,lib,images,spec}/**/*', 'README*', 'LICENSE*']
      end

      if gemspec.executables.nil? || gemspec.executables.empty?
        gemspec.executables = Dir["#{@base_dir}/bin/*"].map do |f|
          File.basename(f)
        end
      end

      gemspec
    end
  end
  
  Jeweler::Tasks.new do |gem|
    gem.name = "rspactor"
    gem.summary = "RSpactor is a command line tool to automatically run your changed specs (much like autotest)."
    gem.email = "mislav.marohnic@gmail.com"
    gem.homepage = "http://github.com/mislav/rspactor"
    gem.authors = ["Mislav Marohnić", "Andreas Wolff", "Pelle Braendgaard"]
    gem.has_rdoc = false
  end
rescue LoadError
  puts "Jeweler gem (technicalpickles-jeweler) not found"
end

task :spec do
  system 'ruby -Ilib bin/rspactor'
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mislav-rspactor-0.3.2 Rakefile