Added templates, install generator and renamed the gem to orbit_calendar

This commit is contained in:
Saurabh Bhatia 2014-01-15 17:16:45 +08:00
parent 4d7255e08d
commit 8c07087e89
3 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@ require "calendar/version"
# Describe your gem and declare its dependencies: # Describe your gem and declare its dependencies:
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "calendar" s.name = "orbit_calendar"
s.version = Calendar::VERSION s.version = Calendar::VERSION
s.authors = ["Harry Bomrah, Saurabh Bhatia"] s.authors = ["Harry Bomrah, Saurabh Bhatia"]
s.email = ["harry@rulingcom.com, saurabh@rulingcom.com"] s.email = ["harry@rulingcom.com, saurabh@rulingcom.com"]

View File

@ -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