foreman_rh_cloud 2.0.18 → 2.0.18.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: 65a5f371cd3cf04391dc00f0a9e797e052830b67ebeda760259af082b10fd95f
4
- data.tar.gz: 3441080128c415a951878e6471b7de44cb2ab10e3baee7b27065c97ee165c072
3
+ metadata.gz: 4e0cb65a3f6b1e94ef76531b38c7553a4f935d38cea6a26567f78eb563451a3d
4
+ data.tar.gz: 0f15f66bbf6595fc7049606a1ad19c5cedb8a9181f4abd47d1897c72db25e148
5
5
  SHA512:
6
- metadata.gz: '085d4e4e524e48a595b8833cf9777c0ebc6116cd88c28d7bdc01ff4b8080689d5d6ca334b4a4554f5978cf36f64baa3494d90ce63593c313887daff9fc19c0a9'
7
- data.tar.gz: 2e073a6a25e049c41c4092854874dec161af475822055875ca042b472ea8c31c9bcdc89451840f83d752df95595e1127ae6d750716f5a5a71445eca3f7ce9be4
6
+ metadata.gz: 0db95fe4391d434965539c5a379a318e015d00f3b251af3a6ea03eb57db024fad68a98c804f1e7fe185f8f787b28cc2ec24e4e63d1ac7e0d0bb42aa73ed4f3a0
7
+ data.tar.gz: 6d7583b031a7bed576456a8eeed8b8e948a5af9e243c93975be51801f862211a7a311a683300c23da696ca4d0e06dc4339bf4d5c70914dd840b6c52475c036bc
@@ -351,7 +351,9 @@ GEM
351
351
  mime-types (3.3.1)
352
352
  mime-types-data (~> 3.2015)
353
353
  mime-types-data (3.2020.1104)
354
- mimemagic (0.3.5)
354
+ mimemagic (0.3.10)
355
+ nokogiri (~> 1)
356
+ rake
355
357
  mini_mime (1.0.2)
356
358
  mini_portile2 (2.4.0)
357
359
  minitest (5.10.3)
@@ -0,0 +1,11 @@
1
+ class AddUniqueToInsightsFacet < ActiveRecord::Migration[5.2]
2
+ def change
3
+ # Remove duplicate records
4
+ InsightsFacet.where.not(id: InsightsFacet.select('max(id)').group(:host_id)).delete_all
5
+
6
+ # remove old index
7
+ remove_index :insights_facets, [:host_id]
8
+ # add unique constraint
9
+ add_index :insights_facets, [:host_id], unique: true
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '2.0.18'.freeze
2
+ VERSION = '2.0.18.1'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "2.0.18",
3
+ "version": "2.0.18.1",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
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: 2.0.18
4
+ version: 2.0.18.1
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: 2021-03-09 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -134,6 +134,7 @@ files:
134
134
  - db/migrate/20200727111529_add_uuid_column_to_insights_facets.foreman_rh_cloud.rb
135
135
  - db/migrate/20201007115752_add_hits_count_to_insights_facets_table.foreman_rh_cloud.rb
136
136
  - db/migrate/20201007121540_setup_hits_count_cache.foreman_rh_cloud.rb
137
+ - db/migrate/20210307000001_add_unique_to_insights_facet.foreman_rh_cloud.rb
137
138
  - lib/foreman_inventory_upload.rb
138
139
  - lib/foreman_inventory_upload/async/async_helpers.rb
139
140
  - lib/foreman_inventory_upload/async/generate_all_reports_job.rb
@@ -528,7 +529,7 @@ homepage: https://github.com/theforeman/foreman_rh_cloud
528
529
  licenses:
529
530
  - GPL-3.0
530
531
  metadata: {}
531
- post_install_message:
532
+ post_install_message:
532
533
  rdoc_options: []
533
534
  require_paths:
534
535
  - lib
@@ -543,25 +544,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
543
544
  - !ruby/object:Gem::Version
544
545
  version: '0'
545
546
  requirements: []
546
- rubygems_version: 3.2.3
547
- signing_key:
547
+ rubygems_version: 3.0.6
548
+ signing_key:
548
549
  specification_version: 4
549
550
  summary: Summary of ForemanRhCloud.
550
551
  test_files:
551
- - test/controllers/accounts_controller_test.rb
552
+ - test/controllers/uploads_controller_test.rb
552
553
  - test/controllers/insights_sync/settings_controller_test.rb
554
+ - test/controllers/accounts_controller_test.rb
553
555
  - test/controllers/reports_controller_test.rb
554
- - test/controllers/uploads_controller_test.rb
555
- - test/factories/insights_factories.rb
556
- - test/factories/inventory_upload_factories.rb
556
+ - test/test_plugin_helper.rb
557
+ - test/jobs/upload_report_job_test.rb
557
558
  - test/jobs/insights_full_sync_test.rb
558
559
  - test/jobs/inventory_full_sync_test.rb
559
- - test/jobs/upload_report_job_test.rb
560
- - test/test_plugin_helper.rb
561
- - test/unit/archived_report_generator_test.rb
562
- - test/unit/fact_helpers_test.rb
563
- - test/unit/insights_facet_test.rb
560
+ - test/factories/inventory_upload_factories.rb
561
+ - test/factories/insights_factories.rb
562
+ - test/unit/shell_process_job_test.rb
564
563
  - test/unit/metadata_generator_test.rb
564
+ - test/unit/insights_facet_test.rb
565
565
  - test/unit/rh_cloud_http_proxy_test.rb
566
- - test/unit/shell_process_job_test.rb
566
+ - test/unit/fact_helpers_test.rb
567
+ - test/unit/archived_report_generator_test.rb
567
568
  - test/unit/slice_generator_test.rb