Added templates, install generator and renamed the gem to orbit_calendar
This commit is contained in:
parent
4d7255e08d
commit
8c07087e89
|
@ -5,7 +5,7 @@ require "calendar/version"
|
|||
|
||||
# Describe your gem and declare its dependencies:
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "calendar"
|
||||
s.name = "orbit_calendar"
|
||||
s.version = Calendar::VERSION
|
||||
s.authors = ["Harry Bomrah, Saurabh Bhatia"]
|
||||
s.email = ["harry@rulingcom.com, saurabh@rulingcom.com"]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
class InstallGenerator < ::Rails::Generators::Base
|
||||
include Rails::Generators::Migration
|
||||
source_root File.expand_path('../templates', __FILE__)
|
||||
desc "Installs Ecom Store"
|
||||
|
||||
def install
|
||||
template "initializer.rb", "config/initializers/orbit_calendar.rb"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue