ssh-bookmarks 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/bin/ssh-bookmarks +3 -3
- data/config/spring.rb +0 -0
- data/lib/ssh-bookmarks/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4736d62216080452a0274bf8f2ec7a98e0314c9b
|
|
4
|
+
data.tar.gz: b6877f8e213b81e3e3eaa8985c6a918a6e428b36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5aafbe2827263b199117ee256c0872d6f9911f8c47e97aaa3e4551c378af6bebef4b0f9fb79df519fda5de5440b81fcbb84b5d9369c36fab99227a3b8eeca6aa
|
|
7
|
+
data.tar.gz: 2b91f4dcbf6147e0a630dd55fce252acc38b44faf5a856eed6f22a3ea191817235485aeb4f7cbe01ce63b4ee989a826f2ea0502e80d02240e1a4eb681b252d27
|
data/bin/ssh-bookmarks
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
class Application
|
|
6
6
|
require 'highline/import'
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# core methods
|
|
9
9
|
class Foundation
|
|
10
10
|
# SSH methods
|
|
11
11
|
module SSH
|
|
@@ -19,7 +19,7 @@ class Application
|
|
|
19
19
|
PATH = "#{ENV['HOME']}/.ssh/config"
|
|
20
20
|
OPTIONS = %w(hidden)
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# parse configuration file
|
|
23
23
|
def initialize
|
|
24
24
|
# load ssh config
|
|
25
25
|
new = File.readlines(PATH).map(&:split)
|
|
@@ -45,7 +45,7 @@ class Application
|
|
|
45
45
|
def options(raw, index)
|
|
46
46
|
@prev_index = 0 unless defined? @prev_index
|
|
47
47
|
options = {}
|
|
48
|
-
index
|
|
48
|
+
index += 1 if index > 0
|
|
49
49
|
# catch options between range
|
|
50
50
|
raw[@prev_index..index].each do |opt|
|
|
51
51
|
if comment?(opt) && option?(opt)
|
data/config/spring.rb
ADDED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ssh-bookmarks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrey Antipov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: highline
|
|
@@ -292,6 +292,7 @@ files:
|
|
|
292
292
|
- README.md
|
|
293
293
|
- Rakefile
|
|
294
294
|
- bin/ssh-bookmarks
|
|
295
|
+
- config/spring.rb
|
|
295
296
|
- lib/ssh-bookmarks.rb
|
|
296
297
|
- lib/ssh-bookmarks/version.rb
|
|
297
298
|
- ssh-bookmarks.gemspec
|