lita-onewheel-images 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/onewheel_images.rb +1 -1
- data/lita-onewheel-images.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c20d10698951815fd8de9c53b1f714ce5e30c105ded3d3c1bf2a8d04966f340
|
4
|
+
data.tar.gz: fd2ea6b24e83c22d5ef922b015fbab16b81b16d355207a9a5677196c5d903eec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7656829dbdca5c6698ca7f6fba066d589afa42cfa14b8382b39ee9d395f35b049c53713937f1eae62922e249338bcff9aea0faaec1eb84bb3114147ae04a074
|
7
|
+
data.tar.gz: 6ebfe53022d1616af3d5fa79d7865e3c376dce6353ebe8f4247982d906fbea4941318f352facd56d99ff49cd6500d495734a2d4787c3991676104689a31d2dc1
|
@@ -39,7 +39,7 @@ module Lita
|
|
39
39
|
result = ::OnewheelGoogle::search(query, config.custom_search_engine_id, config.google_api_key, config.safe_search, image = true)
|
40
40
|
|
41
41
|
if result
|
42
|
-
Lita.logger.debug("items: #{result['items']}")
|
42
|
+
# Lita.logger.debug("items: #{result['items']}")
|
43
43
|
result['items'].each do |r|
|
44
44
|
if r['mime'] == 'image/gif'
|
45
45
|
if r['link'][/200_s.gif$/]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-images'
|
3
|
-
spec.version = '0.6.
|
3
|
+
spec.version = '0.6.3'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
6
|
spec.description = 'An implementation of Google Custom Search Engine for image searches in chat.'
|