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

fog / fog-core
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 04 Apr 2014 12:05PM UTC
Files 63
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

LAST BUILD ON BRANCH fix_path_prefix
branch: fix_path_prefix
CHANGE BRANCH
x
Reset
  • fix_path_prefix
  • 105_extract_service_module_code
  • GH138_fix_formatador
  • best-practices
  • cleanup_dependencies
  • cleanup_gemspec
  • fix-reload-for-associations
  • fix_stormod_requires
  • fix_test
  • fix_vmfusion_require
  • loosen-requires
  • master
  • mime-type-checking
  • optional-mime-types
  • services
  • update_hash_helper_specs
  • v1.24.0
  • v1.26.0
  • v1.27.1
  • v1.27.2
  • v1.27.3
  • v1.27.4
  • v1.28.0
  • v1.29.0
  • v1.30.0
  • v1.31.0
  • v1.31.1
  • v1.32.0
  • v1.32.1
  • v1.33.0
  • v1.34.0
  • v1.35.0
  • v1.37.0
  • v1.38.0
  • v1.39.0
  • v1.40.0
  • v1.40.1
  • v1.41.0
  • v1.42.0
  • v1.43.0
  • v1.45.0
  • v2.0.0
  • v2.1.0
  • v2.1.1
  • v2.1.2

pending completion
696

Pull #238

travis-ci

web-flow
Fix `@path_prefix` not initialized warning

Setting `@path_prefix` within a condition meant it was not initialized
to `nil` in cases when it was not passed in. This triggered warnings
when Ruby was showing them and the variable was used.

`Hash#delete` already returns `nil` when the key is missing so that can
be used to initialize it correctly.
Pull Request #238: Fix `@path_prefix` not initialized warning

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

1081 of 1419 relevant lines covered (76.18%)

6.5 hits per line

Relevant lines Covered
Build:
Build:
1419 RELEVANT LINES 1081 COVERED LINES
6.5 HITS PER LINE
Source Files on fix_path_prefix
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
696 fix_path_prefix Fix `@path_prefix` not initialized warning Setting `@path_prefix` within a condition meant it was not initialized to `nil` in cases when it was not passed in. This triggered warnings when Ruby was showing them and the variable was used. `Hash#de... Pull #238 13 Aug 2018 11:31AM UTC web-flow travis-ci pending completion  
695 fix_path_prefix Fix `@path_prefix` not initialized warning Setting `@path_prefix` within a condition meant it was not initialized to `nil` in cases when it was not passed in. This triggered warnings when Ruby was showing them and the variable was used. `Hash#de... push 13 Aug 2018 11:29AM UTC tokengeek travis-ci pending completion  
See All Builds (498)
  • Repo on GitHub
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