{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-ruby/issues/7","labels_url":"https://api.github.com/repos/atom/language-ruby/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-ruby/issues/7/comments","events_url":"https://api.github.com/repos/atom/language-ruby/issues/7/events","html_url":"https://github.com/atom/language-ruby/issues/7","id":28502374,"number":7,"title":"auto indent not working as expected","user":{"login":"senny","id":5402,"avatar_url":"https://avatars.githubusercontent.com/u/5402?v=3","gravatar_id":"","url":"https://api.github.com/users/senny","html_url":"https://github.com/senny","followers_url":"https://api.github.com/users/senny/followers","following_url":"https://api.github.com/users/senny/following{/other_user}","gists_url":"https://api.github.com/users/senny/gists{/gist_id}","starred_url":"https://api.github.com/users/senny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senny/subscriptions","organizations_url":"https://api.github.com/users/senny/orgs","repos_url":"https://api.github.com/users/senny/repos","events_url":"https://api.github.com/users/senny/events{/privacy}","received_events_url":"https://api.github.com/users/senny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/language-ruby/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-02-28T14:01:05Z","updated_at":"2015-05-04T14:46:59Z","closed_at":null,"body":"I ran into a situation where `Auto Indent` results in a wrong indent. I could reduce the example code to the following:\r\n\r\n```ruby\r\nclass Example\r\n  private\r\n  \r\n  def attribute_and_value(attribute, value)\r\n    \"%s: %s\" % [human_attribute_name(attribute),\r\n      value]\r\n  end\r\nend\r\n```\r\n\r\nAfter calling `Auto Indent` it will look like this:\r\n\r\n```ruby\r\nclass Example\r\n  private\r\n  \r\n  def attribute_and_value(attribute, value)\r\n    \"%s: %s\" % [human_attribute_name(attribute),\r\n      value]\r\n    end\r\n  end\r\n```"},"comment":{"url":"https://api.github.com/repos/atom/language-ruby/issues/comments/98737061","html_url":"https://github.com/atom/language-ruby/issues/7#issuecomment-98737061","issue_url":"https://api.github.com/repos/atom/language-ruby/issues/7","id":98737061,"user":{"login":"paulcsmith","id":22394,"avatar_url":"https://avatars.githubusercontent.com/u/22394?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcsmith","html_url":"https://github.com/paulcsmith","followers_url":"https://api.github.com/users/paulcsmith/followers","following_url":"https://api.github.com/users/paulcsmith/following{/other_user}","gists_url":"https://api.github.com/users/paulcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcsmith/subscriptions","organizations_url":"https://api.github.com/users/paulcsmith/orgs","repos_url":"https://api.github.com/users/paulcsmith/repos","events_url":"https://api.github.com/users/paulcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/paulcsmith/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T14:46:59Z","updated_at":"2015-05-04T14:46:59Z","body":"This still seems to be an issue :+1: "}}