RingyDingy 1.3 → 1.4

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: 570968215cfd4574222ff916f487aabcd3308b32
4
- data.tar.gz: 1a44892649dc6aee89d49aa67411a8b3914e0154
3
+ metadata.gz: 1054fdc0bd640813aee2cea5b6b2509e37dba286
4
+ data.tar.gz: 213d83aeee80b18b00cf43da678d87af8fb86872
5
5
  SHA512:
6
- metadata.gz: 4f66342074c804618f0c1eae5be0bad54462a2392e02856fb173d7c8b407c270ccd97af5aa203707e0223d34e0b0d5ca5e3d3c180f0ede7b081434a4a2571b40
7
- data.tar.gz: 269d52e884bec4a8a0f4a782c136716004f1e37892b58914866b021c4cc9529d08a1134992de7957da39fcc8ae148d1117d30dde5f1bdbb721680db3fc7d7282
6
+ metadata.gz: 0ac41a4cbcf2c46ad0ff168e3edb6329bb58bf02a16c3ec35a8e4df21d51ee9939485b46d39aaeb17d195119a68a208c48a64ec07f8cc7bcb1a4ea22ea864d9f
7
+ data.tar.gz: 646b70ea57a8976574b2972d88f83e6c18d1497bc0efb75109257f35d86f00b6157bf087f86e0e7b2cee9abab5da1494aca21392e38fd0adc31b3c0ca88f7b29
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,18 +1,22 @@
1
- = 1.3
1
+ === 1.4 / 2013-03-15
2
+
3
+ * Work around [ruby-talk:395364] by adding a timeout.
4
+
5
+ === 1.3 / 2013-02-15
2
6
 
3
7
  * The broadcast list for looking up hosts can now be set.
4
8
 
5
- = 1.2.1
9
+ === 1.2.1 / 2006-12-10
6
10
 
7
11
  * Don't allow $TESTING to be true if we're not testing.
8
12
 
9
- = 1.2.0
13
+ === 1.2.0 / 2006-11-04
10
14
 
11
15
  * Split RingyDingy::RingServer::list into ::list_services and
12
16
  ::print_services for reuse.
13
17
  * Services without the default name no longer reregister multiple times
14
18
 
15
- = 1.1.0
19
+ === 1.1.0 / 2006-10-21
16
20
 
17
21
  * Added ring_server executable (Rinda::RingServer wrapper)
18
22
  * Daemon mode
@@ -20,7 +24,7 @@
20
24
  * Remote verbose mode enable-disable
21
25
  * Switched to Hoe
22
26
 
23
- = 1.0.0
27
+ === 1.0.0 / 2006-09-06
24
28
 
25
29
  Birthday!
26
30
 
data/README.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = RingyDingy
2
2
 
3
3
  home :: https://github.com/drbrain/RingyDingy
4
- rdoc :: http://docs.seattlerb.org/rdoc
4
+ rdoc :: http://docs.seattlerb.org/RingyDingy
5
5
  bugs :: https://github.com/drbrain/RingyDingy/issues
6
6
 
7
7
  == DESCRIPTION
data/Rakefile CHANGED
@@ -11,6 +11,9 @@ Hoe.spec 'RingyDingy' do |p|
11
11
  self.licenses << 'BSD-3-Clause'
12
12
  self.testlib = :minitest
13
13
 
14
+ rdoc_locations <<
15
+ 'docs.seattlerb.org:/data/www/docs.seattlerb.org/RingyDingy/'
16
+
14
17
  p.extra_dev_deps << ['ZenTest', '~> 4.8']
15
18
  end
16
19
 
data/lib/ringy_dingy.rb CHANGED
@@ -21,7 +21,10 @@ $TESTING = false unless defined? $TESTING
21
21
 
22
22
  class RingyDingy
23
23
 
24
- VERSION = '1.3'
24
+ ##
25
+ # The version of RingyDingy you are using
26
+
27
+ VERSION = '1.4'
25
28
 
26
29
  ##
27
30
  # Interval to check the RingServer for our registration information.
@@ -130,12 +133,27 @@ class RingyDingy
130
133
  return false
131
134
  end
132
135
 
133
- ##
134
- # Looks up the primary Rinde::RingServer.
136
+ if RUBY_VERSION >= '2' then
137
+ ##
138
+ # Looks up the primary Rinde::RingServer.
135
139
 
136
- def ring_server
137
- return @ring_server unless @ring_server.nil?
138
- @ring_server = @ring_finger.lookup_ring_any
140
+ def ring_server
141
+ return @ring_server unless @ring_server.nil?
142
+ @ring_server = @ring_finger.lookup_ring_any
143
+ end
144
+ else
145
+ ##
146
+ # Work around [ruby-talk:395364]
147
+
148
+ def ring_server # :nodoc:
149
+ require 'timeout'
150
+ Timeout.timeout 5 do
151
+ return @ring_server unless @ring_server.nil?
152
+ @ring_server = @ring_finger.lookup_ring_any
153
+ end
154
+ rescue Timeout::Error
155
+ raise 'RingNotFound'
156
+ end
139
157
  end
140
158
 
141
159
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RingyDingy
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -12,7 +12,7 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
14
14
  YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
15
- ZXQwHhcNMTIwMjI4MTc1NDI1WhcNMTMwMjI3MTc1NDI1WjBBMRAwDgYDVQQDDAdk
15
+ ZXQwHhcNMTMwMjI4MDUyMjA4WhcNMTQwMjI4MDUyMjA4WjBBMRAwDgYDVQQDDAdk
16
16
  cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
17
17
  FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
18
18
  LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
@@ -23,71 +23,71 @@ cert_chain:
23
23
  sCANiQ8BAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
24
  BBS5k4Z75VSpdM0AclG2UvzFA/VW5DAfBgNVHREEGDAWgRRkcmJyYWluQHNlZ21l
25
25
  bnQ3Lm5ldDAfBgNVHRIEGDAWgRRkcmJyYWluQHNlZ21lbnQ3Lm5ldDANBgkqhkiG
26
- 9w0BAQUFAAOCAQEAPeWzFnrcvC6eVzdlhmjUub2s6qieBkongKRDHQz5MEeQv4LS
27
- SARnoHY+uCAVL/1xGAhmpzqQ3fJGWK9eBacW/e8E5GF9xQcV3mE1bA0WNaiDlX5j
28
- U2aI+ZGSblqvHUCxKBHR1s7UMHsbz1saOmgdRTyPx0juJs68ocbUTeYBLWu9V4KP
29
- zdGAG2JXO2gONg3b4tYDvpBLbry+KOX27iAJulUaH9TiTOULL4ITJVFsK0mYVqmR
30
- Q8Tno9S3e4XGGP1ZWfLrTWEJbavFfhGHut2iMRwfC7s/YILAHNATopaJdH9DNpd1
31
- U81zGHMUBOvz/VGT6wJwYJ3emS2nfA2NOHFfgA==
26
+ 9w0BAQUFAAOCAQEAOflo4Md5aJF//EetzXIGZ2EI5PzKWX/mMpp7cxFyDcVPtTv0
27
+ js/6zWrWSbd60W9Kn4ch3nYiATFKhisgeYotDDz2/pb/x1ivJn4vEvs9kYKVvbF8
28
+ V7MV/O5HDW8Q0pA1SljI6GzcOgejtUMxZCyyyDdbUpyAMdt9UpqTZkZ5z1sicgQk
29
+ 5o2XJ+OhceOIUVqVh1r6DNY5tLVaGJabtBmJAYFVznDcHiSFybGKBa5n25Egql1t
30
+ KDyY1VIazVgoC8XvR4h/95/iScPiuglzA+DBG1hip1xScAtw05BrXyUNrc9CEMYU
31
+ wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
32
32
  -----END CERTIFICATE-----
33
- date: 2013-02-15 00:00:00.000000000 Z
33
+ date: 2013-03-16 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: minitest
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '4.3'
42
42
  type: :development
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: '4.3'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rdoc
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.10'
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.10'
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: ZenTest
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '4.8'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: '4.8'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: hoe
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
- version: '3.3'
83
+ version: '3.5'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: '3.3'
90
+ version: '3.5'
91
91
  description: |-
92
92
  RingyDingy is a little boat that keeps your DRb service afloat!
93
93
  RingyDingy automatically registers a service with a RingServer. If
@@ -122,30 +122,30 @@ files:
122
122
  - lib/ringy_dingy/ring_server.rb
123
123
  - test/test_ring_server.rb
124
124
  - test/test_ringy_dingy.rb
125
- - ".gemtest"
125
+ - .gemtest
126
126
  homepage: https://github.com/drbrain/RingyDingy
127
127
  licenses:
128
128
  - BSD-3-Clause
129
129
  metadata: {}
130
130
  post_install_message:
131
131
  rdoc_options:
132
- - "--main"
132
+ - --main
133
133
  - README.rdoc
134
134
  require_paths:
135
135
  - lib
136
136
  required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - ">="
138
+ - - '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project: ringydingy
148
- rubygems_version: 2.0.0.rc.2
148
+ rubygems_version: 2.0.2
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: RingyDingy is a little boat that keeps your DRb service afloat! RingyDingy
metadata.gz.sig CHANGED
Binary file