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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5cab92a17d2631daf2a21e24f6c90047cedcf399238205248838b1246788ba7
4
- data.tar.gz: 2d072db1cb88025f5020047e1cb2157aa00815532be2a5995da30c1387f49fb3
3
+ metadata.gz: eccfc645e592808cbccb72678c943e55477eeb6e4b84b8d3efd88978d61d9157
4
+ data.tar.gz: '00618bf6adba0604f253632dd7a6e43da101b4116ac247403f4529a7ea19c72c'
5
5
  SHA512:
6
- metadata.gz: 6af656589d19e14e07cfc9afd84553ada0a1e8b58dff6de2a9e0151f3322a9b37688c08807833310e0a1c5320d95c2c550e298c4b622b8979200ac9fcc8b99ed
7
- data.tar.gz: fde06c912be3ffe05badaae8f0f9038a1dbe9b1fcf47adea751c3cd8813817533f7d57d847d0d643378c0311eea62da62966f51f5e19e445fa2fd80d69fff5b7
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-filmplot'
3
- spec.version = '0.0.0'
3
+ spec.version = '0.0.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'Film plot retrieval bot.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-filmplot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps