ayadn 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/ayadn/blacklist.rb +8 -5
- data/lib/ayadn/version.rb +1 -1
- data/spec/mock/ayadn.sqlite +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c35b732787743af1ffb4606b914bce7e98eb8449
|
4
|
+
data.tar.gz: 80061c722394c97348aa4495f06d4ab1ac19b5b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db25cc0903fe97c2adf343790347f122f18d1a45b08e612bcea0ba9032c2927efa4beac0da5d25d1457b47ef28fc64bb7e7bd7add86c762c862912662d56d74c
|
7
|
+
data.tar.gz: 8cf1393082834771a438592dd83d0d1a257714311e7c755348bf6d9b42e4e0aa7b8da22baa0e05a4502749e9133c44857708001cfee2d33ec6dbf5c5db118a39
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
-
## 2.0.
|
1
|
+
## 2.0.9 - 2015-02-11 - 'Russel'
|
2
2
|
|
3
3
|
- Fix: bug in add/remove user/mention to the blacklist
|
4
4
|
|
5
|
+
## 2.0.8 - 2015-02-11
|
6
|
+
|
7
|
+
*ignored*
|
8
|
+
|
5
9
|
## 2.0.7 - 2015-02-04 - 'Diacritics'
|
6
10
|
|
7
11
|
- Fix: users list if an element isn't in UTF8
|
data/lib/ayadn/blacklist.rb
CHANGED
@@ -111,15 +111,18 @@ module Ayadn
|
|
111
111
|
type = args.shift
|
112
112
|
case type
|
113
113
|
when 'user', 'username', 'account'
|
114
|
-
Databases.remove_from_blacklist(
|
114
|
+
Databases.remove_from_blacklist('user', args)
|
115
115
|
target = @workers.add_arobases_to_usernames(args)
|
116
|
-
Logs.rec.info "Removed '#{target}' from blacklist of users."
|
116
|
+
Logs.rec.info "Removed '#{type}:#{target}' from blacklist of users."
|
117
117
|
when 'mention', 'mentions'
|
118
|
-
Databases.remove_from_blacklist(
|
118
|
+
Databases.remove_from_blacklist('mention', args)
|
119
119
|
target = @workers.add_arobases_to_usernames(args)
|
120
120
|
Logs.rec.info "Removed '#{target}' from blacklist of mentions."
|
121
|
-
when 'client', 'source'
|
122
|
-
Databases.remove_from_blacklist(
|
121
|
+
when 'client', 'source'
|
122
|
+
Databases.remove_from_blacklist('client', args)
|
123
|
+
Logs.rec.info "Removed '#{type}:#{args}' from blacklist."
|
124
|
+
when 'hashtag', 'tag'
|
125
|
+
Databases.remove_from_blacklist('hashtag', args)
|
123
126
|
Logs.rec.info "Removed '#{type}:#{args}' from blacklist."
|
124
127
|
else
|
125
128
|
Status.new.wrong_arguments
|
data/lib/ayadn/version.rb
CHANGED
data/spec/mock/ayadn.sqlite
CHANGED
Binary file
|