hammer_cli_foreman_templates 0.3.0 → 0.4.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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman_templates/exception_handler.rb +1 -1
  3. data/lib/hammer_cli_foreman_templates/export.rb +1 -1
  4. data/lib/hammer_cli_foreman_templates/i18n.rb +1 -4
  5. data/lib/hammer_cli_foreman_templates/version.rb +1 -2
  6. data/locale/de/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  7. data/locale/de/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  8. data/locale/en/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  9. data/locale/en/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +2 -2
  10. data/locale/en_GB/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  11. data/locale/en_GB/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  12. data/locale/es/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  13. data/locale/es/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  14. data/locale/fr/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  15. data/locale/fr/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  16. data/locale/{hammer-cli-foreman-templates.pot → hammer_cli_foreman_templates.pot} +4 -4
  17. data/locale/ja/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  18. data/locale/ja/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  19. data/locale/ka/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  20. data/locale/ka/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  21. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_templates.mo +0 -0
  22. data/locale/ko/hammer_cli_foreman_templates.po +78 -0
  23. data/locale/pt_BR/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  24. data/locale/pt_BR/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  25. data/locale/zh_CN/LC_MESSAGES/{hammer-cli-foreman-templates.mo → hammer_cli_foreman_templates.mo} +0 -0
  26. data/locale/zh_CN/{hammer-cli-foreman-templates.po → hammer_cli_foreman_templates.po} +1 -1
  27. data/test/test_helper.rb +1 -1
  28. metadata +41 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e53981f5ee7e8d339c4139b8a1b3080fe63d18974ce8c57f414d1e49bb3bf11
4
- data.tar.gz: 14fc1e5c23d423e644a2251d656447930085080602d87fab7244d63bc4ddc3c9
3
+ metadata.gz: 78ea1263f5de80f76c7e519755ebf965f4a1e62400edff20120b0e4a6eaf85e8
4
+ data.tar.gz: 902f1f5118f2f4c8c735134b67d68bfa88c65d40619447c4960179abc78b7b16
5
5
  SHA512:
6
- metadata.gz: 85da44920fc73ef4542946655b2fd5415e0db043d9f223429e4a912ae86f1d030af6b303341c059def83936a30ac8bb1c34efb276dc4da9cbeba045b3d344b81
7
- data.tar.gz: 7ed12e3d2e72fa86105414892fffc3d09e54b9943587de7e968822df73e3c1645e6cba8303e2e87ca322e52f696e02e93f3262ccb5fa03486062d9f4e9a6fdb9
6
+ metadata.gz: 85b2765efd9a1f69cfe5f01d2c8ee0fee9e9436799b7c771922a28245dbf54fd3c4a1a9ed5ba9560b8edbb9a9187e37e0d665f379574a80ac8c9019943d66584
7
+ data.tar.gz: 0a176b69ebdfb5998e9c89258847a11f4ef59a80810c95a8d65e44da01ac9a89d99bf7f18748f68513d26e5b69a7d0e8f70b6879b609e8dcb2edb015dd4f6046
@@ -2,7 +2,7 @@ module HammerCLIForemanTemplates
2
2
  class ExceptionHandler < HammerCLIForeman::ExceptionHandler
3
3
  def mappings
4
4
  [
5
- [RestClient::InternalServerError, :handle_internal_error]
5
+ [RestClient::InternalServerError, :handle_internal_error],
6
6
  ] + super
7
7
  end
8
8
 
@@ -9,7 +9,7 @@ module HammerCLIForemanTemplates
9
9
  failure_message _('Could not export')
10
10
 
11
11
  option '--verbose', 'BE_VERBOSE', _('Be verbose'),
12
- format: HammerCLI::Options::Normalizers::Bool.new
12
+ format: HammerCLI::Options::Normalizers::Bool.new
13
13
 
14
14
  output do
15
15
  field :id, _('Id'), Fields::Id
@@ -2,9 +2,7 @@ require 'hammer_cli/i18n'
2
2
 
3
3
  module HammerCLIForemanTemplates
4
4
  module I18n
5
-
6
5
  class LocaleDomain < HammerCLI::I18n::LocaleDomain
7
-
8
6
  def translated_files
9
7
  Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
10
8
  end
@@ -14,10 +12,9 @@ module HammerCLIForemanTemplates
14
12
  end
15
13
 
16
14
  def domain_name
17
- 'hammer-cli-foreman-templates'
15
+ 'hammer_cli_foreman_templates'
18
16
  end
19
17
  end
20
-
21
18
  end
22
19
  end
23
20
 
@@ -1,6 +1,5 @@
1
-
2
1
  module HammerCLIForemanTemplates
3
2
  def self.version
4
- @version ||= Gem::Version.new '0.3.0'
3
+ @version ||= Gem::Version.new '0.4.0'
5
4
  end
6
5
  end
@@ -12,7 +12,7 @@
12
12
  #, fuzzy
13
13
  msgid ""
14
14
  msgstr ""
15
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
15
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
16
16
  "Report-Msgid-Bugs-To: \n"
17
17
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
18
18
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -5,9 +5,9 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
8
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2023-07-12 16:50+0000\n"
10
+ "POT-Creation-Date: 2024-11-11 20:03+0100\n"
11
11
  "PO-Revision-Date: 2023-07-12 16:50+0000\n"
12
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -10,7 +10,7 @@
10
10
  #, fuzzy
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
13
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
15
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
16
16
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
12
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
15
15
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -11,7 +11,7 @@
11
11
  #, fuzzy
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
14
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
16
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
17
17
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -1,15 +1,15 @@
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-templates package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_templates package.
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
9
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2023-07-12 16:50+0000\n"
12
- "PO-Revision-Date: 2023-07-12 16:50+0000\n"
11
+ "POT-Creation-Date: 2024-11-11 20:03+0100\n"
12
+ "PO-Revision-Date: 2024-11-11 20:03+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -12,7 +12,7 @@
12
12
  #, fuzzy
13
13
  msgid ""
14
14
  msgstr ""
15
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
15
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
16
16
  "Report-Msgid-Bugs-To: \n"
17
17
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
18
18
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -9,7 +9,7 @@
9
9
  #, fuzzy
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
12
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
15
15
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -0,0 +1,78 @@
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-templates package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
8
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
9
+ #
10
+ #, fuzzy
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "POT-Creation-Date: 2023-07-12 16:50+0000\n"
16
+ "PO-Revision-Date: 2020-08-11 10:12+0000\n"
17
+ "Last-Translator: Ewoud Kohl van Wijngaarden "
18
+ "<ewoud+transifex@kohlvanwijngaarden.nl>, 2024\n"
19
+ "Language-Team: Korean (https://app.transifex.com/foreman/teams/114/ko/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Language: ko\n"
24
+ "Plural-Forms: nplurals=1; plural=0;\n"
25
+
26
+ msgid "Export templates to a git repo or a directory on the server"
27
+ msgstr "템플릿을 git repo 또는 서버의 디렉토리로 내보내기"
28
+
29
+ msgid "Export finished."
30
+ msgstr "내보내기가 완료되었습니다."
31
+
32
+ msgid "Could not export"
33
+ msgstr "내보낼 수 없습니다"
34
+
35
+ msgid "Be verbose"
36
+ msgstr "자세한 설명"
37
+
38
+ msgid "Id"
39
+ msgstr "ID"
40
+
41
+ msgid "Name"
42
+ msgstr "이름 "
43
+
44
+ msgid "Type"
45
+ msgstr "유형 "
46
+
47
+ msgid "Exported"
48
+ msgstr "내보내기됨"
49
+
50
+ msgid "Import templates from a git repo or a directory on the server"
51
+ msgstr "git repo 또는 서버의 디렉토리에서 템플릿 가져오기"
52
+
53
+ msgid "Import finished."
54
+ msgstr "가져오기가 완료되었습니다."
55
+
56
+ msgid "Could not import"
57
+ msgstr "가져올 수 없습니다"
58
+
59
+ msgid "Imported"
60
+ msgstr "가져오기됨"
61
+
62
+ msgid "Changed"
63
+ msgstr "변경됨"
64
+
65
+ msgid "Changes"
66
+ msgstr "변경"
67
+
68
+ msgid "Errors"
69
+ msgstr "오류"
70
+
71
+ msgid "Validation"
72
+ msgstr "확인"
73
+
74
+ msgid "Additional"
75
+ msgstr "추가"
76
+
77
+ msgid "Exception"
78
+ msgstr "예외"
@@ -11,7 +11,7 @@
11
11
  #, fuzzy
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
14
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
16
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
17
17
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
@@ -11,7 +11,7 @@
11
11
  #, fuzzy
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: hammer-cli-foreman-templates 0.2.0\n"
14
+ "Project-Id-Version: hammer_cli_foreman_templates 0.3.0\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
16
  "POT-Creation-Date: 2023-07-12 16:50+0000\n"
17
17
  "PO-Revision-Date: 2020-08-11 10:12+0000\n"
data/test/test_helper.rb CHANGED
@@ -23,4 +23,4 @@ else
23
23
  )
24
24
  end
25
25
 
26
- require 'hammer_cli_foreman_templates'
26
+ require 'hammer_cli_foreman_templates'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Foreman team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2025-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli_foreman
@@ -16,18 +16,24 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 3.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 4.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 0.11.0
29
+ version: 3.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 4.0.0
27
33
  description: 'CLI plugin with import and export commands for Hammer_CLI_Foreman
28
34
 
29
- '
30
- email:
35
+ '
36
+ email:
31
37
  executables: []
32
38
  extensions: []
33
39
  extra_rdoc_files:
@@ -43,31 +49,33 @@ files:
43
49
  - lib/hammer_cli_foreman_templates/i18n.rb
44
50
  - lib/hammer_cli_foreman_templates/import.rb
45
51
  - lib/hammer_cli_foreman_templates/version.rb
46
- - locale/de/LC_MESSAGES/hammer-cli-foreman-templates.mo
47
- - locale/de/hammer-cli-foreman-templates.po
48
- - locale/en/LC_MESSAGES/hammer-cli-foreman-templates.mo
49
- - locale/en/hammer-cli-foreman-templates.po
50
- - locale/en_GB/LC_MESSAGES/hammer-cli-foreman-templates.mo
51
- - locale/en_GB/hammer-cli-foreman-templates.po
52
- - locale/es/LC_MESSAGES/hammer-cli-foreman-templates.mo
53
- - locale/es/hammer-cli-foreman-templates.po
54
- - locale/fr/LC_MESSAGES/hammer-cli-foreman-templates.mo
55
- - locale/fr/hammer-cli-foreman-templates.po
56
- - locale/hammer-cli-foreman-templates.pot
57
- - locale/ja/LC_MESSAGES/hammer-cli-foreman-templates.mo
58
- - locale/ja/hammer-cli-foreman-templates.po
59
- - locale/ka/LC_MESSAGES/hammer-cli-foreman-templates.mo
60
- - locale/ka/hammer-cli-foreman-templates.po
61
- - locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-templates.mo
62
- - locale/pt_BR/hammer-cli-foreman-templates.po
63
- - locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-templates.mo
64
- - locale/zh_CN/hammer-cli-foreman-templates.po
52
+ - locale/de/LC_MESSAGES/hammer_cli_foreman_templates.mo
53
+ - locale/de/hammer_cli_foreman_templates.po
54
+ - locale/en/LC_MESSAGES/hammer_cli_foreman_templates.mo
55
+ - locale/en/hammer_cli_foreman_templates.po
56
+ - locale/en_GB/LC_MESSAGES/hammer_cli_foreman_templates.mo
57
+ - locale/en_GB/hammer_cli_foreman_templates.po
58
+ - locale/es/LC_MESSAGES/hammer_cli_foreman_templates.mo
59
+ - locale/es/hammer_cli_foreman_templates.po
60
+ - locale/fr/LC_MESSAGES/hammer_cli_foreman_templates.mo
61
+ - locale/fr/hammer_cli_foreman_templates.po
62
+ - locale/hammer_cli_foreman_templates.pot
63
+ - locale/ja/LC_MESSAGES/hammer_cli_foreman_templates.mo
64
+ - locale/ja/hammer_cli_foreman_templates.po
65
+ - locale/ka/LC_MESSAGES/hammer_cli_foreman_templates.mo
66
+ - locale/ka/hammer_cli_foreman_templates.po
67
+ - locale/ko/LC_MESSAGES/hammer_cli_foreman_templates.mo
68
+ - locale/ko/hammer_cli_foreman_templates.po
69
+ - locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_templates.mo
70
+ - locale/pt_BR/hammer_cli_foreman_templates.po
71
+ - locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_templates.mo
72
+ - locale/zh_CN/hammer_cli_foreman_templates.po
65
73
  - test/test_helper.rb
66
74
  homepage: https://github.com/theforeman/hammer-cli-foreman-templates
67
75
  licenses:
68
- - GPL-3.0
76
+ - GPL-3.0-only
69
77
  metadata: {}
70
- post_install_message:
78
+ post_install_message:
71
79
  rdoc_options: []
72
80
  require_paths:
73
81
  - lib
@@ -75,7 +83,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
83
  requirements:
76
84
  - - ">="
77
85
  - !ruby/object:Gem::Version
78
- version: '0'
86
+ version: '2.7'
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '4'
79
90
  required_rubygems_version: !ruby/object:Gem::Requirement
80
91
  requirements:
81
92
  - - ">="
@@ -83,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
94
  version: '0'
84
95
  requirements: []
85
96
  rubygems_version: 3.2.33
86
- signing_key:
97
+ signing_key:
87
98
  specification_version: 4
88
99
  summary: Foreman Hammer commands for exporting and importing templates
89
100
  test_files: