foreman_google 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/foreman_google/version.rb +1 -1
  3. data/locale/cs_CZ/LC_MESSAGES/foreman_google.mo +0 -0
  4. data/locale/cs_CZ/foreman_google.po +99 -0
  5. data/locale/de/LC_MESSAGES/foreman_google.mo +0 -0
  6. data/locale/de/foreman_google.po +106 -0
  7. data/locale/el/LC_MESSAGES/foreman_google.mo +0 -0
  8. data/locale/el/foreman_google.po +96 -0
  9. data/locale/en/LC_MESSAGES/foreman_google.mo +0 -0
  10. data/locale/en/foreman_google.po +1 -1
  11. data/locale/es/LC_MESSAGES/foreman_google.mo +0 -0
  12. data/locale/es/foreman_google.po +104 -0
  13. data/locale/fr/LC_MESSAGES/foreman_google.mo +0 -0
  14. data/locale/fr/foreman_google.po +101 -0
  15. data/locale/it/LC_MESSAGES/foreman_google.mo +0 -0
  16. data/locale/it/foreman_google.po +100 -0
  17. data/locale/ja/LC_MESSAGES/foreman_google.mo +0 -0
  18. data/locale/ja/foreman_google.po +98 -0
  19. data/locale/ka/LC_MESSAGES/foreman_google.mo +0 -0
  20. data/locale/ka/foreman_google.po +96 -0
  21. data/locale/ko/LC_MESSAGES/foreman_google.mo +0 -0
  22. data/locale/ko/foreman_google.po +97 -0
  23. data/locale/pl/LC_MESSAGES/foreman_google.mo +0 -0
  24. data/locale/pl/foreman_google.po +99 -0
  25. data/locale/pt_BR/LC_MESSAGES/foreman_google.mo +0 -0
  26. data/locale/pt_BR/foreman_google.po +103 -0
  27. data/locale/ru/LC_MESSAGES/foreman_google.mo +0 -0
  28. data/locale/ru/foreman_google.po +102 -0
  29. data/locale/sv_SE/LC_MESSAGES/foreman_google.mo +0 -0
  30. data/locale/sv_SE/foreman_google.po +99 -0
  31. data/locale/zh_CN/LC_MESSAGES/foreman_google.mo +0 -0
  32. data/locale/zh_CN/foreman_google.po +100 -0
  33. data/locale/zh_TW/LC_MESSAGES/foreman_google.mo +0 -0
  34. data/locale/zh_TW/foreman_google.po +99 -0
  35. data/test/unit/foreman_google/google_compute_adapter_test.rb +0 -15
  36. metadata +34 -3
@@ -0,0 +1,99 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_google package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Mikael Fridh <frimik@gmail.com>, 2022
8
+ # Fredrik Wendt <fredrik@wendt.se>, 2022
9
+ # johnny.westerlund <johnny.westerlund@gmail.com>, 2022
10
+ #
11
+ #, fuzzy
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: foreman_google 1.0.0\n"
15
+ "Report-Msgid-Bugs-To: \n"
16
+ "PO-Revision-Date: 2022-08-01 12:51+0000\n"
17
+ "Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2022\n"
18
+ "Language-Team: Swedish (Sweden) (https://www.transifex.com/foreman/teams/114/s"
19
+ "v_SE/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Language: sv_SE\n"
24
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
25
+
26
+ msgid "Action with sub plans"
27
+ msgstr ""
28
+
29
+ msgid "Actions"
30
+ msgstr "Åtgärder"
31
+
32
+ msgid "Associate Ephemeral External IP"
33
+ msgstr ""
34
+
35
+ msgid "Does this image support user data input (e.g. via cloud-init)?"
36
+ msgstr "Stödjer denna bild användardata (såsom via cloud-init)?"
37
+
38
+ msgid "Google Compute Engine plugin for the Foreman."
39
+ msgstr ""
40
+
41
+ msgid "Image"
42
+ msgstr "Avbildning"
43
+
44
+ msgid "Import Puppet classes"
45
+ msgstr ""
46
+
47
+ msgid "Import facts"
48
+ msgstr ""
49
+
50
+ msgid "JSON key"
51
+ msgstr ""
52
+
53
+ msgid "Load Zones"
54
+ msgstr ""
55
+
56
+ msgid "Machine Type"
57
+ msgstr "Maskintyp"
58
+
59
+ msgid "Machine type"
60
+ msgstr "Maskintyp"
61
+
62
+ msgid "Missing an image for operating system!"
63
+ msgstr ""
64
+
65
+ msgid "Name"
66
+ msgstr "Namn"
67
+
68
+ msgid "Network"
69
+ msgstr "Nätverk"
70
+
71
+ msgid "Please select an image"
72
+ msgstr "Vänligen välj en avbildning"
73
+
74
+ msgid "Preupgrade job"
75
+ msgstr ""
76
+
77
+ msgid "Properties"
78
+ msgstr "Egenskaper"
79
+
80
+ msgid "Remote action:"
81
+ msgstr ""
82
+
83
+ msgid "Size (GB)"
84
+ msgstr "Storlek (GB)"
85
+
86
+ msgid "State"
87
+ msgstr "Tillstånd"
88
+
89
+ msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
90
+ msgstr ""
91
+
92
+ msgid "Type"
93
+ msgstr "Typ"
94
+
95
+ msgid "Zone"
96
+ msgstr "Zon"
97
+
98
+ msgid "console is not available at this time because the instance is powered off"
99
+ msgstr ""
@@ -0,0 +1,100 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_google package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2022
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
+ # tim123, 2022
10
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
11
+ #
12
+ #, fuzzy
13
+ msgid ""
14
+ msgstr ""
15
+ "Project-Id-Version: foreman_google 1.0.0\n"
16
+ "Report-Msgid-Bugs-To: \n"
17
+ "PO-Revision-Date: 2022-08-01 12:51+0000\n"
18
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
19
+ "Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
20
+ "_CN/)\n"
21
+ "MIME-Version: 1.0\n"
22
+ "Content-Type: text/plain; charset=UTF-8\n"
23
+ "Content-Transfer-Encoding: 8bit\n"
24
+ "Language: zh_CN\n"
25
+ "Plural-Forms: nplurals=1; plural=0;\n"
26
+
27
+ msgid "Action with sub plans"
28
+ msgstr "有子计划的操作"
29
+
30
+ msgid "Actions"
31
+ msgstr "操作"
32
+
33
+ msgid "Associate Ephemeral External IP"
34
+ msgstr "关联临时外部 IP"
35
+
36
+ msgid "Does this image support user data input (e.g. via cloud-init)?"
37
+ msgstr "这个镜像是否支持用户数据输入(例如:通过 cloud-init)?"
38
+
39
+ msgid "Google Compute Engine plugin for the Foreman."
40
+ msgstr "Foreman 的 Google Compute Engine 插件。"
41
+
42
+ msgid "Image"
43
+ msgstr "镜像"
44
+
45
+ msgid "Import Puppet classes"
46
+ msgstr "导入 Puppet 类"
47
+
48
+ msgid "Import facts"
49
+ msgstr "导入事实"
50
+
51
+ msgid "JSON key"
52
+ msgstr "JSON 键"
53
+
54
+ msgid "Load Zones"
55
+ msgstr "加载区域"
56
+
57
+ msgid "Machine Type"
58
+ msgstr "机器型号"
59
+
60
+ msgid "Machine type"
61
+ msgstr "机器类型"
62
+
63
+ msgid "Missing an image for operating system!"
64
+ msgstr "缺少操作系统镜像!"
65
+
66
+ msgid "Name"
67
+ msgstr "名称"
68
+
69
+ msgid "Network"
70
+ msgstr "网络"
71
+
72
+ msgid "Please select an image"
73
+ msgstr "请选择一个镜像"
74
+
75
+ msgid "Preupgrade job"
76
+ msgstr "升级前的作业"
77
+
78
+ msgid "Properties"
79
+ msgstr "属性"
80
+
81
+ msgid "Remote action:"
82
+ msgstr "远程操作:"
83
+
84
+ msgid "Size (GB)"
85
+ msgstr "大小 (GB)"
86
+
87
+ msgid "State"
88
+ msgstr "状态"
89
+
90
+ msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
91
+ msgstr "用于 ssh 到实例的用户,通常为 cloud-user、ec2-user、ubuntu 等:Google 引擎不支持 root 用户的 SSH。"
92
+
93
+ msgid "Type"
94
+ msgstr "类型"
95
+
96
+ msgid "Zone"
97
+ msgstr "区"
98
+
99
+ msgid "console is not available at this time because the instance is powered off"
100
+ msgstr "控制台目前不可用,因为实例已关闭"
@@ -0,0 +1,99 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_google package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Isaac Tseng <isaac.kuang@gmail.com>, 2022
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2022
10
+ #
11
+ #, fuzzy
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: foreman_google 1.0.0\n"
15
+ "Report-Msgid-Bugs-To: \n"
16
+ "PO-Revision-Date: 2022-08-01 12:51+0000\n"
17
+ "Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2022\n"
18
+ "Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
19
+ "h_TW/)\n"
20
+ "MIME-Version: 1.0\n"
21
+ "Content-Type: text/plain; charset=UTF-8\n"
22
+ "Content-Transfer-Encoding: 8bit\n"
23
+ "Language: zh_TW\n"
24
+ "Plural-Forms: nplurals=1; plural=0;\n"
25
+
26
+ msgid "Action with sub plans"
27
+ msgstr "有子計畫的動作"
28
+
29
+ msgid "Actions"
30
+ msgstr "動作"
31
+
32
+ msgid "Associate Ephemeral External IP"
33
+ msgstr ""
34
+
35
+ msgid "Does this image support user data input (e.g. via cloud-init)?"
36
+ msgstr "這映像檔是否支援使用者資料輸入(比方說透過 cloud-init)?"
37
+
38
+ msgid "Google Compute Engine plugin for the Foreman."
39
+ msgstr ""
40
+
41
+ msgid "Image"
42
+ msgstr "影像"
43
+
44
+ msgid "Import Puppet classes"
45
+ msgstr "匯入 Puppet 類別"
46
+
47
+ msgid "Import facts"
48
+ msgstr "匯入詳情"
49
+
50
+ msgid "JSON key"
51
+ msgstr ""
52
+
53
+ msgid "Load Zones"
54
+ msgstr ""
55
+
56
+ msgid "Machine Type"
57
+ msgstr "機器類型"
58
+
59
+ msgid "Machine type"
60
+ msgstr "機器類型"
61
+
62
+ msgid "Missing an image for operating system!"
63
+ msgstr ""
64
+
65
+ msgid "Name"
66
+ msgstr "名稱"
67
+
68
+ msgid "Network"
69
+ msgstr "網路"
70
+
71
+ msgid "Please select an image"
72
+ msgstr "請選擇一個映像檔"
73
+
74
+ msgid "Preupgrade job"
75
+ msgstr ""
76
+
77
+ msgid "Properties"
78
+ msgstr "屬性"
79
+
80
+ msgid "Remote action:"
81
+ msgstr "遠端動作:"
82
+
83
+ msgid "Size (GB)"
84
+ msgstr "大小(GB)"
85
+
86
+ msgid "State"
87
+ msgstr "狀態"
88
+
89
+ msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
90
+ msgstr ""
91
+
92
+ msgid "Type"
93
+ msgstr "類型"
94
+
95
+ msgid "Zone"
96
+ msgstr "區域"
97
+
98
+ msgid "console is not available at this time because the instance is powered off"
99
+ msgstr ""
@@ -6,21 +6,6 @@ module ForemanGoogle
6
6
  class GoogleComputeAdapterTest < GoogleTestCase
7
7
  subject { ForemanGoogle::GoogleComputeAdapter.new(auth_json_string: gauth_json) }
8
8
 
9
- describe 'authentication' do
10
- it 'passes the auth json to the service client' do
11
- credentials = stub(client: stub(apply: { authorization: "Bearer #{google_access_token}" }))
12
- ::Google::Cloud::Compute::V1::Zones::Credentials.expects(:new).with(JSON.parse(gauth_json), has_key(:scope)).returns(credentials)
13
- stub_request(:get, 'https://compute.googleapis.com/compute/v1/projects/coastal-haven-123456/zones')
14
- .to_return(body: '{
15
- "id": "projects/coastal-haven-123456/zones",
16
- "items": [],
17
- "selfLink": "https://www.googleapis.com/compute/v1/projects/coastal-haven-123456/zones",
18
- "kind": "compute#zoneList"
19
- }')
20
- subject.zones
21
- end
22
- end
23
-
24
9
  describe '#instance' do
25
10
  setup do
26
11
  stub_request(:get, 'https://compute.googleapis.com/compute/v1/projects/coastal-haven-123456/zones/us-east1-b/instances/instance-1')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Foreman Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-compute_v1
@@ -87,11 +87,42 @@ files:
87
87
  - lib/tasks/foreman_google_tasks.rake
88
88
  - locale/Makefile
89
89
  - locale/action_names.rb
90
+ - locale/cs_CZ/LC_MESSAGES/foreman_google.mo
91
+ - locale/cs_CZ/foreman_google.po
92
+ - locale/de/LC_MESSAGES/foreman_google.mo
93
+ - locale/de/foreman_google.po
94
+ - locale/el/LC_MESSAGES/foreman_google.mo
95
+ - locale/el/foreman_google.po
96
+ - locale/en/LC_MESSAGES/foreman_google.mo
90
97
  - locale/en/foreman_google.edit.po
91
98
  - locale/en/foreman_google.po
92
99
  - locale/en/foreman_google.po.time_stamp
100
+ - locale/es/LC_MESSAGES/foreman_google.mo
101
+ - locale/es/foreman_google.po
93
102
  - locale/foreman_google.pot
103
+ - locale/fr/LC_MESSAGES/foreman_google.mo
104
+ - locale/fr/foreman_google.po
94
105
  - locale/gemspec.rb
106
+ - locale/it/LC_MESSAGES/foreman_google.mo
107
+ - locale/it/foreman_google.po
108
+ - locale/ja/LC_MESSAGES/foreman_google.mo
109
+ - locale/ja/foreman_google.po
110
+ - locale/ka/LC_MESSAGES/foreman_google.mo
111
+ - locale/ka/foreman_google.po
112
+ - locale/ko/LC_MESSAGES/foreman_google.mo
113
+ - locale/ko/foreman_google.po
114
+ - locale/pl/LC_MESSAGES/foreman_google.mo
115
+ - locale/pl/foreman_google.po
116
+ - locale/pt_BR/LC_MESSAGES/foreman_google.mo
117
+ - locale/pt_BR/foreman_google.po
118
+ - locale/ru/LC_MESSAGES/foreman_google.mo
119
+ - locale/ru/foreman_google.po
120
+ - locale/sv_SE/LC_MESSAGES/foreman_google.mo
121
+ - locale/sv_SE/foreman_google.po
122
+ - locale/zh_CN/LC_MESSAGES/foreman_google.mo
123
+ - locale/zh_CN/foreman_google.po
124
+ - locale/zh_TW/LC_MESSAGES/foreman_google.mo
125
+ - locale/zh_TW/foreman_google.po
95
126
  - package.json
96
127
  - test/factories/gce.rb
97
128
  - test/fixtures/disks_delete.json
@@ -146,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
177
  - !ruby/object:Gem::Version
147
178
  version: '0'
148
179
  requirements: []
149
- rubygems_version: 3.1.6
180
+ rubygems_version: 3.3.26
150
181
  signing_key:
151
182
  specification_version: 4
152
183
  summary: Google Compute Engine plugin for the Foreman