hammer_cli_foreman_leapp 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a501fe7ceb820332bf09467cbc906982a1d164bfc51cf454f78073b6d60d8381
4
- data.tar.gz: 0b0b9b99bdaa87c77c829c495ef4e92635a8dff2c7f7dbc74e73dc957cbd04e7
3
+ metadata.gz: c8c945fa4b84670eb4c337058510b7e5cad80c2dc9c7f454e36783f3d614ef4c
4
+ data.tar.gz: 1d637c17db7871b344d2286da6014a45e00b787053f00dfb5b048a8bc7831b07
5
5
  SHA512:
6
- metadata.gz: b6a198719ec82327f422cecd1924593d38a975ce32239ebfe66859d0fa3fb4c86956d1b324cdbc94b81aff7bdf9dd4dde2832b66e56d933172a75d9975b7042a
7
- data.tar.gz: 34e9dbacd036e8874631807d1ee88bb66792010d42b00b1db5a4951d31e412a06b813ebcf9d126d3b0b6eae14bb66ce46600da593a9858b871154374963250a9
6
+ metadata.gz: b53b6311ecb2010abaea685b28663c5b6f2fffb55f89390bf7d1476ea7c9e5ae5b3d5e217fb987c1721408632db1b57247e4f390e169cb97ad532447b42236af
7
+ data.tar.gz: 52a3421c6667697506481d71c0c478e418becc7fafa54be755e505e6a601d4a02a4ba14fe2628a9f7352514e789247fa00b1d94e0a08eb58b4501b2858a71b96
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'hammer_cli/i18n'
4
+
5
+ module HammerCLIForemanLeapp
6
+ module I18n
7
+ class LocaleDomain < HammerCLI::I18n::LocaleDomain
8
+ def translated_files
9
+ Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
10
+ end
11
+
12
+ def locale_dir
13
+ File.join(File.dirname(__FILE__), '../../locale')
14
+ end
15
+
16
+ def domain_name
17
+ 'hammer-cli-foreman-leapp'
18
+ end
19
+ end
20
+
21
+ class SystemLocaleDomain < LocaleDomain
22
+ def locale_dir
23
+ '/usr/share/locale'
24
+ end
25
+ end
26
+ end
27
+ end
28
+
29
+ domain = [HammerCLIForemanLeapp::I18n::LocaleDomain.new,
30
+ HammerCLIForemanLeapp::I18n::SystemLocaleDomain.new].find(&:available?)
31
+ HammerCLI::I18n.add_domain(domain) if domain
@@ -2,6 +2,6 @@
2
2
 
3
3
  module HammerCLIForemanLeapp
4
4
  def self.version
5
- @version ||= Gem::Version.new '0.1.1'
5
+ @version ||= Gem::Version.new '0.1.3'
6
6
  end
7
7
  end
@@ -4,6 +4,7 @@ require 'hammer_cli'
4
4
  require 'hammer_cli_foreman'
5
5
 
6
6
  require 'hammer_cli_foreman_leapp/version'
7
+ require 'hammer_cli_foreman_admin/i18n'
7
8
  require 'hammer_cli_foreman_leapp/preupgrade_reports'
8
9
 
9
10
  module HammerCLIForemanLeapp
@@ -0,0 +1,54 @@
1
+ # English translations for hammer-cli-foreman-leapp package.
2
+ # Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli-foreman-leapp package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer-cli-foreman-leapp 0.1.1\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2023-07-12 15:43+0000\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: English\n"
13
+ "Language: en\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=; plural=;\n"
18
+ "\n"
19
+
20
+ msgid "Id"
21
+ msgstr ""
22
+
23
+ msgid "Reported at"
24
+ msgstr ""
25
+
26
+ msgid "Job Invocation Id"
27
+ msgstr ""
28
+
29
+ msgid "Host Id"
30
+ msgstr ""
31
+
32
+ msgid "Entries"
33
+ msgstr ""
34
+
35
+ msgid "Host name"
36
+ msgstr ""
37
+
38
+ msgid "Title"
39
+ msgstr ""
40
+
41
+ msgid "Actor"
42
+ msgstr ""
43
+
44
+ msgid "Audience"
45
+ msgstr ""
46
+
47
+ msgid "Severity"
48
+ msgstr ""
49
+
50
+ msgid "Tags"
51
+ msgstr ""
52
+
53
+ msgid "Summary"
54
+ msgstr ""
@@ -0,0 +1,68 @@
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-leapp package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hammer-cli-foreman-leapp 0.1.1\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2023-07-12 15:43+0000\n"
12
+ "PO-Revision-Date: 2023-07-12 15:43+0000\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
+
21
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:9
22
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:21
23
+ msgid "Id"
24
+ msgstr ""
25
+
26
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:10
27
+ msgid "Reported at"
28
+ msgstr ""
29
+
30
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:11
31
+ msgid "Job Invocation Id"
32
+ msgstr ""
33
+
34
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:12
35
+ msgid "Host Id"
36
+ msgstr ""
37
+
38
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:20
39
+ msgid "Entries"
40
+ msgstr ""
41
+
42
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:22
43
+ msgid "Host name"
44
+ msgstr ""
45
+
46
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:23
47
+ msgid "Title"
48
+ msgstr ""
49
+
50
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:24
51
+ msgid "Actor"
52
+ msgstr ""
53
+
54
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:25
55
+ msgid "Audience"
56
+ msgstr ""
57
+
58
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:26
59
+ msgid "Severity"
60
+ msgstr ""
61
+
62
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:27
63
+ msgid "Tags"
64
+ msgstr ""
65
+
66
+ #: ../lib/hammer_cli_foreman_leapp/preupgrade_reports.rb:28
67
+ msgid "Summary"
68
+ msgstr ""
metadata CHANGED
@@ -1,77 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_leapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Leapp team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli_foreman
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.0.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 4.0.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 2.0.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 4.0.0
33
- - !ruby/object:Gem::Dependency
34
- name: bundler
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
- - !ruby/object:Gem::Dependency
48
- name: rake
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: rubocop
63
15
  requirement: !ruby/object:Gem::Requirement
64
16
  requirements:
65
17
  - - "~>"
66
18
  - !ruby/object:Gem::Version
67
- version: '0.80'
68
- type: :development
19
+ version: '3.10'
20
+ type: :runtime
69
21
  prerelease: false
70
22
  version_requirements: !ruby/object:Gem::Requirement
71
23
  requirements:
72
24
  - - "~>"
73
25
  - !ruby/object:Gem::Version
74
- version: '0.80'
26
+ version: '3.10'
75
27
  description:
76
28
  email:
77
29
  - foreman-dev@googlegroups.com
@@ -83,8 +35,11 @@ files:
83
35
  - README.md
84
36
  - config/foreman_leapp.yml
85
37
  - lib/hammer_cli_foreman_leapp.rb
38
+ - lib/hammer_cli_foreman_leapp/i18n.rb
86
39
  - lib/hammer_cli_foreman_leapp/preupgrade_reports.rb
87
40
  - lib/hammer_cli_foreman_leapp/version.rb
41
+ - locale/en/hammer-cli-foreman-leapp.po
42
+ - locale/hammer-cli-foreman-leapp.pot
88
43
  homepage: https://github.com/stejskalleos/hammer-cli-foreman-leapp
89
44
  licenses:
90
45
  - GPL-3.0
@@ -97,14 +52,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
52
  requirements:
98
53
  - - ">="
99
54
  - !ruby/object:Gem::Version
100
- version: '0'
55
+ version: '2.7'
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '4'
101
59
  required_rubygems_version: !ruby/object:Gem::Requirement
102
60
  requirements:
103
61
  - - ">="
104
62
  - !ruby/object:Gem::Version
105
63
  version: '0'
106
64
  requirements: []
107
- rubygems_version: 3.1.2
65
+ rubygems_version: 3.1.6
108
66
  signing_key:
109
67
  specification_version: 4
110
68
  summary: Foreman Leapp plugin for Hammer CLI