{"action":"created","issue":{"url":"https://api.github.com/repos/intridea/grape/issues/885","labels_url":"https://api.github.com/repos/intridea/grape/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/intridea/grape/issues/885/comments","events_url":"https://api.github.com/repos/intridea/grape/issues/885/events","html_url":"https://github.com/intridea/grape/pull/885","id":53706061,"number":885,"title":"Allows values to be a kind of the coerced type in range","user":{"login":"u2","id":161756,"avatar_url":"https://avatars.githubusercontent.com/u/161756?v=3","gravatar_id":"","url":"https://api.github.com/users/u2","html_url":"https://github.com/u2","followers_url":"https://api.github.com/users/u2/followers","following_url":"https://api.github.com/users/u2/following{/other_user}","gists_url":"https://api.github.com/users/u2/gists{/gist_id}","starred_url":"https://api.github.com/users/u2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2/subscriptions","organizations_url":"https://api.github.com/users/u2/orgs","repos_url":"https://api.github.com/users/u2/repos","events_url":"https://api.github.com/users/u2/events{/privacy}","received_events_url":"https://api.github.com/users/u2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T01:56:46Z","updated_at":"2015-01-08T14:22:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/intridea/grape/pulls/885","html_url":"https://github.com/intridea/grape/pull/885","diff_url":"https://github.com/intridea/grape/pull/885.diff","patch_url":"https://github.com/intridea/grape/pull/885.patch"},"body":"My code like this ```requires :month, type: Integer, values: 1..12``, the Range values coercion is workable.Before it workable, now it failed.\r\n\r\nhttps://github.com/u2/grape/commit/0df3bda5d288d03d1647170ab2cbcb645001a324#diff-45b62b4ed0aed7ceff346c347f76570e\r\n\r\nAfter ```!(@values.is_a?(Proc) ? @values.call : @values).include?(params[attr_name])``` chang to ```(param_array - values).empty?```, the Range values coercion raise a error ```no implicit conversion of Range into Array```\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/intridea/grape/issues/comments/69184850","html_url":"https://github.com/intridea/grape/pull/885#issuecomment-69184850","issue_url":"https://api.github.com/repos/intridea/grape/issues/885","id":69184850,"user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T14:22:36Z","updated_at":"2015-01-08T14:22:36Z","body":"This is https://github.com/intridea/grape/issues/881."}}