public

gem rake-hooks (1) has an invalid gemspec

  • Download Gist
rake-hooks(newly-minted).gemspec
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rake/hooks/version', __FILE__)
 
Gem::Specification.new do |gem|
gem.authors = ["Matt Scilipoti"]
gem.email = ["matt@scilipoti.name"]
gem.description = %q{Is this valid?}
gem.summary = %q{I hope it is valid}
gem.homepage = ""
 
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "rake-hooks"
gem.require_paths = ["lib"]
gem.version = Rake::Hooks::VERSION
end
rake-hooks.gemspec
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rake/hooks/version"
 
Gem::Specification.new do |s|
s.name = "rake-hooks"
s.version = Rake::Hooks::VERSION
s.email = ["guillermo@cientifico.net", "joel@developwithstyle.com"]
s.authors = ["Guillermo Álvarez", "Joel Moss"]
s.homepage = 'https://github.com/guillermo/rake-hooks'
s.summary = "Add after and before hooks to rake tasks"
s.description = 'Add after and before hooks to rake tasks. You can use `after :task do ... end` and `before :task do ... end`.'
 
s.rubyforge_project = "rake-hooks"
 
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
 
s.add_runtime_dependency "rake"
 
s.add_development_dependency "bundler"
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.