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

wooga / atlas-version
78%
master: 76%

Build:
Build:
LAST BUILD BRANCH: PR-49
DEFAULT BRANCH: master
Repo Added 26 May 2020 10:54AM UTC
Files 31
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 PR-6
branch: PR-6
CHANGE BRANCH
x
Reset
  • PR-6
  • PR-10
  • PR-12
  • PR-13
  • PR-14
  • PR-15
  • PR-18
  • PR-2
  • PR-20
  • PR-29
  • PR-3
  • PR-31
  • PR-34
  • PR-36
  • PR-37
  • PR-38
  • PR-39
  • PR-4
  • PR-40
  • PR-41
  • PR-42
  • PR-43
  • PR-44
  • PR-45
  • PR-46
  • PR-47
  • PR-48
  • PR-49
  • PR-7
  • PR-8
  • PR-9
  • master

pending completion
4

push

jenkins

Refactor version provider

Description
===========

This is a small cleanup patch to prepare the next `versionCode`
implementation. I renamed the extension property `scheme` to
`versionScheme` and also adjusted the type to an enum `VersionScheme`. I
left the ability to set this value from `String` to make it easier to
set the value in the `build.gradle` script.

I wrapped the version provider in a new custom provider which can cache
the infered value. This whole provider gets wrapped again in a special
`ToStringProvider`. This providers `toString` method will evaluate the
internal value and call `toString` on it. The default `Provider`
instances only provide a basic `toString` implementation.

I also added more test cases for the new APIs and classes

Changes
=======

* ![CHANGE] `scheme` to `versionScheme`
* ![CHANGE] `versionScheme` type from `String` to `VersionScheme`
* ![ADD] `MemoisationProvider`
* ![ADD] `ToStringProvider`
* ![IMPROVE] `versionScheme` API overloads* ![IMPROVE] `versionScheme`
  API overloads* ![IMPROVE] `versionScheme` API overloads* ![IMPROVE]
`versionScheme` API overloads* ![IMPROVE] `versionScheme` API overloads*
![IMPROVE] `versionScheme` API overloads* ![IMPROVE] `versionScheme` API
overloads* ![IMPROVE] `versionScheme` API overloads

321 of 413 relevant lines covered (77.72%)

2.33 hits per line

Relevant lines Covered
Build:
Build:
413 RELEVANT LINES 321 COVERED LINES
2.33 HITS PER LINE
Source Files on PR-6
  • Tree
  • List 18
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
4 PR-6 Refactor version provider Description =========== This is a small cleanup patch to prepare the next `versionCode` implementation. I renamed the extension property `scheme` to `versionScheme` and also adjusted the type to an enum `VersionScheme`.... push 02 Jun 2020 02:09PM UTC jenkins pending completion  
See All Builds (72)
  • 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