tit 2.0.3 → 2.0.4
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.markdown +6 -1
- data/VERSION.yml +1 -1
- data/lib/tit.rb +2 -2
- data/tit.gemspec +1 -1
- metadata +1 -1
data/ChangeLog.markdown
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
# tit 2.0.4 2011-09-09
|
2
|
+
|
3
|
+
* fixes issue with replacing t.co urls, where the ridiculous set of chars at the end remained
|
4
|
+
|
1
5
|
# tit 2.0.3 2011-08-31
|
2
6
|
|
3
|
-
*
|
7
|
+
* print error message regarding no DM permissions
|
8
|
+
* a couple patches
|
4
9
|
|
5
10
|
# tit 2.0.2 2011-08-31
|
6
11
|
|
data/VERSION.yml
CHANGED
data/lib/tit.rb
CHANGED
@@ -26,7 +26,7 @@ class String
|
|
26
26
|
replace(replace_with_expanded_url(expanded))
|
27
27
|
end
|
28
28
|
def replace_with_expanded_url(expanded)
|
29
|
-
replace_uris(/http:\/\/t.co\/[
|
29
|
+
replace_uris(/http:\/\/t.co\/[a-zA-Z0-9]{0,7}$/i, expanded)
|
30
30
|
end
|
31
31
|
def replace_uris(old, newt)
|
32
32
|
split(URI_REGEX).collect do |s|
|
@@ -91,7 +91,7 @@ end
|
|
91
91
|
Why are you reading the documentation, you cunt?
|
92
92
|
=end
|
93
93
|
class Tit
|
94
|
-
VERSION = [2, 0,
|
94
|
+
VERSION = [2, 0, 4]
|
95
95
|
|
96
96
|
RCFILE = File.join(ENV["HOME"], ".titrc")
|
97
97
|
RTFILE = File.join(ENV["HOME"], ".titrt")
|
data/tit.gemspec
CHANGED