hammer_cli_foreman_kubevirt 0.1.4 → 0.1.5

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: b92e34eb3f05f411c78ae12c8f3ca5c4cb7ea0e6024a386ea774a7542f3ac986
4
- data.tar.gz: 3fef7fcfacdc88bab46740d9c29e01708a027c285f388c970d16b183f50da908
3
+ metadata.gz: 6cf995ef5aedd856fa36989e9d08e6ab33b7ba09e20e1bafda33c21c8b236cea
4
+ data.tar.gz: c60f8d5d06862b6b31c92f39cbed15ad4bcb888d8e815e758c80cde9cb880b38
5
5
  SHA512:
6
- metadata.gz: d0bd7889eb3f9aeeb49cfbf54e12278997536f825f2342f1f085e50af746d383e098c9285e42d4cd81501a79482275f35d823b2e71b9b2fbe1712ef4a47202f8
7
- data.tar.gz: e9f434ec6f41c6eb51a29ac6f9659b302f34e04f5d1cf4c97758da2cfc6a4067fe223382c52a44dfc1db6e211c535f6e3b0644be5075ed182e775eb56605e98d
6
+ metadata.gz: 2e63ad5eff5f200d9afc6ec5686dd3bdd93f07f9f11efc814140f2dac2e10b142666e1de42973525bd8d71e30b3e457c200f3f60fc635718dff4c996fbbb9ff1
7
+ data.tar.gz: 6c16b38faa5a01b5467589a545ea97aafb10fe58aae5eb9ee5f53f75cdeb2988121d0fc2188f046296a7c982a2bfb2a128285adb0a8696a2498974c194cf20ae
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'hammer_cli/i18n'
4
+ module HammerCLIForemanKubevirt
5
+ module I18n
6
+ class LocaleDomain < HammerCLI::I18n::LocaleDomain
7
+ def translated_files
8
+ Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
9
+ end
10
+
11
+ def locale_dir
12
+ File.join(File.dirname(__FILE__), '../../locale')
13
+ end
14
+
15
+ def domain_name
16
+ 'hammer-cli-foreman-kubevirt'
17
+ end
18
+
19
+ def type
20
+ :mo
21
+ end
22
+ end
23
+ end
24
+ end
25
+
26
+ HammerCLI::I18n.add_domain(HammerCLIForemanKubevirt::I18n::LocaleDomain.new)
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanKubevirt
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.1.4'
3
+ @version ||= Gem::Version.new '0.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,49 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_kubevirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shira Maximov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-27 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: gettext
14
+ name: hammer_cli_foreman
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.3
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 4.0.0
19
+ version: 0.17.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 3.1.3
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 4.0.0
26
+ version: 0.17.0
33
27
  - !ruby/object:Gem::Dependency
34
- name: hammer_cli_foreman
28
+ name: gettext
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: 0.17.0
40
- type: :runtime
33
+ version: 3.1.3
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 4.0.0
37
+ type: :development
41
38
  prerelease: false
42
39
  version_requirements: !ruby/object:Gem::Requirement
43
40
  requirements:
44
41
  - - ">="
45
42
  - !ruby/object:Gem::Version
46
- version: 0.17.0
43
+ version: 3.1.3
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 4.0.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -83,6 +83,7 @@ files:
83
83
  - config/foreman_kubevirt.yml
84
84
  - lib/hammer_cli_foreman_kubevirt.rb
85
85
  - lib/hammer_cli_foreman_kubevirt/compute_resources/kubevirt.rb
86
+ - lib/hammer_cli_foreman_kubevirt/i18n.rb
86
87
  - lib/hammer_cli_foreman_kubevirt/version.rb
87
88
  homepage: https://github.com/theforeman/hammer-cli-foreman-kubevirt
88
89
  licenses:
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
104
  - !ruby/object:Gem::Version
104
105
  version: '0'
105
106
  requirements: []
106
- rubygems_version: 3.0.3
107
+ rubygems_version: 3.1.2
107
108
  signing_key:
108
109
  specification_version: 4
109
110
  summary: Foreman kubevirt commands for Hammer CLI