legion 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: a87aefd96c0ca2ced0b0f812b7987f8058f0e5ae
4
- data.tar.gz: 25c34d02b24710268cc5603933f719216b49b8aa
3
+ metadata.gz: 3a1d9006e192c5dac70469d2e288c05075122e54
4
+ data.tar.gz: 2ccfb6878029bab22e432752cf909d5b3a059b9d
5
5
  SHA512:
6
- metadata.gz: d810d6e3f42466d19aeae9d6dda3f5be3511c8010912f1dfb939c9a8566df8fb1396c9001233a2554350969299a84665ca8a946587fc55eb71f4297977fd1e0e
7
- data.tar.gz: 3794bbd9b2a56f203f78c4c7ce65a7e696bcb33da767ba02711ec63b46a6054ecadf52735cb42532cb0faab741832774df5b67c27c3c5ace2114a83a4fca661a
6
+ metadata.gz: 66c87147e68ca975dd4fc0b72ec8fece4a25d1883ba38d21dd83b46379bdeee6fd00f68f4bfe9b025ae42a3667679f4efaec42ee9c119595275b1204c07affc2
7
+ data.tar.gz: d62bc31a9168b6e89101d656bb49510d57bbbac0a1b16f5a062f0ed969210c8fefe3623784625d9fbd01e4a781e0e6fc149a52687a37b6514db275834615e3ff
@@ -18,6 +18,12 @@ module Legion
18
18
  @remote_instances = []
19
19
  end
20
20
 
21
+ def run
22
+ start
23
+ yield self
24
+ stop
25
+ end
26
+
21
27
  def start
22
28
  DRb.start_service
23
29
  (1..processes).each do |i|
@@ -1,3 +1,3 @@
1
1
  module Legion
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  requirements: []
73
73
  rubyforge_project:
74
- rubygems_version: 2.2.2
74
+ rubygems_version: 2.4.5
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Concurrent processing made easy.