plexus / yaks

Ruby library for building hypermedia APIs
http://rubygems.org/gems/yaks
MIT License
236 stars 26 forks source link

Make sure empty Link options share the same instance #100

Closed plexus closed 9 years ago

plexus commented 9 years ago

The main reason is that this way doing a pp on a Yaks::Resource will be more compact. Empty link option hashes will not be rendered because they will be identical to the default.

Also made sure rubocop ignores files under pkg, these are leftovers from locally building a gem.

plexus commented 9 years ago

Wow pull request #100 :)

thumbs-up-levar-burton

groyoh commented 9 years ago

Looks good to me! I'm merging it!