cinch-twitter 0.3.6 → 0.3.7
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 +4 -1
- data/VERSION +1 -1
- data/cinch-twitter.gemspec +2 -2
- data/lib/cinch/plugins/twitter/formatter.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# Version 0.3.7
|
2
|
+
* Another minor fix. Made https the standard for all links.
|
3
|
+
|
1
4
|
# Version 0.3.6
|
2
5
|
* Query commands (?tw, ?ts) now only fire if the command is at the start of the line.
|
3
6
|
|
@@ -15,4 +18,4 @@
|
|
15
18
|
* The plugin can now be included via `Cinch::Plugins::Twitter`.
|
16
19
|
|
17
20
|
# Version 0.1.0
|
18
|
-
* Initial release
|
21
|
+
* Initial release
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
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.7"
|
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-29"
|
13
13
|
s.description = "A Twitter plugin for Cinch."
|
14
14
|
s.email = "mark.seymour.ns@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -18,7 +18,7 @@ module Cinch
|
|
18
18
|
tail << "via #{tweet.source.gsub( %r{</?[^>]+?>}, '' )}"
|
19
19
|
urls << "https://twitter.com/#{tweet.user.screen_name}"
|
20
20
|
urls << Cinch::Formatting.format(:grey,"in reply to") if !tweet.in_reply_to_screen_name.blank?
|
21
|
-
urls << "
|
21
|
+
urls << "https://twitter.com/#{tweet.in_reply_to_screen_name}#{"/statuses/#{tweet.in_reply_to_status_id.to_s}" if !tweet.in_reply_to_status_id.blank?}" if !tweet.in_reply_to_screen_name.blank?
|
22
22
|
parts = [head, body, ["(", tail.join(" "), ")"].join, urls].flatten
|
23
23
|
parts.join(" ")
|
24
24
|
end
|
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.7
|
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-29 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: -109107085
|
164
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
165
|
none: false
|
166
166
|
requirements:
|