foreman_openscap 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32dd2a50a02e9810d04dbb252858b165e734c999
4
- data.tar.gz: 40bd3d5ca9a1f27d8904fb07298772d624ac8728
3
+ metadata.gz: fe29a576cc20165ebd0cdc8b194437306a8546b2
4
+ data.tar.gz: b511657a55ca393b02ec3585596f8c6da0f4af36
5
5
  SHA512:
6
- metadata.gz: 51df4d59920bcc1e1467837d08ec086c4a9f3d304d39836f38b57654b5b5dbdb1f298feb426454e39623eefe5d984f6f4e5dc9c9ee8efb3a462fa3b58d71715b
7
- data.tar.gz: 9f8b8ae9ac001d65a8bdcd773c7d729129ae889b080412bb7cc346913919739c9f079cd0ac78d5f1619b97beacc4efcea341dee48e1990238d1f39e9dac162ea
6
+ metadata.gz: 5d8722abac32d7a73f813dc9ad7e831c51f59f2c973d0923905b2e74d7eca2792024597cac1afce90acfd6bedcf7ae220d02d836f1771c820841776a0645ea6f
7
+ data.tar.gz: f4003549513e1f061d82d3c458998b84ed284ed56317e074a692846180f0c83dadb52ac5b829f0e3f368db4866118efa13032084ce320dbc420aa8ab6f23d02e
@@ -49,7 +49,7 @@ module Api::V2
49
49
  param :host_ids, Array, :desc => N_('Apply policy to hosts')
50
50
  param :tailoring_file_id, Integer, :desc => N_('Tailoring file ID')
51
51
  param :tailoring_file_profile_id, Integer, :desc => N_('Tailoring file profile ID')
52
- param :deploy_by, ForemanOpenscap::Policy.deploy_by_variants, :desc => N_('How the policy should be deployed')
52
+ param :deploy_by, ForemanOpenscap::Policy.deploy_by_variants, :required => true, :desc => N_('How the policy should be deployed')
53
53
  param_group :taxonomies, ::Api::V2::BaseController
54
54
  end
55
55
  end
@@ -4,4 +4,4 @@ extends "api/v2/compliance/common/org"
4
4
  extends "api/v2/compliance/common/loc"
5
5
 
6
6
  attributes :id, :name, :period, :weekday, :description, :scap_content_id, :scap_content_profile_id, :day_of_month, :cron_line,
7
- :tailoring_file_id, :tailoring_file_profile_id
7
+ :tailoring_file_id, :tailoring_file_profile_id, :deploy_by
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "0.12.0".freeze
2
+ VERSION = "0.12.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_openscap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - slukasik@redhat.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-15 00:00:00.000000000 Z
11
+ date: 2019-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface