Skip to content
Browse files

fix 1.8 compatibility, fixes #2

  • Loading branch information...
1 parent a8d6f65 commit c8b76af5ca08c16fa4ebbc8dcc668dcc3329ac5b @rkh committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/gemerate
  2. +1 −1 gemerator.gemspec
View
2 bin/gemerate
@@ -27,7 +27,7 @@ ipolate = proc do |str|
post, pre = "\n#{post}", "#{pre}\n" unless pre.empty?
post, pre = "#{indent}end#{post}", "#{pre}#{indent}module #{nested}"
end
- [pre, *lines, post].join "\n"
+ lines.unshift(pre).push(post).join("\n")
end
end
View
2 gemerator.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "gemerator"
- s.version = "0.1.1"
+ s.version = "0.2.0"
s.description = "Like NewGem, but way simpler."
s.homepage = "http://github.com/rkh/gemerator"
s.authors = %w[Konstantin Haase]

0 comments on commit c8b76af

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