diff options
author | Ryan Davis <ryand@zenspider.com> | 2012-12-15 16:28:45 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2012-12-15 16:28:45 -0800 |
commit | 60d845c54dfd2a48383f59147370027f27a8c0cc (patch) | |
tree | 829f72e9c782cfcc78be7e0dfaef2dacb8152d04 /template | |
parent | 3f4a74d7355adcbd4c3a7a0485172c711ef3875b (diff) | |
download | hoe-60d845c54dfd2a48383f59147370027f27a8c0cc.tar.gz |
free us from the single quote dogma
[git-p4: depot-paths = "//src/hoe/dev/": change = 8059]
Diffstat (limited to 'template')
-rw-r--r-- | template/.autotest.erb | 6 | ||||
-rw-r--r-- | template/Rakefile.erb | 12 | ||||
-rw-r--r-- | template/lib/file_name.rb.erb | 2 |
3 files changed, 11 insertions, 9 deletions
diff --git a/template/.autotest.erb b/template/.autotest.erb index ef753ad..ae42cf6 100644 --- a/template/.autotest.erb +++ b/template/.autotest.erb @@ -1,13 +1,15 @@ # -*- ruby -*- -require 'autotest/restart' +require "autotest/restart" # Autotest.add_hook :initialize do |at| +# at.testlib = "minitest/unit" +# # at.extra_files << "../some/external/dependency.rb" # # at.libs << ":../some/external" # -# at.add_exception 'vendor' +# at.add_exception "vendor" # # at.add_mapping(/dependency.rb/) do |f, _| # at.files_matching(/test_.*rb$/) diff --git a/template/Rakefile.erb b/template/Rakefile.erb index 42eecb0..61c3861 100644 --- a/template/Rakefile.erb +++ b/template/Rakefile.erb @@ -1,7 +1,7 @@ # -*- ruby -*- -require 'rubygems' -require 'hoe' +require "rubygems" +require "hoe" <%= found = Gem.find_files("hoe/*.rb").map { |f| File.basename(f, ".rb").to_sym } @@ -9,16 +9,16 @@ require 'hoe' extra.map { |name| "# Hoe.plugin #{name.inspect}" }.sort.uniq.join("\n") %> -Hoe.spec '<%= project %>' do +Hoe.spec "<%= project %>" do # HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then # you'll never have to touch them again! # (delete this comment too, of course) - # developer('<%= XIF %>', '<%= XIF %>@example.com') + # developer("<%= XIF %>", "<%= XIF %>@example.com") - # self.rubyforge_name = '<%= project %>x' # if different than '<%= project %>' + # self.rubyforge_name = "<%= project %>x" # if different than "<%= project %>" - # license 'MIT' # this should match the license in the README + # license "MIT" # this should match the license in the README end # vim: syntax=ruby diff --git a/template/lib/file_name.rb.erb b/template/lib/file_name.rb.erb index 37e61d6..8b8518e 100644 --- a/template/lib/file_name.rb.erb +++ b/template/lib/file_name.rb.erb @@ -1,4 +1,4 @@ <%= make_sub_modules klass %> class <%= klass %> - VERSION = '1.0.0' + VERSION = "1.0.0" end |