ok-extensions 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,4 +4,8 @@ class Range
4
4
 
5
5
  (Kernel.rand*length) + first
6
6
  end
7
+
8
+ def middle
9
+ (self.end - self.begin) / 2.0
10
+ end
7
11
  end
data/lib/ok_extensions.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class OkExtensions
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.11'
3
3
  end
4
4
 
5
5
  $LOAD_PATH << File.dirname(__FILE__)
@@ -8,4 +8,4 @@ class TestRange < Test::Unit::TestCase
8
8
  assert range.include?(range.rand)
9
9
  end
10
10
  end
11
- end
11
+ end
metadata CHANGED
@@ -3,13 +3,13 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: ok-extensions
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.10
7
- date: 2008-02-13 00:00:00 +07:00
8
- summary: The author was too lazy to write a summary
6
+ version: 1.0.11
7
+ date: 2008-02-29 00:00:00 +07:00
8
+ summary: A set of extensions to the ruby stdlib
9
9
  require_paths:
10
10
  - lib
11
- email: ryand-ruby@zenspider.com
12
- homepage: http://www.zenspider.com/ZSS/Products/ok-extensions/
11
+ email: doofus
12
+ homepage: A set of extensions to the ruby stdlib
13
13
  rubyforge_project: coderrr
14
14
  description: "OkExtensions by steved http://code.google.com/p/ok-extensions/ == DESCRIPTION: A set of extensions to the ruby stdlib"
15
15
  autorequire:
@@ -27,7 +27,7 @@ signing_key:
27
27
  cert_chain:
28
28
  post_install_message:
29
29
  authors:
30
- - Ryan Davis
30
+ - doofus
31
31
  files:
32
32
  - History.txt
33
33
  - Manifest.txt
@@ -83,5 +83,5 @@ dependencies:
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 1.3.0
86
+ version: 1.5.0
87
87
  version: