generic_app 3.0.16 → 3.0.17

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: f62ba445811a922a3d902be4cb980c0f1df34c662ec1b6c0d863714968d21fa6
4
- data.tar.gz: 5a45f03425ca2e5e972126611f14b97e8d6e2ab97c566a4b224452d66cb6a3d6
3
+ metadata.gz: 66d589379aea7cbfd70c40306011f1befad8c25a77ed7a5b50b4d9b3ae001f59
4
+ data.tar.gz: feccd5b026312207c27b6696ba364cc6348751025a6ab4760fa475ad748cdd2b
5
5
  SHA512:
6
- metadata.gz: fcc358977d09d59929ab06b94feea8870975dbf7a7c5d99b753b7cc8dcda957f20a3301119420f769730c85bd2e65125c3d90be5148902a422f0e415138e5d81
7
- data.tar.gz: 5e673f89ac8cfbc4cdc827071cbab5c2010b5acba10d4e75c175eb7ccd279332c22cfd2382e129a10ac7db9030b32cfa99cf056cd0f475f266ea01f0ee435150
6
+ metadata.gz: 137d9c3ebc1c63f175120b98058ce23997cd12c966afc0cafa53e3d4a1cecf47157e1316139e8760583de7d34cf2e8c1a816f27e5b9a34e951579c0cd9a5b39d
7
+ data.tar.gz: 02f19aade3f11fecd7e0fb8466fa61bc4ac270fba85467d5ba45bbc396f72e3588a9742b771c57fab334060f5b0cae5e23c060bbcba0ab4bf61b56b0b2fa9177
data/README.md CHANGED
@@ -1,17 +1,15 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/generic_app.svg)](https://badge.fury.io/rb/generic_app)
2
2
  [![Build Status](https://semaphoreci.com/api/v1/jhsu802701/generic_app/branches/master/badge.svg)](https://semaphoreci.com/jhsu802701/generic_app)
3
- [![Dependency Status](https://gemnasium.com/badges/github.com/rubyonracetracks/generic_app.svg)](https://gemnasium.com/github.com/rubyonracetracks/generic_app)
4
- [![security](https://hakiri.io/github/rubyonracetracks/generic_app/master.svg)](https://hakiri.io/github/rubyonracetracks/generic_app/master)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/05dde6e4ee3abdf0f5d3/maintainability)](https://codeclimate.com/github/rubyonracetracks/generic_app/maintainability)
6
- [![Test Coverage](https://api.codeclimate.com/v1/badges/05dde6e4ee3abdf0f5d3/test_coverage)](https://codeclimate.com/github/rubyonracetracks/generic_app/test_coverage)
3
+ [![codecov](https://codecov.io/bb/rubyonracetracks/generic_app/branch/master/graph/badge.svg)](https://codecov.io/bb/rubyonracetracks/generic_app)
4
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/30cc2270f7694f47b1a96c2472ee5d82)](https://www.codacy.com/app/jhsu802701/generic_app?utm_source=rubyonracetracks@bitbucket.org&utm_medium=referral&utm_content=rubyonracetracks/generic_app&utm_campaign=Badge_Grade)
7
5
 
8
- # GenericApp
6
+ # Generic App
9
7
 
10
- Welcome to GenericApp, the #1 most comprehensive Rails app generator! No other method of starting a Rails app can save you so much time and effort. Stop reinventing the wheel every time you start a new Rails project. User authentication, comprehensive tests, Twitter bootstrap styling, and other features that are desirable in all or most Rails apps are implemented in advance. You get post-installation scripts that consolidate routine multi-step tasks into one step, including the process of setting up your app for PostgreSQL. Outlines of the initial MVC architecture of your new app are also provided. Only GenericApp way gives you a comprehensive Rails app in just a few minutes. If you're not exactly a GenericApp user, then you're not exactly viable at Startup Weekend or 24-hour web site challenges.
8
+ Welcome to Generic App, the #1 most comprehensive Rails app generator! No other method of starting a Rails app can save you so much time and effort. Stop reinventing the wheel every time you start a new Rails project. User authentication, comprehensive tests, Twitter bootstrap styling, and other features that are desirable in all or most Rails apps are implemented in advance. You get post-installation scripts that consolidate routine multi-step tasks into one step, including the process of setting up your app for PostgreSQL. Outlines of the initial MVC architecture of your new app are also provided. Only GenericApp way gives you a comprehensive Rails app in just a few minutes. If you're not exactly a Generic App user, then you're not exactly viable at Startup Weekend or 24-hour web site challenges.
11
9
 
12
10
  ## Prerequisites
13
11
 
14
- You must have not only Ruby on Rails installed but SQLite and PostgreSQL installed as well. Everything you need to use the GenericApp gem is pre-installed in my general purpose Debian Stable Docker image (rbenv-general) for Ruby On Rails. To get started, go to the [Ruby on Racetracks web site](http://www.rubyonracetracks.com/tutorials).
12
+ You must have not only Ruby on Rails installed but SQLite and PostgreSQL installed as well. Everything you need to use the GenericApp gem is pre-installed in my general purpose Debian Stable Docker image (rails-general) for Ruby On Rails. To get started, go to the [Ruby on Racetracks web site](http://www.rubyonracetracks.com/tutorials).
15
13
 
16
14
  ## Installation
17
15
 
data/gem_test.sh CHANGED
@@ -4,7 +4,7 @@ echo '-----------------'
4
4
  echo 'BEGIN TESTING gem'
5
5
 
6
6
  bin/setup
7
- rake
7
+ bundle exec rake
8
8
 
9
9
  echo 'FINISHED TESTING gem'
10
10
  echo '--------------------'
data/generic_app.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.15'
24
24
  spec.add_development_dependency 'bundler-audit'
25
- spec.add_development_dependency 'codeclimate-test-reporter'
25
+ spec.add_development_dependency 'codecov'
26
26
  spec.add_development_dependency 'gemsurance'
27
27
  spec.add_development_dependency 'rake', '~> 10.0'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = '3.0.16'.freeze
2
+ VERSION = '3.0.17'.freeze
3
3
  end
data/lib/generic_app.rb CHANGED
@@ -1,4 +1,4 @@
1
- URL_TEMPLATE = 'https://github.com/rubyonracetracks/rails-20180509-192844-678.git'.freeze
1
+ URL_TEMPLATE = 'https://github.com/rubyonracetracks/rails-20181109-195933-081.git'.freeze
2
2
 
3
3
  require 'generic_app/version'
4
4
  require 'string_in_file'
@@ -21,7 +21,6 @@ module GenericApp
21
21
  remove_travis(subdir_name)
22
22
  update_origin(subdir_name)
23
23
  print_end_msg(subdir_name)
24
- git_init(subdir_name) # Goes last
25
24
  end
26
25
 
27
26
  def self.remove_heroku_name(subdir_name)
@@ -55,6 +54,7 @@ module GenericApp
55
54
 
56
55
  def self.remove_badges(subdir_name)
57
56
  path_readme = "#{subdir_name}/README.md"
57
+ LineContaining.delete_between('BEGIN: badges', 'END: badges', path_readme)
58
58
  LineContaining.delete('[![CircleCI](https://circleci.com', path_readme)
59
59
  LineContaining.delete('[![Build Status](https://travis-ci.org', path_readme)
60
60
  LineContaining.delete('[![Dependency Status](https://gemnasium.com', path_readme)
@@ -119,14 +119,6 @@ module GenericApp
119
119
  StringInFile.write("#{msg_todo}\n", "#{subdir_name}/README-to_do.txt")
120
120
  end
121
121
 
122
- def self.git_init(subdir_name)
123
- puts '-----------------------'
124
- puts 'Removing old Git record'
125
- system("cd #{subdir_name} && rm -rf .git")
126
- system("cd #{subdir_name} && git init")
127
- system("cd #{subdir_name} && git add .")
128
- end
129
-
130
122
  def self.print_end_msg(subdir_name)
131
123
  puts '-------------------------'
132
124
  puts 'Rails Neutrino timestamp:'
data/long_test.sh CHANGED
@@ -4,7 +4,7 @@ echo '------------------------'
4
4
  echo 'BEGIN TESTING gem (rake)'
5
5
 
6
6
  bin/setup
7
- rake
7
+ bundle exec rake
8
8
 
9
9
  echo 'FINISHED TESTING gem (rake)'
10
10
  echo '---------------------------'
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.16
4
+ version: 3.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2018-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: codeclimate-test-reporter
42
+ name: codecov
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.7.6
235
+ rubygems_version: 2.7.8
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Save time by instantly creating a generic Rails app.