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 +6 -4
- data/lib/nuggets/object/singleton_class.rb +2 -0
- data/lib/nuggets/util/added_methods.rb +3 -3
- data/lib/nuggets/version.rb +1 -1
- metadata +5 -6
- data/HEADER +0 -27
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to ruby-nuggets version 0.4.
|
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
|
-
|
37
|
-
|
38
|
-
|
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
|
@@ -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
|
273
|
-
when Regexp
|
274
|
-
else
|
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
|
}
|
data/lib/nuggets/version.rb
CHANGED
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.
|
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:
|
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
|
-
|