time_limits 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module TimeLimits
15
15
  else
16
16
 
17
17
  def in_time( duration = 1, &block )
18
- Timeout::timeout(duration) { yield }
18
+ ::Timeout::timeout(duration) { yield }
19
19
  end
20
20
 
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module TimeLimits
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_limits
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 1
9
- version: 0.0.1
4
+ prerelease:
5
+ version: 0.0.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Mark Lanett
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-04-08 00:00:00 -07:00
13
+ date: 2011-04-13 00:00:00 -07:00
18
14
  default_executable:
19
15
  dependencies: []
20
16
 
@@ -52,21 +48,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
48
  requirements:
53
49
  - - ">="
54
50
  - !ruby/object:Gem::Version
55
- segments:
56
- - 0
57
51
  version: "0"
58
52
  required_rubygems_version: !ruby/object:Gem::Requirement
59
53
  none: false
60
54
  requirements:
61
55
  - - ">="
62
56
  - !ruby/object:Gem::Version
63
- segments:
64
- - 0
65
57
  version: "0"
66
58
  requirements: []
67
59
 
68
60
  rubyforge_project: time_limits
69
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.5.2
70
62
  signing_key:
71
63
  specification_version: 3
72
64
  summary: Apply timeouts to methods via meta programming