{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/aruba/issues/229","labels_url":"https://api.github.com/repos/cucumber/aruba/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/aruba/issues/229/comments","events_url":"https://api.github.com/repos/cucumber/aruba/issues/229/events","html_url":"https://github.com/cucumber/aruba/pull/229","id":55266628,"number":229,"title":"Support for setting mtime when using #touch_file","user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jarl-dk","id":191521,"avatar_url":"https://avatars.githubusercontent.com/u/191521?v=3","gravatar_id":"","url":"https://api.github.com/users/jarl-dk","html_url":"https://github.com/jarl-dk","followers_url":"https://api.github.com/users/jarl-dk/followers","following_url":"https://api.github.com/users/jarl-dk/following{/other_user}","gists_url":"https://api.github.com/users/jarl-dk/gists{/gist_id}","starred_url":"https://api.github.com/users/jarl-dk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarl-dk/subscriptions","organizations_url":"https://api.github.com/users/jarl-dk/orgs","repos_url":"https://api.github.com/users/jarl-dk/repos","events_url":"https://api.github.com/users/jarl-dk/events{/privacy}","received_events_url":"https://api.github.com/users/jarl-dk/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-01-23T10:29:53Z","updated_at":"2015-04-07T06:44:44Z","closed_at":"2015-04-04T18:29:23Z","pull_request":{"url":"https://api.github.com/repos/cucumber/aruba/pulls/229","html_url":"https://github.com/cucumber/aruba/pull/229","diff_url":"https://github.com/cucumber/aruba/pull/229.diff","patch_url":"https://github.com/cucumber/aruba/pull/229.patch"},"body":"@jarl-dk \r\n\r\nWhen creating a fixture using `touch_file` it can be quite handy to set the timestamp to a fixed time. This PR makes this possible by passing through options to `FileUtils`.\r\n\r\nThis\r\n\r\n```ruby\r\ntouch_file 'file.txt', mtime: Time.parse('2014-01-01 10:00:00')\r\n```\r\n\r\nworks like that\r\n\r\n```bash\r\n#/bin/bash\r\ntouch -d '2014-01-01 10:00:00' file.txt\r\n```\r\nThis also speeds up tests, because you do not need to do something nasty like this:\r\n\r\n```ruby\r\ntouch_file 'file.1.txt'\r\nsleep 1\r\ntouch_file 'file2.txt'\r\n```"},"comment":{"url":"https://api.github.com/repos/cucumber/aruba/issues/comments/90399160","html_url":"https://github.com/cucumber/aruba/pull/229#issuecomment-90399160","issue_url":"https://api.github.com/repos/cucumber/aruba/issues/229","id":90399160,"user":{"login":"dg-ratiodata","id":1267524,"avatar_url":"https://avatars.githubusercontent.com/u/1267524?v=3","gravatar_id":"","url":"https://api.github.com/users/dg-ratiodata","html_url":"https://github.com/dg-ratiodata","followers_url":"https://api.github.com/users/dg-ratiodata/followers","following_url":"https://api.github.com/users/dg-ratiodata/following{/other_user}","gists_url":"https://api.github.com/users/dg-ratiodata/gists{/gist_id}","starred_url":"https://api.github.com/users/dg-ratiodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg-ratiodata/subscriptions","organizations_url":"https://api.github.com/users/dg-ratiodata/orgs","repos_url":"https://api.github.com/users/dg-ratiodata/repos","events_url":"https://api.github.com/users/dg-ratiodata/events{/privacy}","received_events_url":"https://api.github.com/users/dg-ratiodata/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T06:44:44Z","updated_at":"2015-04-07T06:44:44Z","body":"Thanks for merging."}}