lita-onewheel-google 0.0.8 → 0.1.0

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
- SHA1:
3
- metadata.gz: 49a6404f5de04ae84ab671106ed3a17af2c7956f
4
- data.tar.gz: 5cc9a6e33e599c525b2a7169bae30f41316a0e62
2
+ SHA256:
3
+ metadata.gz: effd50560ba1923128e32390443934aeb08e5ab936434f5173315f22ee90a6b7
4
+ data.tar.gz: 2d8956c680bf7bc4d3685f7c3a3aebede13f1b1d81a4c62fc287e6e717e6db6c
5
5
  SHA512:
6
- metadata.gz: c9adac3a4c6e0b3ea066d29ac4af7722d60b6b011a2ac5a9fcb27b64e02fba44e393b70d7b882811ab3fede9eac13f424bda72ed78c0310a7b80ee67cfc8bea9
7
- data.tar.gz: 3dc1a726d9cc17346ab5923836cf0a2f7375d1cd064c2335824961a948b64ae30aadbe09783e6ed876ee986d523c0272894079e4a1e4315efdfdd3f5b62a9a2b
6
+ metadata.gz: a412a7844becc0212a84fd76ac73fd2390a5c795e5547def4434dffeb7ce78d42858fa163f6a02d6d4c564dbf4a0f079305cbe04a4fe37dd7f67b30ed84e8aa5
7
+ data.tar.gz: 0125ba42f2f12a7b1cdcd98723f87a9d5e1a8a2b12c8a3bb71ca3af290be2d0be04ebd8420d19f4443ce690e84da25e4d514647b406051413ba243e33ac5ec97
@@ -8,6 +8,7 @@ module Lita
8
8
  config :safe_search, required: false, default: 'medium'
9
9
 
10
10
  route /^google\s+(.*)$/i, :search, command: true
11
+ route /^g\s+(.*)$/i, :search, command: true
11
12
 
12
13
  def search(response)
13
14
  query = response.matches[0][0]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-google'
3
- spec.version = '0.0.8'
3
+ spec.version = '0.1.0'
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 searching in chat.'
@@ -15,14 +15,14 @@ Gem::Specification.new do |spec|
15
15
  spec.require_paths = ['lib']
16
16
 
17
17
  spec.add_runtime_dependency 'lita', '~> 4'
18
- spec.add_runtime_dependency 'rest-client', '~> 1.8'
18
+ spec.add_runtime_dependency 'rest-client', '~> 2'
19
19
  spec.add_runtime_dependency 'addressable', '~> 2.4'
20
20
  spec.add_runtime_dependency 'onewheel-google', '~> 1'
21
21
 
22
- spec.add_development_dependency 'bundler', '~> 1.3'
23
- spec.add_development_dependency 'rake', '~> 10.4'
24
- spec.add_development_dependency 'rack-test', '~> 0.6'
25
- spec.add_development_dependency 'rspec', '~> 3.3'
26
- spec.add_development_dependency 'simplecov', '~> 0.10'
27
- spec.add_development_dependency 'coveralls', '~> 0.8'
22
+ spec.add_development_dependency 'bundler', '~> 2'
23
+ spec.add_development_dependency 'rake', '~> 11'
24
+ spec.add_development_dependency 'rack-test', '~> 0'
25
+ spec.add_development_dependency 'rspec', '~> 3'
26
+ spec.add_development_dependency 'simplecov', '~> 0'
27
+ spec.add_development_dependency 'coveralls', '~> 0'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2019-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.8'
33
+ version: '2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.8'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: addressable
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,84 +72,84 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.3'
75
+ version: '2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.3'
82
+ version: '2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '10.4'
89
+ version: '11'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '10.4'
96
+ version: '11'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rack-test
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.6'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0.6'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.3'
117
+ version: '3'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.3'
124
+ version: '3'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0.10'
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0.10'
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: coveralls
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.8'
145
+ version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0.8'
152
+ version: '0'
153
153
  description: An implementation of Google Custom Search Engine for searching in chat.
154
154
  email:
155
155
  - andrew.kreps@gmail.com
@@ -188,8 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  - !ruby/object:Gem::Version
189
189
  version: '0'
190
190
  requirements: []
191
- rubyforge_project:
192
- rubygems_version: 2.6.11
191
+ rubygems_version: 3.0.3
193
192
  signing_key:
194
193
  specification_version: 4
195
194
  summary: CSE Details to follow