twitter_username_extractor 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Rakefile +1 -0
- data/lib/twitter_username_extractor.rb +1 -1
- data/lib/twitter_username_extractor/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33c6afb810ffca2db316d9013e1b97bf7e9a554e
|
4
|
+
data.tar.gz: f7f2e0317901aa74ccd44ac5a76d39b4619acb0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d6771af9745dda3b740c3d1bce054c6d936da25f6b20e477ebabe490bc487686adc1748bc1fc885e1ebf869000a269a6e1d319f72a70f5eb7edd834c731024c
|
7
|
+
data.tar.gz: c379a90bb6a5c7fa324b6d2a7cd7321775e3d32f60621e9f43af12b01e7224b48d6d702eb387604ca6197175e7569bdb96d56009adbdd776fbf227192d82c9c7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
|
+
|
8
|
+
## [0.2.0](https://github.com/everypolitician/twitter_username_extractor/compare/v0.1.0...v0.2.0)
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Removed an unnecessary `/` in a regular expression that was causing a warning ([#2](https://github.com/everypolitician/twitter_username_extractor/pull/2)).
|
13
|
+
|
14
|
+
## 0.1.0 2016-01-11
|
15
|
+
|
16
|
+
- Initial release
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ module TwitterUsernameExtractor
|
|
13
13
|
return Regexp.last_match(1) if t.match(%r{twitter.com/search\?q=%23(\w+)}i)
|
14
14
|
return Regexp.last_match(1) if t.match(%r{twitter.com/#!/https://twitter.com/(\w+)}i)
|
15
15
|
return Regexp.last_match(1) if t.match(%r{(?:www.)?twitter.com/#!/(\w+)[/\?]?}i)
|
16
|
-
return Regexp.last_match(1) if t.match(%r{(?:www.)?twitter.com/@?(\w+)[
|
16
|
+
return Regexp.last_match(1) if t.match(%r{(?:www.)?twitter.com/@?(\w+)[\/]?}i)
|
17
17
|
fail Error, "Unknown twitter handle: #{t}"
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_username_extractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Mytton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,6 +75,7 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
77
|
- ".travis.yml"
|
78
|
+
- CHANGELOG.md
|
78
79
|
- Gemfile
|
79
80
|
- LICENSE.txt
|
80
81
|
- README.md
|