go 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/go/channel.rb +0 -2
- data/lib/go/version.rb +1 -1
- metadata +11 -17
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 09ae6d77311c5f0093959d0b0b1701cc7684bda4
|
4
|
+
data.tar.gz: 8a5be4a29e3bdcb3df09c1d2a591a869527a4c80
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2ec5750139e08493cf506268455bd3908fd0ff3329b3793ef4a456ed3c20b9b8364982bc6f8e40e7dc3490f309d310a46dda11dec18876fae12443ae4ca1d049
|
7
|
+
data.tar.gz: ad7e364559a0c86edbab73a0a1fe48b79c73d4761bab05325dc9493bce7e2d0a1609a0c8144aac36773d08b3a02577584e460f9e859f22ebe9ad69f209eca161
|
data/lib/go/channel.rb
CHANGED
@@ -27,7 +27,6 @@ module Go
|
|
27
27
|
|
28
28
|
def each(&blk)
|
29
29
|
while true do
|
30
|
-
puts "Closed? #{@closed}"
|
31
30
|
break if @closed
|
32
31
|
x = shift
|
33
32
|
break if x == Go::Exit
|
@@ -37,7 +36,6 @@ module Go
|
|
37
36
|
|
38
37
|
# close the channel
|
39
38
|
def close
|
40
|
-
puts 'closing channel'
|
41
39
|
@closed = true
|
42
40
|
self << Go::Exit
|
43
41
|
end
|
data/lib/go/version.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Travis Reeder
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
11
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: concur
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: test-unit
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: A concurrency library for Ruby inspired by Go (golang).
|
@@ -63,27 +58,26 @@ files:
|
|
63
58
|
- test/test_go.rb
|
64
59
|
homepage: https://github.com/treeder/go
|
65
60
|
licenses: []
|
61
|
+
metadata: {}
|
66
62
|
post_install_message:
|
67
63
|
rdoc_options: []
|
68
64
|
require_paths:
|
69
65
|
- lib
|
70
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
67
|
requirements:
|
73
|
-
- -
|
68
|
+
- - '>='
|
74
69
|
- !ruby/object:Gem::Version
|
75
70
|
version: '1.9'
|
76
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
72
|
requirements:
|
79
|
-
- -
|
73
|
+
- - '>='
|
80
74
|
- !ruby/object:Gem::Version
|
81
75
|
version: 1.3.6
|
82
76
|
requirements: []
|
83
77
|
rubyforge_project:
|
84
|
-
rubygems_version:
|
78
|
+
rubygems_version: 2.0.0
|
85
79
|
signing_key:
|
86
|
-
specification_version:
|
80
|
+
specification_version: 4
|
87
81
|
summary: A concurrency library for Ruby inspired by Go (golang).
|
88
82
|
test_files:
|
89
83
|
- test/test_go.rb
|