foreman_openscap 5.2.0 → 5.2.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: 4bc5e1e84b8fb45ea3276289081235a25c71eeeef8442a31861361c7888f2a0d
4
- data.tar.gz: 8c768d06360b78e08a54b471aab8d2a8599e40e1809c6a859390b2af709c9a77
3
+ metadata.gz: 92bab404c3bb495719fa2ecf62c84cdcea0cf42a4fe9cdc7f07fc6a99341a803
4
+ data.tar.gz: 36cd15417a6f421c8424b4f24cfa21e1ec09f59d297955db6a0a8f97e90c6adf
5
5
  SHA512:
6
- metadata.gz: 68ba2f54eed3dfdeb62b5495d9a33ceb8ca808fa233a4eedfb642e270e42721a72502adaff8fb4d19c1666dcd5db72368ba078230358bf2d645560d169fe142d
7
- data.tar.gz: a6f3b3c43456945f87a2c0349acd4e41187456e690f29bad16576c84dde9ffa23974a58a574fa93849f481f370504dd053cacdc88e9fd81e0c9fca4f44ed915c
6
+ metadata.gz: d4713c26ae5f19cf96cf2ae88900a078457646e57a1fce213f1d63b430a1468d89d0a6ae0ae29cced95456c643a0c469f46c2eafeb5c9fe2f870f7c589b44ade
7
+ data.tar.gz: ebbfd812e483cd88aa6dc279f17734eac782c97a3c8696be7879a41961fe6e79ee3b7f6342726faa6220a275ea48b3edf8292bc14424a8f87f01968749cf3c72
@@ -69,7 +69,7 @@ module ForemanOpenscap
69
69
 
70
70
  def weekday_number
71
71
  # 0 is sunday, 1 is monday in cron, while DAYS_INTO_WEEK has 0 as monday, 6 as sunday
72
- (Date::DAYS_INTO_WEEK.with_indifferent_access[weekday] + 1) % 7
72
+ (Date::DAYS_INTO_WEEK.with_indifferent_access[weekday]) % 7
73
73
  end
74
74
  end
75
75
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "5.2.0".freeze
2
+ VERSION = "5.2.1".freeze
3
3
  end
@@ -30,7 +30,7 @@ import {
30
30
  hgWithoutProxy as withoutProxyCheck,
31
31
  } from './OvalPoliciesNew.fixtures';
32
32
 
33
- import * as toasts from '../../../../helpers/toastsHelper';
33
+ import * as toasts from '../../../../helpers/toastHelper';
34
34
 
35
35
  const TestComponent = withRouter(
36
36
  withRedux(withMockedProvider(OvalPoliciesNew))
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useDispatch } from 'react-redux';
3
3
 
4
- import { showToast } from '../../../helpers/toastsHelper';
4
+ import { showToast } from '../../../helpers/toastHelper';
5
5
  import OvalPoliciesNew from './OvalPoliciesNew';
6
6
 
7
7
  const WrappedOvalPoliciesNew = props => (
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: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - slukasik@redhat.com
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-29 00:00:00.000000000 Z
11
+ date: 2022-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -321,45 +321,32 @@ files:
321
321
  - locale/Makefile
322
322
  - locale/action_names.rb
323
323
  - locale/de/LC_MESSAGES/foreman_openscap.mo
324
- - locale/de/foreman_openscap.edit.po
325
324
  - locale/de/foreman_openscap.po
326
325
  - locale/en_GB/LC_MESSAGES/foreman_openscap.mo
327
- - locale/en_GB/foreman_openscap.edit.po
328
326
  - locale/en_GB/foreman_openscap.po
329
327
  - locale/es/LC_MESSAGES/foreman_openscap.mo
330
- - locale/es/foreman_openscap.edit.po
331
328
  - locale/es/foreman_openscap.po
332
329
  - locale/foreman_openscap.pot
333
330
  - locale/fr/LC_MESSAGES/foreman_openscap.mo
334
- - locale/fr/foreman_openscap.edit.po
335
331
  - locale/fr/foreman_openscap.po
336
332
  - locale/gl/LC_MESSAGES/foreman_openscap.mo
337
- - locale/gl/foreman_openscap.edit.po
338
333
  - locale/gl/foreman_openscap.po
339
334
  - locale/it/LC_MESSAGES/foreman_openscap.mo
340
- - locale/it/foreman_openscap.edit.po
341
335
  - locale/it/foreman_openscap.po
342
336
  - locale/ja/LC_MESSAGES/foreman_openscap.mo
343
- - locale/ja/foreman_openscap.edit.po
344
337
  - locale/ja/foreman_openscap.po
345
338
  - locale/ko/LC_MESSAGES/foreman_openscap.mo
346
- - locale/ko/foreman_openscap.edit.po
347
339
  - locale/ko/foreman_openscap.po
348
340
  - locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
349
- - locale/pt_BR/foreman_openscap.edit.po
350
341
  - locale/pt_BR/foreman_openscap.po
351
342
  - locale/ru/LC_MESSAGES/foreman_openscap.mo
352
- - locale/ru/foreman_openscap.edit.po
353
343
  - locale/ru/foreman_openscap.po
354
344
  - locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
355
- - locale/sv_SE/foreman_openscap.edit.po
356
345
  - locale/sv_SE/foreman_openscap.po
357
346
  - locale/zanata.xml
358
347
  - locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
359
- - locale/zh_CN/foreman_openscap.edit.po
360
348
  - locale/zh_CN/foreman_openscap.po
361
349
  - locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
362
- - locale/zh_TW/foreman_openscap.edit.po
363
350
  - locale/zh_TW/foreman_openscap.po
364
351
  - package.json
365
352
  - test/factories/arf_report_factory.rb
@@ -465,7 +452,6 @@ files:
465
452
  - webpack/helpers/permissionsHelper.js
466
453
  - webpack/helpers/tableHelper.js
467
454
  - webpack/helpers/toastHelper.js
468
- - webpack/helpers/toastsHelper.js
469
455
  - webpack/index.js
470
456
  - webpack/routes/OvalContents/OvalContentsIndex/OvalContentsIndex.js
471
457
  - webpack/routes/OvalContents/OvalContentsIndex/OvalContentsTable.js
@@ -515,7 +501,7 @@ homepage: https://github.com/theforeman/foreman_openscap
515
501
  licenses:
516
502
  - GPL-3.0
517
503
  metadata: {}
518
- post_install_message:
504
+ post_install_message:
519
505
  rdoc_options: []
520
506
  require_paths:
521
507
  - lib
@@ -530,20 +516,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
530
516
  - !ruby/object:Gem::Version
531
517
  version: '0'
532
518
  requirements: []
533
- rubygems_version: 3.1.2
534
- signing_key:
519
+ rubygems_version: 3.1.4
520
+ signing_key:
535
521
  specification_version: 4
536
522
  summary: Foreman plug-in for displaying OpenSCAP audit reports
537
523
  test_files:
538
- - test/factories/arf_report_factory.rb
539
524
  - test/factories/asset_factory.rb
540
525
  - test/factories/policy_arf_report_factory.rb
541
526
  - test/factories/policy_factory.rb
542
527
  - test/factories/scap_content_related.rb
543
- - test/factories/compliance_log_factory.rb
544
528
  - test/factories/compliance_host_factory.rb
545
529
  - test/factories/oval_content_factory.rb
546
530
  - test/factories/oval_policy_factory.rb
531
+ - test/factories/arf_report_factory.rb
532
+ - test/factories/compliance_log_factory.rb
547
533
  - test/files/arf_report/arf_report.bz2
548
534
  - test/files/arf_report/arf_report.html
549
535
  - test/files/arf_report/arf_report.json
@@ -556,9 +542,9 @@ test_files:
556
542
  - test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
557
543
  - test/functional/api/v2/compliance/scap_contents_controller_test.rb
558
544
  - test/functional/api/v2/compliance/tailoring_files_controller_test.rb
559
- - test/functional/api/v2/compliance/arf_reports_controller_test.rb
560
545
  - test/functional/api/v2/compliance/oval_contents_controller_test.rb
561
546
  - test/functional/api/v2/compliance/oval_policies_controller_test.rb
547
+ - test/functional/api/v2/compliance/arf_reports_controller_test.rb
562
548
  - test/functional/api/v2/compliance/oval_reports_controller_test.rb
563
549
  - test/functional/api/v2/compliance/policies_controller_test.rb
564
550
  - test/functional/api/v2/hosts_controller_test.rb
@@ -568,28 +554,28 @@ test_files:
568
554
  - test/helpers/arf_report_dashboard_helper_test.rb
569
555
  - test/helpers/policy_dashboard_helper_test.rb
570
556
  - test/lib/foreman_openscap/bulk_upload_test.rb
571
- - test/unit/arf_report_status_calculator_test.rb
572
- - test/unit/arf_report_test.rb
573
- - test/unit/compliance_status_test.rb
574
557
  - test/unit/concerns/host_extensions_test.rb
575
558
  - test/unit/concerns/openscap_proxy_extenstions_test.rb
576
- - test/unit/message_cleaner_test.rb
577
- - test/unit/openscap_host_test.rb
578
- - test/unit/policy_mailer_test.rb
579
- - test/unit/scap_content_test.rb
580
- - test/unit/services/report_dashboard/data_test.rb
581
559
  - test/unit/services/tailoring_files_proxy_check_test.rb
582
- - test/unit/services/oval/cves_test.rb
583
560
  - test/unit/services/oval/setup_test.rb
561
+ - test/unit/services/oval/cves_test.rb
584
562
  - test/unit/services/oval/setup_check_test.rb
585
563
  - test/unit/services/config_name_service_test.rb
586
564
  - test/unit/services/lookup_key_overrider_test.rb
565
+ - test/unit/services/report_dashboard/data_test.rb
587
566
  - test/unit/services/hostgroup_overrider_test.rb
567
+ - test/unit/arf_report_status_calculator_test.rb
568
+ - test/unit/compliance_status_test.rb
569
+ - test/unit/policy_mailer_test.rb
570
+ - test/unit/scap_content_test.rb
588
571
  - test/unit/tailoring_file_test.rb
589
572
  - test/unit/oval_host_test.rb
590
573
  - test/unit/oval_policy_test.rb
591
574
  - test/unit/oval_status_test.rb
592
575
  - test/unit/policy_test.rb
576
+ - test/unit/arf_report_test.rb
577
+ - test/unit/message_cleaner_test.rb
578
+ - test/unit/openscap_host_test.rb
593
579
  - test/fixtures/cve_fixtures.rb
594
580
  - test/graphql/queries/oval_contents_query_test.rb
595
581
  - test/graphql/queries/oval_policies_query_test.rb
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- import { addToast } from 'foremanReact/redux/actions/toasts';
2
-
3
- export const showToast = dispatch => toast => dispatch(addToast(toast));