generic_app 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6591daca4bb4751629e25fe7a278ef3b2ba0356f
4
- data.tar.gz: 7ca9558c27369dd4114eda56ce5d6c9a935ce3e9
3
+ metadata.gz: a1889931b459496d8bbbf4f35d3382be4b171f7c
4
+ data.tar.gz: 3c8efc1c864f7d6dcf1fdac36a3caa91f8ccde36
5
5
  SHA512:
6
- metadata.gz: 332d3c2d00d4c85ebf8ae23c6ea4da4fe2af40d0f5cc2e9b084ba8b091d4448469174fcf04456abdfaf2d73c82125b122200e09f007c342d4937d690751ea19f
7
- data.tar.gz: a84c5cc284202da87ee7e4df8dc463b680e8ddb0bf182f30b7b6391e3fccb4707104c8fc25813f254d6f4a45345eccac5a1b6fe04f7e8df239e7807b679a09f7
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)
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '3.0.1'.freeze
3
3
  end
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: generic_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hsu