pmap 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -2
- data/CODE_OF_CONDUCT.md +32 -0
- data/README.md +6 -1
- data/lib/pmap/version.rb +1 -1
- data/pmap.gemspec +1 -0
- metadata +23 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18142e8b4288995523855dca836e2e5a68626842
|
4
|
+
data.tar.gz: 1c434f5d568b3b3c49443f0297034fb53d8daaa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff6f9af2481e06d4c909549fcfba4ebbff7dfefbbfbac7ec9526970173a589c9bb072b602d27466dae7b644571affb8114f3a2e66c81cda67ab994d7b59ab25
|
7
|
+
data.tar.gz: 8f15a3213ea2ebacc0392e584db12444fa95696b60a955d579ccb36961a4f4f4ccf9a4c497b5a00b7635bd946bf96997ace6902f987f33021cbbd60daa73143b
|
data/.travis.yml
CHANGED
@@ -1,10 +1,19 @@
|
|
1
1
|
language: ruby
|
2
|
+
sudo: false
|
2
3
|
rvm:
|
3
4
|
- 1.8.7
|
4
5
|
- 1.9.2
|
5
6
|
- 1.9.3
|
6
7
|
- 2.0.0
|
8
|
+
- 2.1.3
|
9
|
+
- 2.2.0-preview1
|
7
10
|
- jruby-18mode
|
8
11
|
- jruby-19mode
|
9
|
-
-
|
10
|
-
- rbx-
|
12
|
+
- jruby-head
|
13
|
+
- rbx-2
|
14
|
+
- ree
|
15
|
+
- ruby-head
|
16
|
+
matrix:
|
17
|
+
allow_failures:
|
18
|
+
- rvm: jruby-head
|
19
|
+
- rvm: ruby-head
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect
|
4
|
+
all people who contribute through reporting issues, posting feature
|
5
|
+
requests, updating documentation, submitting pull requests or patches,
|
6
|
+
and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a
|
9
|
+
harassment-free experience for everyone, regardless of level of
|
10
|
+
experience, gender, gender identity and expression, sexual
|
11
|
+
orientation, disability, personal appearance, body size, race, age, or
|
12
|
+
religion.
|
13
|
+
|
14
|
+
Examples of unacceptable behavior by participants include the use of
|
15
|
+
sexual language or imagery, derogatory comments or personal attacks,
|
16
|
+
trolling, public or private harassment, insults, or other
|
17
|
+
unprofessional conduct.
|
18
|
+
|
19
|
+
Project maintainers have the right and responsibility to remove, edit,
|
20
|
+
or reject comments, commits, code, wiki edits, issues, and other
|
21
|
+
contributions that are not aligned to this Code of Conduct. Project
|
22
|
+
maintainers who do not follow the Code of Conduct may be removed from
|
23
|
+
the project team.
|
24
|
+
|
25
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior
|
26
|
+
may be reported by opening an issue or contacting one or more of the
|
27
|
+
project maintainers.
|
28
|
+
|
29
|
+
This Code of Conduct is adapted from the
|
30
|
+
[Contributor Covenant](http://contributor-covenant.org),
|
31
|
+
version 1.0.0, available at
|
32
|
+
[http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
pmap [![Build Status](https://secure.travis-ci.org/bruceadams/pmap.png)](http://travis-ci.org/bruceadams/pmap) [![Code Climate](https://codeclimate.com/
|
1
|
+
pmap [![Build Status](https://secure.travis-ci.org/bruceadams/pmap.png)](http://travis-ci.org/bruceadams/pmap) [![Code Climate](https://codeclimate.com/github/bruceadams/pmap.png)](https://codeclimate.com/github/bruceadams/pmap)
|
2
2
|
====
|
3
3
|
|
4
4
|
This Ruby gem adds two methods to any Enumerable (notably including
|
@@ -32,6 +32,11 @@ Ruby threads means the requests will be issued very quickly, well
|
|
32
32
|
before the responses start coming back. As responses come back, they
|
33
33
|
will be processed as they arrive.
|
34
34
|
|
35
|
+
Thread Count
|
36
|
+
----------------
|
37
|
+
|
38
|
+
The thread count defaults to 64 and is set based on `$pmap_default_thread_count`.
|
39
|
+
|
35
40
|
Example
|
36
41
|
-------
|
37
42
|
|
data/lib/pmap/version.rb
CHANGED
data/pmap.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruce Adams
|
@@ -9,8 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
12
|
+
date: 2014-12-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: test-unit
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
14
28
|
description: 'Add parallel methods into Enumerable: pmap and peach'
|
15
29
|
email:
|
16
30
|
- bruce.adams@acm.org
|
@@ -19,8 +33,9 @@ executables: []
|
|
19
33
|
extensions: []
|
20
34
|
extra_rdoc_files: []
|
21
35
|
files:
|
22
|
-
- .gitignore
|
23
|
-
- .travis.yml
|
36
|
+
- ".gitignore"
|
37
|
+
- ".travis.yml"
|
38
|
+
- CODE_OF_CONDUCT.md
|
24
39
|
- Gemfile
|
25
40
|
- LICENSE
|
26
41
|
- README.md
|
@@ -38,17 +53,17 @@ require_paths:
|
|
38
53
|
- lib
|
39
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
55
|
requirements:
|
41
|
-
- -
|
56
|
+
- - ">="
|
42
57
|
- !ruby/object:Gem::Version
|
43
58
|
version: '0'
|
44
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
60
|
requirements:
|
46
|
-
- -
|
61
|
+
- - ">="
|
47
62
|
- !ruby/object:Gem::Version
|
48
63
|
version: '0'
|
49
64
|
requirements: []
|
50
65
|
rubyforge_project:
|
51
|
-
rubygems_version: 2.
|
66
|
+
rubygems_version: 2.2.2
|
52
67
|
signing_key:
|
53
68
|
specification_version: 4
|
54
69
|
summary: 'Add parallel methods into Enumerable: pmap and peach'
|