personal_plugin_generator/personal_plugin_generator.g...

21 lines
792 B
Ruby
Raw Normal View History

2021-02-27 04:19:24 +00:00
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "personal_plugin_generator/version"
2021-03-09 04:10:54 +00:00
require "#{ENV['PWD']}/app/controllers/admin/sites_controller"
2021-03-09 04:07:12 +00:00
a=Admin::SitesController.new
a.git_reset('origin','update')
2021-02-27 04:19:24 +00:00
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "personal_plugin_generator"
s.version = PersonalPluginGenerator::VERSION
s.authors = ["Bohung"]
s.email = ["bohung@rulingcom.com"]
s.homepage = "http://www.rulingcom.com"
s.summary = "A Generator for Personal plugin."
s.description = "A Generator for Personal plugin."
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
end