807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
|
# File 'lib/gem_hadar.rb', line 807
def perform
mkdir_p 'lib'
unless File.exist?('VERSION')
File.open('VERSION', 'w') do |output|
output.puts '0.0.0'
end
end
unless File.exist?('Rakefile')
File.open('Rakefile', 'w') do |output|
output.puts <<~EOT
# vim: set filetype=ruby et sw=2 ts=2:
require 'gem_hadar'
GemHadar do
#developing true
#name 'TODO'
module_type :class
#author 'TODO'
#email '[email protected]'
#homepage "https://github.com/TODO/NAME"
#summary 'TODO'
description 'TODO'
test_dir 'spec'
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.AppleDouble', '.bundle', '.yardoc', 'tags'
readme 'README.md'
#executables << 'bin/TODO'
#dependency 'TODO', '~>1.2.3'
#licenses << 'TODO
end
EOT
end
end
end
|