Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 12, 2015
  1. @croaky

    Add default .hound.yml file

    croaky authored
    * Enable all languages explicitly by default.
    * Help avoid configuration mistakes by providing this stub
      and a link to the configuration page.
  2. @croaky

    Improve test suite speed

    croaky authored
    * Run Suspenders only once in `new_project_spec.rb`.
    * Should be about 17x faster.
    * Requires moving some of the RSpec `before` contents around
      to avoid RSpec hanging.
Commits on Apr 8, 2015
  1. @croaky

    Only display user-facing flashes

    croaky authored
    We sometimes use the flash for things such as
    "sign up" in order to send data to analytics systems
    such as Mixpanel.
    We've then ended up doing the following on a number of projects.
Commits on Mar 7, 2015
  1. @croaky

    Update thoughtbot section of README

    croaky authored
    * Include 2015 in the copyright.
    * Update logo to use new HTTPS version.
    * Change header from "Credits" to "About thoughtbot".
    * Move "thank you" to contributors section.
    * Make "About thoughtbot" the last thing in the README,
      with the copyrights grouped closer to the LICENSE information.
    * Link to LICENSE.
    * Make the community link more obvious that we have other projects.
    * Finish with a CTA to hire us.
    * Include `utm_source` codes to improve tracking.
Commits on Feb 4, 2015
  1. @croaky


    croaky authored
Commits on Jan 30, 2015
  1. @croaky

    Refer to Hound in addition to thoughtbot/guides

    croaky authored
    * It's unreasonable to expect contributors to
      read and comprehend thoughtbot/guides.
    * It's reasonable to expect they should fix Hound violations.
    * Shorten a few other sentences.
    * Delete unnecessary words.
    * Move note about Ruby version inside `` document.
Commits on Jan 19, 2015
  1. @croaky


    croaky authored
Commits on Jan 12, 2015
  1. @croaky


    croaky authored
  2. @croaky
Commits on Jan 7, 2015
  1. @croaky

    Create Hound-compliant config/unicorn.rb

    croaky authored
    > Line is too long. [91/80]
    > Unused block argument - server.
    > Unused block argument - worker.
    > You can omit all the arguments if you don't care about them.
Commits on Jan 5, 2015
  1. @croaky

    Improve SMTP_DOMAIN comment

    croaky authored
    In Heroku's docs for
    [Mandrill]( and
    they suggest using ``.
    Make this clearer for implementers.
Commits on Jan 4, 2015
  1. @croaky

    v 1.21.0

    croaky authored
  2. @croaky
  3. @croaky

    Use only rails_stdout_logging, not rails_12factor

    croaky authored
    Rails 4.2.0 uses a `ENV['RAILS_SERVE_STATIC_FILES']` variable
    to determine by default whether to server static files.
    We should use that community convention
    rather than the `rails_serve_static_assets` gem,
    which is loaded by `rails_12factor`.
    Removing that coupling also allows non-Heroku users
    to use this convention.
    When we remove our reliance on that gem,
    the remaining half of `rails_12factor` that we still want to use
    in Heroku environments is the `rails_stdout_logging` gem.
    Extract a `serve_static_files_line` helper method
    as a way to reliably append to
    the `config/environments/production.rb` file.
    Use double quotes instead of single quotes on changed lines
    and the lines around them.
Commits on Dec 4, 2014
  1. @croaky

    Add `bin/deploy` script

    croaky authored
    * Help avoid forgetting to run `rake db:migrate`.
    * Help avoid forgetting to run `restart` after migrate.
    * Allow each app to edit these deploy instructions to fit their
      environments' needs (such as `run rake purge` to clear a cache)
      but maintain the same `./bin/deploy` interface and convention
      that is consistent with our many Middleman and Rails apps.
    * Use the shebang line for POSIX sh.
    * Default the argument to 'staging'
Commits on Nov 26, 2014
  1. @croaky


    croaky authored
Commits on Nov 24, 2014
  1. @croaky
Commits on Nov 23, 2014
  1. @croaky


    croaky authored
Commits on Nov 14, 2014
  1. @croaky

    Use Heroku-recommended timeout numbers

    croaky authored
    Rename ENV variables to be very explicit.
    Couples their names to their libraries.
Commits on Nov 10, 2014
  1. @croaky

    Improve memory of app on Heroku w/ New Relic

    croaky authored
    * Help avoid R14 (Memory quota exceeded) errors.
    * Refactor away some duplication.
Commits on Nov 5, 2014
  1. @croaky

    Fix Bundler installation code

    croaky authored
    Our previous Bundler idempotency code did not work
    if you had a version of Bundler installed on a different Ruby version.
Commits on Nov 3, 2014
  1. @croaky
Commits on Oct 23, 2014
  1. @croaky


    croaky authored
  2. @croaky
  3. @croaky
  4. @croaky

    Fix accidental indentation

    croaky authored
    I created this when editing the previous commit.
  5. @croaky

    Don't add staging/production remotes w/o access

    croaky authored
    If user doesn't have access to staging or production Heroku applications,
    they do not need/want to have the Git remotes created.
    Real-world example:
Commits on Oct 3, 2014
  1. @croaky

    Remove unnecessary check for directory existence

    croaky authored
    `mkdir -p` will no-op if the directory already exists.
Commits on Oct 1, 2014
  1. @croaky

    Improve generated bin/setup

    croaky authored
    * Make script idempotent.
    * Fail fast with install messages and non-zero exit status.
Commits on Sep 30, 2014
  1. @croaky


    croaky authored
  2. @croaky

    Generate a Rails 4.1.6 app

    croaky authored
  3. @croaky

    Generate rails_helper, not spec_helper

    croaky authored
    RSpec 3.x introduces a `spec/rails_helper.rb` file
    which contains all dependencies necessary to run specs that need Rails.
    Achieves the goal of "Documenting Explicit Dependencies Through Tests":
    * Move Rails-specific things to rails_helper.rb.
    * Require spec_helper.rb from rails_helper.rb.
    * Remove duplication across files.
    * We do not need to require "spec_helper" manually.
      It is required for us in `.rspec`:
        --require spec_helper
Commits on Aug 16, 2014
  1. @croaky


    croaky authored
  2. @croaky

    Be clear that the user must run the setup script

    croaky authored
    This should help with confusion such as this report:
Commits on Jul 20, 2014
  1. @croaky

    Pick random port when generating Rails app

    croaky authored
    We have lots of Suspenders-generated apps. We run them using Foreman.
    Randomizing the port number can help us run multiple apps locally while avoiding
    Convert `bin_setup` file to use ERb and interpolate `port_number` into template.
Something went wrong with that request. Please try again.