parallel 1.25.0 → 1.26.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: 8376d7bf82d796be365ef82730e51b801e672c868ce4a4c2635df4829ed5d757
4
- data.tar.gz: b85e2f5c61cfeca064dbd59b760426ee4fca2aa351d9de06b04b819e7805ac3d
3
+ metadata.gz: 07e82b1b9dcebf36e66fe30d3aa8fd0624f7782cce1ea60e3e1c5cf906daf19b
4
+ data.tar.gz: da6d2113751edf198465410d4500a718b915f1fb6a303ce8c0e81c0facf44058
5
5
  SHA512:
6
- metadata.gz: e67198a4d3c6349ffc192120874addccbb092034c3e01de35da629ffb7cc3a3aae7c6c125bba35e40e270181ab6d1f7cccd7bfaada12aa1a4a325742fe9fef3b
7
- data.tar.gz: a3a555d67029583983e89f88eec067eeef4cf39eef9fb724c9cd7dfd940ef6d5e4e8ba32c26aa04571fbfad43810a64289eb3f8b103521d15e04eb52d350eab0
6
+ metadata.gz: 49f746cc65c27b7aa5811a5b6eb539caabacaec8bd0d8899b12ca50a6e147d09fbe8cb8e49c8452d4dd415e595b32c47f13f149f4344b11fef1314a601a4b768
7
+ data.tar.gz: d76accec70cea0388ec640652d012a18afa659da706763008290a09e1fa9f763e445cfd9686a9f19fc20443d2d445cfe5bf0ac9dfd4df171f379f5f5f1b155d5
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Parallel
3
- VERSION = Version = '1.25.0' # rubocop:disable Naming/ConstantName
3
+ VERSION = Version = '1.26.1' # rubocop:disable Naming/ConstantName
4
4
  end
data/lib/parallel.rb CHANGED
@@ -357,7 +357,7 @@ module Parallel
357
357
  def physical_processor_count_windows
358
358
  # Get-CimInstance introduced in PowerShell 3 or earlier: https://learn.microsoft.com/en-us/previous-versions/powershell/module/cimcmdlets/get-ciminstance?view=powershell-3.0
359
359
  result = run(
360
- 'powershell -command "Get-CimInstance -ClassName Win32_Processor ' \
360
+ 'powershell -command "Get-CimInstance -ClassName Win32_Processor -Property NumberOfCores ' \
361
361
  '| Select-Object -Property NumberOfCores"'
362
362
  )
363
363
  if !result || $?.exitstatus != 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-08 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -24,8 +24,8 @@ licenses:
24
24
  - MIT
25
25
  metadata:
26
26
  bug_tracker_uri: https://github.com/grosser/parallel/issues
27
- documentation_uri: https://github.com/grosser/parallel/blob/v1.25.0/Readme.md
28
- source_code_uri: https://github.com/grosser/parallel/tree/v1.25.0
27
+ documentation_uri: https://github.com/grosser/parallel/blob/v1.26.1/Readme.md
28
+ source_code_uri: https://github.com/grosser/parallel/tree/v1.26.1
29
29
  wiki_uri: https://github.com/grosser/parallel/wiki
30
30
  post_install_message:
31
31
  rdoc_options: []