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

edgurgel / verk / 170 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2016 04:37AM UTC
Files 19
Run time 0s
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

07 Apr 2016 04:34AM UTC coverage: 78.644% (-0.9%) from 79.585%
170.1

push

travis-ci

edgurgel
also allow poison 2.0 as dep

* also allow poison 2.0 as dep

problem: 
- some project use already poison 2.0 (or 2.1), verk installation does not work there


solution: 
- also allow poison 2.0 by relaxing dependency

```
{ :poison, "~> 1.5 or ~> 2.0"},
```

* different json decoding based on Poison version

problem: 
- Poison >2.0 changed the way it accepts `as` params
```
https://github.com/devinus/poison
If you use Poison 1.x, you have to set a module to as option in order to decode into a struct. e.g. as: Person instead of as: %Person{}. The change was introduced at 2.0.0.
```
- we want to stay compatible with Poison < 2.0 and > 2.0 

solution: 
- read the current Poison version during compilation time and switch encoding logic based on whether we are before 2.0 or after.

232 of 295 relevant lines covered (78.64%)

3.2 hits per line

Source Files on job 170.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 170
  • Travis Job 170.1
  • b18b20e2 on github
  • Prev Job for on master (#169.1)
  • Next Job for on master (#176.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