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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea38be50183638d064b68bb7869612eefe61aae3955b3bf74687178a1299788a
4
- data.tar.gz: e3fcb36de03c7832e05fee113b21eebaa403a5d2e01aa2b4ce6152617185dccd
3
+ metadata.gz: b962c50044361322a1881aada0173f9bc9c8a62d9d6c7e9403e9c26b5739b49e
4
+ data.tar.gz: fb44c388c4bf07b152b435619ff7dbd6d8f4faf78571313982793b340ded8bc4
5
5
  SHA512:
6
- metadata.gz: '08f83fa733d1699a22ece2b98490b3d5c60b946b851dd86050d26d8fa3d42dddcb778065a23a971f4e6639f2566519d6ac6985c878628fb8de86c852343c3d8c'
7
- data.tar.gz: 767ab68f6cef6e5b200e8ac97401416557ea946728abae8414314cbcd87d19b93c91f78ca39fe996b871e90b9e97c0dca68af5d5be1928a75e8c17eeec90f786
6
+ metadata.gz: 5cdccb33fe518e9923f85665feebe311f17688166812e675773b06af358ce0033a9cde085bffbb5d79d83b8a31885ec0e85c6aa14c9d59356d7cbd14df3f65ef
7
+ data.tar.gz: 2d4b9ac53663f4ddf0614285f583766817393112dd54ec415f28518a0a8ba25b0cd0d864f2d0aa18da1425f226671e4e9b086eb155466d48530c93afeb53b8b7
data/.github/exporter.sh CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  set -euo pipefail
4
4
 
5
- URL="https://exporter.akerl.app/metric"
5
+ URL="https://exporter.akerl.org/metric"
6
6
  AUTH="Authorization: Bearer $EXPORTER_TOKEN"
7
7
  if [[ "$JOB_STATUS" == "success" ]] ; then
8
8
  VALUE=1
@@ -6,22 +6,25 @@ name: Build
6
6
  - main
7
7
  tags:
8
8
  - "**"
9
- pull_request_target:
9
+ pull_request:
10
10
  jobs:
11
11
  build:
12
12
  name: Build
13
- runs-on: ubuntu-22.04
13
+ runs-on: ubuntu-latest
14
14
  permissions:
15
15
  contents: write
16
16
  steps:
17
17
  - name: Checkout
18
- uses: actions/checkout@v3
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: '3.1'
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
@@ -1,3 +1,7 @@
1
+ # 1.2.0 / 2026-10-31
2
+
3
+ * [BUGFIX] #45 Resolve frozen string overwrite in debug mode
4
+
1
5
  # 1.1.0 / 2023-08-08
2
6
 
3
7
  * [BUGFIX] Support ';' as an HSS_CONFIG delimiter on all platforms, and do not use ':' on Windows, to support the presence of ':' in Windows paths
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.prepend('echo ') if ENV['HSS_DEBUG']
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
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Define the version
5
5
  module HSS
6
- VERSION = '1.1.0'
6
+ VERSION = '1.2.0'
7
7
  end
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.1.0
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: 2023-08-08 00:00:00.000000000 Z
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: 3.3.26
90
- signing_key:
87
+ rubygems_version: 4.0.10
91
88
  specification_version: 4
92
89
  summary: SSH helper
93
90
  test_files: []