ruby-nuggets 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: 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 +01:00
12
+ date: 2009-01-16 00:00:00 +01: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
@@ -90,15 +89,15 @@ has_rdoc: true
90
89
  homepage: http://prometheus.rubyforge.org/ruby-nuggets
91
90
  post_install_message:
92
91
  rdoc_options:
93
- - --main
94
- - README
95
92
  - --line-numbers
96
93
  - --inline-source
97
- - --all
98
94
  - --title
99
95
  - ruby-nuggets Application documentation
96
+ - --main
97
+ - README
100
98
  - --charset
101
99
  - UTF-8
100
+ - --all
102
101
  require_paths:
103
102
  - lib
104
103
  required_ruby_version: !ruby/object:Gem::Requirement
data/HEADER DELETED
@@ -1,27 +0,0 @@
1
- #--
2
- ###############################################################################
3
- # #
4
- # A component of ruby-nuggets, some extensions to the Ruby programming #
5
- # language. #
6
- # #
7
- # Copyright (C) 2007-2008 Jens Wille #
8
- # #
9
- # Authors: #
10
- # Jens Wille <jens.wille@uni-koeln.de> #
11
- # #
12
- # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
16
- # #
17
- # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
- # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
21
- # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
- # #
25
- ###############################################################################
26
- #++
27
-