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

tarantool / tarantool / 12319 / 3
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fmt-util-2
DEFAULT BRANCH: master
Ran 31 May 2018 11:57AM UTC
Files 301
Run time 36s
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

31 May 2018 10:42AM UTC coverage: 81.719%. Remained the same
TARGET=coverage

push

travis-ci

kostja
yaml: introduce yaml.decode tag_only option

Yaml.decode tag_only option allows to decode a single tag of a
YAML document. For #2677 it is needed to detect different push
types in text console: print pushes via console.print, and actual
pushes via box.session.push.

To distinguish them YAML tags will be used. A client console for
each message will try to find a tag. If a tag is absent, then the
message is a simple response to a request.

If a tag is !print!, then the document consists of a single
string, that must be printed. Such a document must be decoded to
get the printed string. So the calls sequence is
yaml.decode(tag_only) + yaml.decode. The reason why a print
message must be decoded is that a print() result on a server side
can be not well-formatted YAML, and must be encoded into it to be
correctly sent. For example, when I do on a server side something
like this:

console.print('very bad YAML string')

The result of a print() is not a YAML document, and to be sent it
must be encoded into YAML on a server side.

If a tag is !push!, then the document is sent via
box.session.push, and must not be decoded. It can be just printed
or ignored or something.

Needed for #2677

39016 of 47744 relevant lines covered (81.72%)

914697.27 hits per line

Source Files on job 12319.3 (TARGET=coverage)
  • Tree
  • List 0
  • Changed 268
  • Source Changed 1
  • Coverage Changed 268
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11247
  • Travis Job 12319.3
  • 567769d0 on github
  • Prev Job for TARGET=coverage on 1.10 (#12317.3)
  • Next Job for TARGET=coverage on 1.10 (#12322.3)
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