lib/gemsmith/skeletons/git_skeleton.rb in gemsmith-5.2.0 vs lib/gemsmith/skeletons/git_skeleton.rb in gemsmith-5.3.0
- old
+ new
@@ -1,12 +1,16 @@
module Gemsmith
module Skeletons
class GitSkeleton < BaseSkeleton
def create_files
+ template "%gem_name%/Gemfile.tt", template_options
+ end
+
+ def create_repository
Dir.chdir(File.join(destination_root, gem_name)) do
`git init`
`git add .`
- `git commit -a -n -m "Added Gemsmith skeleton."`
+ `git commit --all --no-verify --message "Added Gemsmith skeleton."`
end
end
end
end
end