Sha256: 6599831cd9d03a2c9024c12ca0da4d056e3ed5a0671248a6f51f6ee2620a14a1

Contents?: true

Size: 986 Bytes

Versions: 9

Compression:

Stored size: 986 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "open_gem"
    s.summary = "Gem Command to easily open a ruby gem with the editor of your choice."
    s.description = <<-DESC
      Open a gem's source directory with either the default editor, or a specified command.
    DESC
    s.email = "netghost@gmail.com"
    s.homepage = "http://github.com/adamsanderson/open_gem"
    s.authors = ["Adam Sanderson"]
    s.has_rdoc = false
    s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
    
    # Testing
    s.test_files = FileList["test/**/*_test.rb"]
    s.add_development_dependency 'mocha', '~> 0.9.5'
  end

rescue LoadError
  puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

task :default => :test

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
adamsanderson-open_gem-1.1.0 Rakefile
adamsanderson-open_gem-1.2.0 Rakefile
adamsanderson-open_gem-1.3.0 Rakefile
adamsanderson-open_gem-1.3.1 Rakefile
adamsanderson-open_gem-1.3.2 Rakefile
adamsanderson-open_gem-1.4.0 Rakefile
open_gem-1.2.0 Rakefile
open_gem-1.3.0 Rakefile
open_gem-1.3.1 Rakefile