ssh-bookmarks 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2990e3790d81b0ab359301bb719a25d15d81b5da
4
- data.tar.gz: 736793cae10b17700fa601ab5da2889df4c71fb9
3
+ metadata.gz: 4736d62216080452a0274bf8f2ec7a98e0314c9b
4
+ data.tar.gz: b6877f8e213b81e3e3eaa8985c6a918a6e428b36
5
5
  SHA512:
6
- metadata.gz: 219dee7f9d8842f1b19d07485da94dd4159cb976065bbe74617ec392f12f1ef088250b83256240565052089a5ec934bfcca2c437bff93ce8cce585698626d0a6
7
- data.tar.gz: 2e2ebdc7336827aa8f66ff874a934d857b085288cab2a518703e2a9b4c36965f78fc7a14070d24a9cc4596546f5bc7fd15c49ed1cb37e340d96916626176d237
6
+ metadata.gz: 5aafbe2827263b199117ee256c0872d6f9911f8c47e97aaa3e4551c378af6bebef4b0f9fb79df519fda5de5440b81fcbb84b5d9369c36fab99227a3b8eeca6aa
7
+ data.tar.gz: 2b91f4dcbf6147e0a630dd55fce252acc38b44faf5a856eed6f22a3ea191817235485aeb4f7cbe01ce63b4ee989a826f2ea0502e80d02240e1a4eb681b252d27
@@ -5,7 +5,7 @@
5
5
  class Application
6
6
  require 'highline/import'
7
7
 
8
- # Core methods
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
- # prepare config
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 = index-1
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)
File without changes
@@ -1,3 +1,3 @@
1
1
  module SshBookmarks
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-09-29 00:00:00.000000000 Z
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