generic_app 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/generic_app/version.rb +1 -1
- data/lib/generic_app.rb +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1889931b459496d8bbbf4f35d3382be4b171f7c
|
4
|
+
data.tar.gz: 3c8efc1c864f7d6dcf1fdac36a3caa91f8ccde36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578100f335f52d1b8073eb4c2c2a322032ba9220ec3bf0cae84419ab44d568e345665638c76480767270a7082844ecd211a4279b1184c5c1e780f14af03c8246
|
7
|
+
data.tar.gz: 8bdcd84f908c80d97a7ab23dde381c7e8ef27c7afce9f612721b22d386e44e2f05c09e0f7ebc239624a930bd986df7328cc5c59a82c819d0ceeb10aac55923bb
|
data/README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/generic_app.svg)](https://badge.fury.io/rb/generic_app)
|
1
2
|
[![CircleCI](https://circleci.com/gh/jhsu802701/generic_app.svg?style=svg)](https://circleci.com/gh/jhsu802701/generic_app)
|
2
3
|
[![Dependency Status](https://gemnasium.com/badges/github.com/jhsu802701/generic_app.svg)](https://gemnasium.com/github.com/jhsu802701/generic_app)
|
3
4
|
[![security](https://hakiri.io/github/jhsu802701/generic_app/master.svg)](https://hakiri.io/github/jhsu802701/generic_app/master)
|
data/lib/generic_app/version.rb
CHANGED
data/lib/generic_app.rb
CHANGED
@@ -5,9 +5,6 @@ require 'string_in_file'
|
|
5
5
|
require 'line_containing'
|
6
6
|
require 'remove_double_blank'
|
7
7
|
|
8
|
-
DIR_MAIN = File.expand_path('../../', __FILE__)
|
9
|
-
DIR_PARENT = File.expand_path('../../../', __FILE__)
|
10
|
-
|
11
8
|
#
|
12
9
|
module GenericApp
|
13
10
|
# Create app, stick with SQLite database in development
|
@@ -19,6 +16,7 @@ module GenericApp
|
|
19
16
|
email_update(subdir_name, email)
|
20
17
|
remove_badges(subdir_name)
|
21
18
|
update_titles(subdir_name, title)
|
19
|
+
update_todo(subdir_name)
|
22
20
|
git_init(subdir_name)
|
23
21
|
print_end_msg(subdir_name)
|
24
22
|
end
|
@@ -72,6 +70,12 @@ module GenericApp
|
|
72
70
|
end
|
73
71
|
end
|
74
72
|
|
73
|
+
def self.update_todo(subdir_name)
|
74
|
+
url_todo = 'https://gist.github.com/jhsu802701/fdfd6e0732773b379413625463f2d2c0'
|
75
|
+
msg_todo = "Go to #{url_todo} for further instructions."
|
76
|
+
StringInFile.write("#{msg_todo}\n", "#{subdir_name}/README-to_do.txt")
|
77
|
+
end
|
78
|
+
|
75
79
|
def self.git_init(subdir_name)
|
76
80
|
puts '-----------------------'
|
77
81
|
puts 'Removing old Git record'
|