{"action":"created","comment":{"url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/comments/24994449","id":24994449,"diff_hunk":"@@ -137,6 +137,11 @@ def file_formats\n       @form_details.select{|fd| fd.code =~ /^E1.*/}\n     end\n \n+    def reflowable?\n+      return true if @form_details.select{|fd| fd.code == \"E200\"}.length > 0","path":"lib/onix/descriptive_detail.rb","position":5,"original_position":5,"commit_id":"0543ccd474be56eca944637718cb0eb1bab684f7","original_commit_id":"0543ccd474be56eca944637718cb0eb1bab684f7","user":{"login":"edas","id":15271,"avatar_url":"https://avatars.githubusercontent.com/u/15271?v=3","gravatar_id":"","url":"https://api.github.com/users/edas","html_url":"https://github.com/edas","followers_url":"https://api.github.com/users/edas/followers","following_url":"https://api.github.com/users/edas/following{/other_user}","gists_url":"https://api.github.com/users/edas/gists{/gist_id}","starred_url":"https://api.github.com/users/edas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edas/subscriptions","organizations_url":"https://api.github.com/users/edas/orgs","repos_url":"https://api.github.com/users/edas/repos","events_url":"https://api.github.com/users/edas/events{/privacy}","received_events_url":"https://api.github.com/users/edas/received_events","type":"User","site_admin":false},"body":"Ou que c'est un epub version 2 (toujours reflow)","created_at":"2015-02-19T15:17:00Z","updated_at":"2015-02-19T15:17:00Z","html_url":"https://github.com/TEA-ebook/im_onix/pull/4#discussion_r24994449","pull_request_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/comments/24994449"},"html":{"href":"https://github.com/TEA-ebook/im_onix/pull/4#discussion_r24994449"},"pull_request":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4","id":29618357,"html_url":"https://github.com/TEA-ebook/im_onix/pull/4","diff_url":"https://github.com/TEA-ebook/im_onix/pull/4.diff","patch_url":"https://github.com/TEA-ebook/im_onix/pull/4.patch","issue_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/4","number":4,"state":"open","locked":false,"title":"Add: reflowable?","user":{"login":"tut-tuuut","id":1035145,"avatar_url":"https://avatars.githubusercontent.com/u/1035145?v=3","gravatar_id":"","url":"https://api.github.com/users/tut-tuuut","html_url":"https://github.com/tut-tuuut","followers_url":"https://api.github.com/users/tut-tuuut/followers","following_url":"https://api.github.com/users/tut-tuuut/following{/other_user}","gists_url":"https://api.github.com/users/tut-tuuut/gists{/gist_id}","starred_url":"https://api.github.com/users/tut-tuuut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tut-tuuut/subscriptions","organizations_url":"https://api.github.com/users/tut-tuuut/orgs","repos_url":"https://api.github.com/users/tut-tuuut/repos","events_url":"https://api.github.com/users/tut-tuuut/events{/privacy}","received_events_url":"https://api.github.com/users/tut-tuuut/received_events","type":"User","site_admin":false},"body":"Un petit getter pour savoir si le caractère \"reflowable\" ou non (fixed layout) est explicité dans l'Onix.\r\n\r\nSi l'élément est absent (ni E200 ni E201 dans l'onix), la méthode retourne `nil`.\r\n\r\nPing @astranchet @edas @oservieres ","created_at":"2015-02-19T15:07:10Z","updated_at":"2015-02-19T15:17:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa5fb5b522e8dec1d44eda22bccbd135f006ff64","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4/commits","review_comments_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4/comments","review_comment_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/comments/{number}","comments_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/4/comments","statuses_url":"https://api.github.com/repos/TEA-ebook/im_onix/statuses/0543ccd474be56eca944637718cb0eb1bab684f7","head":{"label":"add-is-reflowable","ref":"add-is-reflowable","sha":"0543ccd474be56eca944637718cb0eb1bab684f7","user":{"login":"TEA-ebook","id":1889612,"avatar_url":"https://avatars.githubusercontent.com/u/1889612?v=3","gravatar_id":"","url":"https://api.github.com/users/TEA-ebook","html_url":"https://github.com/TEA-ebook","followers_url":"https://api.github.com/users/TEA-ebook/followers","following_url":"https://api.github.com/users/TEA-ebook/following{/other_user}","gists_url":"https://api.github.com/users/TEA-ebook/gists{/gist_id}","starred_url":"https://api.github.com/users/TEA-ebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEA-ebook/subscriptions","organizations_url":"https://api.github.com/users/TEA-ebook/orgs","repos_url":"https://api.github.com/users/TEA-ebook/repos","events_url":"https://api.github.com/users/TEA-ebook/events{/privacy}","received_events_url":"https://api.github.com/users/TEA-ebook/received_events","type":"Organization","site_admin":false},"repo":{"id":30973043,"name":"im_onix","full_name":"TEA-ebook/im_onix","owner":{"login":"TEA-ebook","id":1889612,"avatar_url":"https://avatars.githubusercontent.com/u/1889612?v=3","gravatar_id":"","url":"https://api.github.com/users/TEA-ebook","html_url":"https://github.com/TEA-ebook","followers_url":"https://api.github.com/users/TEA-ebook/followers","following_url":"https://api.github.com/users/TEA-ebook/following{/other_user}","gists_url":"https://api.github.com/users/TEA-ebook/gists{/gist_id}","starred_url":"https://api.github.com/users/TEA-ebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEA-ebook/subscriptions","organizations_url":"https://api.github.com/users/TEA-ebook/orgs","repos_url":"https://api.github.com/users/TEA-ebook/repos","events_url":"https://api.github.com/users/TEA-ebook/events{/privacy}","received_events_url":"https://api.github.com/users/TEA-ebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEA-ebook/im_onix","description":"ONIX 3.0 parser for Ruby","fork":true,"url":"https://api.github.com/repos/TEA-ebook/im_onix","forks_url":"https://api.github.com/repos/TEA-ebook/im_onix/forks","keys_url":"https://api.github.com/repos/TEA-ebook/im_onix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEA-ebook/im_onix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEA-ebook/im_onix/teams","hooks_url":"https://api.github.com/repos/TEA-ebook/im_onix/hooks","issue_events_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/events{/number}","events_url":"https://api.github.com/repos/TEA-ebook/im_onix/events","assignees_url":"https://api.github.com/repos/TEA-ebook/im_onix/assignees{/user}","branches_url":"https://api.github.com/repos/TEA-ebook/im_onix/branches{/branch}","tags_url":"https://api.github.com/repos/TEA-ebook/im_onix/tags","blobs_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEA-ebook/im_onix/statuses/{sha}","languages_url":"https://api.github.com/repos/TEA-ebook/im_onix/languages","stargazers_url":"https://api.github.com/repos/TEA-ebook/im_onix/stargazers","contributors_url":"https://api.github.com/repos/TEA-ebook/im_onix/contributors","subscribers_url":"https://api.github.com/repos/TEA-ebook/im_onix/subscribers","subscription_url":"https://api.github.com/repos/TEA-ebook/im_onix/subscription","commits_url":"https://api.github.com/repos/TEA-ebook/im_onix/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEA-ebook/im_onix/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/comments/{number}","contents_url":"https://api.github.com/repos/TEA-ebook/im_onix/contents/{+path}","compare_url":"https://api.github.com/repos/TEA-ebook/im_onix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEA-ebook/im_onix/merges","archive_url":"https://api.github.com/repos/TEA-ebook/im_onix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEA-ebook/im_onix/downloads","issues_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues{/number}","pulls_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls{/number}","milestones_url":"https://api.github.com/repos/TEA-ebook/im_onix/milestones{/number}","notifications_url":"https://api.github.com/repos/TEA-ebook/im_onix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEA-ebook/im_onix/labels{/name}","releases_url":"https://api.github.com/repos/TEA-ebook/im_onix/releases{/id}","created_at":"2015-02-18T16:05:08Z","updated_at":"2015-02-18T16:43:50Z","pushed_at":"2015-02-19T15:05:24Z","git_url":"git://github.com/TEA-ebook/im_onix.git","ssh_url":"git@github.com:TEA-ebook/im_onix.git","clone_url":"https://github.com/TEA-ebook/im_onix.git","svn_url":"https://github.com/TEA-ebook/im_onix","homepage":null,"size":372,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"master","ref":"master","sha":"7d021c7f6ad27221fa3d5d40bd64c0581c0a8481","user":{"login":"TEA-ebook","id":1889612,"avatar_url":"https://avatars.githubusercontent.com/u/1889612?v=3","gravatar_id":"","url":"https://api.github.com/users/TEA-ebook","html_url":"https://github.com/TEA-ebook","followers_url":"https://api.github.com/users/TEA-ebook/followers","following_url":"https://api.github.com/users/TEA-ebook/following{/other_user}","gists_url":"https://api.github.com/users/TEA-ebook/gists{/gist_id}","starred_url":"https://api.github.com/users/TEA-ebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEA-ebook/subscriptions","organizations_url":"https://api.github.com/users/TEA-ebook/orgs","repos_url":"https://api.github.com/users/TEA-ebook/repos","events_url":"https://api.github.com/users/TEA-ebook/events{/privacy}","received_events_url":"https://api.github.com/users/TEA-ebook/received_events","type":"Organization","site_admin":false},"repo":{"id":30973043,"name":"im_onix","full_name":"TEA-ebook/im_onix","owner":{"login":"TEA-ebook","id":1889612,"avatar_url":"https://avatars.githubusercontent.com/u/1889612?v=3","gravatar_id":"","url":"https://api.github.com/users/TEA-ebook","html_url":"https://github.com/TEA-ebook","followers_url":"https://api.github.com/users/TEA-ebook/followers","following_url":"https://api.github.com/users/TEA-ebook/following{/other_user}","gists_url":"https://api.github.com/users/TEA-ebook/gists{/gist_id}","starred_url":"https://api.github.com/users/TEA-ebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TEA-ebook/subscriptions","organizations_url":"https://api.github.com/users/TEA-ebook/orgs","repos_url":"https://api.github.com/users/TEA-ebook/repos","events_url":"https://api.github.com/users/TEA-ebook/events{/privacy}","received_events_url":"https://api.github.com/users/TEA-ebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TEA-ebook/im_onix","description":"ONIX 3.0 parser for Ruby","fork":true,"url":"https://api.github.com/repos/TEA-ebook/im_onix","forks_url":"https://api.github.com/repos/TEA-ebook/im_onix/forks","keys_url":"https://api.github.com/repos/TEA-ebook/im_onix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TEA-ebook/im_onix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TEA-ebook/im_onix/teams","hooks_url":"https://api.github.com/repos/TEA-ebook/im_onix/hooks","issue_events_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/events{/number}","events_url":"https://api.github.com/repos/TEA-ebook/im_onix/events","assignees_url":"https://api.github.com/repos/TEA-ebook/im_onix/assignees{/user}","branches_url":"https://api.github.com/repos/TEA-ebook/im_onix/branches{/branch}","tags_url":"https://api.github.com/repos/TEA-ebook/im_onix/tags","blobs_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/refs{/sha}","trees_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TEA-ebook/im_onix/statuses/{sha}","languages_url":"https://api.github.com/repos/TEA-ebook/im_onix/languages","stargazers_url":"https://api.github.com/repos/TEA-ebook/im_onix/stargazers","contributors_url":"https://api.github.com/repos/TEA-ebook/im_onix/contributors","subscribers_url":"https://api.github.com/repos/TEA-ebook/im_onix/subscribers","subscription_url":"https://api.github.com/repos/TEA-ebook/im_onix/subscription","commits_url":"https://api.github.com/repos/TEA-ebook/im_onix/commits{/sha}","git_commits_url":"https://api.github.com/repos/TEA-ebook/im_onix/git/commits{/sha}","comments_url":"https://api.github.com/repos/TEA-ebook/im_onix/comments{/number}","issue_comment_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues/comments/{number}","contents_url":"https://api.github.com/repos/TEA-ebook/im_onix/contents/{+path}","compare_url":"https://api.github.com/repos/TEA-ebook/im_onix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TEA-ebook/im_onix/merges","archive_url":"https://api.github.com/repos/TEA-ebook/im_onix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TEA-ebook/im_onix/downloads","issues_url":"https://api.github.com/repos/TEA-ebook/im_onix/issues{/number}","pulls_url":"https://api.github.com/repos/TEA-ebook/im_onix/pulls{/number}","milestones_url":"https://api.github.com/repos/TEA-ebook/im_onix/milestones{/number}","notifications_url":"https://api.github.com/repos/TEA-ebook/im_onix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TEA-ebook/im_onix/labels{/name}","releases_url":"https://api.github.com/repos/TEA-ebook/im_onix/releases{/id}","created_at":"2015-02-18T16:05:08Z","updated_at":"2015-02-18T16:43:50Z","pushed_at":"2015-02-19T15:05:24Z","git_url":"git://github.com/TEA-ebook/im_onix.git","ssh_url":"git@github.com:TEA-ebook/im_onix.git","clone_url":"https://github.com/TEA-ebook/im_onix.git","svn_url":"https://github.com/TEA-ebook/im_onix","homepage":null,"size":372,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4"},"html":{"href":"https://github.com/TEA-ebook/im_onix/pull/4"},"issue":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/issues/4"},"comments":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/TEA-ebook/im_onix/statuses/0543ccd474be56eca944637718cb0eb1bab684f7"}}}}