Added a test for translations after optional segments
Fixed translations after optional_params

https://github.com/enriclluelles/route_translator/issues/32
Ignoring .idea files and .ruby-* files.
Added tools for building gem easy: rake build
Option to hide locale from routes.
translation_file option removal from config

As the translation_file option is no longer being used it should be
removed from the Struct under route_translator.rb to minimize confusion.
Add rules and comments to .gitignore

* Defaults setted by the 'bundle gem' command
* Ignore environement swith files for Ruby version managers
* Ignore editors meta-data (RubyMine, Eclipse, SublimeText, TextMate)
* Ignore OS temporary files (Mac OS X, Windows, Linux)
* Ignore temporary or unwanted files
Do not insert locale params if already present in path

Add some logic in RouteTranslator::Translator.translate_path to detect if the locale param is present
in path. If not, locale is inserted at the beginning of the path as before.

This change let developper controls where he want the local param to appear and allow use of more
complex routing as `/:country/:locale/path/to/some/pages`.
Add dummy app's logs to .gitignore
Merge pull request #33 from NielsKSchjoedt/master

Fixed translations after optional params

---
Merge branch 'master' of github.com:NielsKSchjoedt/route_translator into NielsKSchjoedt-master
Conflicts:
	lib/route_translator/translator.rb
Fix optional segment translation and wildcard handling

Optional segments:
Fix a regression introduced in the RouteTranslator::Translator.translate_path method at commit 4d2e081.
Optionnal segments inside a path were not correctly reformatted in translated path.

Wildcard:
Fix a regression introduced in the previous merge.
Merge pull request #38 from mruokojo/master
New option to hide locale from routes.

---
Merge branch 'master' of github.com:mruokojo/route_translator into mruokojo-master
Conflicts:
	.gitignore
	lib/route_translator/translator.rb
Add tests for the new hide_locale option
Merge pull request #41 from bjoska/master
translation_file option removal from config

---
Merge branch 'master' of github.com:bjoska/route_translator into bjoska-master
Conflicts:
	lib/route_translator.rb
Remove tests and tests helpers for translation_file