Skip to content

Instantly share code, notes, and snippets.

@youknowjack
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save youknowjack/beeaad7d13861b3ece12 to your computer and use it in GitHub Desktop.

Select an option

Save youknowjack/beeaad7d13861b3ece12 to your computer and use it in GitHub Desktop.

Revisions

  1. youknowjack revised this gist May 5, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion simple.json
    Original file line number Diff line number Diff line change
    @@ -47,7 +47,7 @@
    "rule" : null,
    "ranges" : [ {
    "length" : 1.0,
    "bucketValue" : 3
    "bucketValue" : 2
    } ]
    } ],
    "testType" : "USER"
  2. youknowjack revised this gist May 5, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion simple.json
    Original file line number Diff line number Diff line change
    @@ -47,7 +47,7 @@
    "rule" : null,
    "ranges" : [ {
    "length" : 1.0,
    "bucketValue" : 0
    "bucketValue" : 3
    } ]
    } ],
    "testType" : "USER"
  3. youknowjack created this gist May 5, 2015.
    61 changes: 61 additions & 0 deletions simple.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,61 @@
    {
    "tests" : {
    "bgcolortst" : {
    "version" : 1,
    "description" : "background color test",
    "constants" : {
    },
    "rule" : null,
    "salt" : "bgcolortst",
    "buckets" : [ {
    "name" : "inactive",
    "value" : -1,
    "description" : "",
    "payload" : {
    "stringValue" : ""
    }
    }, {
    "name" : "altColor1",
    "value" : 0,
    "description" : "indeed orange for android",
    "payload" : {
    "stringValue" : "#ff6600"
    }
    }, {
    "name" : "altColor2",
    "value" : 1,
    "description" : "magenta for android >= 4",
    "payload" : {
    "stringValue" : "#CD29C0"
    }
    }, {
    "name" : "altColor3",
    "value" : 2,
    "description" : "indeed blue for iOS",
    "payload" : {
    "stringValue" : "#2164f3"
    }
    }, {
    "name" : "altColor4",
    "value" : 3,
    "description" : "green for iOS >= 7",
    "payload" : {
    "stringValue" : "#008040"
    }
    }],
    "allocations" : [ {
    "rule" : null,
    "ranges" : [ {
    "length" : 1.0,
    "bucketValue" : 0
    } ]
    } ],
    "testType" : "USER"
    }
    },
    "audit" : {
    "version" : 1,
    "updatedBy" : "jack",
    "updated" : 1379048400000
    }
    }