hammer_cli_foreman_webhooks 0.2.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c32069b51726bdc0a38870a0ac85ca8e99d9ae996f2ee2a0f6852879a03c587
4
- data.tar.gz: f326251141da78713b28003586ac43bc9b412a8181fed48d63e0d78064dee2d9
3
+ metadata.gz: 4deaedbc19936132464f5a51fe10e0aebd52473c5fc076b24aae49b3d837aca3
4
+ data.tar.gz: 53027f3d9a19eb38beecf313b0086849980256326b343d2f6c75d4771444a2e3
5
5
  SHA512:
6
- metadata.gz: a92a093ed8c099482a49028ee61be2a1889c216f42820d723d2c294cf3d0fb3672057f332ce9bb57edde88378ce6da0ab36cce7c99e0737a1a9b5662cd31222a
7
- data.tar.gz: a1117115239b7a7eb5e6ba3bcb9ee7f7b43318fce6bdb20a8cf9b05d7fe9a067214e71616e8f04b1de088f3cb7649fb55eb552cab0d1bd6bd2de2e5a124ec91a
6
+ metadata.gz: c9b8946c055d36a409bec068944dd7543952b82ec69abed90bee6bf000482b7bc3a9bc3a580ff0188b28eceb9b847b24d2491b9901955a6e7392855dc9a0d542
7
+ data.tar.gz: 2b25c2162f69d623f3e5115110919001ee0dbf8e4455f63ea1f693eba22194bf4642666f676de7f683aee3b4cea8d9c31ab47dac098f31c9b99374dc12b8ec05
data/README.md CHANGED
@@ -8,7 +8,7 @@ This Hammer CLI plugin contains set of commands for [foreman_webhooks](
8
8
 
9
9
  This is the list of which version of Foreman Webhooks is needed to which version of this plugin.
10
10
 
11
- | hammer_cli_foreman_webhooks | v0.0.1 | v0.0.3 |
11
+ | hammer_cli_foreman_webhooks | v0.0.1 | v0.0.3 |
12
12
  |-----------------------------|--------|--------|
13
13
  | foreman_webhooks | v0.0.1 | v3.0.2 |
14
14
 
@@ -30,3 +30,7 @@ This is the list of which version of Foreman Webhooks is needed to which version
30
30
 
31
31
  See our [Hammer CLI installation and configuration instuctions](
32
32
  https://github.com/theforeman/hammer-cli/blob/master/doc/installation.md#installation).
33
+
34
+ ## Release
35
+
36
+ Please refer to [RELEASE.md](RELEASE.md)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module HammerCLIForemanWebhooks
4
4
  def self.version
5
- @version ||= Gem::Version.new '0.2.0'
5
+ @version ||= Gem::Version.new '0.2.2'
6
6
  end
7
7
  end
@@ -1,14 +1,14 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
8
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2024-11-11 20:09+0100\n"
11
- "PO-Revision-Date: 2023-07-12 17:00+0000\n"
10
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
11
+ "PO-Revision-Date: 2026-02-10 10:50+0000\n"
12
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
14
  "Language: \n"
@@ -0,0 +1,145 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
8
+ # Andi Chandler <andi@gowling.com>, 2025
9
+ #
10
+ #, fuzzy
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
16
+ "PO-Revision-Date: 2023-10-05 11:06+0000\n"
17
+ "Last-Translator: Andi Chandler <andi@gowling.com>, 2025\n"
18
+ "Language-Team: English (United Kingdom) (https://app.transifex.com/foreman/"
19
+ "teams/114/en_GB/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Language: en_GB\n"
24
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
25
+
26
+ msgid ""
27
+ "File containing X509 Certification Authorities concatenated in PEM format"
28
+ msgstr ""
29
+ "File containing X509 Certification Authorities concatenated in PEM format"
30
+
31
+ msgid "Id"
32
+ msgstr "Id"
33
+
34
+ msgid "Name"
35
+ msgstr "Name"
36
+
37
+ msgid "Target URL"
38
+ msgstr "Target URL"
39
+
40
+ msgid "Enabled"
41
+ msgstr "Enabled"
42
+
43
+ msgid "Event"
44
+ msgstr "Event"
45
+
46
+ msgid "HTTP Method"
47
+ msgstr "HTTP Method"
48
+
49
+ msgid "HTTP Content Type"
50
+ msgstr "HTTP Content Type"
51
+
52
+ msgid "Webhook Template"
53
+ msgstr "Webhook Template"
54
+
55
+ msgid "User"
56
+ msgstr "User"
57
+
58
+ msgid "Verify SSL"
59
+ msgstr "Verify SSL"
60
+
61
+ msgid "Proxy Authorization"
62
+ msgstr "Proxy Authorization"
63
+
64
+ msgid "X509 Certification Authorities"
65
+ msgstr "X509 Certification Authorities"
66
+
67
+ msgid "HTTP Headers"
68
+ msgstr "HTTP Headers"
69
+
70
+ msgid "Webhook [%{name}] created."
71
+ msgstr "Webhook [%{name}] created."
72
+
73
+ msgid "Could not create the webhook"
74
+ msgstr "Could not create the webhook"
75
+
76
+ msgid "Webhook [%{name}] updated."
77
+ msgstr "Webhook [%{name}] updated."
78
+
79
+ msgid "Could not update the webhook"
80
+ msgstr "Could not update the webhook"
81
+
82
+ msgid "Webhook [%{name}] deleted."
83
+ msgstr "Webhook [%{name}] deleted."
84
+
85
+ msgid "Could not delete the webhook"
86
+ msgstr "Could not delete the webhook"
87
+
88
+ msgid "Description"
89
+ msgstr "Description"
90
+
91
+ msgid "Locked"
92
+ msgstr "Locked"
93
+
94
+ msgid "Default"
95
+ msgstr "Default"
96
+
97
+ msgid "Template inputs"
98
+ msgstr "Template inputs"
99
+
100
+ msgid "Required"
101
+ msgstr "Required"
102
+
103
+ msgid "Options"
104
+ msgstr "Options"
105
+
106
+ msgid "Webhook template cloned."
107
+ msgstr "Webhook template cloned."
108
+
109
+ msgid "Could not clone the webhook template"
110
+ msgstr "Could not clone the webhook template"
111
+
112
+ msgid ""
113
+ "Path to a file that contains the webhook template content including metadata"
114
+ msgstr ""
115
+ "Path to a file that contains the webhook template content including metadata"
116
+
117
+ msgid "Imported webhook template successfully."
118
+ msgstr "Imported webhook template successfully."
119
+
120
+ msgid "Could not import the webhook template"
121
+ msgstr "Could not import the webhook template"
122
+
123
+ msgid "View webhook template content"
124
+ msgstr "View webhook template content"
125
+
126
+ msgid "Webhook template [%{name}] created."
127
+ msgstr "Webhook template [%{name}] created."
128
+
129
+ msgid "Could not create the webhook template"
130
+ msgstr "Could not create the webhook template"
131
+
132
+ msgid "Webhook template [%{name}] updated."
133
+ msgstr "Webhook template [%{name}] updated."
134
+
135
+ msgid "Could not update the webhook template"
136
+ msgstr "Could not update the webhook template"
137
+
138
+ msgid "Webhook template [%{name}] deleted."
139
+ msgstr "Webhook template [%{name}] deleted."
140
+
141
+ msgid "Could not delete the webhook template"
142
+ msgstr "Could not delete the webhook template"
143
+
144
+ msgid "The webhook template has been saved to %{path}."
145
+ msgstr "The webhook template has been saved to %{path}."
@@ -1,6 +1,6 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
@@ -14,12 +14,12 @@
14
14
  #, fuzzy
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
17
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
- "POT-Creation-Date: 2023-07-12 17:00+0000\n"
19
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
20
20
  "PO-Revision-Date: 2023-10-05 11:06+0000\n"
21
- "Last-Translator: Ewoud Kohl van Wijngaarden "
22
- "<ewoud+transifex@kohlvanwijngaarden.nl>, 2024\n"
21
+ "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud"
22
+ "+transifex@kohlvanwijngaarden.nl>, 2024\n"
23
23
  "Language-Team: French (https://app.transifex.com/foreman/teams/114/fr/)\n"
24
24
  "MIME-Version: 1.0\n"
25
25
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
9
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-11-11 20:09+0100\n"
12
- "PO-Revision-Date: 2024-11-11 20:09+0100\n"
11
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
12
+ "PO-Revision-Date: 2026-02-10 10:50+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -1,21 +1,21 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
8
8
  # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
9
+ # Ondřej Gajdušek, 2026
9
10
  #
10
11
  #, fuzzy
11
12
  msgid ""
12
13
  msgstr ""
13
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
14
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
14
15
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2023-07-12 17:00+0000\n"
16
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
16
17
  "PO-Revision-Date: 2023-10-05 11:06+0000\n"
17
- "Last-Translator: Ewoud Kohl van Wijngaarden "
18
- "<ewoud+transifex@kohlvanwijngaarden.nl>, 2024\n"
18
+ "Last-Translator: Ondřej Gajdušek, 2026\n"
19
19
  "Language-Team: Japanese (https://app.transifex.com/foreman/teams/114/ja/)\n"
20
20
  "MIME-Version: 1.0\n"
21
21
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -61,7 +61,7 @@ msgid "Proxy Authorization"
61
61
  msgstr "プロキシー認可"
62
62
 
63
63
  msgid "X509 Certification Authorities"
64
- msgstr "X509 証明機関"
64
+ msgstr "X509 認証局"
65
65
 
66
66
  msgid "HTTP Headers"
67
67
  msgstr "HTTP ヘッダー"
@@ -1,6 +1,6 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
@@ -9,9 +9,9 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
12
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
- "POT-Creation-Date: 2023-07-12 17:00+0000\n"
14
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
15
15
  "PO-Revision-Date: 2023-10-05 11:06+0000\n"
16
16
  "Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2023\n"
17
17
  "Language-Team: Georgian (https://app.transifex.com/foreman/teams/114/ka/)\n"
@@ -1,22 +1,22 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
8
8
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
9
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
9
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
10
10
  #
11
11
  #, fuzzy
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
14
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
- "POT-Creation-Date: 2023-07-12 17:00+0000\n"
16
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
17
17
  "PO-Revision-Date: 2023-10-05 11:06+0000\n"
18
- "Last-Translator: Ewoud Kohl van Wijngaarden "
19
- "<ewoud+transifex@kohlvanwijngaarden.nl>, 2024\n"
18
+ "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud"
19
+ "+transifex@kohlvanwijngaarden.nl>, 2025\n"
20
20
  "Language-Team: Korean (https://app.transifex.com/foreman/teams/114/ko/)\n"
21
21
  "MIME-Version: 1.0\n"
22
22
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -32,7 +32,7 @@ msgid "Id"
32
32
  msgstr "ID"
33
33
 
34
34
  msgid "Name"
35
- msgstr "이름"
35
+ msgstr "이름 "
36
36
 
37
37
  msgid "Target URL"
38
38
  msgstr "대상 URL"
@@ -1,6 +1,6 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli-foreman-webhooks package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_webhooks package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
@@ -13,12 +13,12 @@
13
13
  #, fuzzy
14
14
  msgid ""
15
15
  msgstr ""
16
- "Project-Id-Version: hammer_cli_foreman_webhooks 0.1.0\n"
16
+ "Project-Id-Version: hammer_cli_foreman_webhooks 0.2.1\n"
17
17
  "Report-Msgid-Bugs-To: \n"
18
- "POT-Creation-Date: 2023-07-12 17:00+0000\n"
18
+ "POT-Creation-Date: 2026-02-10 10:50+0000\n"
19
19
  "PO-Revision-Date: 2023-10-05 11:06+0000\n"
20
- "Last-Translator: Ewoud Kohl van Wijngaarden "
21
- "<ewoud+transifex@kohlvanwijngaarden.nl>, 2024\n"
20
+ "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud"
21
+ "+transifex@kohlvanwijngaarden.nl>, 2024\n"
22
22
  "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/"
23
23
  "zh_CN/)\n"
24
24
  "MIME-Version: 1.0\n"
data/test/test_helper.rb CHANGED
@@ -2,7 +2,7 @@ ENV['TEST_API_VERSION'] = ENV['TEST_API_VERSION'] || '3.3'
2
2
  FOREMAN_WEBHOOKS_VERSION = Gem::Version.new(ENV['TEST_API_VERSION']).to_s
3
3
 
4
4
  require 'minitest/autorun'
5
- require 'minitest/spec'
5
+ require 'minitest/unit'
6
6
  require 'minitest-spec-context'
7
7
  require 'mocha/minitest'
8
8
  require 'hammer_cli'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleh Fedorenko
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-05-13 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: hammer_cli_foreman
@@ -30,7 +29,6 @@ dependencies:
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 4.0.0
33
- description:
34
32
  email:
35
33
  - ofedoren@redhat.com
36
34
  executables: []
@@ -49,6 +47,8 @@ files:
49
47
  - lib/hammer_cli_foreman_webhooks/webhook_template.rb
50
48
  - locale/en/LC_MESSAGES/hammer_cli_foreman_webhooks.mo
51
49
  - locale/en/hammer_cli_foreman_webhooks.po
50
+ - locale/en_GB/LC_MESSAGES/hammer_cli_foreman_webhooks.mo
51
+ - locale/en_GB/hammer_cli_foreman_webhooks.po
52
52
  - locale/fr/LC_MESSAGES/hammer_cli_foreman_webhooks.mo
53
53
  - locale/fr/hammer_cli_foreman_webhooks.po
54
54
  - locale/hammer_cli_foreman_webhooks.pot
@@ -69,7 +69,6 @@ homepage: https://github.com/theforeman/hammer-cli-foreman-webhooks
69
69
  licenses:
70
70
  - GPL-3.0-only
71
71
  metadata: {}
72
- post_install_message:
73
72
  rdoc_options: []
74
73
  require_paths:
75
74
  - lib
@@ -87,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
86
  - !ruby/object:Gem::Version
88
87
  version: '0'
89
88
  requirements: []
90
- rubygems_version: 3.2.33
91
- signing_key:
89
+ rubygems_version: 4.0.3
92
90
  specification_version: 4
93
91
  summary: Foreman Webhooks plugin for Hammer CLI
94
92
  test_files: