gzlib 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gzlib/search.rb +3 -1
- data/lib/gzlib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89dd29cb4c602cf54f1ff47bb5107be2bf4da55a
|
4
|
+
data.tar.gz: da3742748335c616041e6f7978dfe4f5ca03d439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3de53f9a4b374f5c9850e53b3c36bc1e5e9b2ce6cf9f6577e97a0e167218e83869415afcca2cd13d2df62e964fa20a92b8f80daf4815ded9508c8e9cfbfa255
|
7
|
+
data.tar.gz: f800a2fc5456d5404e22641959fcf19b05f8301ef6fee0f4a74686446d1cdb944d4512e12ce4f8b2f5838e2cb34e42b89ac3b07f4b85f7e7f093b8a5510048ca
|
data/lib/gzlib/search.rb
CHANGED
@@ -15,7 +15,9 @@ module Gzlib
|
|
15
15
|
|
16
16
|
class << self
|
17
17
|
def method_missing search_way, *keywords, &blk
|
18
|
-
|
18
|
+
opt = {searchWay: search_way}
|
19
|
+
opt.merge! keywords.pop if keywords[-1].is_a? Hash
|
20
|
+
return new(keywords.join(' '), opt) if AcceptableSearchWay.include? search_way
|
19
21
|
super
|
20
22
|
end
|
21
23
|
end
|
data/lib/gzlib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gzlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|