hss 1.1.0 → 1.2.0
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/.github/exporter.sh +1 -1
- data/.github/workflows/build.yml +7 -4
- data/CHANGELOG.md +4 -0
- data/bin/hss +1 -1
- data/lib/hss/version.rb +1 -1
- data/lib/hss.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b962c50044361322a1881aada0173f9bc9c8a62d9d6c7e9403e9c26b5739b49e
|
|
4
|
+
data.tar.gz: fb44c388c4bf07b152b435619ff7dbd6d8f4faf78571313982793b340ded8bc4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cdccb33fe518e9923f85665feebe311f17688166812e675773b06af358ce0033a9cde085bffbb5d79d83b8a31885ec0e85c6aa14c9d59356d7cbd14df3f65ef
|
|
7
|
+
data.tar.gz: 2d4b9ac53663f4ddf0614285f583766817393112dd54ec415f28518a0a8ba25b0cd0d864f2d0aa18da1425f226671e4e9b086eb155466d48530c93afeb53b8b7
|
data/.github/exporter.sh
CHANGED
data/.github/workflows/build.yml
CHANGED
|
@@ -6,22 +6,25 @@ name: Build
|
|
|
6
6
|
- main
|
|
7
7
|
tags:
|
|
8
8
|
- "**"
|
|
9
|
-
|
|
9
|
+
pull_request:
|
|
10
10
|
jobs:
|
|
11
11
|
build:
|
|
12
12
|
name: Build
|
|
13
|
-
runs-on: ubuntu-
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
14
|
permissions:
|
|
15
15
|
contents: write
|
|
16
16
|
steps:
|
|
17
17
|
- name: Checkout
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@v7
|
|
19
19
|
with:
|
|
20
20
|
submodules: recursive
|
|
21
21
|
- uses: ruby/setup-ruby@v1
|
|
22
22
|
with:
|
|
23
|
-
ruby-version: '
|
|
23
|
+
ruby-version: '4.0.5'
|
|
24
24
|
bundler-cache: true
|
|
25
|
+
- name: Install deps
|
|
26
|
+
shell: bash
|
|
27
|
+
run: bundle install
|
|
25
28
|
- name: Build
|
|
26
29
|
run: bundle exec rake
|
|
27
30
|
- name: Release
|
data/CHANGELOG.md
CHANGED
data/bin/hss
CHANGED
|
@@ -19,7 +19,7 @@ args = ARGV.reduce('') do |acc, elem|
|
|
|
19
19
|
"#{acc} '#{elem.gsub(/([$"])/, '\1')}'"
|
|
20
20
|
end
|
|
21
21
|
command = ENV['HSS_COMMAND'] || 'ssh'
|
|
22
|
-
command
|
|
22
|
+
command = "echo #{command}" if ENV['HSS_DEBUG']
|
|
23
23
|
|
|
24
24
|
begin
|
|
25
25
|
long_host = My_Handler.handle short_host
|
data/lib/hss/version.rb
CHANGED
data/lib/hss.rb
CHANGED
|
@@ -91,7 +91,7 @@ module HSS
|
|
|
91
91
|
# Check for a match
|
|
92
92
|
# If the input matches, store the context for use in helpers
|
|
93
93
|
|
|
94
|
-
def check(input, short_form)
|
|
94
|
+
def check(input, short_form) # rubocop:disable Naming/PredicateMethod
|
|
95
95
|
return false unless input.match short_form
|
|
96
96
|
x = Regexp.last_match
|
|
97
97
|
@match_data = binding
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Les Aker
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: goodcop
|
|
@@ -71,7 +70,6 @@ licenses:
|
|
|
71
70
|
- MIT
|
|
72
71
|
metadata:
|
|
73
72
|
rubygems_mfa_required: 'true'
|
|
74
|
-
post_install_message:
|
|
75
73
|
rdoc_options: []
|
|
76
74
|
require_paths:
|
|
77
75
|
- lib
|
|
@@ -86,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
84
|
- !ruby/object:Gem::Version
|
|
87
85
|
version: '0'
|
|
88
86
|
requirements: []
|
|
89
|
-
rubygems_version:
|
|
90
|
-
signing_key:
|
|
87
|
+
rubygems_version: 4.0.10
|
|
91
88
|
specification_version: 4
|
|
92
89
|
summary: SSH helper
|
|
93
90
|
test_files: []
|