lita-onewheel-filmplot 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/onewheel_filmplot.rb +5 -0
- data/lita-onewheel-filmplot.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba14487281b43baae4fa6e02968b21a12399f835319fd3f59af4298b821d7d2
|
4
|
+
data.tar.gz: f65af2e6b2ced681951692fc4e06165022826ca0e869e521ec5bf43d037d7dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d8cf506c0f88ddd96f72d8b7ec4ef531be56f646303db3095c27eac2aef3be16beb7e75e4a120d62319f4171cfa4580bfcb0577ca22357ba6978fbb05100865
|
7
|
+
data.tar.gz: f30a7f490d352c9bb985899c6c198bb6f6c1f1c3acd22c38849b688fd77ef888f13e7570f2ee0987c32ef00c07d6e39b78b78cc3cf9d7e13a53a24d1d6071d6f
|
@@ -41,6 +41,11 @@ module Lita
|
|
41
41
|
Lita.logger.debug("Getting #{get_url}")
|
42
42
|
end
|
43
43
|
|
44
|
+
unless get_url
|
45
|
+
response.reply "#{title} not found, did you try typing it in as it was at the theatres? e.g. 'Blade Runner'"
|
46
|
+
return
|
47
|
+
end
|
48
|
+
|
44
49
|
begin
|
45
50
|
r = RestClient.get(get_url)
|
46
51
|
noko_doc = Nokogiri::HTML(r)
|