nadoka 0.8.5 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/ndk/version.rb +1 -1
- data/plugins/titlebot.nb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 909f58c2eedf5961fac9c60f3a53be75ab720ece
|
|
4
|
+
data.tar.gz: e9ac1b85e70e3c97ebfd3bfc90106bb67dd75ed1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac27e1fdae6661c7ffe5f3dd91cfb1f852d0e90e203bccbf9d789ecdde4dea1cad5270913cb0fd4b75405ec0fde265a7d074f56dbb75e7e43cf152f07c28dbbd
|
|
7
|
+
data.tar.gz: 82392cf7d9fc592ca7650e86a802c0f5012725a31c6216a877c4b91b5f54be4119a4340ab4c63269c634a3f94c84ba196446d13cd6246b87e191b7535c101412
|
data/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Written by SASADA Koichi <ko1 at atdot.net>
|
|
4
4
|
|
|
5
|
+
[](http://badge.fury.io/rb/nadoka)
|
|
5
6
|
[](https://travis-ci.org/nadoka/nadoka)
|
|
6
7
|
[](https://codeclimate.com/github/nadoka/nadoka)
|
|
7
8
|
|
data/ndk/version.rb
CHANGED
data/plugins/titlebot.nb
CHANGED
|
@@ -140,7 +140,7 @@ module URL2Title
|
|
|
140
140
|
when /\A(?:twitter\.com)\z/
|
|
141
141
|
if defined?(::Nokogiri)
|
|
142
142
|
doc = Nokogiri::HTML(body, uri.to_s, 'utf-8')
|
|
143
|
-
tweet, = doc.css('.tweet-text')
|
|
143
|
+
tweet, = doc.css('.permalink-tweet > .tweet-text')
|
|
144
144
|
if tweet
|
|
145
145
|
tweet = tweet.inner_html
|
|
146
146
|
tweet.gsub!(/<.*?>/, '')
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nadoka
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuhiro NISHIYAMA
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-11-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Nadoka is a tool for monitoring and logging IRC conversations and responding
|
|
15
15
|
to specially formatted requests. You define and customize these responses in Ruby.
|