filter 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/filter.rb +1 -0
- data/lib/filter/condition.rb +5 -0
- data/lib/filter/not.rb +14 -0
- data/lib/filter/version.rb +1 -1
- data/spec/filter_spec.rb +2 -0
- metadata +4 -3
data/lib/filter.rb
CHANGED
data/lib/filter/condition.rb
CHANGED
data/lib/filter/not.rb
ADDED
data/lib/filter/version.rb
CHANGED
data/spec/filter_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-12 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &25273380 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25273380
|
25
25
|
description: ! "== Synopsys\n<code>Enumerable#filter</code> - extended <code>Enumerable#select</code>\n\n==
|
26
26
|
Examples\nString filter (acts like <code>Enumerable#grep</code>):\n [1, 2, 3, 'ab'].filter(/a/)
|
27
27
|
\ # => ['ab']\n [1, 2, 3, '3'].filter('3') # => ['3']\n\nYou
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/filter/matchers/hash.rb
|
61
61
|
- lib/filter/matchers/nil.rb
|
62
62
|
- lib/filter/matchers/symbol.rb
|
63
|
+
- lib/filter/not.rb
|
63
64
|
- lib/filter/or.rb
|
64
65
|
- lib/filter/version.rb
|
65
66
|
- spec/filter_spec.rb
|