{"push_id":891168634,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"99ea8e85a59b20980865c479f5c6967b9e07b4c8","before":"e41671299a10add68c27a6eff044f93e3857a28b","commits":[{"sha":"29dafceb3c35a3a5de5be8e74cc2c121a3c0f4cf","author":{"email":"6399d1369e4f2f3e4dd28d9793c2ce96a886d730@gmail.com","name":"Brian"},"message":"Merge pull request #2 from ai7/master\n\nupdate app with many improvements","distinct":true,"url":"https://api.github.com/repos/ai7/nobody_home/commits/29dafceb3c35a3a5de5be8e74cc2c121a3c0f4cf"},{"sha":"1c9264c2ab3fd5b81f06c81f8dfcc553e44913fb","author":{"email":"6399d1369e4f2f3e4dd28d9793c2ce96a886d730@gmail.com","name":"Brian"},"message":"Obnoxiously minor changes","distinct":true,"url":"https://api.github.com/repos/ai7/nobody_home/commits/1c9264c2ab3fd5b81f06c81f8dfcc553e44913fb"},{"sha":"cac62314baf834818163a8b6942d31aa0eadc2e9","author":{"email":"1f498b8837518bdf046c4139f356cd606e8afe98@gmail.com","name":"Raymond Chi"},"message":"Merge remote-tracking branch 'upstream/master'","distinct":true,"url":"https://api.github.com/repos/ai7/nobody_home/commits/cac62314baf834818163a8b6942d31aa0eadc2e9"},{"sha":"99ea8e85a59b20980865c479f5c6967b9e07b4c8","author":{"email":"1f498b8837518bdf046c4139f356cd606e8afe98@gmail.com","name":"Raymond Chi"},"message":"fix issue when threshold is using default value\n\nEven though we set settings.awayThreshold in initialize() when its\nnull, it doesn't seem to affect the global awayThreshold value. Since\nwe are using that global value in reasonStr(), it is still null if\nuser did not specify a value. So we see the string \"null\" in the\nnotification message.\n\nThis fix updates reasonStr() to handle this case. We still want to use\nthe global awayThreshold/arrivalThreshold value (instead of converting\ndelaySec by / 60) because when the value is a fraction, conversion will\ngive us a non exact floating point value, so it's better to use the\nvalue the user specified directly.","distinct":true,"url":"https://api.github.com/repos/ai7/nobody_home/commits/99ea8e85a59b20980865c479f5c6967b9e07b4c8"}]}