Skip to content
Browse files

Fix a template bug

In spec_helper, no need to load a "Dir" when you just load a file
Also release this to a new version
  • Loading branch information...
1 parent 2141f2b commit 943d4ad196f90d1246b6681a444ae6ef6446646b @ywen2 ywen2 committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/gem_skeleton/templates/newgem/spec/spec_helper.rb.tt
  2. +1 −1 lib/gem_skeleton/version.rb
View
2 lib/gem_skeleton/templates/newgem/spec/spec_helper.rb.tt
@@ -24,7 +24,7 @@ Spork.prefork do
end
Spork.each_run do
- Dir["#{File.dirname(__FILE__)}/../lib/<%=config[:name]%>.rb"].each {|f| load f}
+ load "#{File.dirname(__FILE__)}/../lib/<%=config[:name]%>.rb"
Dir["#{File.dirname(__FILE__)}/../lib/<%=config[:name]%>/*.rb"].each {|f| load f}
end
View
2 lib/gem_skeleton/version.rb
@@ -1,3 +1,3 @@
module GemSkeleton
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end

0 comments on commit 943d4ad

Please sign in to comment.
Something went wrong with that request. Please try again.