346 Commits (trunk)
 

Author SHA1 Message Date
Matt Brictson af3ba7ef59
Happy new year! 🎊 5 years ago
Matt Brictson a9c16ceb65
Add rack-canonical-host gem
This provides an easy way to e.g. strip the "www." prefix when serving
an app from a bare domain.
5 years ago
Matt Brictson b0e5e977c8
Display brakeman output instead of writing to file 6 years ago
Matt Brictson 4de50a2330
--sign is needed even if verify_signatures is off 6 years ago
Matt Brictson fbf4b2a718
Fix yaml indentation 6 years ago
Matt Brictson 519374faad
Upgrade postgres image used for CI 6 years ago
Matt Brictson 6acc9dbd05
Turn off overcommit signature feature
In practice it gets very annoying, especially when doing a merge or
rebase.
6 years ago
Matt Brictson d921becb6a
Add cron-based workflow to default CircleCI config 6 years ago
Matt Brictson c1b2dbe9a0
Use secure_compare for extra security 6 years ago
Matt Brictson c11fdec278
Revert "Gracefully handle routing 404s"
This reverts commit 2197f1d919.

The problem with this approach was that it broke the friendly error
messaging for 404s in development. There are better ways to handle these
errors at the logging level, e.g. with Rollbar's "ignore" approach.
6 years ago
Matt Brictson 9255b2a4bb
Add .editorconfig 6 years ago
Matt Brictson 125bd1c483
Add rubocop and test:system to default rake task 6 years ago
Matt Brictson b43ee2cbc5
Allow leading underscore for memoized variables 6 years ago
Matt Brictson 63d9201838
Latest net-ssh requirements (for capistrano)
net-ssh 5.0.0 has been released, and it requires the ed25519 gem instead
of the rbnacl gems.
6 years ago
Matt Brictson 80edd9a67c
Remove unneeded config/boot.rb template 6 years ago
Matt Brictson 97e49fba61
Capistrano: ensure SCM is set up correctly 6 years ago
Matt Brictson a245568e16
RuboCop: disable Style/Documentation cop 6 years ago
Matt Brictson 702c90174f
RuboCop: disable Rails/RefuteMethods cop 6 years ago
ZeroC0D3 Engineer 6c3f34f1d3
Ignore node_modules & bower_components in rubocop 6 years ago
Matt Brictson 2197f1d919
Gracefully handle routing 404s
This prevents error reporting services like Rollbar from getting clogged
up with 404 messages due to `ActionController::RoutingError`.
6 years ago
Matt Brictson 6c0ae26f59
Ignore capybara save_and_open_page output 6 years ago
Matt Brictson 86baf7557e
Include CSP meta tag in base layout 6 years ago
Matt Brictson f451962ede
Update README for Rails 5.2 6 years ago
Matt Brictson 6e998d3cf8
Latest database.yml config 6 years ago
Matt Brictson 285377e7cf
Add `yarn install` to bin/setup 6 years ago
Matt Brictson 2f0e7050ce
Latest turbolinks usage 6 years ago
Matt Brictson 6d38f15a8f
Remove secure_header gem (Rails 5.2 has CSP) 6 years ago
Matt Brictson 2a7b2e6f29
Changes to match Rails 5.2.0.beta1 6 years ago
Matt Brictson 8dd229c8e7
Latest version of mocha 6 years ago
Matt Brictson 0fc6ad5c48
Goodbye hashrockets 6 years ago
Matt Brictson 5a2dcc3303
Latest RuboCop 6 years ago
Matt Brictson 64d52c5b4a
Re-enable bootsnap
The new version of bootsnap, 1.2.0, fixes a problem that prevented a
Rails+Spring app from booting when using the latest rubygems and
bundler.
6 years ago
Matt Brictson d58f4ec243
ffi pin is no longer necessary 6 years ago
Matt Brictson a6621d0d47
Disable bootsnap
bootstap + dotenv-rails + spring causes Rails to fail to boot :(
6 years ago
Matt Brictson b496e8e57a
Latest Gemfile recommendations 6 years ago
Matt Brictson eff7d5dd89
Disable bootsnap during the app generation process
For some reason dotenv-rails + spring + bootsnap causes errors, but only
when commands are run as part of the template. Once the app is created
things seem to be OK. Work around this by setting a special environment
variable to disable bootsnap.
6 years ago
Matt Brictson dbf5c3ca16
Exit if any command fails as app is being built
With this change, the template will immediately halt when an error
occurs. Prior to this, it would be easy to miss that an error happened,
since there is so much console output going by.
6 years ago
Matt Brictson cded720d77
Sort rubocop.yml 6 years ago
Matt Brictson 6d9e49cce8
Capistrano is no longer assumed 6 years ago
Matt Brictson c485431c8f
Exclude vendor/ from RuboCop 6 years ago
Matt Brictson c3056d2303
Happy new year! 🎊 6 years ago
Matt Brictson 4fccd463f3
Add bundle clean step to CircleCI
This keeps the cached bundle size from growing unbounded.
6 years ago
Matt Brictson 0b6697467c
Fix and simplify check for existing git commits 6 years ago
Matt Brictson 18134ddfc6
Compatible with Heroku out of the box 6 years ago
Matt Brictson 71dc6a2195
Make capistrano optional 6 years ago
Matt Brictson f64278f073
Add a reasonable default Procfile 6 years ago
Matt Brictson a72be0387d
capistrano-mb now requires Ubuntu 16.04 6 years ago
Matt Brictson 2a1a8d8a74
Setup local git repo even if remote not specified 6 years ago
Matt Brictson c9b691e782
Create an initial (empty) database migration
On a brand new Rails project, `rails test` will run slowly or emit
warnings because it tries to automatically maintain the test database
schema and one doesn't exist yet. Work around this buggy initial state
by ensuring that at least 1 migration exists, thereby putting the test
database in an acceptable state.
6 years ago
Matt Brictson 15d6c0304e
Fix a RuboCop violation in default development.rb 6 years ago