{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/2116","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2116/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2116/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2116/events","html_url":"https://github.com/bbatsov/rubocop/issues/2116","id":99518903,"number":2116,"title":"More bugs in FormatParameterMismatch cop","user":{"login":"bquorning","id":22333,"avatar_url":"https://avatars.githubusercontent.com/u/22333?v=3","gravatar_id":"","url":"https://api.github.com/users/bquorning","html_url":"https://github.com/bquorning","followers_url":"https://api.github.com/users/bquorning/followers","following_url":"https://api.github.com/users/bquorning/following{/other_user}","gists_url":"https://api.github.com/users/bquorning/gists{/gist_id}","starred_url":"https://api.github.com/users/bquorning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bquorning/subscriptions","organizations_url":"https://api.github.com/users/bquorning/orgs","repos_url":"https://api.github.com/users/bquorning/repos","events_url":"https://api.github.com/users/bquorning/events{/privacy}","received_events_url":"https://api.github.com/users/bquorning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bbatsov/rubocop/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-06T20:32:44Z","updated_at":"2015-08-10T17:00:56Z","closed_at":null,"body":"@edmz \r\n\r\nIt looks like #2112 fixes the bug I reported in #2110, so now I noticed another two bugs:\r\n\r\n```rb\r\n# encoding: utf-8\r\nputs 'foo %{bar} baz' % { bar: 42 }\r\nputs 'duration: %10.fms' % 42\r\n```\r\n\r\n```\r\nOffenses:\r\n\r\ntest.rb:2:23: W: Number arguments (1) to String#% mismatches expected fields (0).\r\nputs 'foo %{bar} baz' % { bar: 42 }\r\n                      ^\r\ntest.rb:3:26: W: Number arguments (1) to String#% mismatches expected fields (0).\r\nputs 'duration: %10.fms' % 42\r\n                         ^\r\n\r\n1 file inspected, 2 offenses detected\r\n```\r\n\r\nThis is on the latest master, including https://github.com/bbatsov/rubocop/pull/2112.patch. I’m sorry I didn’t notice these bugs previously."},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/129526843","html_url":"https://github.com/bbatsov/rubocop/issues/2116#issuecomment-129526843","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2116","id":129526843,"user":{"login":"edmz","id":18996,"avatar_url":"https://avatars.githubusercontent.com/u/18996?v=3","gravatar_id":"","url":"https://api.github.com/users/edmz","html_url":"https://github.com/edmz","followers_url":"https://api.github.com/users/edmz/followers","following_url":"https://api.github.com/users/edmz/following{/other_user}","gists_url":"https://api.github.com/users/edmz/gists{/gist_id}","starred_url":"https://api.github.com/users/edmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmz/subscriptions","organizations_url":"https://api.github.com/users/edmz/orgs","repos_url":"https://api.github.com/users/edmz/repos","events_url":"https://api.github.com/users/edmz/events{/privacy}","received_events_url":"https://api.github.com/users/edmz/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T17:00:56Z","updated_at":"2015-08-10T17:00:56Z","body":"I think I have fixes for all reported issues.\n\nHow urgent are these? I would like to test a bit  more if possible.\n\nOn Mon, Aug 10, 2015 at 10:14 AM Bozhidar Batsov <notifications@github.com>\nwrote:\n\n> The first case can be handled, although I'm guessing it will require a lot\n> of work. The second should simply be ignored.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bbatsov/rubocop/issues/2116#issuecomment-129487992>.\n>\n"}}