lita-onewheel-google 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 94e797b461c022d67166e3054f6d390170157c88
4
+ data.tar.gz: 5fc7f51ca7ad71af75f00031a53527efda2d00e6
5
+ SHA512:
6
+ metadata.gz: e510841ca0fc23937441c07932fb67c2e03554d320b6672243681837cc4d19f0fdfbaa17afc654bc9c5c59983ca2be0997d29210ef6c5589790b0400c6b70a12
7
+ data.tar.gz: 64b822b99a0e5ad1bd6336ad4f109b88f832cb29c363fa9d01e1801e0b71d555c9755e689ace1f4e5a39da5bbdfead2da022a041e11c3a8ca489c52b2c9584ae
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/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/README.rst ADDED
@@ -0,0 +1,35 @@
1
+ lita-onewheel-google
2
+ --------------------
3
+
4
+ [![Build Status](https://travis-ci.org/onewheelskyward/lita-onewheel-google.png?branch=master)](https://travis-ci.org/onewheelskyward/lita-onewheel-google)
5
+ [![Coverage Status](https://coveralls.io/repos/onewheelskyward/lita-onewheel-google/badge.png)](https://coveralls.io/r/onewheelskyward/lita-onewheel-google)
6
+
7
+ TODO: Add a description of the plugin.
8
+
9
+ Installation
10
+ ------------
11
+ Add lita-onewheel-google to your Lita instance's Gemfile:
12
+
13
+ ``` ruby
14
+ gem "lita-onewheel-google"
15
+ ```
16
+
17
+ Configuration
18
+ -------------
19
+
20
+ Lita.configure do |config|
21
+ config.handlers.onewheel_images.custom_search_engine_id = '123:xyz'
22
+ config.handlers.onewheel_images.google_api_key = 'A1b2'
23
+ config.handlers.onewheel_images.safe_search = 'medium' # This is the default setting. Use 'off' at your own risk.
24
+ end
25
+
26
+ Usage
27
+ -----
28
+
29
+ Well, firstly, Google's API explorer can be a little tricky.
30
+
31
+
32
+ Going Forward
33
+ -------------
34
+
35
+ 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.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,39 @@
1
+ require 'rest-client'
2
+ require 'json'
3
+ require 'addressable/uri'
4
+
5
+ module Lita
6
+ module Handlers
7
+ class OnewheelGoogle < Handler
8
+ config :custom_search_engine_id
9
+ config :google_api_key
10
+ config :safe_search, required: false, default: 'medium'
11
+
12
+ route /^google\s+(.*)$/, :search, command: true
13
+
14
+ def search(response)
15
+ query = response.matches[0][0]
16
+ search_result = get_results query
17
+ puts search_result.inspect
18
+ response.reply search_result['items'][0]['link']
19
+ end
20
+
21
+ def get_results(query)
22
+ puts "Searching for #{query}"
23
+ uri = Addressable::URI.new
24
+ uri.query_values = {
25
+ q: query,
26
+ cx: config.custom_search_engine_id,
27
+ # searchType: 'image',
28
+ num: 10,
29
+ key: config.google_api_key,
30
+ safe: config.safe_search}
31
+ Lita.logger.debug uri.query
32
+ response = RestClient.get "https://www.googleapis.com/customsearch/v1?#{uri.query}"
33
+ JSON.parse response
34
+ end
35
+
36
+ Lita.register_handler(self)
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,3 @@
1
+ require 'lita'
2
+
3
+ require 'lita/handlers/onewheel_google'
@@ -0,0 +1,27 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = 'lita-onewheel-google'
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 searching in chat.'
7
+ spec.summary = 'CSE Details to follow'
8
+ spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-google'
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'
18
+ spec.add_runtime_dependency 'rest-client'
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,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Lita::Handlers::OnewheelGoogle, lita_handler: true do
4
+
5
+ before(:each) do
6
+ mock_result_json = File.open('spec/fixtures/mock_result.json').read
7
+ allow(RestClient).to receive(:get).and_return(mock_result_json)
8
+
9
+ registry.configure do |config|
10
+ config.handlers.onewheel_google.custom_search_engine_id = ''
11
+ config.handlers.onewheel_google.google_api_key = ''
12
+ end
13
+ end
14
+
15
+ it { is_expected.to route_command('google something') }
16
+
17
+ it 'does neat googly things' do
18
+ mock_result_json = JSON.parse File.open('spec/fixtures/mock_result.json').read
19
+ allow(Lita::Handlers::OnewheelGoogle).to receive(:get_results).and_return(mock_result_json)
20
+ # mock gcse response
21
+ send_command 'google yo'
22
+ end
23
+ end
@@ -0,0 +1,14 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+ SimpleCov.formatters = [
4
+ SimpleCov::Formatter::HTMLFormatter,
5
+ Coveralls::SimpleCov::Formatter
6
+ ]
7
+ SimpleCov.start { add_filter '/spec/' }
8
+
9
+ require 'lita-onewheel-google'
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,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-onewheel-google
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-05-30 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'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rest-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
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 searching in chat.
140
+ email:
141
+ - andrew.kreps@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - Gemfile
148
+ - README.rst
149
+ - Rakefile
150
+ - lib/lita-onewheel-google.rb
151
+ - lib/lita/handlers/onewheel_google.rb
152
+ - lita-onewheel-google.gemspec
153
+ - spec/fixtures/mock_result.json
154
+ - spec/lita/handlers/onewheel_google_spec.rb
155
+ - spec/spec_helper.rb
156
+ homepage: https://github.com/onewheelskyward/lita-onewheel-google
157
+ licenses:
158
+ - MIT
159
+ metadata:
160
+ lita_plugin_type: handler
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ requirements: []
176
+ rubyforge_project:
177
+ rubygems_version: 2.5.1
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: CSE Details to follow
181
+ test_files:
182
+ - spec/fixtures/mock_result.json
183
+ - spec/lita/handlers/onewheel_google_spec.rb
184
+ - spec/spec_helper.rb