Sha256: 16bcdfbb57cbc9361d1e13a0f031015f395f298355c837e8bb6f1b8aaa0f6a8f

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

require "rake/testtask"

Rake::TestTask.new do |t|
  t.libs      << "test"
  t.test_files = FileList["test/**/*_test.rb"]
  t.verbose    = true
end

task :default => :test

begin
  require 'jeweler'

  # We're not putting VERSION or VERSION.yml in the root,
  # so we have to help Jeweler find our version.
  $LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'
  require 'rip/version'
  require 'rip/setup'

  Rip::Version.instance_eval do
    def refresh
    end
  end

  class Jeweler
    def version_helper
      Rip::Version
    end

    def version_exists?
      true
    end
  end

  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "rip"
    gemspec.summary = "Rip: Ruby's Intelligent Packaging"
    gemspec.email = "chris@ozmm.org"
    gemspec.homepage = "http://hellorip.com"
    gemspec.description = "Rip: Ruby's Intelligent Packaging"
    gemspec.authors = ["Chris Wanstrath"]
    gemspec.extensions = ["ext/extconf.rb"]
    gemspec.executables = ['']
    gemspec.has_rdoc = false
    gemspec.extra_rdoc_files = ['']
    gemspec.post_install_message = Rip::Setup.finish_setup_banner
  end
rescue LoadError
  puts "Jeweler not available."
  puts "Install it with: rip install technicalpickles-jeweler"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rip-0.0.4 Rakefile
rip-0.0.5 Rakefile
rip-0.0.3 Rakefile
rip-0.0.2 Rakefile
rip-0.0.1 Rakefile