Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 28, 2015
  1. @calebthompson

    Replace Unicorn with Puma

    calebthompson authored
    > Heroku now recommends using the Puma webserver. The previously
    > recommended webserver, Unicorn, is susceptible to slow client attacks.
    
    https://devcenter.heroku.com/changelog-items/594
    
    * Specify deploy settings
    
        - Set values that DATABASE_URL won't override / set
        - Add staging
        - Use max of thread count or db pool, since @schneems says:
          > You need your pool to at least be as large as your puma thread
          > count.
  2. @mjankowski

    Rename development data concept to avoid db/seeds confusion

    mjankowski authored
    Using db/seeds for data which must be loaded in a production environment
    is a standard Rails convention.  We cause confusion by using the word
    "seed" elsewhere in a Rails app, where that is not the context.
    
    The `dev:prime` task is actually providing local fake/sample data for
    developers to see the app in use, but not production-required data to
    actually run the application.
Commits on Jul 24, 2015
  1. @drapergeek

    Replace TravisCI with CircleCI

    drapergeek authored
    This is the result of two
    discussions on our research board.
    The first was to replace Travis with CircleCI:
    https://trello.com/c/Se4mELMh/199-hosted-ci-for-continuous-deployment
    
    A few reasons we've enjoyed using Circle:
    
    * Faster builds due to parallel builds
    * Built in bundle caching
    * Easy deployment
    * Really easy setup
    * The ability to ssh
      into the CI server during a test run.
      This has been great
      when debugging a test failure.
      It's not something you use a lot
      but it is so great when you need it.
    * A free plan for private repos that supports small MVPS
    
    This also adds automatic deployment
    to staging when the build passes.
    This is the result of this discussion:
    https://trello.com/c/Se4mELMh/199-hosted-ci-for-continuous-deployment
    
    A few reasons for those who don't have access to the trello card:
    
    * Part of the CI now is whether or not you can actually deploy successfully.
      If you merge to master,
      it will automatically try and deploy to staging.
      If that fails,
      your build will actually fail.
      This should be treated
      with the same urgency that any other failing build
      on master would be treated.
    * Staging is always up to date.
      This makes it really nice for verifying stories for clients.
    * Automate more things!
Commits on Jul 10, 2015
  1. @derekprior

    Rename examples file

    derekprior authored
  2. @derekprior

    Update to RSpec 3.3 in suspenders apps

    derekprior authored
    RSpec 3.3 added some very handy commands for filtering examples. With
    the addition of the status persistence file configuration we can now:
    
    * run `rspec --only-failures` to re-run only the examples that failed.
    * run `rspec --next-failure` to re-run only the first failing test from
      your previous run. If that passes it will run the successive failures
      until one of them fails again
    
    Additionally, rspec 3.3 includes stable random ordering (even when you
    add new examples), the ability to bisect failures when debugging
    ordering-dependent failures, better failure output...
    
    http://rspec.info/blog/2015/06/rspec-3-3-has-been-released/
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.
Commits on May 7, 2015
  1. @gabebw

    Require spec/support files in alphabetical order

    gabebw authored
    This ensures that the `require` order is the same on all machines, including CI.
    
    For example, we mainly use OS X as our local development machines, while CI runs
    on Linux. We've run into ordering issues before due to the different OS's, and
    this changes has historically fixed it.
  2. @jferris

    Use rack-canonical-host

    jferris authored
    Redirects web traffic so that all requests are served from the canonical
    hostname.
  3. @tysongach

    Swap flash id for a class

    tysongach authored
    - Generally speaking, it’s best practice to style off class’s instead of id’s.
    - The flash key is already being output as a class; this unifies the two.
Commits on May 6, 2015
  1. @gylaz

    Provide EXECJS_RUNTIME env variable

    gylaz authored
    This is necessary for compiling assets (when needed to run with compiled assets
    in dev).
Commits on Apr 29, 2015
  1. @tysongach

    Removes .css file suffix from application stylesheet

    tysongach authored
    - It's unneeded and overly verbose
    - sass-rails recently deprecated this suffix, rails/sass-rails@d355de9
Commits on Apr 10, 2015
  1. @tysongach @tute

    Add Autoprefixer and browserslist config file

    tysongach authored tute committed
    This will support the following browsers:
    
    - Android: 37, 4.4, 4.4.3-4.4.4
    - Chrome: 40, 39
    - Firefox: 35, 34
    - IE: 11, 10, 9
    - IE Mobile: 11, 10
    - iOS: 8.1, 8, 7.0-7.1
    - Opera: 27, 26
    - Safari: 8, 7.1
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 27, 2015
  1. @jakecraige @tute

    Only use rack-timeout in staging and production

    jakecraige authored tute committed
    This causes intermittent failures in capybara test suites where js is enabled.
    
    See heroku/rack-timeout#55 for more information.
    
    [closes #542]
  2. @tute

    Add SimpleCov

    tute authored
    It was removed due to a return status bug which would mark failed builds
    as successful, and is now fixed.
    
    This reverts commit 6ece3c4.
    
    Related with:
    #313
Commits on Mar 24, 2015
  1. @andyw8 @tute

    Segment.io is now Segment

    andyw8 authored tute committed
    [fixes #543]
  2. @reshleman @tute

    Remove New Relic memory management variable

    reshleman authored tute committed
    The `NEW_RELIC_AGGRESSIVE_KEEPALIVE` environment variable was was added
    in #440 to reduce New Relic's memory consumption for idling applications
    on Heroku. As of version 3.9.8, New Relic defaults this setting to
    `true`, so it's no longer necessary to set it explicitly.
    
    From the New Relic [CHANGELOG]:
    
    > Reduced memory usage for idling applications
    >
    > Idling applications using the agent could previously appear to leak
    > memory because of native allocations during creation of new SSL
    > connections to our servers. These native allocations didn't factor
    > into triggering Ruby's garbage collector.
    >
    > The agent will now re-use a single TCP connection to our servers for
    > as long as possible, resulting in improved memory usage for
    > applications that are idling and not having GC triggered for other
    > reasons.
    
    Related commit: newrelic/rpm@e04d5ce
    
    [CHANGELOG]: https://github.com/newrelic/rpm/blob/master/CHANGELOG
    
    [fixes #535]
Commits on Mar 9, 2015
  1. @andyw8

    Enable verify_partial_doubles

    andyw8 authored
    https://relishapp.com/rspec/rspec-mocks/v/3-0/docs/verifying-doubles/partial-doubles
    
    "When the verify_partial_doubles configuration option is set, the same
    argument and method existence checks that are performed for
    object_double are also performed on partial doubles. You should set
    this unless you have a good reason not to. It defaults to off only for
    backwards compatibility."
Commits on Mar 7, 2015
  1. @ventsislaf @tute

    Configure Active Job queue adapter for test env

    ventsislaf authored tute committed
    * Configure ActiveJob's queue adapter to DelayedJob
    * This removes the step to manually configure the `ActiveJob`'s adapter.
    * Use `:inline` queue adapter in test environment to execute the
      background jobs immediately
    * Remove the background jobs template because it's not necessary anymore
    
    [fixes #520]
Commits on Mar 3, 2015
  1. @tysongach @tute

    Update Bourbon

    tysongach authored tute committed
Commits on Mar 2, 2015
  1. @teoljungberg

    Use new hash syntax

    teoljungberg authored
Commits on Feb 20, 2015
  1. @tute

    Add ASSET_HOST to sample.env

    tute authored
    It defaults to `HOST`.
    
    [fixes #491]
Commits on Jan 27, 2015
  1. @mike-burns

    Document how to use the #title helper

    mike-burns authored
    When opening layout.html.erb to change the title, if can be off-putting
    to traverse down a nest of discovery in order to know that one should
    change the title in config/locales/*.yml. Add a note right there so that
    people don't have to hunt.
Commits on Jan 26, 2015
  1. @bf4 @croaky

    Faster, more correct gem install

    bf4 authored croaky committed
    - About 3x faster when gems are available
    - Does not return false positive when other gems on system have 'bundler' in name
    
    Tested on my 2015 Macbook Pro, Mavericks,
    with RVM and Ruby 2.1.5 running via bash
    
    See details in #497
Commits on Jan 19, 2015
  1. @gabebw

    Run `rake dev:prime` on CI

    gabebw authored
    Previously, the `dev:prime` task was only available in the development
    environment, while CI runs in the test environment. Because the environments
    didn't match, the `dev:prime` task is never defined in CI, and CI crashes.
    
    We now define the `dev:prime` task in the test environment, because CI should be
    testing whether this part of `bin/setup` runs too.
Commits on Jan 18, 2015
  1. @gabebw

    Turn off Travis email notifications

    gabebw authored
    The documentation gives this as the correct way to turn off build notifications:
    
      notifications:
        email: false
    
    This maps to `{ "notifications" => { "email" => false } }` in Ruby.
    
    We currently set it to:
    
      notifications:
        email:
          - false
    
    This maps to `{ "notifications" => { "email" => [false] } }` (note that `false`
    is in an array). Because of this, Travis does not turn off email notifications.
    
    Docs: http://docs.travis-ci.com/user/notifications/
Commits on Jan 15, 2015
  1. @gabebw

    gitignore /public/assets

    gabebw authored
    The only files that get put in `/public/assets` are asset files generated from
    `rake assets:precompile`. These files should never be committed since Heroku
    will generate the files for us.
    
    Even without Heroku, these files will change when their source files change, at
    minimum doubling the size of the commit diff without adding any extra
    information.
    
    Or, they won't get regenerated when their source files change, and so will be
    constantly out-of-date.
Commits on Jan 12, 2015
  1. @kylefiedler
Commits on Jan 8, 2015
  1. @BlakeWilliams

    Upgrade RSpec to 3.1.0

    BlakeWilliams authored
    * Fixes Rails 4.2 named route deprecation warnings
Commits on Jan 7, 2015
  1. @derekprior

    Use Travis container infrastructure

    derekprior authored
    Builds start sooner and run faster. Open source builds on the container
    infrastructure also get to use the bundle cache. See:
    http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
    
    This has worked extremely well on all projects I've tried it on thus
    far.
  2. @croaky

    Create Hound-compliant config/unicorn.rb

    croaky authored
    Fix:
    
    > Line is too long. [91/80]
    
    Fix:
    
    > 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](https://devcenter.heroku.com/articles/mandrill) and
    [SendGrid](https://devcenter.heroku.com/articles/sendgrid#ruby-rails),
    they suggest using `heroku.com`.
    
    Make this clearer for implementers.
Commits on Jan 4, 2015
  1. @croaky
Commits on Dec 28, 2014
  1. @delphaber @croaky

    Do not require bundler-audit in Gemfile

    delphaber authored croaky committed
    Move `bundler-audit` to the `development` gem group only.
  2. @delphaber @croaky

    Update Rails to 4.2.0

    delphaber authored croaky committed
    0.0.3 of rails_server_static_assets includes a necessary change
    for Suspenders to work with Rails 4.2.0:
    
    heroku/rails_serve_static_assets#7
Something went wrong with that request. Please try again.