Singapore lion A fork by Government Digital Services, Singapore of 18f's micropurchase platform
Back to all auctions


** CANCELLED ** Convert CorpPass 'NULL' strings into nil

Ended on: 09/21/2016
Winning bid (Mykola Kyryk): $1.00



This auction has been cancelled

There have been major design changes to this library, so this task is no longer required and the auction is cancelled. Sorry for any inconvenience caused. Do try one of our other auctions instead.


CorpPass 1.4 returns NULL for mandatory empty fields. We need to convert these into nil.

A change was introduced in CorpPass XML responses where mandatory tags will always contain values, including the string NULL for fields meant to be empty.

What we want

A field <CPNonUEN_RegNo>NULL</CPNonUEN_RegNo> might hold the value NULL.

Currently, a CorpPass::User object backed with this field will return a string NULL when the method is called. We want the method to return nil instead.

Acceptance criteria

AC1: CorpPass::UserInfo returns nil for fields backed by XML fields with NULL values

AC2: Classes in module CorpPass::AuthAccess return nil for fields backed by XML fields with NULL values

General acceptance criteria

  • Does not decrease code coverage (Rspec)
  • Tests run on Travis CI and do not break the build

Additional information

The existing fixture already has fields with NULL. The associated spec for this is in user_spec.rb.

Bidder Amount Date
Balamurali Pandranki $200.00 September 21, 2016 03:47:21 AM SGT
Vinod $200.00 September 20, 2016 11:01:54 PM SGT
Vinoth kumar A $375.00 September 20, 2016 02:20:59 PM SGT
ZP $150.00 September 20, 2016 12:51:00 PM SGT
Mykola Kyryk $1.00 * September 20, 2016 10:50:29 AM SGT
Marcos Beirigo $399.00 September 20, 2016 10:41:17 AM SGT
Stan Chang Khin Boon $399.00 September 20, 2016 01:03:19 AM SGT
Ankita Gupta $300.00 September 19, 2016 11:42:30 PM SGT
Lu Jin $380.00 September 19, 2016 11:20:08 PM SGT
Guo Xiang Tan $399.00 September 19, 2016 10:50:24 PM SGT

* - winning bid

Auction Now Closed

Auction started at

September 16, 2016 01:00:00 AM SGT

Auction ended at

September 21, 2016 05:00:00 PM SGT

Delivery deadline

October 14, 2016 11:45:00 PM SGT

Eligible vendors

All allowed


Government Digital Services, Singapore

Auction type:

Sealed-bid (rules)

View on GitHub