config/hoe.rb in rubigen-1.3.2 vs config/hoe.rb in rubigen-1.3.3
- old
+ new
@@ -1,6 +1,6 @@
-require 'rubigen/version'
+require 'rubigen'
AUTHOR = ['Dr Nic Williams', 'Jeremy Kemper'] # can also be an array of Authors
EMAIL = "drnicwilliams@gmail.com"
DESCRIPTION = <<-EOS
A framework to allow Ruby applications to generate file/folder stubs (like the rails command does for Ruby on Rails, and the ‘script/generate’ command within a Rails application during development).
@@ -32,11 +32,11 @@
REV = nil
# UNCOMMENT IF REQUIRED:
# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
-VERS = Rubigen::VERSION::STRING + (REV ? ".#{REV}" : "")
+VERS = RubiGen::VERSION
RDOC_OPTS = ['--quiet', '--title', 'rubigen documentation',
"--opname", "index.html",
"--line-numbers",
"--main", "README",
"--inline-source"]
@@ -60,10 +60,10 @@
p.test_globs = ["test/**/test_*.rb"]
p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
# == Optional
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
- p.extra_deps = [ ['activesupport', '>= 1.4.4'] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
+ p.extra_deps = [ [ 'activesupport', '>= 1.4.4'] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
end
\ No newline at end of file