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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d696c079a4d826954b0f1a64c76c464df46456cc367ffe03d41044184340fed7
|
4
|
+
data.tar.gz: d658bdcfc55fce6aea30a1e23a5e9ed779b7ef8daf343f818855a8cfd0e84cb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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:
|
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
|
179
|
+
rubygems_version: 2.7.6
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: See above.
|