tsquery 2.0.1 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lazy_tsquery.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5445374cc3f2834eb121d30c0186376eb1bb8d41
4
- data.tar.gz: 293b3ef4c3db79c876af23c1cfb7aed581f69040
3
+ metadata.gz: 78638c5af501284bd170c5695e2c8021abafb6c5
4
+ data.tar.gz: 7512e772f90dcc3f989fb039afbfbb42ecb4753c
5
5
  SHA512:
6
- metadata.gz: 121fd140e91e368d604eeda49f958e4f46823527d49ce79befe47840486f2290dff1e4f8181843629fd23867ab7a18d22dd8a590e7a5255a52ae13859021cbfd
7
- data.tar.gz: 041e3c9d925c9d6de6ddf77a31eb43eba7125219a5f4cafecf58527994aefffd6819bffd00e33fe66b23e4b7e913eb0c97080d78dbd8cce1eab083d86e0238d8
6
+ metadata.gz: 7a4f77ebf495706d90177a9d840052126226480a1080830edf866106393842cd5dd5f86eb47bca63680b9a2624707479996b22e93b745a8765db9998569c22fa
7
+ data.tar.gz: 5ae70705acf4a893b105736d58cef6a133a9690433424f219b405737e095ae41f285cb64bfb45be4259be7585439b9380a8ed9dbe675d010268ba73dc40d7e10
@@ -54,7 +54,7 @@ class LazyTsquery < DelegateClass(Tsquery)
54
54
  def login(username: 'serveradmin', password:)
55
55
  execute 'login', username, password
56
56
  nil
57
- rescue Error
57
+ rescue Tsquery::Error
58
58
  false
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tsquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Uher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-10 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler