This commit is contained in:
BOHUNG 2020-01-13 19:16:41 +08:00
parent 65b96b9fdc
commit 19b2afcab1
1 changed files with 19 additions and 17 deletions

View File

@ -22,6 +22,7 @@ puts 'copying module'
check_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"%>'
edit_texts = '<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"%>'
all_template.each do |folder|
if !folder.include?('mobile')
if folder.split('/')[-1] != 'mobile'
begin
system ('cp -r '+ app_path + '/modules/. ' + folder+'/modules/.')
@ -40,6 +41,7 @@ all_template.each do |folder|
f.write(texts)
f.close
end
end
end
Gem::Specification.new do |s|
s.name = "cancerpredict"