parallel 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 10b1b5e1d603d7fd6d85c66526c729295b864bf6
4
+ data.tar.gz: 864604781d56f1f70df314de0e8af937a8b73dc8
5
+ SHA512:
6
+ metadata.gz: f263eb9456018b8959bd3f7875775ae954f8b4736914ed59bae9d4f34f2becc42b2858a4e23900dacb35a84e89f5f349b861dc18214540be770bf6d939ea24eb
7
+ data.tar.gz: 8dbf0fbe7f583b2de1987b47082ab81ac6d198b6ca7d429969b7b416e346f01d1dc06d4d040f8962c26f8b69eb0e474980481547e065afe3b53841b4fec8b2eb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parallel (0.8.0)
4
+ parallel (0.8.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Readme.md CHANGED
@@ -111,6 +111,7 @@ Authors
111
111
  - [Tasveer Singh](https://github.com/tazsingh)
112
112
  - [Joachim](https://github.com/jmozmoz)
113
113
  - [yaoguai](https://github.com/yaoguai)
114
+ - [Bartosz Dziewoński](https://github.com/MatmaRex)
114
115
 
115
116
  [Michael Grosser](http://grosser.it)<br/>
116
117
  michael@grosser.it<br/>
data/lib/parallel.rb CHANGED
@@ -147,7 +147,7 @@ module Parallel
147
147
  require 'win32ole'
148
148
  wmi = WIN32OLE.connect("winmgmts://")
149
149
  cpu = wmi.ExecQuery("select NumberOfProcessors from Win32_Processor")
150
- cpu.to_enum.first.NumberOfLogicalProcessors
150
+ cpu.to_enum.first.NumberOfProcessors
151
151
  else
152
152
  processor_count
153
153
  end
@@ -1,3 +1,3 @@
1
1
  module Parallel
2
- VERSION = Version = '0.8.0'
2
+ VERSION = Version = '0.8.1'
3
3
  end
@@ -283,7 +283,7 @@ describe Parallel do
283
283
 
284
284
  describe ".each_with_index" do
285
285
  it "yields object and index" do
286
- `ruby spec/cases/each_with_index.rb 2>&1`.should == 'a0b1'
286
+ ["a0b1", "b1a0"].should include `ruby spec/cases/each_with_index.rb 2>&1`
287
287
  end
288
288
  end
289
289
  end
metadata CHANGED
@@ -1,32 +1,21 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
- version: !ruby/object:Gem::Version
4
- hash: 63
5
- prerelease:
6
- segments:
7
- - 0
8
- - 8
9
- - 0
10
- version: 0.8.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Michael Grosser
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-08-30 00:00:00 Z
11
+ date: 2013-09-10 00:00:00.000000000 Z
19
12
  dependencies: []
20
-
21
13
  description:
22
14
  email: michael@grosser.it
23
15
  executables: []
24
-
25
16
  extensions: []
26
-
27
17
  extra_rdoc_files: []
28
-
29
- files:
18
+ files:
30
19
  - .travis.yml
31
20
  - Gemfile
32
21
  - Gemfile.lock
@@ -70,37 +59,27 @@ files:
70
59
  - spec/parallel_spec.rb
71
60
  - spec/spec_helper.rb
72
61
  homepage: https://github.com/grosser/parallel
73
- licenses:
62
+ licenses:
74
63
  - MIT
64
+ metadata: {}
75
65
  post_install_message:
76
66
  rdoc_options: []
77
-
78
- require_paths:
67
+ require_paths:
79
68
  - lib
80
- required_ruby_version: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
89
- required_rubygems_version: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- hash: 3
95
- segments:
96
- - 0
97
- version: "0"
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
98
79
  requirements: []
99
-
100
80
  rubyforge_project:
101
- rubygems_version: 1.8.25
81
+ rubygems_version: 2.0.6
102
82
  signing_key:
103
- specification_version: 3
83
+ specification_version: 4
104
84
  summary: Run any kind of code in parallel processes
105
85
  test_files: []
106
-