ssh-bookmarks 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +4 -2
- data/.yardopts +1 -0
- data/Guardfile +17 -23
- data/README.md +16 -3
- data/Rakefile +10 -1
- data/bin/ssh-bookmarks +10 -77
- data/{test/.keep → config/application.rb} +0 -0
- data/lib/ssh/bookmarks.rb +89 -0
- data/lib/ssh/bookmarks/version.rb +5 -0
- data/ssh-bookmarks.gemspec +31 -27
- data/test/features/{.keep → config.feature} +0 -0
- data/test/spec/spec_helper.rb +11 -0
- data/test/spec/ssh/bookmarks_spec.rb +8 -0
- metadata +88 -32
- data/lib/ssh-bookmarks.rb +0 -5
- data/lib/ssh-bookmarks/version.rb +0 -3
- data/test/rspec/.keep +0 -0
- data/test/test_ssh-bookmarks.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2b6347767933e2244838045d66836f2b9bd3c1a
|
4
|
+
data.tar.gz: 461ea2d7afa7ab57e96a57e694770d8a2be53081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26ff52abd3f1eddbd17f5d660c7268d90fd86fb70481d3d9b2e22c7ee3cc7c58a6b2b57812b36ff742ec840112c73031dd3dca03f967377a83aec7d267fccad1
|
7
|
+
data.tar.gz: 5ffe2782c0b75c7a127590233cfca80767f1f8939791e5541e7c3a4ed5476b6a493cd3627d25d2251b63b7908519f71b4fb9194cffb05b1995f777f3013f17e2
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--private
|
data/Guardfile
CHANGED
@@ -1,37 +1,31 @@
|
|
1
1
|
# A sample Guardfile
|
2
2
|
# More info at https://github.com/guard/guard#readme
|
3
3
|
|
4
|
-
guard
|
5
|
-
watch(%r{
|
6
|
-
watch(%r{
|
7
|
-
|
4
|
+
guard :rubocop do
|
5
|
+
watch(%r{.+\.rb$})
|
6
|
+
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
7
|
+
end
|
8
|
+
|
9
|
+
guard :reek do
|
8
10
|
watch(%r{.+\.rb$})
|
9
|
-
watch(%r{^features/.+\.feature$})
|
10
|
-
watch(%r{^features/support/.+$}) { 'features' }
|
11
|
-
watch(%r{^features/.+\/step_definitions/(.+)_steps\.rb$}) do |m|
|
12
|
-
Dir[File.join("**/#{m[1]}.feature")][0] || 'features'
|
13
|
-
end
|
14
11
|
end
|
15
12
|
|
16
|
-
guard
|
17
|
-
watch(%r{
|
18
|
-
watch(%r{
|
19
|
-
watch(
|
13
|
+
guard 'yard' do
|
14
|
+
watch(%r{app/.+\.rb})
|
15
|
+
watch(%r{lib/.+\.rb})
|
16
|
+
watch(%r{ext/.+\.c})
|
20
17
|
end
|
21
18
|
|
22
19
|
guard :cucumber do
|
23
|
-
watch(%r{^features/.+\.feature$})
|
24
|
-
watch(%r{^features/support/.+$}) { 'features' }
|
25
|
-
watch(%r{^features/.+\/step_definitions/(.+)_steps\.rb$}) do |m|
|
20
|
+
watch(%r{^test/features/.+\.feature$})
|
21
|
+
watch(%r{^test/features/support/.+$}) { 'features' }
|
22
|
+
watch(%r{^test/features/.+\/step_definitions/(.+)_steps\.rb$}) do |m|
|
26
23
|
Dir[File.join("**/#{m[1]}.feature")][0] || 'features'
|
27
24
|
end
|
28
25
|
end
|
29
26
|
|
30
|
-
guard :
|
31
|
-
watch(%r{
|
32
|
-
watch(%r{(
|
33
|
-
|
34
|
-
|
35
|
-
guard :reek do
|
36
|
-
watch(%r{.+\.rb$})
|
27
|
+
guard :rspec, cmd: 'bundle exec rspec', cmd_additional_args: '--format progress --color spec', spec_paths: ['test/spec'] do
|
28
|
+
watch(%r{^test/spec/.+_spec\.rb$})
|
29
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "test/spec/lib/#{m[1]}_spec.rb" }
|
30
|
+
watch('test/spec/spec_helper.rb') { 'spec' }
|
37
31
|
end
|
data/README.md
CHANGED
@@ -1,13 +1,26 @@
|
|
1
|
+
[![Code Climate](https://codeclimate.com/github/AndreyAntipov/ssh-bookmarks-cli/badges/gpa.svg)](https://codeclimate.com/github/AndreyAntipov/ssh-bookmarks-cli)
|
2
|
+
[![Dependency Status](https://gemnasium.com/AndreyAntipov/ssh-bookmarks-cli.svg)](https://gemnasium.com/AndreyAntipov/ssh-bookmarks-cli)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ssh-bookmarks.svg)](http://badge.fury.io/rb/ssh-bookmarks)
|
4
|
+
[![Coverage Status](https://img.shields.io/coveralls/AndreyAntipov/ssh-bookmarks-cli.svg)](https://coveralls.io/r/AndreyAntipov/ssh-bookmarks-cli)
|
1
5
|
|
2
|
-
A dead simple cli ssh server list.
|
3
6
|
|
4
|
-
## ssh-bookmarks
|
7
|
+
## ssh-bookmarks
|
8
|
+
|
9
|
+
A dead simple cli ssh server list.
|
5
10
|
|
6
11
|
|
7
12
|
## Installation
|
8
13
|
|
9
14
|
$ gem install ssh-bookmarks
|
10
15
|
|
16
|
+
## Updating
|
17
|
+
|
18
|
+
$ gem update ssh-bookmarks
|
19
|
+
|
20
|
+
## Uninstalling
|
21
|
+
|
22
|
+
$ gem uninstall ssh-bookmarks
|
23
|
+
|
11
24
|
## Usage
|
12
25
|
|
13
26
|
$ ssh-bookmarks
|
@@ -32,7 +45,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
32
45
|
|
33
46
|
## Contributing
|
34
47
|
|
35
|
-
1. Fork it ( https://github.com/
|
48
|
+
1. Fork it ( https://github.com/AndreyAntipov/ssh-bookmarks/fork )
|
36
49
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
50
|
3. Commit your changes (`git commit -am ‘Add some feature’`)
|
38
51
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/Rakefile
CHANGED
@@ -1,2 +1,11 @@
|
|
1
|
-
require
|
1
|
+
require 'rake'
|
2
|
+
require 'rspec/core/rake_task'
|
2
3
|
|
4
|
+
RSpec::Core::RakeTask.new do |t|
|
5
|
+
#task.rspec_opts = Dir.glob("[0-9][0-9][0-9]_*").collect { |x| "-I#{x}" }
|
6
|
+
#task.rspec_opts << '-r ./rspec_config --color -f d'
|
7
|
+
t.pattern = '**/*_spec.rb'
|
8
|
+
t.rspec_opts = ['--default-path', 'test/spec']
|
9
|
+
end
|
10
|
+
|
11
|
+
task test: :spec
|
data/bin/ssh-bookmarks
CHANGED
@@ -1,89 +1,19 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: UTF-8
|
3
3
|
|
4
|
+
# resolve dependencies
|
5
|
+
lib = File.expand_path('../lib', __FILE__)
|
6
|
+
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
7
|
+
|
4
8
|
# dead simple ssh connection manager
|
5
9
|
class Application
|
6
10
|
require 'highline/import'
|
7
|
-
|
8
|
-
# core methods
|
9
|
-
class Foundation
|
10
|
-
# SSH methods
|
11
|
-
module SSH
|
12
|
-
def self.connect(server)
|
13
|
-
exec "ssh #{server}"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
# preparation and setting the configuration file
|
18
|
-
class Config
|
19
|
-
PATH = "#{ENV['HOME']}/.ssh/config"
|
20
|
-
OPTIONS = %w(hidden)
|
21
|
-
|
22
|
-
# parse configuration file
|
23
|
-
def initialize
|
24
|
-
# load ssh config
|
25
|
-
new = File.readlines(PATH).map(&:split)
|
26
|
-
@data = construct new
|
27
|
-
rescue => err
|
28
|
-
abort "Error: config is invalid.\nReason: #{err}"
|
29
|
-
end
|
30
|
-
|
31
|
-
def construct(raw)
|
32
|
-
container = []
|
33
|
-
raw.each_with_index do |block, index|
|
34
|
-
next if block.empty? || comment?(block)
|
35
|
-
if block[0] == 'Host'
|
36
|
-
container << {}
|
37
|
-
container.last.merge!(options: options(raw, index))
|
38
|
-
end
|
39
|
-
container.last.merge!(block[0].downcase.to_sym => block[1]) if defined? container
|
40
|
-
end
|
41
|
-
container
|
42
|
-
end
|
43
|
-
|
44
|
-
# parse inline options passed in comments of specific block
|
45
|
-
def options(raw, index)
|
46
|
-
@prev_index = 0 unless defined? @prev_index
|
47
|
-
options = {}
|
48
|
-
index += 1 if index > 0
|
49
|
-
# catch options between range
|
50
|
-
raw[@prev_index..index].each do |opt|
|
51
|
-
if comment?(opt) && option?(opt)
|
52
|
-
options.merge!(opt[1].downcase.to_sym => true)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
@prev_index = index
|
56
|
-
options
|
57
|
-
end
|
58
|
-
|
59
|
-
def option?(block)
|
60
|
-
OPTIONS.include?(block[1])
|
61
|
-
end
|
62
|
-
|
63
|
-
# block is comment?
|
64
|
-
def comment?(block)
|
65
|
-
true if block[0] == '#'
|
66
|
-
end
|
67
|
-
|
68
|
-
# determine if config exist
|
69
|
-
def exist?
|
70
|
-
# ssh configuration file
|
71
|
-
if File.exist?(PATH)
|
72
|
-
return true
|
73
|
-
else
|
74
|
-
abort "Error: no configuration file is found.\nExpected path: #{path}"
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
attr_reader :data
|
79
|
-
private :exist?, :comment?, :option?, :construct, :options
|
80
|
-
end
|
81
|
-
end
|
11
|
+
require 'ssh/bookmarks'
|
82
12
|
|
83
13
|
# CLI interface for SSH manager
|
84
|
-
class Interface
|
14
|
+
class Interface
|
85
15
|
def initialize
|
86
|
-
config = Config.new
|
16
|
+
config = SSH::Bookmarks::Config.new
|
87
17
|
show_menu config.data, 'host'
|
88
18
|
|
89
19
|
# ignore errors when use ctrl-c or ctrl-d
|
@@ -91,6 +21,9 @@ class Application
|
|
91
21
|
puts "\nexiting..."
|
92
22
|
end
|
93
23
|
|
24
|
+
# show menu
|
25
|
+
# @param list [Array] all paramerers from config
|
26
|
+
# @param title [String] determine which parameter will be used for title
|
94
27
|
def show_menu(list, title)
|
95
28
|
t = title.to_sym
|
96
29
|
proposal = 'Please choose the server which you would like to connect?'
|
File without changes
|
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'ssh/bookmarks/version'
|
2
|
+
|
3
|
+
module SSH
|
4
|
+
# Initialize ssh connection
|
5
|
+
# @param server [String] name of server
|
6
|
+
def self.connect(server)
|
7
|
+
exec "ssh #{server}"
|
8
|
+
end
|
9
|
+
|
10
|
+
module Bookmarks
|
11
|
+
# This class handle the configuration file
|
12
|
+
class Config
|
13
|
+
# Constant which stored path of ssh config file
|
14
|
+
PATH = "#{ENV['HOME']}/.ssh/config"
|
15
|
+
# Constant which stored of array custom options of ssh config
|
16
|
+
OPTIONS = %w(hidden)
|
17
|
+
|
18
|
+
# load and initialize parsing configuration file
|
19
|
+
def initialize
|
20
|
+
new = File.readlines(PATH).map(&:split)
|
21
|
+
@data = construct new
|
22
|
+
rescue => err
|
23
|
+
abort "Error: config is invalid.\nReason: #{err}"
|
24
|
+
end
|
25
|
+
|
26
|
+
# Parse and build configuration
|
27
|
+
# @param raw [Array] original data ssh config file
|
28
|
+
# @return [Hash] container of parsed config
|
29
|
+
def construct(raw)
|
30
|
+
container = []
|
31
|
+
raw.each_with_index do |block, index|
|
32
|
+
next if block.empty? || comment?(block)
|
33
|
+
if block[0] == 'Host'
|
34
|
+
container << {}
|
35
|
+
container.last.merge!(options: options(raw, index))
|
36
|
+
end
|
37
|
+
container.last.merge!(block[0].downcase.to_sym => block[1]) if defined? container
|
38
|
+
end
|
39
|
+
container
|
40
|
+
end
|
41
|
+
|
42
|
+
# Parse options placed in comments which allowed in OPTIONS constant
|
43
|
+
# @param raw [Array] original data of ssh config file
|
44
|
+
# @param index [Integer] index which used for definition of membership of comments
|
45
|
+
# @return [Array] list of options for specific group which is found in specific range
|
46
|
+
def options(raw, index)
|
47
|
+
@prev_index = 0 unless defined? @prev_index
|
48
|
+
options = {}
|
49
|
+
index += 1 if index > 0
|
50
|
+
# catch options between range
|
51
|
+
raw[@prev_index..index].each do |opt|
|
52
|
+
if comment?(opt) && option?(opt)
|
53
|
+
options.merge!(opt[1].downcase.to_sym => true)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
@prev_index = index
|
57
|
+
options
|
58
|
+
end
|
59
|
+
|
60
|
+
# Determine whether the block in the list of allowed
|
61
|
+
# @param block [String] the testable string
|
62
|
+
# @return [Boolean] returns the current state of block
|
63
|
+
def option?(block)
|
64
|
+
OPTIONS.include?(block[1])
|
65
|
+
end
|
66
|
+
|
67
|
+
# Determine whether the block is comment?
|
68
|
+
# @param block [String] the testable string
|
69
|
+
# @return [Boolean] return current state of block
|
70
|
+
def comment?(block)
|
71
|
+
block[0] == '#' ? true : false
|
72
|
+
end
|
73
|
+
|
74
|
+
# Determine whether the config is exist
|
75
|
+
# @return [Boolean] return true if config exist or abort the process
|
76
|
+
def exist?
|
77
|
+
# ssh configuration file
|
78
|
+
if File.exist?(PATH)
|
79
|
+
return true
|
80
|
+
else
|
81
|
+
abort "Error: no configuration file is found.\nExpected path: #{path}"
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
attr_reader :data
|
86
|
+
private :exist?, :comment?, :option?, :construct, :options
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
data/ssh-bookmarks.gemspec
CHANGED
@@ -1,54 +1,58 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'ssh
|
4
|
+
require 'ssh/bookmarks/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "ssh-bookmarks"
|
8
|
-
spec.version =
|
8
|
+
spec.version = SSH::Bookmarks::VERSION
|
9
9
|
spec.authors = ["Andrey Antipov"]
|
10
10
|
spec.email = ["andrey@antipov.me"]
|
11
11
|
spec.summary = %q{A dead simple cli ssh server list.}
|
12
|
-
|
13
|
-
spec.homepage = "https://github.com/AndreyAntipov/ssh-bookmarks"
|
12
|
+
spec.homepage = 'https://github.com/AndreyAntipov/ssh-bookmarks'
|
14
13
|
spec.license = "MIT"
|
15
14
|
|
16
15
|
spec.files = `git ls-files -z`.split("\x0")
|
17
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
18
|
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
# cli interface dependency
|
22
|
-
spec.add_runtime_dependency "highline"
|
23
19
|
|
24
|
-
# dependencies
|
25
20
|
spec.add_development_dependency "bundler", "~> 1.7"
|
26
21
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
22
|
|
28
|
-
|
29
|
-
spec.
|
30
|
-
|
23
|
+
# cli interface dependency
|
24
|
+
spec.add_runtime_dependency 'highline'
|
25
|
+
|
26
|
+
# docs
|
27
|
+
spec.add_development_dependency 'yard'
|
28
|
+
spec.add_development_dependency 'inch'
|
31
29
|
|
32
30
|
# preloader
|
33
|
-
|
31
|
+
# TODO: replace spring to something else
|
32
|
+
# spec.add_development_dependency 'spring'
|
34
33
|
|
35
34
|
# irb
|
36
|
-
spec.add_development_dependency
|
37
|
-
spec.add_development_dependency
|
38
|
-
|
35
|
+
spec.add_development_dependency 'pry'
|
36
|
+
spec.add_development_dependency 'hirb'
|
37
|
+
|
39
38
|
# tests
|
40
|
-
spec.add_development_dependency
|
41
|
-
spec.add_development_dependency
|
42
|
-
spec.add_development_dependency
|
43
|
-
spec.add_development_dependency
|
44
|
-
spec.add_development_dependency
|
45
|
-
spec.add_development_dependency
|
46
|
-
|
39
|
+
spec.add_development_dependency 'simplecov'
|
40
|
+
spec.add_development_dependency 'factory_girl'
|
41
|
+
spec.add_development_dependency 'rubocop'
|
42
|
+
spec.add_development_dependency 'reek'
|
43
|
+
spec.add_development_dependency 'cucumber'
|
44
|
+
spec.add_development_dependency 'rspec'
|
45
|
+
spec.add_development_dependency 'rspec-expectations'
|
46
|
+
spec.add_development_dependency 'fuubar'
|
47
|
+
|
47
48
|
# automation
|
48
|
-
spec.add_development_dependency
|
49
|
-
spec.add_development_dependency
|
50
|
-
spec.add_development_dependency
|
51
|
-
spec.add_development_dependency
|
52
|
-
spec.add_development_dependency
|
49
|
+
spec.add_development_dependency 'guard'
|
50
|
+
spec.add_development_dependency 'guard-inch'
|
51
|
+
spec.add_development_dependency 'guard-rubocop'
|
52
|
+
spec.add_development_dependency 'guard-yard'
|
53
|
+
spec.add_development_dependency 'guard-reek'
|
54
|
+
spec.add_development_dependency 'guard-rspec'
|
55
|
+
spec.add_development_dependency 'guard-cucumber'
|
56
|
+
spec.add_development_dependency 'guard-bundler'
|
53
57
|
|
54
58
|
end
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'bundler/setup'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
$:.unshift File.expand_path('..', __FILE__)
|
5
|
+
$:.unshift File.expand_path('../../lib', __FILE__)
|
6
|
+
|
7
|
+
require 'ssh/bookmarks' # and any other gems you need
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
# some (optional) config here
|
11
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
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.4
|
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-10-
|
11
|
+
date: 2014-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: highline
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,13 +39,13 @@ dependencies:
|
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '10.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: highline
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: '0'
|
62
|
-
type: :
|
48
|
+
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
@@ -67,7 +53,7 @@ dependencies:
|
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: yard
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - ">="
|
@@ -81,7 +67,7 @@ dependencies:
|
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: inch
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - ">="
|
@@ -136,6 +122,20 @@ dependencies:
|
|
136
122
|
- - ">="
|
137
123
|
- !ruby/object:Gem::Version
|
138
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: factory_girl
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: reek
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: cucumber
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,6 +234,20 @@ dependencies:
|
|
220
234
|
- - ">="
|
221
235
|
- !ruby/object:Gem::Version
|
222
236
|
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: guard-inch
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
223
251
|
- !ruby/object:Gem::Dependency
|
224
252
|
name: guard-rubocop
|
225
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,7 +263,35 @@ dependencies:
|
|
235
263
|
- !ruby/object:Gem::Version
|
236
264
|
version: '0'
|
237
265
|
- !ruby/object:Gem::Dependency
|
238
|
-
name: guard-
|
266
|
+
name: guard-yard
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: guard-reek
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: guard-rspec
|
239
295
|
requirement: !ruby/object:Gem::Requirement
|
240
296
|
requirements:
|
241
297
|
- - ">="
|
@@ -249,7 +305,7 @@ dependencies:
|
|
249
305
|
- !ruby/object:Gem::Version
|
250
306
|
version: '0'
|
251
307
|
- !ruby/object:Gem::Dependency
|
252
|
-
name: guard-
|
308
|
+
name: guard-cucumber
|
253
309
|
requirement: !ruby/object:Gem::Requirement
|
254
310
|
requirements:
|
255
311
|
- - ">="
|
@@ -286,20 +342,21 @@ extra_rdoc_files: []
|
|
286
342
|
files:
|
287
343
|
- ".gitignore"
|
288
344
|
- ".travis.yml"
|
345
|
+
- ".yardopts"
|
289
346
|
- Gemfile
|
290
347
|
- Guardfile
|
291
348
|
- LICENSE.md
|
292
349
|
- README.md
|
293
350
|
- Rakefile
|
294
351
|
- bin/ssh-bookmarks
|
352
|
+
- config/application.rb
|
295
353
|
- config/spring.rb
|
296
|
-
- lib/ssh
|
297
|
-
- lib/ssh
|
354
|
+
- lib/ssh/bookmarks.rb
|
355
|
+
- lib/ssh/bookmarks/version.rb
|
298
356
|
- ssh-bookmarks.gemspec
|
299
|
-
- test
|
300
|
-
- test/
|
301
|
-
- test/
|
302
|
-
- test/test_ssh-bookmarks.rb
|
357
|
+
- test/features/config.feature
|
358
|
+
- test/spec/spec_helper.rb
|
359
|
+
- test/spec/ssh/bookmarks_spec.rb
|
303
360
|
homepage: https://github.com/AndreyAntipov/ssh-bookmarks
|
304
361
|
licenses:
|
305
362
|
- MIT
|
@@ -325,8 +382,7 @@ signing_key:
|
|
325
382
|
specification_version: 4
|
326
383
|
summary: A dead simple cli ssh server list.
|
327
384
|
test_files:
|
328
|
-
- test
|
329
|
-
- test/
|
330
|
-
- test/
|
331
|
-
- test/test_ssh-bookmarks.rb
|
385
|
+
- test/features/config.feature
|
386
|
+
- test/spec/spec_helper.rb
|
387
|
+
- test/spec/ssh/bookmarks_spec.rb
|
332
388
|
has_rdoc:
|
data/lib/ssh-bookmarks.rb
DELETED
data/test/rspec/.keep
DELETED
File without changes
|
data/test/test_ssh-bookmarks.rb
DELETED
File without changes
|