foreman_rh_cloud 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ module ForemanInventoryUpload
48
48
  end
49
49
 
50
50
  def self.facts_archive_name(organization)
51
- "report_for_#{organization}.tar.gz"
51
+ "report_for_#{organization}.tar.xz"
52
52
  end
53
53
 
54
54
  def self.upload_url
@@ -28,7 +28,7 @@ module ForemanInventoryUpload
28
28
 
29
29
  @logger.info 'Archiving generated report'
30
30
  # success = system('tar', '-zcvf', @target, '-C', tmpdir, '.')
31
- Open3.popen2e('tar', '-zcvf', @target, '-C', tmpdir, '.') do |_in, out, wait_thr|
31
+ Open3.popen2e('tar', '-Jcvf', @target, '-C', tmpdir, '.') do |_in, out, wait_thr|
32
32
  @logger.info("tar: #{out.read}")
33
33
 
34
34
  if wait_thr.value.success?
@@ -79,7 +79,6 @@ module ForemanRhCloud
79
79
  ::Katello::UINotifications::Subscriptions::ManifestImportSuccess.include ForemanInventoryUpload::Notifications::ManifestImportSuccessNotificationOverride if defined?(Katello)
80
80
 
81
81
  ::Host::Managed.include RhCloudHost
82
- ::Host::Base.include RhCloudHost
83
82
  end
84
83
 
85
84
  initializer "foreman_rh_cloud.set_dynflow.config.on_init", :before => :finisher_hook do |_app|
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '1.0.14'.freeze
2
+ VERSION = '1.0.15'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_rh_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Red Hat Cloud team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-26 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -125,6 +125,9 @@ files:
125
125
  - app/views/foreman_rh_cloud/react/inventory_upload.html.erb
126
126
  - app/views/hosts/_insights_tab.html.erb
127
127
  - app/views/layouts/foreman_rh_cloud/application.html.erb
128
+ - config/Gemfile.lock.gh_test
129
+ - config/database.yml.example
130
+ - config/package-lock.json.gh_test
128
131
  - config/routes.rb
129
132
  - db/migrate/20191215104806_create_insights_hits.foreman_inventory_upload.rb
130
133
  - db/migrate/20191216062008_create_insights_facets.foreman_inventory_upload.rb
@@ -532,7 +535,7 @@ homepage: https://github.com/theforeman/foreman_rh_cloud
532
535
  licenses:
533
536
  - GPL-3.0
534
537
  metadata: {}
535
- post_install_message:
538
+ post_install_message:
536
539
  rdoc_options: []
537
540
  require_paths:
538
541
  - lib
@@ -547,25 +550,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
547
550
  - !ruby/object:Gem::Version
548
551
  version: '0'
549
552
  requirements: []
550
- rubygems_version: 3.1.4
551
- signing_key:
553
+ rubygems_version: 3.0.6
554
+ signing_key:
552
555
  specification_version: 4
553
556
  summary: Summary of ForemanRhCloud.
554
557
  test_files:
555
- - test/controllers/accounts_controller_test.rb
558
+ - test/controllers/uploads_controller_test.rb
556
559
  - test/controllers/insights_sync/settings_controller_test.rb
560
+ - test/controllers/accounts_controller_test.rb
557
561
  - test/controllers/reports_controller_test.rb
558
- - test/controllers/uploads_controller_test.rb
559
- - test/factories/inventory_upload_factories.rb
560
- - test/factories/insights_factories.rb
562
+ - test/test_plugin_helper.rb
563
+ - test/jobs/upload_report_job_test.rb
561
564
  - test/jobs/insights_full_sync_test.rb
562
565
  - test/jobs/inventory_full_sync_test.rb
563
- - test/jobs/upload_report_job_test.rb
564
- - test/test_plugin_helper.rb
565
- - test/unit/archived_report_generator_test.rb
566
- - test/unit/metadata_generator_test.rb
566
+ - test/factories/inventory_upload_factories.rb
567
+ - test/factories/insights_factories.rb
567
568
  - test/unit/shell_process_job_test.rb
568
- - test/unit/fact_helpers_test.rb
569
+ - test/unit/metadata_generator_test.rb
569
570
  - test/unit/insights_facet_test.rb
570
- - test/unit/slice_generator_test.rb
571
571
  - test/unit/rh_cloud_http_proxy_test.rb
572
+ - test/unit/fact_helpers_test.rb
573
+ - test/unit/archived_report_generator_test.rb
574
+ - test/unit/slice_generator_test.rb