lita-onewheel-images 0.4.1 → 0.4.2
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 +2 -0
- data/lita-onewheel-images.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d36b157a24744f427239308ead2f7e5c953af564
|
4
|
+
data.tar.gz: 30749a2fe42db2e0f1ca34f3ebff6f9bbac6ea30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a435224264739d096a433c8c7b1941707d00049350776cd30e954db1cf85e2a02e4252e34c4cd7c9a7510635e01b2887fdc731c85e4fff4378b5485b4c47d7e
|
7
|
+
data.tar.gz: 32e87ed5d84b8614b4ac52551cbe114c6f26cef78d2be564e6624f75be9c60078fad45a50e0732f5b0f51db5881deca2599e4d08f5d207769d78c1212b453054
|
@@ -16,7 +16,9 @@ module Lita
|
|
16
16
|
|
17
17
|
def image(response)
|
18
18
|
query = response.matches[0][0]
|
19
|
+
Lita.logger.debug("Config search prefix: #{config.search_prefix.empty?}")
|
19
20
|
unless config.search_prefix.empty?
|
21
|
+
Lita.logger.debug('Adding config prefix.')
|
20
22
|
query = "#{config.search_prefix} #{query}"
|
21
23
|
end
|
22
24
|
Lita.logger.debug "query: #{query}"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-images'
|
3
|
-
spec.version = '0.4.
|
3
|
+
spec.version = '0.4.2'
|
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.'
|