parallel 0.5.17 → 0.5.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -1,7 +1,5 @@
1
1
  source :rubygems
2
2
  gemspec
3
3
 
4
- group :development do
5
- gem 'rake'
6
- gem 'rspec', '~>2'
7
- end
4
+ gem 'rake'
5
+ gem 'rspec', '~>2'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parallel (0.5.17)
4
+ parallel (0.5.18)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/Readme.md CHANGED
@@ -9,7 +9,7 @@ Usage
9
9
  =====
10
10
  # 2 CPUs -> work in 2 processes (a,b + c)
11
11
  results = Parallel.map(['a','b','c']) do |one_letter|
12
- expensive_calculation(letter)
12
+ expensive_calculation(one_letter)
13
13
  end
14
14
 
15
15
  # 3 Processes -> finished after 1 run
@@ -49,7 +49,7 @@ TODO
49
49
  Authors
50
50
  =======
51
51
 
52
- ### [Contributors](http://github.com/grosser/parallel/contributors)
52
+ ### [Contributors](https://github.com/grosser/parallel/contributors)
53
53
  - [Przemyslaw Wroblewski](http://github.com/lowang)
54
54
  - [TJ Holowaychuk](http://vision-media.ca/)
55
55
  - [Masatomo Nakano](http://twitter.com/masatomo2)
@@ -66,7 +66,7 @@ module Parallel
66
66
  `hwprefs cpu_count`.to_i
67
67
  when /darwin/
68
68
  (hwprefs_available? ? `hwprefs thread_count` : `sysctl -n hw.ncpu`).to_i
69
- when /linux/
69
+ when /linux|cygwin/
70
70
  `grep -c processor /proc/cpuinfo`.to_i
71
71
  when /(open|free)bsd/
72
72
  `sysctl -n hw.ncpu`.to_i
@@ -1,3 +1,3 @@
1
1
  module Parallel
2
- VERSION = Version = '0.5.17'
2
+ VERSION = Version = '0.5.18'
3
3
  end
metadata CHANGED
@@ -1,32 +1,22 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
- version: !ruby/object:Gem::Version
4
- hash: 41
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.18
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 5
9
- - 17
10
- version: 0.5.17
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Michael Grosser
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-03 00:00:00 Z
12
+ date: 2012-08-17 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
14
  description:
22
15
  email: michael@grosser.it
23
16
  executables: []
24
-
25
17
  extensions: []
26
-
27
18
  extra_rdoc_files: []
28
-
29
- files:
19
+ files:
30
20
  - Gemfile
31
21
  - Gemfile.lock
32
22
  - Rakefile
@@ -62,37 +52,34 @@ files:
62
52
  - spec/parallel_spec.rb
63
53
  - spec/spec_helper.rb
64
54
  homepage: http://github.com/grosser/parallel
65
- licenses:
55
+ licenses:
66
56
  - MIT
67
57
  post_install_message:
68
58
  rdoc_options: []
69
-
70
- require_paths:
59
+ require_paths:
71
60
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
61
+ required_ruby_version: !ruby/object:Gem::Requirement
73
62
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ segments:
79
68
  - 0
80
- version: "0"
81
- required_rubygems_version: !ruby/object:Gem::Requirement
69
+ hash: -2123722403146893619
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
71
  none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ segments:
88
77
  - 0
89
- version: "0"
78
+ hash: -2123722403146893619
90
79
  requirements: []
91
-
92
80
  rubyforge_project:
93
81
  rubygems_version: 1.8.24
94
82
  signing_key:
95
83
  specification_version: 3
96
84
  summary: Run any kind of code in parallel processes
97
85
  test_files: []
98
-