Merge branch 'examples' into implement-pagination-examples

* examples:
  Inherit post and comment serializers from application serializer
  Use rails_helper instead of spec_helper for posts and comments acceptances
  Use V1 instead of Api::V1
  Update rspec doc api for versioning
  Use v1 prefix in the url for api versioning
  Generate rspec api docs
  Use post and comment root elements on specs
  Separate posts and comments seeds
  Fix rubocop warnings
  Add posts and comments to seeds
  Add posts and comments to examples branch after merge with master
Use collection serializer instead default array serializer
Add specs to check meta info on response
Generate api rspec docs
Use be_a_json_with_pagination_represenation_of on post spec
Generate rspec api docs
Fix typo on comment spec
Merge branch 'implement-pagination' into implement-pagination-examples

* implement-pagination:
  Remove condition from CollectionSerializer
Merge branch 'examples' into implement-pagination-examples

* examples:
  Delete .json suffix

Conflicts:
	doc/api/v1/comments/create_comment.json
	doc/api/v1/comments/list_of_comments_with_default_meta.json
	doc/api/v1/index.json
	spec/acceptance/v1/posts_spec.rb
Merge branch 'implement-pagination' into implement-pagination-examples

* implement-pagination:
  Use allow syntax instead stub
  Add be_a_meta_representation matcher
  Add collection serializer spec
Merge branch 'implement-pagination' into implement-pagination-examples

* implement-pagination:
  Remove useless serializers description from README.md
  Add Serializers part to README.md
  Update README.md
  Fix redundant curly braces around a hash parameter
  Check hash with meta on collection serializer instead of using custom matchers
  Filter gems in Gemfile by groups
  Use simple array on collection serializer instead users
  Add name for subject in sessions spec
  Disable ruby lever warning for bin/rspec command
  - Bump apitome - Add apitome javascript and styles
Merge branch 'implement-pagination' into implement-pagination-examples

* implement-pagination:
  Use ``` for code formating
  Refactor collection_serializer
  upgrade rails to 4.1.5
  Remove db:test:prepare from bin/bootstrap script
  Correctly pass arguments for rack cors origings
  - Move cors config to rack cors initializer - Allow to set list of allowed hosts for request
  Allow only whitelist domains for cors
  Add CORS support
Update API docs
Implement be_a_meta_representation_of matcher
Refactor posts_spec
Remove unused let from posts_spec
Refactor comments_spec
Update API docs
Update stub syntax on posts and comments controllers
Merge branch 'master' into implement-pagination-examples

* master:
  Rename CollectionSerializer to PaginatedArraySerializer
  Add be_a_meta_represantation matcher
  Git pull
  Remove controller specs

Conflicts:
	spec/controllers/v1/sessions_controller_spec.rb