lita-onewheel-twitter-photo 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: 3995a9ec01ab27dae74245a0f77a289757afe717
4
- data.tar.gz: ba3e3763dbd8c8bbae1777be3b8586a201f8e02a
2
+ SHA256:
3
+ metadata.gz: d696c079a4d826954b0f1a64c76c464df46456cc367ffe03d41044184340fed7
4
+ data.tar.gz: d658bdcfc55fce6aea30a1e23a5e9ed779b7ef8daf343f818855a8cfd0e84cb6
5
5
  SHA512:
6
- metadata.gz: 50f6c0358aef257c6c26c994b15a734544100291e0fd6a9a35b769f7476b1cf9ea9278745cb50157064c6b259bd4bb0b7e8344f3608fde989e8232b19f59cc98
7
- data.tar.gz: a692bcfccaa4bf589a69f6eb70fd3e40d6ff721b8a39b662ce44847c045894d44101e90840251222a2bc7a43abd20ef258a6b7979bf21f96f241f1e10ff5b8c7
6
+ metadata.gz: c09e0fd6dba5f95a73f60a88add9b08dd82577ba79238155ed2b661fea8f4af81724248bbc0d6bd82ba98ea4d37c90867836372757475295cd7c5cd1a9d381a0
7
+ data.tar.gz: 24f337645100c2df2b38df1ec45ca6b97ad7c1e10e4ce0efd0b5f276e62ebfae2cdda97c3d087df0912514639c795f5b3a71d59c3f095069d0aee66a03af2e65
@@ -27,6 +27,7 @@ module Lita
27
27
  def get_twitter_title(response)
28
28
  if response.message.source.room == config.room
29
29
  uri = response.matches[0][0]
30
+ uri.sub! /mobile\./, ''
30
31
  doc = RestClient.get uri
31
32
  noko_doc = Nokogiri::HTML doc
32
33
  title = noko_doc.xpath('//title').text.to_s
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-twitter-photo'
3
- spec.version = '0.2.0'
3
+ spec.version = '0.2.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = %q{Lita interface to post links to twitter photos.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-twitter-photo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-24 00:00:00.000000000 Z
11
+ date: 2018-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 2.6.11
179
+ rubygems_version: 2.7.6
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: See above.