Skip to content

Instantly share code, notes, and snippets.

@mattscilipoti
Created June 19, 2012 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattscilipoti/2954475 to your computer and use it in GitHub Desktop.
Save mattscilipoti/2954475 to your computer and use it in GitHub Desktop.
gem rake-hooks (1) has an invalid gemspec
# -*- 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
# -*- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment