set type for embedded document when it is provided
adding gemfile.lock to staging
resolving minor mistake
Merge pull request #1 from geeky-sh/master

Adding nested type feature