Jared Wyatt

Results 5 issues of Jared Wyatt

If I'm using grape-entity in Rails, and I do something like this: ``` ruby module Entities class User < Grape::Entity root :users, :user expose :id expose :name end end ```...

bug?

Consider the following: ``` ruby with_options if: { kind: :short } do expose :name do |obj, opts| "#{obj.first_name[0]}. #{obj.last_name}" end end with_options if: { kind: :full } do expose :name...

question
feature

This update allows you to define constraints for discrete method and path combinations. See the updated README for more details: https://github.com/Matchbook/rack-ssl-enforcer#method--path-combination-constraints

I noticed a bug. The `wrap` method was being sent `:success`, `:pending`, and `:failure` keys. Since those keys don't exist in the `VT100_CODES` hash, all the scoreboard values were displaying...

prevents coercing array values into arrays themselves see PR https://github.com/mongoid/origin/pull/66#issuecomment-19488081