rmate 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.mdown +10 -0
- data/bin/rmate +1 -1
- data/lib/rmate/version.rb +2 -2
- metadata +3 -3
data/README.mdown
CHANGED
@@ -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}~"
|
data/lib/rmate/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 1.5.
|
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-
|
27
|
+
date: 2013-03-17 00:00:00 +01:00
|
28
28
|
default_executable:
|
29
29
|
dependencies: []
|
30
30
|
|