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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77ccb9b27664ae488b0c4615f80c3b60623894db
4
- data.tar.gz: 3e007d77575f5facc353a17aeafd7f73d57ae84f
3
+ metadata.gz: d36b157a24744f427239308ead2f7e5c953af564
4
+ data.tar.gz: 30749a2fe42db2e0f1ca34f3ebff6f9bbac6ea30
5
5
  SHA512:
6
- metadata.gz: 9d29769d5b2e7cdf633362dc69dbe692ea92baa86bbb32823431be4915da1c807f5479ad1227026870cb8534d31bdc1ad0c47919a4f83ff71cb55dbbcc9bef8a
7
- data.tar.gz: '0976fd9fdd20e669d161de7a65f4628e3cb090bb447cee96fbd0b1082f6d5af60b6d704a9477679e3f8785e10161b05eb61390c98115418aac5b150715a09650'
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.1'
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.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps