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

Capitains / MyCapytain / 421 / 2
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: future
DEFAULT BRANCH: master
Ran 30 Aug 2018 01:38PM UTC
Files 38
Run time 3s
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

30 Aug 2018 01:35PM UTC coverage: 93.653% (+0.3%) from 93.376%
421.2

push

travis-ci

PonteIneptique
(CtsReferenceSet/CtsReference) Breaking change and massive rework of getReffs and getSiblings functions

These changes are related to the needs behind MyCapytain adoption of upcoming DTS. Reuse of native object were prefered.

- Introduction of `Reference` and `ReferenceSet`
    - `Reference` is a derivation tuple that have two properties (`start`, `end`) and one method `is_range()`
        - `start` and `end` are string or string-derivation
    - `ReferenceSet` is a list derivative and contains References
        - It has a `.citation` property about the structure of the current set
- (Breaking) Resolver Prototype and derivation returns ReferenceSet objects now in `getReffs()`
- (cts.Reference) Renamed CtsReference.
    - Parsing of sub-information is now on the fly on avoid performance hit with the move to ReferenceSet in `.getReffs()`
    - **Warning** : `len(CtsReference("1.1"))` should be replaced with `CtsReference("1.1").depth`
    - Supporting this new change, CtsReference is now a tuple. It still has a special `str(ref)` behavior as CTS URN do work with range-identifiers
    - `CtsReference.start` and `CtsReference.end` are now `CtsSinglePassageId`
- (cts.Reference) Introduction of CtsSinglePassageId
    - `CtsSinglePassageId` is derivation of str
    - It has a `list` property to support former syntax : `CtsReference("1.1").start.list` and returns the same type
    - It has a `depth` and `len` which are equivalent in this specific case
    - `subreference` is now parsed on the fly as `CtsWordReference`
- (cts.Reference) Introduction of `CtsWordReference`
    - Has `.word` and `.counter` properties for `@Achilles[1]`

- Update examples
- Update documentation

2538 of 2710 relevant lines covered (93.65%)

0.94 hits per line

Source Files on job 421.2
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 395
  • Travis Job 421.2
  • 6f0c2455 on github
  • Prev Job for on dts-citation (#417.2)
  • Next Job for on dts-citation (#423.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