openscap_parser 1.3.0 → 1.3.1

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: e5f6f71c708392c7b9171af1bc8a3eab1e3dd70ce64f672051035d404a1e5fab
4
- data.tar.gz: d81ea5da1fbc18bdf0dd96ca46f2ddda8dfdc20e6e8dcf17508431667c18512d
3
+ metadata.gz: 57e07f88ca48d82d504596ec2e4818468add46d3c66cf185157be8f72e532a6e
4
+ data.tar.gz: cca3d01362ac56d18b20d1769bbc1036fdf2acfd88a1da86fdb558fb9694c8fb
5
5
  SHA512:
6
- metadata.gz: 44a8d17f96a637c52c4a516673408765ebc36598406463096f7a75310af8a5d2df48a8550e48a0634e4afda9af309cd3e1b0f8e45d241f02592e56d775185ac3
7
- data.tar.gz: 3f3d9233a8bab0d303d15423db561875da0409856ecbe3ad957ed67c2b6ed91e98c8488dd15b7294b47d74d5b6f7a46c672628454bacc7e32617bef93fc9473c
6
+ metadata.gz: f95cddb6c80df271400e5f7e43d39767a02861994b3cfff12127daf1099c109b88be6c0188cac6fac12822da1d0d516b4d7a43653d681d834eca447c595028eb
7
+ data.tar.gz: b00439e3ed9853bd090f153a49440d94fdd0ad62fc3af5aa4a12ae4f898304cc604631b35e3b973acb4e72f43c972756b7e670ba5b13b062b6c55f53c708e596
@@ -10,5 +10,12 @@ module OpenscapParser
10
10
  def label
11
11
  @label ||= @parsed_xml && @parsed_xml.text
12
12
  end
13
+
14
+ def to_h
15
+ {
16
+ href: href,
17
+ label: label
18
+ }
19
+ end
13
20
  end
14
21
  end
@@ -1,3 +1,3 @@
1
1
  module OpenscapParser
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openscap_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-12 00:00:00.000000000 Z
12
+ date: 2022-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -207,8 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubyforge_project:
211
- rubygems_version: 2.7.3
210
+ rubygems_version: 3.3.7
212
211
  signing_key:
213
212
  specification_version: 4
214
213
  summary: Parse OpenSCAP content