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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc55f64d334633fe26b9037b12708d07c3756670
4
- data.tar.gz: 1738b106bb987a27d9ccc2dda65bab349ec4289e
3
+ metadata.gz: 89dd29cb4c602cf54f1ff47bb5107be2bf4da55a
4
+ data.tar.gz: da3742748335c616041e6f7978dfe4f5ca03d439
5
5
  SHA512:
6
- metadata.gz: 2baf0dea69dc9fc85bf776a36276a29825cc213a8390216b0f3b96a6cf47051b26cd1523078726cea8f917335a0cee7a015325dae46235408ceef419cdc158bf
7
- data.tar.gz: eecc53b71b433195f3dc7708dd0d4b9d2a9e0118a5304af1e739f990cac48de2dff1e8a951e4b24ffb8eeae7c40bc4bba2a7425fe17ede35ea7255f0894379fd
6
+ metadata.gz: c3de53f9a4b374f5c9850e53b3c36bc1e5e9b2ce6cf9f6577e97a0e167218e83869415afcca2cd13d2df62e964fa20a92b8f80daf4815ded9508c8e9cfbfa255
7
+ data.tar.gz: f800a2fc5456d5404e22641959fcf19b05f8301ef6fee0f4a74686446d1cdb944d4512e12ce4f8b2f5838e2cb34e42b89ac3b07f4b85f7e7f093b8a5510048ca
@@ -15,7 +15,9 @@ module Gzlib
15
15
 
16
16
  class << self
17
17
  def method_missing search_way, *keywords, &blk
18
- return new(keywords.join(' '), searchWay: search_way) if AcceptableSearchWay.include? search_way
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
@@ -1,3 +1,3 @@
1
1
  module Gzlib
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2016-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler