lita-onewheel-odot-tripcheck-web-hack 0.2.0 → 0.3.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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1020cf093f50ceb75002d2834688e951db7ada51
|
4
|
+
data.tar.gz: e7842495b5e625a2da6d3005158a755a6afe9095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c5151f3c482c6ab16107d65cf1ecb12b347ed37d81c6c18fea2f07e28300a8b71ec2275d3df68dd89850702e8709690e0f52b3a9ba3212ee9f0aa32ccfe2319
|
7
|
+
data.tar.gz: ddd2514a55998791da42ab23a8c59ab194c9389301caed9adff060cd1b996dad696b9dcad2d7e37dcfbf546314a217ba13553bfff62bb87a06774a73fd43b7fc
|
@@ -8,8 +8,6 @@ module Lita
|
|
8
8
|
route(/^tripcheck$/i, :handle_tripcheck_list, command: true,
|
9
9
|
help: { 'tripcheck': 'Display a list of tripcheck cameras covered.'})
|
10
10
|
|
11
|
-
route(/^sandycam$/i, :handle_sandycam, command: true)
|
12
|
-
|
13
11
|
def get_cameras
|
14
12
|
uri_base = 'https://tripcheck.com/RoadCams/cams/'
|
15
13
|
|
@@ -6,7 +6,6 @@ describe Lita::Handlers::OnewheelOdotTripcheckWebHack, lita_handler: true do
|
|
6
6
|
|
7
7
|
it { is_expected.to route_command('tripcheck blue') }
|
8
8
|
it { is_expected.to route_command('tripcheck') }
|
9
|
-
it { is_expected.to route_command('sandycam') }
|
10
9
|
|
11
10
|
it 'will respond to tripcheck' do
|
12
11
|
send_command 'tripcheck govy'
|
@@ -22,9 +21,4 @@ describe Lita::Handlers::OnewheelOdotTripcheckWebHack, lita_handler: true do
|
|
22
21
|
send_command 'tripcheck sandy'
|
23
22
|
expect(replies.last).to_not include('rand=')
|
24
23
|
end
|
25
|
-
|
26
|
-
it 'sandycam' do
|
27
|
-
send_command 'sandycam'
|
28
|
-
expect(replies.last).to eq('https://launchpad.pin13.net/cam/sandy.jpg')
|
29
|
-
end
|
30
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-onewheel-odot-tripcheck-web-hack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2016-12-
|
11
|
+
date: 2016-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.5.
|
150
|
+
rubygems_version: 2.5.2
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Find out how the traffic-related weather on Mt. Hood is doing, visually.
|