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

redcross / arcdata / 602 / 1
65%
master: 65%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Jun 2020 04:19AM UTC
Files 282
Run time 21s
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

19 Jun 2020 04:07AM UTC coverage: 64.67%. First build
2.4.6, SAUCE_USERNAME=[secure] SAUCE_ACCESS_KEY=[secure] GOOGLE_MAPS_API_KEY=[secure]

push

travis-ci

tfe
SerializedColumns Migration: Step 2.2

Continuing the process of replacing the use of Postgres `hstore`
columns with `jsonb` columns, which Rails has native type casting
support for. Then we'll be able to remove the custom type casting code
from SerializedColumns which has tight coupling into AR internals.

This commit is the second half of Step 2: update SerializedColumns
module to drop hstore-specific type casting machinery and adjust any
call sites as necessary.

Mainly this changes the source for the arcdata_core gem (where
SerializedColumns lives) to the branch that has all the changes for
using JSONB columns for storage. The bulk of the code changes for this
step can be found there.

The API is as close to unchanged as possible, so the necessary changes in this app were minimal:

- A couple factories where previously we set the storage field with a
  full hash of serialized values, rather than calling the setter method
  provided by SerializedColumns. This caused some problems by skipping
  the type casting in the setter and using symbol hash keys when
  elsewhere we expect strings (as they would be if returned from the DB)

- One place where we ran a raw query against the serialized column
  using a special hstore operator (changed to the equivalent JSONB
  operator).

5171 of 7996 relevant lines covered (64.67%)

50.87 hits per line

Source Files on job 602.1 (2.4.6, SAUCE_USERNAME=[secure] SAUCE_ACCESS_KEY=[secure] GOOGLE_MAPS_API_KEY=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 496
  • Travis Job 602.1
  • c5466b2e 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

© 2026 Coveralls, Inc