lita-onewheel-images 0.4.0 → 0.4.1
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 -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: 77ccb9b27664ae488b0c4615f80c3b60623894db
|
4
|
+
data.tar.gz: 3e007d77575f5facc353a17aeafd7f73d57ae84f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d29769d5b2e7cdf633362dc69dbe692ea92baa86bbb32823431be4915da1c807f5479ad1227026870cb8534d31bdc1ad0c47919a4f83ff71cb55dbbcc9bef8a
|
7
|
+
data.tar.gz: '0976fd9fdd20e669d161de7a65f4628e3cb090bb447cee96fbd0b1082f6d5af60b6d704a9477679e3f8785e10161b05eb61390c98115418aac5b150715a09650'
|
@@ -19,6 +19,7 @@ module Lita
|
|
19
19
|
unless config.search_prefix.empty?
|
20
20
|
query = "#{config.search_prefix} #{query}"
|
21
21
|
end
|
22
|
+
Lita.logger.debug "query: #{query}"
|
22
23
|
|
23
24
|
result = ::OnewheelGoogle::search(query, config.custom_search_engine_id, config.google_api_key, config.safe_search, image = true)
|
24
25
|
Lita.logger.debug "response: #{result['items'][0]['link']}"
|
@@ -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.1'
|
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.'
|