hss 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hss.gemspec +4 -4
- data/lib/hss.rb +3 -3
- data/lib/{helpers → hss/helpers}/command.rb +0 -0
- data/lib/{helpers → hss/helpers}/default.rb +0 -0
- data/lib/{helpers → hss/helpers}/expand.rb +0 -0
- data/lib/{helpers → hss/helpers}/external.rb +0 -0
- data/lib/{helpers → hss/helpers}/shortcut.rb +0 -0
- data/lib/{version.rb → hss/version.rb} +1 -1
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7b99afaf60e40db4bc42b6df0a36d0581f70eba
|
4
|
+
data.tar.gz: 8f24bdfa79a860d0ab840af106dec93bdaec8545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7727d2c0c2484046184d6a53f612999529e98fa6259d5d627091476b477d5a26188eb72c195d3a385afdc556989b977d6dd6ecf0238fe98cd976041eb691c455
|
7
|
+
data.tar.gz: d55bf0ddef8ca4f8bbc93995127af4ce13111e69dc611bfed1efb0d87a277e3dc8df1325a8cc268fdb7f6eaba8052dad13ca1157f2a94eb51e44c3208832ee67
|
data/hss.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
$:.unshift File.expand_path('../lib/', __FILE__)
|
2
|
-
require 'version'
|
2
|
+
require 'hss/version'
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'hss'
|
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.test_files = `git ls-files spec/*`.split
|
17
17
|
s.executables = ['hss']
|
18
18
|
|
19
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
19
|
+
s.add_development_dependency 'rubocop', '~> 0.25.0'
|
20
20
|
s.add_development_dependency 'rake', '~> 10.3.2'
|
21
|
-
s.add_development_dependency 'coveralls', '~> 0.7.
|
21
|
+
s.add_development_dependency 'coveralls', '~> 0.7.1'
|
22
22
|
s.add_development_dependency 'rspec', '~> 3.0.0'
|
23
|
-
s.add_development_dependency 'fuubar', '~> 2.0.0
|
23
|
+
s.add_development_dependency 'fuubar', '~> 2.0.0'
|
24
24
|
end
|
data/lib/hss.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'yaml'
|
2
2
|
require 'pathname'
|
3
|
-
require 'version'
|
3
|
+
require 'hss/version'
|
4
4
|
|
5
5
|
##
|
6
6
|
# HSS module provides a helper for SSH shortcuts
|
7
7
|
module HSS
|
8
8
|
DEFAULT_CONFIG = '~/.hss.yml'
|
9
|
-
|
9
|
+
DEFAULT_LIB = Pathname.new(__FILE__).realpath.split[0].to_s + '/hss/helpers'
|
10
10
|
|
11
11
|
class << self
|
12
12
|
##
|
@@ -61,7 +61,7 @@ module HSS
|
|
61
61
|
# Load helper modules
|
62
62
|
|
63
63
|
def load_helpers(helper_path = nil)
|
64
|
-
helper_path ||= HSS::
|
64
|
+
helper_path ||= HSS::DEFAULT_LIB
|
65
65
|
helper_path = File.expand_path(helper_path)
|
66
66
|
Dir.glob(helper_path + '/*').each do |helper|
|
67
67
|
begin
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.25.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.25.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.7.
|
47
|
+
version: 0.7.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.7.
|
54
|
+
version: 0.7.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.0.0
|
75
|
+
version: 2.0.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.0.0
|
82
|
+
version: 2.0.0
|
83
83
|
description: Regex-based SSH shortcut tool
|
84
84
|
email: me@lesaker.org
|
85
85
|
executables:
|
@@ -97,13 +97,13 @@ files:
|
|
97
97
|
- Rakefile
|
98
98
|
- bin/hss
|
99
99
|
- hss.gemspec
|
100
|
-
- lib/helpers/command.rb
|
101
|
-
- lib/helpers/default.rb
|
102
|
-
- lib/helpers/expand.rb
|
103
|
-
- lib/helpers/external.rb
|
104
|
-
- lib/helpers/shortcut.rb
|
105
100
|
- lib/hss.rb
|
106
|
-
- lib/
|
101
|
+
- lib/hss/helpers/command.rb
|
102
|
+
- lib/hss/helpers/default.rb
|
103
|
+
- lib/hss/helpers/expand.rb
|
104
|
+
- lib/hss/helpers/external.rb
|
105
|
+
- lib/hss/helpers/shortcut.rb
|
106
|
+
- lib/hss/version.rb
|
107
107
|
- spec/bin_spec.rb
|
108
108
|
- spec/helpers/command_spec.rb
|
109
109
|
- spec/helpers/default_spec.rb
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.2.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: SSH helper
|
@@ -161,4 +161,3 @@ test_files:
|
|
161
161
|
- spec/test/incomplete.yml
|
162
162
|
- spec/test/invalid.yml
|
163
163
|
- spec/test/other.yml
|
164
|
-
has_rdoc:
|