lib/generic_app.rb in generic_app-3.0.21 vs lib/generic_app.rb in generic_app-3.0.22
- old
+ new
@@ -1,7 +1,9 @@
-URL_TEMPLATE = 'https://github.com/rubyonracetracks/rails-20190114-211833-951.git'.freeze
+# frozen_string_literal: true
+URL_TEMPLATE = 'https://github.com/rubyonracetracks/rails-20190603-152151-515.git'
+
require 'generic_app/version'
require 'string_in_file'
require 'line_containing'
require 'remove_double_blank'
@@ -10,11 +12,10 @@
# Create app, stick with SQLite database in development
def self.create_new(subdir_name, email, title)
t1 = Thread.new { git_clone(subdir_name) }
t1.join
remove_dot_git(subdir_name)
- remove_neutrino(subdir_name)
update_pg_setup(subdir_name)
remove_heroku_name(subdir_name)
email_update(subdir_name, email)
remove_badges(subdir_name)
update_titles(subdir_name, title)
@@ -27,13 +28,9 @@
FileUtils.rm_rf("#{subdir_name}/.git")
end
def self.remove_heroku_name(subdir_name)
File.delete("#{subdir_name}/config/heroku_name.txt")
- end
-
- def self.remove_neutrino(subdir_name)
- File.delete("#{subdir_name}/neutrino.sh")
end
def self.update_pg_setup(subdir_name)
dir_gem_lib = File.expand_path(File.expand_path(__dir__))
FileUtils.cp("#{dir_gem_lib}/pg_setup.sh", subdir_name)