lita-onewheel-images 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d732b7ef3e5263069b437651ca654bddded6c692
4
+ data.tar.gz: 077fbc9c78fe606be6ac1a5efbaa69722ba2868e
5
+ SHA512:
6
+ metadata.gz: ea6114f87c37af1c1411dc9f024054f4b4cd1bfb6262fff6c6a43a32e674600d0d67ca3dcf963f88459d535242c29527bcf1abf923dd3ac69f1ae77a843786de
7
+ data.tar.gz: e81c0cdb6dad59b1c8ff1995093f0e8e8757fad0c96a79d7313b309dcc43fcca3baabd88aea70c29bf85065cf3d6627a36e3392b7b5a12927b3d1f04f4fb0c56
data/.gitignore ADDED
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .idea
19
+ lita_config.rb
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.4
4
+ script: bundle exec rake
5
+ before_install:
6
+ - gem update --system
7
+ services:
8
+ - redis-server
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/README.rst ADDED
@@ -0,0 +1,31 @@
1
+ lita-onewheel-images
2
+ --------------------
3
+
4
+ [![Build Status](https://travis-ci.org/onewheelskyward/lita-onewheel-images.png?branch=master)](https://travis-ci.org/onewheelskyward/lita-onewheel-images)
5
+ [![Coverage Status](https://coveralls.io/repos/onewheelskyward/lita-onewheel-images/badge.png)](https://coveralls.io/r/onewheelskyward/lita-onewheel-images)
6
+
7
+ TODO: Add a description of the plugin.
8
+
9
+ Installation
10
+ ------------
11
+ Add lita-onewheel-images to your Lita instance's Gemfile:
12
+
13
+ ``` ruby
14
+ gem "lita-onewheel-images"
15
+ ```
16
+
17
+ Configuration
18
+ -------------
19
+
20
+ TODO: Describe any configuration attributes the plugin exposes.
21
+
22
+ Usage
23
+ -----
24
+
25
+ Well, firstly, Google's API explorer can be a little trick.
26
+
27
+
28
+ Going Forward
29
+ -------------
30
+
31
+ I'm going to implement postgres and make sure I can track everything I want to track. Testing the limits of the api calls since I get so few.
@@ -0,0 +1,37 @@
1
+ require 'httparty'
2
+ require 'json'
3
+ require 'addressable/uri'
4
+
5
+ module Lita
6
+ module Handlers
7
+ class OnewheelImages < Handler
8
+ config :custom_search_engine_id
9
+ config :google_api_key
10
+
11
+ route /^image\s+(.*)$/, :image, command: true
12
+
13
+ def image(response)
14
+ query = response.matches[0][0]
15
+ search_result = get_results query
16
+ puts search_result.inspect
17
+ response.reply search_result['items'][0]['link']
18
+ end
19
+
20
+ def get_results(query)
21
+ puts "Searching for #{query}"
22
+ uri = Addressable::URI.new
23
+ uri.query_values = {
24
+ q: query,
25
+ cx: config.custom_search_engine_id,
26
+ searchType: 'image',
27
+ num: 10,
28
+ key: config.google_api_key}
29
+ Lita.logger.debug uri.query
30
+ response = HTTParty.get "https://www.googleapis.com/customsearch/v1?#{uri.query}"
31
+ JSON.parse response.body
32
+ end
33
+
34
+ Lita.register_handler(self)
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,12 @@
1
+ require 'lita'
2
+
3
+ Lita.load_locales Dir[File.expand_path(
4
+ File.join('..', '..', 'locales', '*.yml'), __FILE__
5
+ )]
6
+
7
+ require 'lita/handlers/onewheel_images'
8
+
9
+ Lita::Handlers::OnewheelImages.template_root File.expand_path(
10
+ File.join('..', '..', 'templates'),
11
+ __FILE__
12
+ )
@@ -0,0 +1,27 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = 'lita-onewheel-images'
3
+ spec.version = '0.0.0'
4
+ spec.authors = ['Andrew Kreps']
5
+ spec.email = ['andrew.kreps@gmail.com']
6
+ spec.description = 'An implementation of Google Custom Search Engine for image searches in chat.'
7
+ spec.summary = 'CSE Details to follow'
8
+ spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-images'
9
+ spec.license = 'MIT'
10
+ spec.metadata = { 'lita_plugin_type' => 'handler' }
11
+
12
+ spec.files = `git ls-files`.split($/)
13
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
14
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
15
+ spec.require_paths = ['lib']
16
+
17
+ spec.add_runtime_dependency 'lita', '~> 4.6'
18
+ spec.add_runtime_dependency 'httparty', '~> 0.13'
19
+ spec.add_runtime_dependency 'addressable', '~> 2.4'
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.3'
22
+ spec.add_development_dependency 'rake', '~> 10.4'
23
+ spec.add_development_dependency 'rack-test', '~> 0.6'
24
+ spec.add_development_dependency 'rspec', '~> 3.3'
25
+ spec.add_development_dependency 'simplecov', '~> 0.10'
26
+ spec.add_development_dependency 'coveralls', '~> 0.8'
27
+ end
@@ -0,0 +1,226 @@
1
+ {
2
+ "kind": "customsearch#search",
3
+ "url": {
4
+ "type": "application/json",
5
+ "template": "https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json"
6
+ },
7
+ "queries": {
8
+ "nextPage": [{
9
+ "title": "Google Custom Search - ohai",
10
+ "totalResults": "1530000",
11
+ "searchTerms": "ohai",
12
+ "count": 10,
13
+ "startIndex": 11,
14
+ "inputEncoding": "utf8",
15
+ "outputEncoding": "utf8",
16
+ "safe": "off",
17
+ "cx": "[redacted]",
18
+ "searchType": "image"
19
+ }],
20
+ "request": [{
21
+ "title": "Google Custom Search - ohai",
22
+ "totalResults": "1530000",
23
+ "searchTerms": "ohai",
24
+ "count": 10,
25
+ "startIndex": 1,
26
+ "inputEncoding": "utf8",
27
+ "outputEncoding": "utf8",
28
+ "safe": "off",
29
+ "cx": "[redacted]",
30
+ "searchType": "image"
31
+ }]
32
+ },
33
+ "context": {
34
+ "title": "Google"
35
+ },
36
+ "searchInformation": {
37
+ "searchTime": 0.228606,
38
+ "formattedSearchTime": "0.23",
39
+ "totalResults": "1530000",
40
+ "formattedTotalResults": "1,530,000"
41
+ },
42
+ "items": [{
43
+ "kind": "customsearch#result",
44
+ "title": "Cute Bug says Ohai | Ohai | Pinterest | So Cute and Animal",
45
+ "htmlTitle": "Cute Bug says <b>Ohai</b> | <b>Ohai</b> | Pinterest | So Cute and Animal",
46
+ "link": "https://s-media-cache-ak0.pinimg.com/736x/4a/43/a4/4a43a4b6569cf8a197b6c9217de3f412.jpg",
47
+ "displayLink": "www.pinterest.com",
48
+ "snippet": "Cute Bug says Ohai: Funny",
49
+ "htmlSnippet": "Cute Bug says <b>Ohai</b>: Funny",
50
+ "mime": "image/jpeg",
51
+ "image": {
52
+ "contextLink": "https://www.pinterest.com/pin/218424650649907541/",
53
+ "height": 267,
54
+ "width": 400,
55
+ "byteSize": 27797,
56
+ "thumbnailLink": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTGAWb81To4szalry_FbsWtG_89LFR0E7NqyidKQtvkwtvU0ni1DWdT1gU",
57
+ "thumbnailHeight": 83,
58
+ "thumbnailWidth": 124
59
+ }
60
+ }, {
61
+ "kind": "customsearch#result",
62
+ "title": "OHAI Panda | Flickr - Photo Sharing!",
63
+ "htmlTitle": "<b>OHAI</b> Panda | Flickr - Photo Sharing!",
64
+ "link": "https://c2.staticflickr.com/4/3563/3429331082_55a77b8618.jpg",
65
+ "displayLink": "www.flickr.com",
66
+ "snippet": "OHAI Panda | by",
67
+ "htmlSnippet": "<b>OHAI</b> Panda | by",
68
+ "mime": "image/jpeg",
69
+ "image": {
70
+ "contextLink": "https://www.flickr.com/photos/whiteladyeowyn/3429331082",
71
+ "height": 500,
72
+ "width": 422,
73
+ "byteSize": 51775,
74
+ "thumbnailLink": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFjWkEiSVDAdgFq9sD6l8KUBoRl6Yq-TW_4Opiv1XdDZFPicO4Uypf8rc",
75
+ "thumbnailHeight": 130,
76
+ "thumbnailWidth": 110
77
+ }
78
+ }, {
79
+ "kind": "customsearch#result",
80
+ "title": "Image - Ohai der I not no u waz heer.jpg - Epic Rap Battles of ...",
81
+ "htmlTitle": "Image - <b>Ohai</b> der I not no u waz heer.jpg - Epic Rap Battles of <b>...</b>",
82
+ "link": "http://vignette4.wikia.nocookie.net/epicrapbattlesofhistory/images/6/61/Ohai_der_I_not_no_u_waz_heer.jpg/revision/latest?cb=20140514001442",
83
+ "displayLink": "epicrapbattlesofhistory.wikia.com",
84
+ "snippet": "File:Ohai der I not no u waz",
85
+ "htmlSnippet": "File:<b>Ohai</b> der I not no u waz",
86
+ "mime": "image/",
87
+ "fileFormat": "Image Document",
88
+ "image": {
89
+ "contextLink": "http://epicrapbattlesofhistory.wikia.com/wiki/File:Ohai_der_I_not_no_u_waz_heer.jpg",
90
+ "height": 408,
91
+ "width": 450,
92
+ "byteSize": 32771,
93
+ "thumbnailLink": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS3Rq1w1LfBnarhjZwecu3n0uhztus9LfKypcJtdXkUo7oz_p4KhbC3FnM",
94
+ "thumbnailHeight": 115,
95
+ "thumbnailWidth": 127
96
+ }
97
+ }, {
98
+ "kind": "customsearch#result",
99
+ "title": "funny fish says ohai | Creatures in the oceans | Pinterest | Funny ...",
100
+ "htmlTitle": "funny fish says <b>ohai</b> | Creatures in the oceans | Pinterest | Funny <b>...</b>",
101
+ "link": "https://s-media-cache-ak0.pinimg.com/736x/aa/ca/70/aaca70611707054e7f8577915ad2ad9a.jpg",
102
+ "displayLink": "www.pinterest.com",
103
+ "snippet": "Saved from",
104
+ "htmlSnippet": "Saved from",
105
+ "mime": "image/jpeg",
106
+ "image": {
107
+ "contextLink": "https://www.pinterest.com/pin/515099276101358075/",
108
+ "height": 450,
109
+ "width": 487,
110
+ "byteSize": 47743,
111
+ "thumbnailLink": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSnnmeUA94J7_PVwnTpfO6HJEy4H4H0FhbMNPDP5CEoXe7YdcvRLwmRiNQ",
112
+ "thumbnailHeight": 119,
113
+ "thumbnailWidth": 129
114
+ }
115
+ }, {
116
+ "kind": "customsearch#result",
117
+ "title": "Ohai_c55a62_1443699.jpg",
118
+ "htmlTitle": "<b>Ohai</b>_c55a62_1443699.jpg",
119
+ "link": "http://static.fjcdn.com/pictures/Ohai_c55a62_1443699.jpg",
120
+ "displayLink": "www.funnyjunk.com",
121
+ "snippet": "Ohai. Nothing to see here.",
122
+ "htmlSnippet": "<b>Ohai</b>. Nothing to see here.",
123
+ "mime": "image/jpeg",
124
+ "image": {
125
+ "contextLink": "http://www.funnyjunk.com/funny_pictures/1444143/Ohai/",
126
+ "height": 422,
127
+ "width": 600,
128
+ "byteSize": 41438,
129
+ "thumbnailLink": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcStyC-iciXitkp7XxJFvsiMGQhdwPkrrOHZ5Ilz_RgUb3jo4IYLQ3ZPZwE",
130
+ "thumbnailHeight": 95,
131
+ "thumbnailWidth": 135
132
+ }
133
+ }, {
134
+ "kind": "customsearch#result",
135
+ "title": "Kealia Ohai ⊕ Rising Star ⊕ 2014 - YouTube",
136
+ "htmlTitle": "Kealia <b>Ohai</b> ⊕ Rising Star ⊕ 2014 - YouTube",
137
+ "link": "https://i.ytimg.com/vi/-1BAgVImCE4/maxresdefault.jpg",
138
+ "displayLink": "www.youtube.com",
139
+ "snippet": "Kealia Ohai ⊕ Rising Star ⊕",
140
+ "htmlSnippet": "Kealia <b>Ohai</b> ⊕ Rising Star ⊕",
141
+ "mime": "image/jpeg",
142
+ "image": {
143
+ "contextLink": "https://www.youtube.com/watch?v=-1BAgVImCE4",
144
+ "height": 1280,
145
+ "width": 2048,
146
+ "byteSize": 235084,
147
+ "thumbnailLink": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRqJtmAb3uni91m45r0V3XotsiN0dyOtPFonwtJ2iORDch_Jx3y6vLUthE",
148
+ "thumbnailHeight":94,
149
+ "thumbnailWidth":150
150
+ }
151
+ }, {
152
+ "kind": "customsearch#result",
153
+ "title": "Amy @ ohai (@ohai) | Twitter",
154
+ "htmlTitle": "Amy @ <b>ohai</b> (@<b>ohai</b>) | Twitter",
155
+ "link": "https://pbs.twimg.com/profile_images/879196827/ohai_logo_bubble_400x400.gif",
156
+ "displayLink": "twitter.com",
157
+ "snippet": "Amy @ ohai",
158
+ "htmlSnippet": "Amy @ <b>ohai</b>",
159
+ "mime": "image/gif",
160
+ "fileFormat": "Image Document",
161
+ "image":{
162
+ "contextLink": "https://twitter.com/ohai",
163
+ "height":400,
164
+ "width":400,
165
+ "byteSize":140038,
166
+ "thumbnailLink": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS6U6CGHEapf8OU5lUAESNuPmc5d8SUptd9g8MC4hortaFIp_Qv_JQ7QA0",
167
+ "thumbnailHeight":124,
168
+ "thumbnailWidth":124
169
+ }
170
+ }, {
171
+ "kind": "customsearch#result",
172
+ "title": "Ohai - Wikipedia, the free encyclopedia",
173
+ "htmlTitle": "<b>Ohai</b> - Wikipedia, the free encyclopedia",
174
+ "link": "https://upload.wikimedia.org/wikipedia/commons/6/6d/Image_of_mining_under_Ohai_area.jpg",
175
+ "displayLink": "en.wikipedia.org",
176
+ "snippet": "mining in Ohai area.",
177
+ "htmlSnippet": "mining in <b>Ohai</b> area.",
178
+ "mime": "image/jpeg",
179
+ "image":{
180
+ "contextLink": "https://en.wikipedia.org/wiki/Ohai",
181
+ "height":10032,
182
+ "width":13360,
183
+ "byteSize":4944353,
184
+ "thumbnailLink": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRYCKkuAzc87ufSxyNZgQAYEitvDd3SQY8uRMdy94Pg2y8zgndk7OIxDIYC",
185
+ "thumbnailHeight":113,
186
+ "thumbnailWidth":150
187
+ }
188
+ }, {
189
+ "kind": "customsearch#result",
190
+ "title": "Ohai | Fabric of Thought",
191
+ "htmlTitle": "<b>Ohai</b> | Fabric of Thought",
192
+ "link": "http://fabricofthought.net/galleries/post-pics/Ohai.jpg",
193
+ "displayLink": "fabricofthought.net",
194
+ "snippet": "/galleries/post-pics/Ohai.jpg",
195
+ "htmlSnippet": "/galleries/post-pics/<b>Ohai</b>.jpg",
196
+ "mime": "image/jpeg",
197
+ "image":{
198
+ "contextLink": "http://fabricofthought.net/posts/ohai.html",
199
+ "height":281,
200
+ "width":500,
201
+ "byteSize":29200,
202
+ "thumbnailLink": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRrRSq5qz5aIXd9o3VKjrqH4G4cN_16XR-ZKzExJFZma8aojMQN7-c1pjo",
203
+ "thumbnailHeight":73,
204
+ "thumbnailWidth":130
205
+ }
206
+ }, {
207
+ "kind": "customsearch#result",
208
+ "title": "Meaning of OHAI - What does OHAI mean? - OHAI definition",
209
+ "htmlTitle": "Meaning of <b>OHAI</b> - What does <b>OHAI</b> mean? - <b>OHAI</b> definition",
210
+ "link": "http://slang.org/image/OHAI.png",
211
+ "displayLink": "slang.org",
212
+ "snippet": "Definition of OHAI",
213
+ "htmlSnippet": "Definition of <b>OHAI</b>",
214
+ "mime": "image/png",
215
+ "fileFormat": "Image Document",
216
+ "image":{
217
+ "contextLink": "http://slang.org/OHAI-meaning-definition",
218
+ "height":300,
219
+ "width":300,
220
+ "byteSize":28272,
221
+ "thumbnailLink": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSNzdfCjXT6sATyXfxp44d3qMKdyM3cRFLStUossTxtmVm2iJrqnRdxNU8",
222
+ "thumbnailHeight": 116,
223
+ "thumbnailWidth": 116
224
+ }
225
+ }]
226
+ }
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ describe Lita::Handlers::OnewheelImages, lita_handler: true do
4
+
5
+ before(:each) do
6
+ mock_result_json = File.open('spec/fixtures/mock_result.json').read
7
+ allow(Lita::Handlers::OnewheelImages).to receive(:get_results).and_return(mock_result_json)
8
+
9
+ registry.configure do |config|
10
+ config.handlers.onewheel_images.custom_search_engine_id = ''
11
+ config.handlers.onewheel_images.google_api_key = ''
12
+ end
13
+ end
14
+
15
+ it { is_expected.to route_command('image something') }
16
+
17
+ it 'does neat imagey things' do
18
+ mock_result_json = JSON.parse File.open('spec/fixtures/mock_result.json').read
19
+ allow(Lita::Handlers::OnewheelImages).to receive(:get_results).and_return(mock_result_json)
20
+ # mock gcse response
21
+ send_command 'image yo'
22
+
23
+ end
24
+ end
@@ -0,0 +1,14 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
+ SimpleCov::Formatter::HTMLFormatter,
5
+ Coveralls::SimpleCov::Formatter
6
+ ]
7
+ SimpleCov.start { add_filter '/spec/' }
8
+
9
+ require 'lita-onewheel-images'
10
+ require 'lita/rspec'
11
+
12
+ # A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin
13
+ # was generated with Lita 4, the compatibility mode should be left disabled.
14
+ Lita.version_3_compatibility_mode = false
metadata ADDED
@@ -0,0 +1,185 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-onewheel-images
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Kreps
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lita
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: httparty
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.13'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.13'
41
+ - !ruby/object:Gem::Dependency
42
+ name: addressable
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.4'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rack-test
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.6'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.6'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.3'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.10'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.10'
125
+ - !ruby/object:Gem::Dependency
126
+ name: coveralls
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.8'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.8'
139
+ description: An implementation of Google Custom Search Engine for image searches in
140
+ chat.
141
+ email:
142
+ - andrew.kreps@gmail.com
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - ".travis.yml"
149
+ - Gemfile
150
+ - README.rst
151
+ - lib/lita-onewheel-images.rb
152
+ - lib/lita/handlers/onewheel_images.rb
153
+ - lita-onewheel-images.gemspec
154
+ - spec/fixtures/mock_result.json
155
+ - spec/lita/handlers/onewheel_images_spec.rb
156
+ - spec/spec_helper.rb
157
+ homepage: https://github.com/onewheelskyward/lita-onewheel-images
158
+ licenses:
159
+ - MIT
160
+ metadata:
161
+ lita_plugin_type: handler
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubyforge_project:
178
+ rubygems_version: 2.4.5.1
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: CSE Details to follow
182
+ test_files:
183
+ - spec/fixtures/mock_result.json
184
+ - spec/lita/handlers/onewheel_images_spec.rb
185
+ - spec/spec_helper.rb