hammer_cli_foreman_openscap 0.1.10 → 0.1.11

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: 7ab260d88e51746eb14047d3cf9512077e59ffbb2e089f96bec41989544bd3d8
4
- data.tar.gz: 477cdbbc47ad5d1b2798433aba7092811164a41f76174137a78e1a00d882ccc3
3
+ metadata.gz: 26f5ac7c0c6d03de357a8d903cc1f642f17748821d6f6c06011ecde5330a2bba
4
+ data.tar.gz: deb6a45e5359cff52e0b9dc2670a084c4ddde5cb884ae2cdf6052740d75b4457
5
5
  SHA512:
6
- metadata.gz: 4ec48888a5125abd6ab473f01e0e03da359cde9f5e25aaaa6de957e03bf7adc4ac59f5623594810392845b95ee304eed8aaf1487b94fc42c3ed8b90831579acb
7
- data.tar.gz: bba6c3cc5bb7caf9ae351b3144159085deeb5a9f6e0fdb82d0aa887ce7765948b0099a2ce1d9b364d76a13da2a6a3402de6181e592f54e467bf0e608affa6b0f
6
+ metadata.gz: a83f3ebe046effbab0fd17bb02e322c50bec587b2347420b19aa84376d446d95649804b359ee77fd9b10d1e32f599b36ff9a87c733d77e0e603e81c65e34311b
7
+ data.tar.gz: 8e9ecd49d0ccc090dd3a24c4b8d13edb1d50c67242f89ccf0fef54e82fb8c82c7d410f891396c518eb33fb5b40b1b30a9ce5a7cdefa9fe8661b012ab9fac5572
@@ -88,7 +88,7 @@ module HammerCLIForemanOpenscap
88
88
  return
89
89
  end
90
90
  # get file name from header, remove leading and trailing quotes
91
- filename = response.headers[:content_disposition].match(/filename=(.*)/)[1].chop.reverse.chop.reverse
91
+ filename = response.headers[:content_disposition].match(/filename=(.*);/)[1].chop.reverse.chop.reverse
92
92
  path = option_path.dup
93
93
  path << '/' unless path.end_with? '/'
94
94
  raise HammerCLIForemanOpenscap::DownloadError.new "Cannot save file: #{path} does not exist" unless File.directory?(path)
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanOpenscap
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.1.10'
3
+ @version ||= Gem::Version.new '0.1.11'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_openscap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
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: 2020-03-02 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli_foreman
@@ -102,23 +102,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.7.6.2
105
+ rubygems_version: 3.1.2
107
106
  signing_key:
108
107
  specification_version: 4
109
108
  summary: Foreman OpenSCAP commands for Hammer
110
109
  test_files:
110
+ - test/compliance_resource_mock.rb
111
111
  - test/data/1.11/foreman_api.json
112
112
  - test/data/1.14/foreman_api.json
113
113
  - test/data/1.15/foreman_api.json
114
114
  - test/data/tailoring.xml
115
- - test/functional/test_helper.rb
116
115
  - test/functional/scap_content_test.rb
117
116
  - test/functional/tailoring_file_test.rb
117
+ - test/functional/test_helper.rb
118
+ - test/test_helper.rb
118
119
  - test/unit/arf_report_test.rb
119
120
  - test/unit/policy_test.rb
120
121
  - test/unit/scap_content_test.rb
121
122
  - test/unit/tailoring_file_test.rb
122
123
  - test/unit/test_helper.rb
123
- - test/compliance_resource_mock.rb
124
- - test/test_helper.rb