pmap 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4f0c74512505c8e1ae55de84348d3a84f5df324f
4
+ data.tar.gz: e3e17a899f5127075ffca8b8413e89c128f8552f
5
+ SHA512:
6
+ metadata.gz: 7f4e978b9c216b621c0e2c62f575c023b6d2e55b2c8df3b6e0242c0649ef6ce350d002eaf5ad4ef06204093477d229a47b8ca718ce539eac2b8f61e66e41a441
7
+ data.tar.gz: 5849d0b74a73bfb2c79c800ba8bb60e11ae3fecf2ec121a3173cfdd01040cd8cdb7bf29c0f93915fbc59a8dabc21a89a455579166ab6e267abc77a635e3b1561
@@ -3,6 +3,7 @@ rvm:
3
3
  - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
+ - 2.0.0
6
7
  - jruby-18mode
7
8
  - jruby-19mode
8
9
  - rbx-18mode
@@ -5,7 +5,7 @@ $pmap_default_thread_count ||= 64
5
5
 
6
6
  module PMap
7
7
  class DummyOutput
8
- def []=(idx)
8
+ def []=(idx, val)
9
9
  end
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module Pmap
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -32,7 +32,7 @@ class Pmap_Test < Test::Unit::TestCase
32
32
 
33
33
  def test_time_savings
34
34
  start = Time.now
35
- (1..10).pmap{ sleep 1 }
35
+ (1..10).peach{ sleep 1 }
36
36
  elapsed = Time.now-start
37
37
  assert(elapsed < 2, 'Parallel sleeps too slow: %.1f seconds' % elapsed)
38
38
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bruce Adams
@@ -10,9 +9,9 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-01-29 00:00:00.000000000 Z
12
+ date: 2013-06-23 00:00:00.000000000 Z
14
13
  dependencies: []
15
- description: ! 'Add parallel methods into Enumerable: pmap and peach'
14
+ description: 'Add parallel methods into Enumerable: pmap and peach'
16
15
  email:
17
16
  - bruce.adams@acm.org
18
17
  - jake.goulding@gmail.com
@@ -32,32 +31,25 @@ files:
32
31
  - test/pmap_test.rb
33
32
  homepage: https://github.com/bruceadams/pmap
34
33
  licenses: []
34
+ metadata: {}
35
35
  post_install_message:
36
36
  rdoc_options: []
37
37
  require_paths:
38
38
  - lib
39
39
  required_ruby_version: !ruby/object:Gem::Requirement
40
- none: false
41
40
  requirements:
42
- - - ! '>='
41
+ - - '>='
43
42
  - !ruby/object:Gem::Version
44
43
  version: '0'
45
- segments:
46
- - 0
47
- hash: 2137837020685364568
48
44
  required_rubygems_version: !ruby/object:Gem::Requirement
49
- none: false
50
45
  requirements:
51
- - - ! '>='
46
+ - - '>='
52
47
  - !ruby/object:Gem::Version
53
48
  version: '0'
54
- segments:
55
- - 0
56
- hash: 2137837020685364568
57
49
  requirements: []
58
50
  rubyforge_project:
59
- rubygems_version: 1.8.24
51
+ rubygems_version: 2.0.3
60
52
  signing_key:
61
- specification_version: 3
62
- summary: ! 'Add parallel methods into Enumerable: pmap and peach'
53
+ specification_version: 4
54
+ summary: 'Add parallel methods into Enumerable: pmap and peach'
63
55
  test_files: []