generic_app 3.0.20 → 3.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/generic_app.gemspec +1 -0
- data/lib/generic_app.rb +5 -0
- data/lib/generic_app/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9190c1e184103f481c6f84fd8099f0e5d053b027de14487842a8a278cb141ae6
|
4
|
+
data.tar.gz: eb17ed1e92251456dc19ffe4b668546985604df4bc54be1e7f5e040a389d76a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfae132db318788144da659195cf6b7dd5eeac8aa770b2ec6df04dce76ad14dee2ac980bb9e75993d8e8ea04737f157b62c98d1f247296c7911f7d62e1c44399
|
7
|
+
data.tar.gz: ecc81bbc1d629f91fb06c1b672c03b23c07a0630a629ed50d3f95e5437becf00fb057d6ae3817cafe40327d0d22bd471ed8d0f2dd340da77ae93e6c53e2f583c
|
data/.rubocop.yml
CHANGED
data/generic_app.gemspec
CHANGED
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
28
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
29
29
|
spec.add_development_dependency 'rubocop'
|
30
|
+
spec.add_development_dependency 'rubocop-performance'
|
30
31
|
spec.add_development_dependency 'ruby-graphviz'
|
31
32
|
spec.add_development_dependency 'simplecov'
|
32
33
|
|
data/lib/generic_app.rb
CHANGED
@@ -11,6 +11,7 @@ module GenericApp
|
|
11
11
|
def self.create_new(subdir_name, email, title)
|
12
12
|
t1 = Thread.new { git_clone(subdir_name) }
|
13
13
|
t1.join
|
14
|
+
remove_dot_git(subdir_name)
|
14
15
|
remove_neutrino(subdir_name)
|
15
16
|
update_pg_setup(subdir_name)
|
16
17
|
remove_heroku_name(subdir_name)
|
@@ -22,6 +23,10 @@ module GenericApp
|
|
22
23
|
print_end_msg(subdir_name)
|
23
24
|
end
|
24
25
|
|
26
|
+
def self.remove_dot_git(subdir_name)
|
27
|
+
FileUtils.rm_rf("#{subdir_name}/.git")
|
28
|
+
end
|
29
|
+
|
25
30
|
def self.remove_heroku_name(subdir_name)
|
26
31
|
File.delete("#{subdir_name}/config/heroku_name.txt")
|
27
32
|
end
|
data/lib/generic_app/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: generic_app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Hsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-performance
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: ruby-graphviz
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
245
|
- !ruby/object:Gem::Version
|
232
246
|
version: '0'
|
233
247
|
requirements: []
|
234
|
-
rubygems_version: 3.0.
|
248
|
+
rubygems_version: 3.0.3
|
235
249
|
signing_key:
|
236
250
|
specification_version: 4
|
237
251
|
summary: Save time by instantly creating a generic Rails app.
|