cinch-twitter 0.3.5 → 0.3.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.
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/cinch-twitter.gemspec +2 -2
- data/lib/cinch/plugins/twitter.rb +2 -2
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# Version 0.3.6
|
|
2
|
+
* Query commands (?tw, ?ts) now only fire if the command is at the start of the line.
|
|
3
|
+
|
|
1
4
|
# Version 0.3.4 + 0.3.5
|
|
2
5
|
* Removed useless addition of the bots nick for ENHANCE_YOUR_CALM and reworded message.
|
|
3
6
|
* Removed formatting for error messages since Cinch's Format() cannot seem to be accessible in the ErrorHandler module.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.6
|
data/cinch-twitter.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "cinch-twitter"
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Mark Seymour"]
|
|
12
|
-
s.date = "2012-08-
|
|
12
|
+
s.date = "2012-08-25"
|
|
13
13
|
s.description = "A Twitter plugin for Cinch."
|
|
14
14
|
s.email = "mark.seymour.ns@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -58,7 +58,7 @@ module Cinch
|
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
match
|
|
61
|
+
match /^\?tw (\w+)$/, method: :execute_info, use_prefix: false
|
|
62
62
|
def execute_info(m, username)
|
|
63
63
|
result = TweetHandler.tweep_info(username: username)
|
|
64
64
|
if is_notice?(result)
|
|
@@ -68,7 +68,7 @@ module Cinch
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
match
|
|
71
|
+
match /^\?ts (.+)$/, method: :execute_search, use_prefix: false
|
|
72
72
|
def execute_search(m, term)
|
|
73
73
|
result = TweetHandler.search_by_term(term: term)
|
|
74
74
|
if is_notice?(result)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cinch-twitter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-08-
|
|
12
|
+
date: 2012-08-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
160
160
|
version: '0'
|
|
161
161
|
segments:
|
|
162
162
|
- 0
|
|
163
|
-
hash:
|
|
163
|
+
hash: -1006979697
|
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
none: false
|
|
166
166
|
requirements:
|