blackwinter-ruby-nuggets 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to ruby-nuggets version 0.4.0
5
+ This documentation refers to ruby-nuggets version 0.4.1
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -33,9 +33,11 @@ cause other libraries to misbehave. Use at your own risk!
33
33
 
34
34
  == LINKS
35
35
 
36
- * <http://prometheus.rubyforge.org/ruby-nuggets>
37
- * <http://prometheus.rubyforge.org/svn/scratch/ruby-nuggets>
38
- * <http://github.com/blackwinter/ruby-nuggets>
36
+ <b></b>
37
+ Documentation:: <http://prometheus.rubyforge.org/ruby-nuggets>
38
+ Source code (old):: <http://prometheus.rubyforge.org/svn/scratch/ruby-nuggets>
39
+ Source code:: <http://github.com/blackwinter/ruby-nuggets>
40
+ Rubyforge project:: <http://rubyforge.org/projects/prometheus>
39
41
 
40
42
 
41
43
  == AUTHORS
@@ -69,6 +69,8 @@ class Object
69
69
  alias_method :metaobject, :singleton_object
70
70
  alias_method :uniobject, :singleton_object
71
71
 
72
+ alias_method :singleton_instance, :singleton_object
73
+
72
74
  # call-seq:
73
75
  # object.singleton_class? => true or false
74
76
  #
@@ -269,9 +269,9 @@ module Util
269
269
  entries.each { |am|
270
270
  results << am if conditions.all? { |key, value|
271
271
  case value
272
- when Array, Range: value.include?(am[key])
273
- when Regexp: value =~ am[key].to_s
274
- else value == am[key]
272
+ when Array, Range then value.include?(am[key])
273
+ when Regexp then value =~ am[key].to_s
274
+ else value == am[key]
275
275
  end
276
276
  }
277
277
  }
@@ -4,7 +4,7 @@ module Nuggets
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 4
7
- TINY = 0
7
+ TINY = 1
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackwinter-ruby-nuggets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-05 00:00:00 -08:00
12
+ date: 2009-01-16 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -82,7 +82,6 @@ files:
82
82
  - lib/nuggets/file/which.rb
83
83
  - lib/nuggets.rb
84
84
  - Rakefile
85
- - HEADER
86
85
  - COPYING
87
86
  - ChangeLog
88
87
  - README