rmate 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.mdown +10 -0
  2. data/bin/rmate +1 -1
  3. data/lib/rmate/version.rb +2 -2
  4. metadata +3 -3
@@ -4,6 +4,16 @@ If you wish to activate TextMate from an ssh session you can do so by copying th
4
4
 
5
5
  ssh -R 52698:127.0.0.1:52698 user@example.org
6
6
 
7
+ # Install
8
+
9
+ You can install `rmate` via `gem`:
10
+
11
+ gem install rmate
12
+
13
+ Updating to latest version can be done using:
14
+
15
+ gem update rmate
16
+
7
17
  # Usage
8
18
 
9
19
  rmate [options] file
data/bin/rmate CHANGED
@@ -101,7 +101,7 @@ end
101
101
 
102
102
  def handle_save(socket, variables, data)
103
103
  path = variables["token"]
104
- if File.writable? path
104
+ if File.writable?(path) || !File.exists?(path)
105
105
  $stderr.puts "Saving #{path}" if $settings.verbose
106
106
  begin
107
107
  backup_path = "#{path}~"
@@ -1,4 +1,4 @@
1
1
  module Rmate
2
- VERSION = "1.5.4"
3
- DATE = "2013-03-16"
2
+ VERSION = "1.5.5"
3
+ DATE = "2013-03-17"
4
4
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 4
9
- version: 1.5.4
8
+ - 5
9
+ version: 1.5.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alex Ross
@@ -24,7 +24,7 @@ autorequire:
24
24
  bindir: bin
25
25
  cert_chain: []
26
26
 
27
- date: 2013-03-16 00:00:00 +01:00
27
+ date: 2013-03-17 00:00:00 +01:00
28
28
  default_executable:
29
29
  dependencies: []
30
30