lita-onewheel-filmplot 0.0.0 → 0.0.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 +1 -1
- 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: eccfc645e592808cbccb72678c943e55477eeb6e4b84b8d3efd88978d61d9157
|
4
|
+
data.tar.gz: '00618bf6adba0604f253632dd7a6e43da101b4116ac247403f4529a7ea19c72c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f24dd2322e52dd4152116f64192dbf3871e0daf472357b5d380522d95d4d78ceed5acc1e2041d3412823f50d803ee6204831201f3169ff4492b3e901c42b178
|
7
|
+
data.tar.gz: 78207ffe1f1a02a52a70987a1da7848b2c503f0f14ff9d1ddef3a042d26955fc082d6c022e070166cf73ea17691fdc4c3cd7f26b4187d88d6312bc48a49500ef
|
@@ -17,7 +17,7 @@ module Lita
|
|
17
17
|
command: true
|
18
18
|
|
19
19
|
def get_plot(response)
|
20
|
-
movie_slug = response.matches[0][0]
|
20
|
+
movie_slug = response.matches[0][0].gsub ' ', '_'
|
21
21
|
begin
|
22
22
|
r = RestClient.get("https://www.rottentomatoes.com/m/#{movie_slug}")
|
23
23
|
noko_doc = Nokogiri::HTML(r)
|