Bring sublime to front when a file is opened
Updated repo references
Correct path to ruby rmate repository

TextMate went open source, and as a result, its repositories
have moved.
Merge pull request #9 from jeffbyrnes/master

Correct path to ruby version of rmate
Fix for non-OSX systems: Only import ScriptingBridge if necessary
Merge pull request #10 from nathforge/master

Fix non-OSX systems
Create a secure temporary directory for each file.

Rather than using a predictable filename in /tmp, use os.mkdtemp() to create a
secure temporary directory with a random name and create the file inside it.
This fixes a security issue: if another user on the system created a symlink
with a name likely to be used by rsub, it can allow files to be overwritten.

This also has several other advantages: the permissions on the directory prevent
other users on the system from reading the temporary file being edited, and
because a new directory is used for each file, it's now possible to edit
multiple files with the same name from the same client without them overwriting
each other.
Preserve the exact file size given by the client.

Rather than using strip() which deletes all trailing newlines in the file,
just truncate the received buffer to exactly the number of bytes specified by
the client, ensuring that files which originally did not end with a newline
continue not to have a newline, but files which ended with one or more still
have the same number. This fixes issue #11.
Use unload_handler to stop the server.

Instead of checking for rsub.py being written to in on_pre_save, use
unload_handler() to stop the server. This is called by Sublime before
the module is unloaded/reloaded.
Merge pull request #14 from tornewuff/trailing_newlines

Preserve the exact file size given by the client.
Merge pull request #15 from tornewuff/temp_dir

Create a secure temporary directory for each file.
Merge pull request #16 from tornewuff/unload_handler

Use unload_handler to stop the server.
sublime text 3 compatiblity
open new window if needed
Merge pull request #21 from bastianhoyer/Sublime3

sublime text 3 compatiblity
Merge pull request #20 from bastianhoyer/NewWindow

open new window if needed
Merge remote-tracking branch 'upstream/master' into develop