code42template 2.0.0
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 +7 -0
- data/.gitignore +5 -0
- data/.ruby-version +1 -0
- data/.travis.yml +11 -0
- data/Gemfile +3 -0
- data/NEWS.md +56 -0
- data/README.md +280 -0
- data/Rakefile +8 -0
- data/bin/code42template +24 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/setup +13 -0
- data/code42template.gemspec +30 -0
- data/lib/code42template/actions.rb +28 -0
- data/lib/code42template/adapters/heroku.rb +174 -0
- data/lib/code42template/app_builder.rb +251 -0
- data/lib/code42template/generators/app_generator.rb +208 -0
- data/lib/code42template/version.rb +9 -0
- data/lib/code42template.rb +5 -0
- data/spec/adapters/heroku_spec.rb +56 -0
- data/spec/code42template.rb +58 -0
- data/spec/fakes/bin/heroku +5 -0
- data/spec/fakes/bin/hub +5 -0
- data/spec/features/heroku_spec.rb +83 -0
- data/spec/features/new_project_spec.rb +186 -0
- data/spec/fixtures/feature_smoke_test.rb +15 -0
- data/spec/fixtures/home_controller.rb +4 -0
- data/spec/fixtures/index.html.erb +1 -0
- data/spec/fixtures/routes.rb +3 -0
- data/spec/fixtures/smoke_test.rb +10 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/support/code42template.rb +83 -0
- data/spec/support/fake_heroku.rb +83 -0
- data/templates/Gemfile.erb +42 -0
- data/templates/Procfile +3 -0
- data/templates/README.md.erb +10 -0
- data/templates/active_job.rb +1 -0
- data/templates/application.js +1 -0
- data/templates/bin_deploy +12 -0
- data/templates/bin_setup +21 -0
- data/templates/bin_setup_review_app.erb +19 -0
- data/templates/code42_gitignore +16 -0
- data/templates/config_locales_pt-BR.yml.erb +17 -0
- data/templates/dotfiles/.babelrc +5 -0
- data/templates/dotfiles/.codeclimate.yml +3 -0
- data/templates/dotfiles/.env +8 -0
- data/templates/dotfiles/.rspec +2 -0
- data/templates/dotfiles/.rubocop.yml +20 -0
- data/templates/feature_helper.rb.erb +5 -0
- data/templates/health.rake +22 -0
- data/templates/karma.conf.js +48 -0
- data/templates/mocha-webpack.opts +4 -0
- data/templates/package.json +39 -0
- data/templates/postgresql_database.yml.erb +22 -0
- data/templates/puma.rb +28 -0
- data/templates/rails_helper.rb +59 -0
- data/templates/secrets.yml +14 -0
- data/templates/setup +32 -0
- data/templates/sidekiq.yml +7 -0
- data/templates/spec/javascripts/.gitkeep +0 -0
- data/templates/spec/javascripts/index.browser.js +5 -0
- data/templates/spec/javascripts/index.integration.js +5 -0
- data/templates/spec/javascripts/integration/smoke.spec.js +7 -0
- data/templates/spec/javascripts/unit/smoke.spec.js +7 -0
- data/templates/spec_helper.rb +15 -0
- data/templates/travis.yml.erb +12 -0
- data/templates/webpack.config.js +68 -0
- data/templates/webpack.config.test.browser.js +17 -0
- data/templates/webpack.config.test.js +5 -0
- data/templates/webpack.rake +26 -0
- metadata +158 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
var webpack = require('karma-webpack');
|
2
|
+
var webpackConfig = require('./webpack.config');
|
3
|
+
var path = require('path');
|
4
|
+
var webpackEntryFile = '../spec/javascripts/index.integration.js';
|
5
|
+
var karmaPreprocessors = {};
|
6
|
+
|
7
|
+
karmaPreprocessors[webpackEntryFile] = ['webpack', 'sourcemap'];
|
8
|
+
|
9
|
+
webpackConfig.entry = {
|
10
|
+
test: path.resolve(__dirname, webpackEntryFile)
|
11
|
+
};
|
12
|
+
|
13
|
+
webpackConfig.devtool = 'inline-source-map';
|
14
|
+
|
15
|
+
module.exports = function(config) {
|
16
|
+
config.set({
|
17
|
+
browsers: ['PhantomJS'],
|
18
|
+
port: 9876,
|
19
|
+
basePath: '.',
|
20
|
+
files: [
|
21
|
+
// avoids running tests twice when on watch mode
|
22
|
+
{ pattern: webpackEntryFile, watched: false, included: true, served: true }
|
23
|
+
],
|
24
|
+
preprocessors: karmaPreprocessors,
|
25
|
+
frameworks: ['mocha', 'chai'],
|
26
|
+
plugins: [
|
27
|
+
webpack,
|
28
|
+
'karma-mocha',
|
29
|
+
'karma-chai',
|
30
|
+
'karma-chrome-launcher',
|
31
|
+
'karma-phantomjs-launcher',
|
32
|
+
'karma-spec-reporter',
|
33
|
+
'karma-sourcemap-loader'
|
34
|
+
],
|
35
|
+
reporters: ['spec'],
|
36
|
+
colors: true,
|
37
|
+
logLevel: config.LOG_INFO,
|
38
|
+
autoWatch: false,
|
39
|
+
singleRun: true,
|
40
|
+
webpack: webpackConfig,
|
41
|
+
webpackMiddleware: {
|
42
|
+
noInfo: true
|
43
|
+
},
|
44
|
+
phantomjsLauncher: {
|
45
|
+
exitOnResourceError: true
|
46
|
+
}
|
47
|
+
});
|
48
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"name": "code42-template",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"license": "MIT",
|
5
|
+
"dependencies": {
|
6
|
+
"babel-core": "^6.8.0",
|
7
|
+
"babel-loader": "^6.2.4",
|
8
|
+
"babel-polyfill": "^6.8.0",
|
9
|
+
"babel-preset-es2015": "^6.6.0",
|
10
|
+
"babel-register": "^6.8.0",
|
11
|
+
"imports-loader": "^0.6.5",
|
12
|
+
"stats-webpack-plugin": "^0.2.1",
|
13
|
+
"webpack": "^1.9.11",
|
14
|
+
"webpack-dev-server": "^1.9.0"
|
15
|
+
},
|
16
|
+
"devDependencies": {
|
17
|
+
"chai": "^3.5.0",
|
18
|
+
"karma": "^0.13.22",
|
19
|
+
"karma-chai": "^0.1.0",
|
20
|
+
"karma-chrome-launcher": "^1.0.1",
|
21
|
+
"karma-mocha": "^1.0.1",
|
22
|
+
"phantomjs-prebuilt": "^2.1.0",
|
23
|
+
"karma-phantomjs-launcher": "^1.0.0",
|
24
|
+
"karma-sourcemap-loader": "^0.3.7",
|
25
|
+
"karma-spec-reporter": "0.0.26",
|
26
|
+
"karma-webpack": "^1.7.0",
|
27
|
+
"mocha": "^2.4.5",
|
28
|
+
"mocha-loader": "^0.7.1",
|
29
|
+
"mocha-webpack": "^0.4.0"
|
30
|
+
},
|
31
|
+
"scripts": {
|
32
|
+
"test": "npm run test:unit && npm run test:integration",
|
33
|
+
"test:unit": "NODE_ENV=test NODE_PATH='./app/assets/javascripts' mocha-webpack",
|
34
|
+
"test:unit:watch": "npm run test:unit -- --watch",
|
35
|
+
"test:browser": "NODE_ENV=test NODE_PATH='./app/assets/javascripts' webpack-dev-server --config config/webpack.config.test.browser.js --hot --inline",
|
36
|
+
"test:integration": "NODE_ENV=test NODE_PATH='./app/assets/javascripts' karma start config/karma.conf.js",
|
37
|
+
"test:integration:watch": "npm run test:integration -- --auto-watch --no-single-run"
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
development: &default
|
2
|
+
adapter: postgresql
|
3
|
+
database: <%= app_name %>_development
|
4
|
+
encoding: utf8
|
5
|
+
host: localhost
|
6
|
+
min_messages: warning
|
7
|
+
pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
|
8
|
+
reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
|
9
|
+
timeout: 5000
|
10
|
+
|
11
|
+
test:
|
12
|
+
<<: *default
|
13
|
+
database: <%= app_name %>_test
|
14
|
+
|
15
|
+
production: &deploy
|
16
|
+
encoding: utf8
|
17
|
+
min_messages: warning
|
18
|
+
pool: <%%= [Integer(ENV.fetch("MAX_THREADS", 5)), Integer(ENV.fetch("DB_POOL", 5))].max %>
|
19
|
+
timeout: 5000
|
20
|
+
url: <%%= ENV.fetch("DATABASE_URL", "") %>
|
21
|
+
|
22
|
+
staging: *deploy
|
data/templates/puma.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
|
2
|
+
|
3
|
+
# The environment variable WEB_CONCURRENCY may be set to a default value based
|
4
|
+
# on dyno size. To manually configure this value use heroku config:set
|
5
|
+
# WEB_CONCURRENCY.
|
6
|
+
#
|
7
|
+
# Increasing the number of workers will increase the amount of resting memory
|
8
|
+
# your dynos use. Increasing the number of threads will increase the amount of
|
9
|
+
# potential bloat added to your dynos when they are responding to heavy
|
10
|
+
# requests.
|
11
|
+
#
|
12
|
+
# Starting with a low number of workers and threads provides adequate
|
13
|
+
# performance for most applications, even under load, while maintaining a low
|
14
|
+
# risk of overusing memory.
|
15
|
+
workers Integer(ENV.fetch("WEB_CONCURRENCY", 2))
|
16
|
+
threads_count = Integer(ENV.fetch("MAX_THREADS", 2))
|
17
|
+
threads(threads_count, threads_count)
|
18
|
+
|
19
|
+
preload_app!
|
20
|
+
|
21
|
+
rackup DefaultRackup
|
22
|
+
environment ENV.fetch("RACK_ENV", "development")
|
23
|
+
|
24
|
+
on_worker_boot do
|
25
|
+
# Worker specific setup for Rails 4.1+
|
26
|
+
# See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
|
27
|
+
ActiveRecord::Base.establish_connection
|
28
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
if ENV['COVERAGE']
|
4
|
+
require 'simplecov'
|
5
|
+
|
6
|
+
SimpleCov.start 'rails' do
|
7
|
+
minimum_coverage 90
|
8
|
+
refuse_coverage_drop
|
9
|
+
|
10
|
+
add_filter do |source_file|
|
11
|
+
source_file.filename =~ %r{app/channels|lib/tasks}
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
require_relative '../config/environment'
|
17
|
+
|
18
|
+
if Rails.env.production?
|
19
|
+
abort 'The Rails environment is running in production mode!'
|
20
|
+
end
|
21
|
+
|
22
|
+
if ENV['COVERAGE']
|
23
|
+
%w(Controller Record Mailer Job).each do |klass|
|
24
|
+
Object.const_get "Application#{klass}"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
require 'spec_helper'
|
29
|
+
require 'rspec/rails'
|
30
|
+
require 'capybara/poltergeist'
|
31
|
+
|
32
|
+
ActiveRecord::Migration.maintain_test_schema!
|
33
|
+
|
34
|
+
Capybara.javascript_driver = :poltergeist
|
35
|
+
Capybara.default_driver = :rack_test
|
36
|
+
|
37
|
+
RSpec.configure do |config|
|
38
|
+
config.use_transactional_fixtures = true
|
39
|
+
config.infer_spec_type_from_file_location!
|
40
|
+
config.filter_rails_from_backtrace!
|
41
|
+
|
42
|
+
config.before :suite do
|
43
|
+
DatabaseCleaner.clean_with :truncation
|
44
|
+
end
|
45
|
+
|
46
|
+
config.before :each do
|
47
|
+
DatabaseCleaner.strategy = :transaction
|
48
|
+
end
|
49
|
+
|
50
|
+
config.before :each, type: :feature do
|
51
|
+
DatabaseCleaner.strategy = :truncation
|
52
|
+
end
|
53
|
+
|
54
|
+
config.around :each do |example|
|
55
|
+
DatabaseCleaner.start
|
56
|
+
example.run
|
57
|
+
DatabaseCleaner.clean
|
58
|
+
end
|
59
|
+
end
|
data/templates/setup
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
3
|
+
require 'fileutils'
|
4
|
+
|
5
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
|
+
|
7
|
+
def system!(*args)
|
8
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
9
|
+
end
|
10
|
+
|
11
|
+
FileUtils.chdir APP_ROOT do
|
12
|
+
# This script is a starting point to setup your application.
|
13
|
+
# Add necessary setup steps to this file.
|
14
|
+
|
15
|
+
puts '== Installing Ruby dependencies =='
|
16
|
+
system! 'gem install bundler --conservative'
|
17
|
+
system('bundle check') || system!('bundle install')
|
18
|
+
|
19
|
+
puts "\n== Installing JavaScript dependencies =="
|
20
|
+
system!('npm install')
|
21
|
+
|
22
|
+
# puts "\n== Copying sample files =="
|
23
|
+
# unless File.exist?('config/database.yml')
|
24
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
25
|
+
# end
|
26
|
+
|
27
|
+
puts "\n== Preparing database =="
|
28
|
+
system! 'bin/rails db:setup'
|
29
|
+
|
30
|
+
puts "\n== Removing old logs and tempfiles =="
|
31
|
+
system! 'bin/rails log:clear tmp:clear'
|
32
|
+
end
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
RSpec.configure do |config|
|
2
|
+
config.expect_with :rspec do |expectations|
|
3
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
4
|
+
end
|
5
|
+
|
6
|
+
config.mock_with :rspec do |mocks|
|
7
|
+
mocks.verify_partial_doubles = true
|
8
|
+
end
|
9
|
+
|
10
|
+
config.disable_monkey_patching!
|
11
|
+
config.default_formatter = 'doc'
|
12
|
+
config.order = :random
|
13
|
+
|
14
|
+
Kernel.srand config.seed
|
15
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- <%= Code42Template::RUBY_VERSION %>
|
4
|
+
before_install:
|
5
|
+
- nvm install <%= Code42Template::NODE_VERSION %>
|
6
|
+
install:
|
7
|
+
- bundle install --jobs=3 --retry=3
|
8
|
+
- npm install
|
9
|
+
before_script:
|
10
|
+
- bundle exec rake db:test:prepare
|
11
|
+
script:
|
12
|
+
- bundle exec rake health
|
@@ -0,0 +1,68 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var path = require('path');
|
4
|
+
var webpack = require('webpack');
|
5
|
+
var StatsPlugin = require('stats-webpack-plugin');
|
6
|
+
|
7
|
+
// must match config.webpack.dev_server.port
|
8
|
+
var devServerPort = 3808;
|
9
|
+
|
10
|
+
// set TARGET=production on the environment to add asset fingerprints
|
11
|
+
var production = process.env.TARGET === 'production';
|
12
|
+
|
13
|
+
var config = {
|
14
|
+
entry: {
|
15
|
+
'application': './app/assets/javascripts/application.js'
|
16
|
+
},
|
17
|
+
output: {
|
18
|
+
// must match config.webpack.output_dir
|
19
|
+
path: path.join(__dirname, '..', 'public', 'webpack'),
|
20
|
+
publicPath: '/webpack/',
|
21
|
+
|
22
|
+
filename: production ? '[name]-[chunkhash].js' : '[name].js'
|
23
|
+
},
|
24
|
+
module: {
|
25
|
+
loaders: [
|
26
|
+
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' },
|
27
|
+
{ test: /\.json$/, loader: 'json-loader' }
|
28
|
+
]
|
29
|
+
},
|
30
|
+
resolve: {
|
31
|
+
root: path.join(__dirname, '..', 'app', 'assets', 'javascripts')
|
32
|
+
},
|
33
|
+
plugins: [
|
34
|
+
// must match config.webpack.manifest_filename
|
35
|
+
new StatsPlugin('manifest.json', {
|
36
|
+
// We only need assetsByChunkName
|
37
|
+
chunkModules: false,
|
38
|
+
source: false,
|
39
|
+
chunks: false,
|
40
|
+
modules: false,
|
41
|
+
assets: true
|
42
|
+
})]
|
43
|
+
};
|
44
|
+
|
45
|
+
if (production) {
|
46
|
+
config.plugins.push(
|
47
|
+
new webpack.NoErrorsPlugin(),
|
48
|
+
new webpack.optimize.UglifyJsPlugin({
|
49
|
+
compressor: { warnings: false },
|
50
|
+
sourceMap: false
|
51
|
+
}),
|
52
|
+
new webpack.DefinePlugin({
|
53
|
+
'process.env': { NODE_ENV: JSON.stringify('production') }
|
54
|
+
}),
|
55
|
+
new webpack.optimize.DedupePlugin(),
|
56
|
+
new webpack.optimize.OccurenceOrderPlugin()
|
57
|
+
);
|
58
|
+
} else {
|
59
|
+
config.devServer = {
|
60
|
+
port: devServerPort,
|
61
|
+
headers: { 'Access-Control-Allow-Origin': '*' }
|
62
|
+
};
|
63
|
+
config.output.publicPath = '//localhost:' + devServerPort + '/webpack/';
|
64
|
+
// Source maps
|
65
|
+
config.devtool = 'cheap-module-eval-source-map';
|
66
|
+
}
|
67
|
+
|
68
|
+
module.exports = config;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
const path = require('path')
|
2
|
+
const config = require('./webpack.config')
|
3
|
+
|
4
|
+
config.devServer = {
|
5
|
+
host: 'localhost',
|
6
|
+
port: '8081'
|
7
|
+
};
|
8
|
+
|
9
|
+
const index = path.resolve(__dirname, '../spec/javascripts/index.browser.js');
|
10
|
+
|
11
|
+
config.entry = {
|
12
|
+
test: [`mocha!${index}`]
|
13
|
+
};
|
14
|
+
|
15
|
+
config.output.publicPath = 'http://localhost:8081/'
|
16
|
+
|
17
|
+
module.exports = config
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# I'm duplicating this task from webpack-rails only to include this line, which
|
2
|
+
# fixes the $CHILD_STATUS variable above. While the latest fixes are not
|
3
|
+
# released we will keep this file.
|
4
|
+
require "English"
|
5
|
+
|
6
|
+
namespace :webpack do
|
7
|
+
desc "Compile webpack bundles"
|
8
|
+
task compile: :environment do
|
9
|
+
ENV["TARGET"] = 'production' # TODO: Deprecated, use NODE_ENV instead
|
10
|
+
ENV["NODE_ENV"] = 'production'
|
11
|
+
webpack_bin = ::Rails.root.join(::Rails.configuration.webpack.binary)
|
12
|
+
config_file = ::Rails.root.join(::Rails.configuration.webpack.config_file)
|
13
|
+
|
14
|
+
unless File.exist?(webpack_bin)
|
15
|
+
fail "Can't find our webpack executable at #{webpack_bin} - "\
|
16
|
+
"have you run `npm install`?"
|
17
|
+
end
|
18
|
+
|
19
|
+
unless File.exist?(config_file)
|
20
|
+
fail "Can't find our webpack config file at #{config_file}"
|
21
|
+
end
|
22
|
+
|
23
|
+
result = `#{webpack_bin} --bail --config #{config_file} 2>&1`
|
24
|
+
fail result unless $CHILD_STATUS.exitstatus.zero?
|
25
|
+
end
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: code42template
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- codeminer42
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: 'code42template is the base Rails project used at Codeminer 42.
|
56
|
+
|
57
|
+
'
|
58
|
+
email: suporte@codeminer42.com
|
59
|
+
executables:
|
60
|
+
- code42template
|
61
|
+
extensions: []
|
62
|
+
extra_rdoc_files:
|
63
|
+
- README.md
|
64
|
+
files:
|
65
|
+
- ".gitignore"
|
66
|
+
- ".ruby-version"
|
67
|
+
- ".travis.yml"
|
68
|
+
- Gemfile
|
69
|
+
- NEWS.md
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- bin/code42template
|
73
|
+
- bin/rake
|
74
|
+
- bin/rspec
|
75
|
+
- bin/setup
|
76
|
+
- code42template.gemspec
|
77
|
+
- lib/code42template.rb
|
78
|
+
- lib/code42template/actions.rb
|
79
|
+
- lib/code42template/adapters/heroku.rb
|
80
|
+
- lib/code42template/app_builder.rb
|
81
|
+
- lib/code42template/generators/app_generator.rb
|
82
|
+
- lib/code42template/version.rb
|
83
|
+
- spec/adapters/heroku_spec.rb
|
84
|
+
- spec/code42template.rb
|
85
|
+
- spec/fakes/bin/heroku
|
86
|
+
- spec/fakes/bin/hub
|
87
|
+
- spec/features/heroku_spec.rb
|
88
|
+
- spec/features/new_project_spec.rb
|
89
|
+
- spec/fixtures/feature_smoke_test.rb
|
90
|
+
- spec/fixtures/home_controller.rb
|
91
|
+
- spec/fixtures/index.html.erb
|
92
|
+
- spec/fixtures/routes.rb
|
93
|
+
- spec/fixtures/smoke_test.rb
|
94
|
+
- spec/spec_helper.rb
|
95
|
+
- spec/support/code42template.rb
|
96
|
+
- spec/support/fake_heroku.rb
|
97
|
+
- templates/Gemfile.erb
|
98
|
+
- templates/Procfile
|
99
|
+
- templates/README.md.erb
|
100
|
+
- templates/active_job.rb
|
101
|
+
- templates/application.js
|
102
|
+
- templates/bin_deploy
|
103
|
+
- templates/bin_setup
|
104
|
+
- templates/bin_setup_review_app.erb
|
105
|
+
- templates/code42_gitignore
|
106
|
+
- templates/config_locales_pt-BR.yml.erb
|
107
|
+
- templates/dotfiles/.babelrc
|
108
|
+
- templates/dotfiles/.codeclimate.yml
|
109
|
+
- templates/dotfiles/.env
|
110
|
+
- templates/dotfiles/.rspec
|
111
|
+
- templates/dotfiles/.rubocop.yml
|
112
|
+
- templates/feature_helper.rb.erb
|
113
|
+
- templates/health.rake
|
114
|
+
- templates/karma.conf.js
|
115
|
+
- templates/mocha-webpack.opts
|
116
|
+
- templates/package.json
|
117
|
+
- templates/postgresql_database.yml.erb
|
118
|
+
- templates/puma.rb
|
119
|
+
- templates/rails_helper.rb
|
120
|
+
- templates/secrets.yml
|
121
|
+
- templates/setup
|
122
|
+
- templates/sidekiq.yml
|
123
|
+
- templates/spec/javascripts/.gitkeep
|
124
|
+
- templates/spec/javascripts/index.browser.js
|
125
|
+
- templates/spec/javascripts/index.integration.js
|
126
|
+
- templates/spec/javascripts/integration/smoke.spec.js
|
127
|
+
- templates/spec/javascripts/unit/smoke.spec.js
|
128
|
+
- templates/spec_helper.rb
|
129
|
+
- templates/travis.yml.erb
|
130
|
+
- templates/webpack.config.js
|
131
|
+
- templates/webpack.config.test.browser.js
|
132
|
+
- templates/webpack.config.test.js
|
133
|
+
- templates/webpack.rake
|
134
|
+
homepage: https://github.com/Codeminer42/code42template
|
135
|
+
licenses: []
|
136
|
+
metadata: {}
|
137
|
+
post_install_message:
|
138
|
+
rdoc_options:
|
139
|
+
- "--charset=UTF-8"
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 2.3.1
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
requirements: []
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 2.5.1
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: Generate a minimal Rails / Webpack app.
|
158
|
+
test_files: []
|