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

willnet / rake_shared_context / 54
98%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2016 05:38AM UTC
Jobs 7
Files 3
Run time 2min
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

pending completion
54

Pull #25

travis-ci

web-flow
 sort rake file load order

Dir.glob return file list, but these order depend on filesystem, so the order isn't a constant.
The rake_require method load .rake file but if already load same name rake file, after one will skip.

But, there is a possibility that the first load file will change, because Dir.glob return value's order isn't constant.
This cause environment dependence test failed, because loaded will change on other environment.

In the rails, they sort file paths before load rake files.
https://github.com/rails/rails/blob/master/railties/lib/rails/engine.rb#L654

We should sort file paths before load rake files too.
Pull Request #25: 🐛 sort rake file load order

1 of 1 new or added line in 1 file covered. (100.0%)

40 of 41 relevant lines covered (97.56%)

11.27 hits per line

Jobs
ID Job ID Ran Files Coverage
4 54.4 (2.0.0, gemfiles/rspec_3.gemfile) 18 Aug 2016 05:38AM UTC 0
97.56
Travis Job 54.4
5 54.5 (2.1.8, gemfiles/rspec_2.gemfile) 18 Aug 2016 05:38AM UTC 0
97.56
Travis Job 54.5
6 54.6 (2.1.8, gemfiles/rspec_3.gemfile) 18 Aug 2016 05:39AM UTC 0
97.56
Travis Job 54.6
7 54.7 (2.2.4, gemfiles/rspec_2.gemfile) 18 Aug 2016 05:39AM UTC 0
97.56
Travis Job 54.7
8 54.8 (2.2.4, gemfiles/rspec_3.gemfile) 18 Aug 2016 05:39AM UTC 0
97.56
Travis Job 54.8
9 54.9 (2.3.0, gemfiles/rspec_2.gemfile) 18 Aug 2016 05:39AM UTC 0
97.56
Travis Job 54.9
10 54.10 (2.3.0, gemfiles/rspec_3.gemfile) 18 Aug 2016 05:40AM UTC 0
97.56
Travis Job 54.10
Source Files on build 54
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #54
  • Pull Request #25
  • PR Base - master (#47)
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

© 2025 Coveralls, Inc