rmate 1.5.8 → 1.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.mdown +2 -1
  3. data/bin/rmate +4 -4
  4. data/lib/rmate.rb +4 -4
  5. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df13b1ad905e18aecc8727b1f12d7f3ad3efc0c8
4
- data.tar.gz: 7011a8c285b498fb9caacd053b5641e203f8201d
3
+ metadata.gz: eae456ce9f9d4263e7c93a9233c8144738095cb8
4
+ data.tar.gz: 160407f2d8e0489c0135b25d227f221429b81cfb
5
5
  SHA512:
6
- metadata.gz: 74a1b17c25063cad0bda780f83954e9f8af439a29d110b00d68ff1335c63a40c8f90b8290eb2b3628800a8376d440edf20dc1f05aba368c84854f8c4b816b455
7
- data.tar.gz: b5fa8782db9ed962040cf3f0512fe15f6ca3bde3c6b62e91cb5d8abf08c5d1fc0bbeddee0e6206514ee838a0784dbcf1a08bea799eb96f41db9ae60dd73026fa
6
+ metadata.gz: 4d5c077de17a8078fb0d096a54cecf6c7a003f60f3000efc2a75b48d1f6b261ddf636f97f372b6f25f68f0f2b864593d7864ab3cec71ee3995ba63f362a553de
7
+ data.tar.gz: 091f156eecaf74216a42582495c0be3541c4056b4d0d8a8df6be6b0456c4b5433efbc596b07ebbf4cf155afcb72d0b7a87560dfdb2e36dd89836ab9caf8cbc5d
@@ -24,7 +24,7 @@ Updating to latest version can be done using:
24
24
 
25
25
  Installing into `~/bin` can be done using these two lines:
26
26
 
27
- curl -Lo ~/bin/rmate https://raw.github.com/textmate/rmate/master/bin/rmate
27
+ curl -Lo ~/bin/rmate https://raw.githubusercontent.com/textmate/rmate/master/bin/rmate
28
28
  chmod a+x ~/bin/rmate
29
29
 
30
30
  If `~/bin` is not already in your `PATH` then you may want to add something like this to your shell startup file (e.g. `~/.profile`):
@@ -49,3 +49,4 @@ For more info see this [blog post about rmate](http://blog.macromates.com/2011/m
49
49
 
50
50
  - [Bash](https://github.com/aurora/rmate) by Harald Lapp
51
51
  - [Python](https://github.com/sclukey/rmate-python) by Steven Clukey
52
+ - [Perl](https://github.com/davidolrik/rmate-perl) by David Jack Wange Olrik
data/bin/rmate CHANGED
@@ -11,8 +11,8 @@ require 'yaml'
11
11
  require 'fileutils'
12
12
 
13
13
  module Rmate
14
- DATE = "2015-06-23"
15
- VERSION = "1.5.8"
14
+ DATE = "2017-02-10"
15
+ VERSION = "1.5.9"
16
16
  VERSION_STRING = "rmate version #{Rmate::VERSION} (#{Rmate::DATE})"
17
17
 
18
18
  class Settings
@@ -40,7 +40,7 @@ module Rmate
40
40
  end
41
41
 
42
42
  def read_disk_settings
43
- [ "/etc/rmate.rc", "~/.rmate.rc"].each do |current_file|
43
+ [ "/etc/rmate.rc", "/usr/local/etc/rmate.rc", "~/.rmate.rc"].each do |current_file|
44
44
  file = File.expand_path current_file
45
45
  if File.exist? file
46
46
  params = YAML::load(File.open(file))
@@ -93,7 +93,7 @@ module Rmate
93
93
 
94
94
  def read_stdin
95
95
  @data = $stdin.read
96
- @size = @data.size
96
+ @size = @data.bytesize
97
97
  end
98
98
 
99
99
  def send(socket)
@@ -11,8 +11,8 @@ require 'yaml'
11
11
  require 'fileutils'
12
12
 
13
13
  module Rmate
14
- DATE = "2015-06-23"
15
- VERSION = "1.5.8"
14
+ DATE = "2017-02-10"
15
+ VERSION = "1.5.9"
16
16
  VERSION_STRING = "rmate version #{Rmate::VERSION} (#{Rmate::DATE})"
17
17
 
18
18
  class Settings
@@ -40,7 +40,7 @@ module Rmate
40
40
  end
41
41
 
42
42
  def read_disk_settings
43
- [ "/etc/rmate.rc", "~/.rmate.rc"].each do |current_file|
43
+ [ "/etc/rmate.rc", "/usr/local/etc/rmate.rc", "~/.rmate.rc"].each do |current_file|
44
44
  file = File.expand_path current_file
45
45
  if File.exist? file
46
46
  params = YAML::load(File.open(file))
@@ -93,7 +93,7 @@ module Rmate
93
93
 
94
94
  def read_stdin
95
95
  @data = $stdin.read
96
- @size = @data.size
96
+ @size = @data.bytesize
97
97
  end
98
98
 
99
99
  def send(socket)
metadata CHANGED
@@ -1,17 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allan Odgaard
8
8
  - Alex Ross
9
9
  - Ciarán Walsh
10
10
  - James Edward Gray II
11
+ - Claudia
11
12
  - Curt Sellmer
12
13
  - OZAWA Sakuro
13
14
  - Adam Strzelecki
14
15
  - Benjamin Piwowarski
16
+ - Dave Arter
15
17
  - John St. John
16
18
  - Nicolas Ledez
17
19
  - Richard Myers
@@ -21,7 +23,7 @@ authors:
21
23
  autorequire:
22
24
  bindir: bin
23
25
  cert_chain: []
24
- date: 2015-06-23 00:00:00.000000000 Z
26
+ date: 2017-02-10 00:00:00.000000000 Z
25
27
  dependencies: []
26
28
  description: Remote TextMate
27
29
  email:
@@ -57,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
59
  version: '0'
58
60
  requirements: []
59
61
  rubyforge_project:
60
- rubygems_version: 2.0.14
62
+ rubygems_version: 2.0.14.1
61
63
  signing_key:
62
64
  specification_version: 4
63
65
  summary: Edit files from anywhere in TextMate 2 on your local Mac.