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 +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 +2 -3
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: blackwinter-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 -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
|