• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ajgon / opsworks_ruby / 143 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2016 02:56PM UTC
Files 32
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2016 02:51PM UTC coverage: 100.0%. Remained the same
2.2

push

travis-ci

ajgon
fix(framework): Fixed `envs_in_console` for `rails`

Up to this commit, `envs_in_console` was creating a `config/initializers/000_console.rb` file, which
basically overloaded `Rails.application.load_console` method, with new ENVs. However, this caused
problems, since console gets loaded pretty late in initialization stack. For example, if ENVs were
used in `application/secrets.yml` (which is common practice) they wasn't loaded, since secrets is
populated before loading the console. To avoid that, a new solution was implemented -
`config/application.rb` is updated, with the ENVs (while still maintaining console context). This
ensures, that all the variables are loaded as fast as possible, and visible to as many Rails
components as they need to be.

1026 of 1026 relevant lines covered (100.0%)

1.5 hits per line

Source Files on job 143.1 (2.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 143
  • Travis Job 143.1
  • f3ae79b6 on github
  • Prev Job for 2.2 on master (#142.1)
  • Next Job for 2.2 on master (#144.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc