Skip to content

radf0x/gembuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gembuilder

A gem to generate the scaffolding of another gem
take laziness to another level because why not?

How to use

  1. $ ./gembuilder [your desired gem name]
  2. Follow instructions on screen
    demo

What will it generates?

  1. A folder with files below:
no-scope
├── no-scope.gemspec
└── lib
    └── no-scope.rb
  1. A empty class with camelcase gem_name (/lib/no-scope.rb)
# frozen_string_literal: true

class NoScope

end
  1. A default gemspec with TODOs
Gem::Specification.new do |s|
  s.name        = "<%= no-scope %>"   
  s.version     = '0.0.1'   
  s.summary     = "<%= no-scope %>"   
  s.description = "[TODO]"   
  s.authors     = [""]   
  s.email       = ''
  s.files       = ["lib/<%= no-scope %>.rb"]   
  s.homepage    = "[TODO]"   
  s.license     = "<%= @license %>"
end

TODO

  1. Support different format for gem_name input
  2. Add standard methods on the new gem main class
  3. Not sure if im going to work on this lib anytime soon but look!
    A lazy cat is having a nap on the couch
    cat

About

A gem to build another gem

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages