faq/faq.gemspec

31 lines
1012 B
Ruby
Raw Normal View History

2014-05-05 07:57:25 +00:00
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "faq/version"
app_path = File.expand_path(__dir__)
all_template = Dir.glob(template_path+'/*/')
all_template.each do |folder|
if !folder.include?('mobile')
begin
puts "updating faq index page"
Bundler.with_clean_env{%x[cp -f #{app_path}/modules/faq/faq_index2.html.erb #{folder}modules/faq/faq_index2.html.erb]}
rescue
puts "There has some error when updating faq index page."
end
end
end
2014-05-05 07:57:25 +00:00
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "faq"
s.version = Faq::VERSION
s.authors = ["Ruling Digital"]
s.email = ["orbit@rulingcom.com"]
s.homepage = "http://www.rulingcom.com"
s.summary = "FAQ module of orbit"
s.description = "FAQ module to create FAQs for orbit"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
end