{"number":49,"pull_request":{"number":49,"issue_url":"https://github.com/jcasimir/draper/issues/49","head":{"label":"bdotdub:master","repo":{"master_branch":null,"name":"draper","created_at":"2011-10-15T21:48:24Z","size":116,"clone_url":"https://github.com/bdotdub/draper.git","private":false,"updated_at":"2011-10-16T15:17:44Z","watchers":1,"ssh_url":"git@github.com:bdotdub/draper.git","url":"https://api.github.com/repos/bdotdub/draper","git_url":"git://github.com/bdotdub/draper.git","language":"Ruby","fork":true,"svn_url":"https://svn.github.com/bdotdub/draper","id":2583736,"pushed_at":"2011-10-16T15:17:41Z","open_issues":0,"homepage":"","description":"Decorators/View-Models for Rails Applications","forks":0,"html_url":"https://github.com/bdotdub/draper","owner":{"gravatar_id":"4fee6d81683374d83ad0ca18292cba32","avatar_url":"https://secure.gravatar.com/avatar/4fee6d81683374d83ad0ca18292cba32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bdotdub","id":5719,"login":"bdotdub"}},"sha":"df678e216f9bb63565f2fc0f6921e219cf0004c3","ref":"master","user":{"gravatar_id":"4fee6d81683374d83ad0ca18292cba32","avatar_url":"https://secure.gravatar.com/avatar/4fee6d81683374d83ad0ca18292cba32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bdotdub","id":5719,"login":"bdotdub"}},"merged_by":null,"created_at":"2011-10-16T15:26:01Z","changed_files":6,"merged":false,"body":"This pull request includes a generator for decorator specs. When `rails g draper:decorator User` is called, it'll generate `spec/decorators/user_decorator_spec.rb`\r\n\r\nLike other Rails generators, this file would only be loaded when the generators are called.\r\n\r\nAlso included in the pull request is fixing what specs to run when a file under `lib/` is modified. It used to try to run `spec/lib/{path}`, instead of `spec/{path}`","comments":0,"title":"Adding RSpec generator","additions":59,"diff_url":"https://github.com/jcasimir/draper/pull/49.diff","updated_at":"2011-10-16T15:26:01Z","url":"https://api.github.com/repos/jcasimir/draper/pulls/49","id":406431,"patch_url":"https://github.com/jcasimir/draper/pull/49.patch","mergeable":null,"merged_at":null,"commits":2,"closed_at":null,"user":{"gravatar_id":"4fee6d81683374d83ad0ca18292cba32","avatar_url":"https://secure.gravatar.com/avatar/4fee6d81683374d83ad0ca18292cba32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bdotdub","id":5719,"login":"bdotdub"},"deletions":2,"html_url":"https://github.com/jcasimir/draper/pull/49","base":{"label":"jcasimir:master","repo":{"master_branch":null,"name":"draper","created_at":"2011-06-30T22:03:24Z","size":408,"clone_url":"https://github.com/jcasimir/draper.git","private":false,"updated_at":"2011-10-16T15:26:01Z","watchers":531,"ssh_url":"git@github.com:jcasimir/draper.git","url":"https://api.github.com/repos/jcasimir/draper","git_url":"git://github.com/jcasimir/draper.git","language":"Ruby","fork":false,"svn_url":"https://svn.github.com/jcasimir/draper","id":1980539,"pushed_at":"2011-10-16T15:26:01Z","open_issues":17,"homepage":"","description":"Decorators/View-Models for Rails Applications","forks":36,"html_url":"https://github.com/jcasimir/draper","owner":{"gravatar_id":"039547def8be2e50f7dc4a1beb9fecaa","avatar_url":"https://secure.gravatar.com/avatar/039547def8be2e50f7dc4a1beb9fecaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jcasimir","id":43102,"login":"jcasimir"}},"sha":"f55962ddcb0f94ba5063daf1731485b8cca0d583","ref":"master","user":{"gravatar_id":"039547def8be2e50f7dc4a1beb9fecaa","avatar_url":"https://secure.gravatar.com/avatar/039547def8be2e50f7dc4a1beb9fecaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jcasimir","id":43102,"login":"jcasimir"}},"state":"open"},"action":"opened"}