hammer_cli_foreman_remote_execution 0.3.1 → 0.3.2
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/lib/hammer_cli_foreman_remote_execution/version.rb +1 -1
- metadata +2 -11
- data/.github/workflows/ci_test.yml +0 -22
- data/.gitignore +0 -24
- data/.rubocop.yml +0 -11
- data/.rubocop_todo.yml +0 -81
- data/.travis.yml +0 -9
- data/.tx/config +0 -9
- data/Gemfile +0 -25
- data/Rakefile +0 -25
- data/hammer_cli_foreman_remote_execution.gemspec +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b572032ab2359a28050ef7184ab552b531300dd8d076d971b88becf88554e5b4
|
4
|
+
data.tar.gz: 5e491f228dadd1269f7cf6aee5dab334a3dd1c7837b87a949f4bf3eb973de6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b48dd04d8ce72a7a13cc73d7d5e15c5bb794ec5430d41443667f087b799e7171394e58d8914ee3b05790884cb249b9778fcae45f0005c5ea33b807bb1805ba9
|
7
|
+
data.tar.gz: ec9ef3f3cad73216b26d570e3725ec91778c12d8e39b4b3f28cc6de61b72937a6c6473fc18f583d305afdf931cda810f94b510c113aa4b3abfb74944d4f58375
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_remote_execution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hammer_cli_foreman
|
@@ -53,18 +53,9 @@ extra_rdoc_files:
|
|
53
53
|
- README.md
|
54
54
|
- LICENSE
|
55
55
|
files:
|
56
|
-
- ".github/workflows/ci_test.yml"
|
57
|
-
- ".gitignore"
|
58
|
-
- ".rubocop.yml"
|
59
|
-
- ".rubocop_todo.yml"
|
60
|
-
- ".travis.yml"
|
61
|
-
- ".tx/config"
|
62
|
-
- Gemfile
|
63
56
|
- LICENSE
|
64
57
|
- README.md
|
65
|
-
- Rakefile
|
66
58
|
- config/foreman_remote_execution.yml
|
67
|
-
- hammer_cli_foreman_remote_execution.gemspec
|
68
59
|
- lib/hammer_cli_foreman_remote_execution.rb
|
69
60
|
- lib/hammer_cli_foreman_remote_execution/foreign_input_set.rb
|
70
61
|
- lib/hammer_cli_foreman_remote_execution/i18n.rb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
name: CI
|
2
|
-
on:
|
3
|
-
pull_request:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- "master"
|
7
|
-
concurrency:
|
8
|
-
group: ${{ github.ref_name }}-${{ github.workflow }}
|
9
|
-
cancel-in-progress: true
|
10
|
-
jobs:
|
11
|
-
rubocop:
|
12
|
-
name: Rubocop
|
13
|
-
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
|
14
|
-
with:
|
15
|
-
command: bundle exec rubocop --parallel --format github
|
16
|
-
|
17
|
-
test:
|
18
|
-
name: Tests
|
19
|
-
needs: rubocop
|
20
|
-
uses: theforeman/actions/.github/workflows/test-gem.yml@v0
|
21
|
-
with:
|
22
|
-
command: bundle exec rake test
|
data/.gitignore
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# Ruby + project files
|
2
|
-
Gemfile.lock
|
3
|
-
Gemfile.local
|
4
|
-
pkg
|
5
|
-
*.gem
|
6
|
-
|
7
|
-
# Tests
|
8
|
-
test/reports
|
9
|
-
coverage
|
10
|
-
|
11
|
-
# RVM
|
12
|
-
.rvmrc
|
13
|
-
.ruby-version
|
14
|
-
.ruby-gemset
|
15
|
-
|
16
|
-
# Editors
|
17
|
-
tags
|
18
|
-
.idea
|
19
|
-
*.sw?
|
20
|
-
*~
|
21
|
-
|
22
|
-
# Locale files
|
23
|
-
locale/*/*.edit.po
|
24
|
-
locale/*/*.po.time_stamp
|
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2024-08-02 06:59:11 UTC using RuboCop version 1.64.1.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 1
|
10
|
-
# This cop supports safe autocorrection (--autocorrect).
|
11
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
12
|
-
# SupportedStyles: with_first_element, with_fixed_indentation
|
13
|
-
Layout/ArrayAlignment:
|
14
|
-
Exclude:
|
15
|
-
- 'test/unit/job_invocation_test.rb'
|
16
|
-
|
17
|
-
# Offense count: 1
|
18
|
-
# Configuration parameters: MaximumRangeSize.
|
19
|
-
Lint/MissingCopEnableDirective:
|
20
|
-
Exclude:
|
21
|
-
- 'test/unit/template_input_test.rb'
|
22
|
-
|
23
|
-
# Offense count: 3
|
24
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
25
|
-
Metrics/AbcSize:
|
26
|
-
Max: 21
|
27
|
-
|
28
|
-
# Offense count: 3
|
29
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
30
|
-
# AllowedMethods: refine
|
31
|
-
Metrics/BlockLength:
|
32
|
-
Max: 82
|
33
|
-
|
34
|
-
# Offense count: 1
|
35
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
36
|
-
Metrics/CyclomaticComplexity:
|
37
|
-
Max: 8
|
38
|
-
|
39
|
-
# Offense count: 3
|
40
|
-
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
41
|
-
Metrics/MethodLength:
|
42
|
-
Max: 13
|
43
|
-
|
44
|
-
# Offense count: 4
|
45
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
46
|
-
# Configuration parameters: Include.
|
47
|
-
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
|
48
|
-
Rails/Output:
|
49
|
-
Exclude:
|
50
|
-
- 'lib/hammer_cli_foreman_remote_execution/job_invocation.rb'
|
51
|
-
- 'lib/hammer_cli_foreman_remote_execution/job_template.rb'
|
52
|
-
|
53
|
-
# Offense count: 1
|
54
|
-
# This cop supports safe autocorrection (--autocorrect).
|
55
|
-
# Configuration parameters: EnforcedStyle, Include.
|
56
|
-
# SupportedStyles: assert_not, refute
|
57
|
-
# Include: **/test/**/*
|
58
|
-
Rails/RefuteMethods:
|
59
|
-
Exclude:
|
60
|
-
- 'test/unit/job_invocation_test.rb'
|
61
|
-
|
62
|
-
# Offense count: 4
|
63
|
-
# This cop supports safe autocorrection (--autocorrect).
|
64
|
-
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns.
|
65
|
-
# SupportedStyles: annotated, template, unannotated
|
66
|
-
# AllowedMethods: redirect
|
67
|
-
Style/FormatStringToken:
|
68
|
-
EnforcedStyle: template
|
69
|
-
|
70
|
-
# Offense count: 1
|
71
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
72
|
-
Style/HashTransformValues:
|
73
|
-
Exclude:
|
74
|
-
- 'lib/hammer_cli_foreman_remote_execution/options/normalizers.rb'
|
75
|
-
|
76
|
-
# Offense count: 5
|
77
|
-
# This cop supports safe autocorrection (--autocorrect).
|
78
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
79
|
-
# URISchemes: http, https
|
80
|
-
Layout/LineLength:
|
81
|
-
Max: 208
|
data/.travis.yml
DELETED
data/.tx/config
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
[main]
|
2
|
-
host = https://app.transifex.com
|
3
|
-
|
4
|
-
[o:foreman:p:foreman:r:hammer_cli_foreman_remote_execution]
|
5
|
-
file_filter = locale/<lang>/hammer_cli_foreman_remote_execution.edit.po
|
6
|
-
source_file = locale/hammer_cli_foreman_remote_execution.pot
|
7
|
-
source_lang = en
|
8
|
-
type = PO
|
9
|
-
resource_name = hammer_cli_foreman_remote_execution
|
data/Gemfile
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
gem 'fast_gettext', '< 1.2.0' if RUBY_VERSION < '2.1.0'
|
8
|
-
gem 'gettext', '>= 3.1.3', '< 4.0.0'
|
9
|
-
|
10
|
-
group :test do
|
11
|
-
gem 'ci_reporter', '>= 1.6.3', '< 2.0.0', :require => false
|
12
|
-
gem 'minitest', '>= 5.1'
|
13
|
-
gem 'minitest-spec-context'
|
14
|
-
gem 'mocha'
|
15
|
-
gem 'rake', '~> 13.1.0'
|
16
|
-
gem 'simplecov'
|
17
|
-
gem 'theforeman-rubocop', '~> 0.1.0'
|
18
|
-
gem 'thor'
|
19
|
-
end
|
20
|
-
|
21
|
-
# load local gemfile
|
22
|
-
['Gemfile.local.rb', 'Gemfile.local'].map do |file_name|
|
23
|
-
local_gemfile = File.join(File.dirname(__FILE__), file_name)
|
24
|
-
instance_eval(Bundler.read_file(local_gemfile)) if File.exist?(local_gemfile)
|
25
|
-
end
|
data/Rakefile
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
require 'rake/testtask'
|
5
|
-
require 'ci/reporter/rake/minitest'
|
6
|
-
|
7
|
-
Rake::TestTask.new :test do |t|
|
8
|
-
t.libs.push "lib"
|
9
|
-
t.test_files = Dir.glob('test/**/*_test.rb')
|
10
|
-
t.verbose = true
|
11
|
-
t.warning = ENV.key?('RUBY_WARNINGS')
|
12
|
-
end
|
13
|
-
|
14
|
-
namespace :pkg do
|
15
|
-
desc 'Generate package source gem'
|
16
|
-
task :generate_source => :build
|
17
|
-
end
|
18
|
-
|
19
|
-
task :default => :test
|
20
|
-
|
21
|
-
require "hammer_cli_foreman_remote_execution/version"
|
22
|
-
require "hammer_cli_foreman_remote_execution/i18n"
|
23
|
-
require "hammer_cli/i18n/find_task"
|
24
|
-
HammerCLI::I18n::FindTask.define(HammerCLIForemanRemoteExecution::I18n::LocaleDomain.new,
|
25
|
-
HammerCLIForemanRemoteExecution.version.to_s)
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require File.expand_path('lib/hammer_cli_foreman_remote_execution/version', __dir__)
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = 'hammer_cli_foreman_remote_execution'
|
7
|
-
s.version = HammerCLIForemanRemoteExecution.version.dup
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ['Foreman Remote Execution team']
|
10
|
-
s.email = ['foreman-dev@googlegroups.com']
|
11
|
-
s.homepage = 'https://github.com/theforeman/hammer_cli_foreman_remote_execution'
|
12
|
-
s.license = 'GPL-3.0-or-later'
|
13
|
-
|
14
|
-
s.summary = 'CLI for the Foreman remote execution plugin'
|
15
|
-
s.description = 'This gem provides CLI support for the Foreman remote execution plugin'
|
16
|
-
|
17
|
-
s.files = `git ls-files`.split("\n")
|
18
|
-
s.test_files = `git ls-files test`.split("\n")
|
19
|
-
s.extra_rdoc_files = `git ls-files doc`.split("\n") + Dir['README*', 'LICENSE']
|
20
|
-
|
21
|
-
s.add_dependency 'hammer_cli_foreman', '>= 0.1.3', '< 4.0.0'
|
22
|
-
s.add_dependency 'hammer_cli_foreman_tasks', '~> 0.0.3'
|
23
|
-
|
24
|
-
s.required_ruby_version = '>= 2.7', '< 4'
|
25
|
-
end
|