generic_app 2.0.1 → 2.0.2

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
  SHA1:
3
- metadata.gz: 67f068c19972e24d0872d494945cc7eb8e496012
4
- data.tar.gz: 20d7264f0106317546a22928b6eb73e6db95eba4
3
+ metadata.gz: 3b86ba66bac945514f38c68e8de37ae515134c47
4
+ data.tar.gz: 7deb794a5a5f24cd0151f241b0536c01f195a700
5
5
  SHA512:
6
- metadata.gz: 48c3296e235dc49c3fb88eeed1afdfcfefc03bb0e6bd7bf1eb87fa4ecd1216b6ecdde59dc2f2c737eda96bf642258d7b3de8d62c04acfaf56daf6f77014d0ec9
7
- data.tar.gz: 493f4a4b63f0e16290934b8e9943c481155e83b95aafa3815e92d08bc729c4bf2f2e5451a798b108982817f92c87c59b99d14c50fb6749bee293b2a8412cc9ac
6
+ metadata.gz: 4bea14bd3e2b62d1585dbd39c100a01334d241ca1d1c1d2e704f0135d97e828df8922c9d0889bd639fa1ab7d466c54e839ad32567c1f6747d9eb1ec790c7e729
7
+ data.tar.gz: f63947185223b780296b15513ab413e35504b8f116a2b26e44f2e25aeea27321fed432c78581db52ec13f29d2d8f5aeb959e891c893cccde434865ff1ae5452a
data/bin/generic_app CHANGED
@@ -37,12 +37,6 @@ GenericApp.create_new(subdir_name, email, title)
37
37
 
38
38
  puts 'Your new Rails app has been created at'
39
39
  puts "#{ENV['PWD']}/#{subdir_name} ."
40
- puts ''
41
- puts 'Enter the following commands:'
42
- puts "cd #{subdir_name}"
43
- puts 'git commit -m "Initial commit"'
44
40
  puts
45
- puts 'Use the all.sh script to test, outline, and seed your app.'
46
- puts
47
- puts 'There is a list of things to do in the README-to_do.txt file.'
41
+ puts 'Go to the README-to_do.txt file for further instructions.'
48
42
  puts
data/code_test.sh CHANGED
@@ -10,26 +10,21 @@ echo 'bundle install'
10
10
  bin/setup >/dev/null
11
11
 
12
12
  echo
13
- echo '----------'
14
- echo 'rubocop -D'
15
- rubocop -D
13
+ echo '----------------------'
14
+ echo 'bundle exec rubocop -D'
15
+ bundle exec rubocop -D
16
16
 
17
17
  echo
18
- echo '-----------'
19
- echo 'sandi_meter'
20
- sandi_meter
21
-
22
- echo
23
- echo '------------'
24
- echo 'bundle-audit'
25
- bundle-audit
26
-
27
- echo '----------------------------------------------'
28
- echo 'gemsurance --output log/gemsurance_report.html'
29
- gemsurance --output log/gemsurance_report.html
30
- echo 'Gemsurance Report: log/gemsurance_report.html'
18
+ echo '------------------------'
19
+ echo 'bundle exec bundle-audit'
20
+ bundle exec bundle-audit
31
21
 
32
22
  echo '------------------------------------------------------------------------'
33
23
  echo 'bundle viz --file=log/diagram-gems --format=jpg --requirements --version'
34
24
  bundle viz --file=log/diagram-gems --format=jpg --requirements --version
35
25
  echo 'Gem dependency diagram: log/diagram-gems.jpg'
26
+
27
+ echo '----------------------------------------------------------'
28
+ echo 'bundle exec gemsurance --output log/gemsurance_report.html'
29
+ bundle exec gemsurance --output log/gemsurance_report.html
30
+ echo 'Gemsurance Report: log/gemsurance_report.html'
data/gem_test.sh CHANGED
@@ -13,6 +13,6 @@ echo '===='
13
13
  echo 'rake'
14
14
  rake
15
15
 
16
- echo '=========='
17
- echo 'rubocop -D'
18
- rubocop -D
16
+ echo '======================'
17
+ echo 'bundle exec rubocop -D'
18
+ bundle exec rubocop -D
data/generic_app.gemspec CHANGED
@@ -21,6 +21,9 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency 'rake'
22
22
  spec.add_development_dependency 'rspec'
23
23
  spec.add_development_dependency 'rubocop'
24
+ spec.add_development_dependency 'bundler-audit'
25
+ spec.add_development_dependency 'gemsurance'
26
+ spec.add_development_dependency 'ruby-graphviz'
24
27
 
25
28
  spec.add_runtime_dependency 'string_in_file'
26
29
  spec.add_runtime_dependency 'line_containing'
data/lib/generic_app.rb CHANGED
@@ -56,6 +56,7 @@ module GenericApp
56
56
  array_files = []
57
57
  array_files << "#{subdir_name}/README.md"
58
58
  array_files << "#{subdir_name}/app/helpers/application_helper.rb"
59
+ array_files << "#{subdir_name}/app/views/layouts/_header.html.erb"
59
60
  array_files << "#{subdir_name}/app/views/layouts/_footer.html.erb"
60
61
  array_files << "#{subdir_name}/app/views/static_pages/home.html.erb"
61
62
  array_files << "#{subdir_name}/test/helpers/application_helper_test.rb"
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.0.2'.freeze
3
3
  end
@@ -39,6 +39,7 @@ describe GenericApp do
39
39
  array_files = []
40
40
  array_files << "#{dir_app_1}/README.md"
41
41
  array_files << "#{dir_app_1}/app/helpers/application_helper.rb"
42
+ array_files << "#{dir_app_1}/app/views/layouts/_header.html.erb"
42
43
  array_files << "#{dir_app_1}/app/views/layouts/_footer.html.erb"
43
44
  array_files << "#{dir_app_1}/app/views/static_pages/home.html.erb"
44
45
  array_files << "#{dir_app_1}/test/helpers/application_helper_test.rb"
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: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -52,6 +52,48 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler-audit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: gemsurance
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ruby-graphviz
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: string_in_file
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -145,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
187
  version: '0'
146
188
  requirements: []
147
189
  rubyforge_project:
148
- rubygems_version: 2.5.2
190
+ rubygems_version: 2.6.10
149
191
  signing_key:
150
192
  specification_version: 4
151
193
  summary: Save time by instantly create a generic Rails app.