manageiq-smartstate 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 2b74b6d33e4a4216efbaae687ad75b865b07946e
4
- data.tar.gz: 19c08a23f1de20db6d3b39aeb3427bbb2c93d1fa
3
+ metadata.gz: 0c4e0ae5df27aeb31c51bf3cd62249be2b2a53d8
4
+ data.tar.gz: d8dc954b070111eb849bf9c0b1af5c2e01b5ee7d
5
5
  SHA512:
6
- metadata.gz: a389e6c867dbf2a9a9b7e8f02db1f12aaa88fcf1b2f290866315abd4b8d61a147f1ced4a262789d9ad51c7d93daf6152e79be19c07721f05b10908faf6665bfe
7
- data.tar.gz: 505c9dc9e075c8b35c1435033cc9b4c0c8f8562ee255e70b28ec05e5e34c690b60138164b04cf80b69d8602d8550efa4bdcecfdfbab8c3cd658dabff5b8aacf7
6
+ metadata.gz: e59d6441ae21c768e7b25e046dd66395638d21845a4b8465a7c19b0c15a04c43aeaa7a7b0820d483a81562c77726f894a2b82fd39e59ac36e5391e734a3cb66c
7
+ data.tar.gz: fef77f29b8e8f2409c0320ea7463d8cd1ccb55fcb31b9cfcad3e187f300b784999b0d94736617b8084db7ea337a30185f08a4183e5bcdf8b73ad6270a5bf8e2c
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module Smartstate
3
- VERSION = "0.3.3".freeze
3
+ VERSION = "0.3.4".freeze
4
4
  end
5
5
  end
@@ -175,7 +175,7 @@ module MiqLinux
175
175
  pkgs = doc.add_element 'applications'
176
176
  @packages.each do |p|
177
177
  next unless p.installed
178
- pkgs.add_element('application', {"name" => p.name, "version" => p.version, "description" => p.description, "typename" => p.category, "arch" => p.arch, "release" => p.release, "install_time" => p.installtime, "build_time" => p.buildtime, "url" => p.url})
178
+ pkgs.add_element('application', {"name" => p.name, "version" => p.version, "description" => p.description, "typename" => p.category, "arch" => p.arch, "release" => p.release, "install_time" => p.installtime})
179
179
  # "status" => p.status, "depends" => p.depends
180
180
  end
181
181
  doc
@@ -22,11 +22,9 @@ class MiqRpmPackages
22
22
  RELEASE = 1002
23
23
  SUMMARY = 1004
24
24
  DESCRIPTION = 1005
25
- BUILDTIME = 1006
26
25
  INSTALLTIME = 1008
27
26
  VENDOR = 1011
28
27
  GROUP = 1016
29
- URL = 1020
30
28
  ARCH = 1022
31
29
  REQUIRES = 1049
32
30
 
@@ -36,11 +34,9 @@ class MiqRpmPackages
36
34
  1002 => "release",
37
35
  1004 => "summary",
38
36
  1005 => "description",
39
- 1006 => "buildtime",
40
37
  1008 => "installtime",
41
38
  1011 => "vendor",
42
39
  1016 => "category", # group
43
- 1020 => "url",
44
40
  1022 => "arch",
45
41
  1049 => "depends", # requires
46
42
  }
@@ -105,7 +101,7 @@ class MiqRpmPackages
105
101
  private
106
102
 
107
103
  def time_tag?(tag)
108
- ['installtime', 'buildtime'].include?(tag)
104
+ tag == "installtime"
109
105
  end
110
106
 
111
107
  def convert(tag, val)
@@ -152,7 +148,6 @@ if __FILE__ == $0
152
148
  rpmPkgs.each do |pkg|
153
149
  puts "Package: #{pkg.name}"
154
150
  puts "\tInstall Time: #{pkg.installtime}"
155
- puts "\tBuild Time: #{pkg.buildtime}"
156
151
  puts "\tVersion: #{pkg.version}"
157
152
  puts "\tRelease: #{pkg.release}"
158
153
  puts "\tSummary: #{pkg.summary}"
@@ -160,7 +155,6 @@ if __FILE__ == $0
160
155
  puts "\tArchitecture: #{pkg.arch}"
161
156
  puts "\tCategory: #{pkg.category}"
162
157
  puts "\tDescription: #{pkg.description}"
163
- puts "\tURL: #{pkg.url}"
164
158
  puts "\tDepends: #{pkg.depends}"
165
159
  end
166
160
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-smartstate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-04 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: azure-armrest