lita-onewheel-odot-tripcheck-web-hack 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita-onewheel-odot-tripcheck-web-hack.rb +3 -0
- data/lib/lita/handlers/{odot_tripcheck_web_hack.rb → onewheel_odot_tripcheck_web_hack.rb} +3 -3
- data/lita-onewheel-odot-tripcheck-web-hack.gemspec +1 -1
- data/spec/lita/handlers/{odot_tripcheck_web_hack_spec.rb → onewheel_odot_tripcheck_web_hack_spec.rb} +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +5 -5
- data/lib/lita-odot-tripcheck-web-hack.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0c0e79fa4793674d0c3b2fdf7cddc650a8162a2
|
4
|
+
data.tar.gz: 8d21321f7153dbd0ad3dd9ac83303a30ef0ab90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b8f9fd373fad33b2518bd7c5e5e2588761c896eb7cedc2d8bc5904fc0c9688c667f31d7c99300a3bff836cd1ad3786aeb78bc7e0097fd3f45ea67a9b1ebc38
|
7
|
+
data.tar.gz: 5c6725c0a18db80dd2ae0040b2db8bdb3c6e8052592ba8f94401c16097ad45b05137a72d84fa36c85587b9d858bb2391633fbe5f0e2b735de1019f9e3348fafa
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module Lita
|
2
2
|
module Handlers
|
3
|
-
class
|
3
|
+
class OnewheelOdotTripcheckWebHack < Handler
|
4
4
|
|
5
5
|
route(/^tripcheck\s+(.*)/i, :handle_tripcheck, command: true,
|
6
|
-
help: { 'tripcheck 35'
|
6
|
+
help: { 'tripcheck 35': 'Displays an image of hwy 26 @ hwy 35'})
|
7
7
|
|
8
8
|
def handle_tripcheck(response)
|
9
9
|
input = response.matches[0][0]
|
@@ -32,6 +32,6 @@ module Lita
|
|
32
32
|
end
|
33
33
|
|
34
34
|
end
|
35
|
-
Lita.register_handler(
|
35
|
+
Lita.register_handler(OnewheelOdotTripcheckWebHack)
|
36
36
|
end
|
37
37
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -6,7 +6,7 @@ SimpleCov.formatters = [
|
|
6
6
|
]
|
7
7
|
SimpleCov.start { add_filter '/spec/' }
|
8
8
|
|
9
|
-
require 'lita-odot-tripcheck-web-hack'
|
9
|
+
require 'lita-onewheel-odot-tripcheck-web-hack'
|
10
10
|
require 'lita/rspec'
|
11
11
|
|
12
12
|
# A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
@@ -121,10 +121,10 @@ files:
|
|
121
121
|
- LICENSE
|
122
122
|
- README.md
|
123
123
|
- Rakefile
|
124
|
-
- lib/lita-odot-tripcheck-web-hack.rb
|
125
|
-
- lib/lita/handlers/
|
124
|
+
- lib/lita-onewheel-odot-tripcheck-web-hack.rb
|
125
|
+
- lib/lita/handlers/onewheel_odot_tripcheck_web_hack.rb
|
126
126
|
- lita-onewheel-odot-tripcheck-web-hack.gemspec
|
127
|
-
- spec/lita/handlers/
|
127
|
+
- spec/lita/handlers/onewheel_odot_tripcheck_web_hack_spec.rb
|
128
128
|
- spec/spec_helper.rb
|
129
129
|
homepage: https://github.com/onewheelskyward/lita-odot-tripcheck-web-hack
|
130
130
|
licenses:
|
@@ -152,5 +152,5 @@ signing_key:
|
|
152
152
|
specification_version: 4
|
153
153
|
summary: Find out how the traffic-related weather on Mt. Hood is doing, visually.
|
154
154
|
test_files:
|
155
|
-
- spec/lita/handlers/
|
155
|
+
- spec/lita/handlers/onewheel_odot_tripcheck_web_hack_spec.rb
|
156
156
|
- spec/spec_helper.rb
|