foreman_openscap 0.7.3 → 0.7.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: 62780a60133d6dcf012e957f267d266dc6d68409
4
- data.tar.gz: dc36ea5fabb2ec217b204e0b5ed6c75d38624bd0
3
+ metadata.gz: 3eb718bc077be262141cd60cd891a6cc6650056b
4
+ data.tar.gz: e13593ac24e549d77bd50a8ac36337a7b8394459
5
5
  SHA512:
6
- metadata.gz: 4328bea43538ae9114c5a9ae37d61171b882d3650e8856cf19a6b60f0ffb5c2c53d516f9d13610f7bfa7f011ba88c50f93406cc680956d9a94f0f4af393e766c
7
- data.tar.gz: 69bf2838d06b0a7b3359ddaf3cbe2e4827d31a9fa77af51ce6d8fea12d939ce20b589527d182ad336ce3dc5d922079a76ceaac7b92aa1ec4ae5bcf8e09832a2e
6
+ metadata.gz: 19ac79890e7c2e2b85ff7729e996189a9a3a47ad8af4d7d164c576d15474486cc356314986739d47b7c8ecc7563b8a70f1567c5379a5aaf7f39dac5609a2a44b
7
+ data.tar.gz: 706d7965401c9572ec53f92853dd9a1c49a4d5d4ccb89ae97b8af38d079e99aae990af5fce9eea1fa3680c7f9022574184349311cd8be5ce7a6eacbfc2a58b17
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class Asset < ApplicationRecord
2
+ class Asset < ActiveRecord::Base
3
3
  has_many :asset_policies
4
4
  has_many :policies, :through => :asset_policies
5
5
  belongs_to :assetable, :polymorphic => true
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class AssetPolicy < ApplicationRecord
2
+ class AssetPolicy < ActiveRecord::Base
3
3
  belongs_to :policy
4
4
  belongs_to :asset
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class Policy < ApplicationRecord
2
+ class Policy < ActiveRecord::Base
3
3
  include Authorizable
4
4
  include Taxonomix
5
5
  attr_writer :current_step, :wizard_initiated
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class PolicyRevision < ApplicationRecord
2
+ class PolicyRevision < ActiveRecord::Base
3
3
  belongs_to :policy
4
4
  belongs_to :scap_content
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class ScapContent < ApplicationRecord
2
+ class ScapContent < ActiveRecord::Base
3
3
  include Authorizable
4
4
  include Taxonomix
5
5
  include DataStreamContent
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class ScapContentProfile < ApplicationRecord
2
+ class ScapContentProfile < ActiveRecord::Base
3
3
  belongs_to :scap_content
4
4
  has_many :policies
5
5
  belongs_to :tailoring_file
@@ -1,5 +1,5 @@
1
1
  module ForemanOpenscap
2
- class TailoringFile < ApplicationRecord
2
+ class TailoringFile < ActiveRecord::Base
3
3
  include Authorizable
4
4
  include Taxonomix
5
5
  include DataStreamContent
@@ -1,5 +1,7 @@
1
- <%= javascript 'foreman_openscap/reports' %>
2
- <%= stylesheet 'foreman_openscap/reports' %>
1
+ <% javascript 'charts' %>
2
+ <% javascript 'foreman_openscap/reports' %>
3
+ <% stylesheet 'foreman_openscap/reports' %>
4
+
3
5
  <% title "#{@arf_report.host}" %>
4
6
  <p class='ra'> <%= _("Reported at %s") % @arf_report.reported_at %> </p>
5
7
 
@@ -1,4 +1,4 @@
1
- <%= javascript 'dashboard', 'foreman_openscap/scap_hosts_show' %>
1
+ <% javascript 'charts', 'dashboard', 'foreman_openscap/scap_hosts_show' %>
2
2
 
3
3
  <% title n_("%s compliance report by policy", "%s compliance reports by policy" , @host.combined_policies.length) % @host.to_label %>
4
4
  <% @host.combined_policies.each do |policy| %>
@@ -1,4 +1,4 @@
1
- <%= javascript 'dashboard' %>
1
+ <% javascript 'charts', 'dashboard' %>
2
2
 
3
3
  <% title _("Compliance policy: %s") % @policy.name %>
4
4
 
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "0.7.3".freeze
2
+ VERSION = "0.7.4".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.7.3
4
+ version: 0.7.4
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: 2017-06-20 00:00:00.000000000 Z
11
+ date: 2017-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface