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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e58d2783944358075b7513e36e1d39ebfcb087a2bbfa1519d04cb86bfbf8236
4
- data.tar.gz: 73ef296502bb5fd187a6e4279ab90a88652b1221de7eef92e0987d05c6a266db
3
+ metadata.gz: 9190c1e184103f481c6f84fd8099f0e5d053b027de14487842a8a278cb141ae6
4
+ data.tar.gz: eb17ed1e92251456dc19ffe4b668546985604df4bc54be1e7f5e040a389d76a6
5
5
  SHA512:
6
- metadata.gz: 67d867ba28c33b93174449ee221c7dc05916a3c914b8f3aa766761bfdb4e4ee0169d0d0198bbd0ca712cee2d3a8d0554073f23d92535384994352bd87d8b8855
7
- data.tar.gz: 01d098c10de7533b1f8fc41644d8f52a4e51b8a27357524913a5156f220072ecc4e5c1e4fb5dec30bfaeab89e51952add0daae4bfc4c23ec708b6bb793bf1f3e
6
+ metadata.gz: dfae132db318788144da659195cf6b7dd5eeac8aa770b2ec6df04dce76ad14dee2ac980bb9e75993d8e8ea04737f157b62c98d1f247296c7911f7d62e1c44399
7
+ data.tar.gz: ecc81bbc1d629f91fb06c1b672c03b23c07a0630a629ed50d3f95e5437becf00fb057d6ae3817cafe40327d0d22bd471ed8d0f2dd340da77ae93e6c53e2f583c
data/.rubocop.yml CHANGED
@@ -1,3 +1,5 @@
1
+ require: rubocop-performance
2
+
1
3
  Style/Documentation:
2
4
  Enabled: false
3
5
 
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
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = '3.0.20'.freeze
2
+ VERSION = '3.0.21'.freeze
3
3
  end
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.20
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-01-15 00:00:00.000000000 Z
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.2
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.