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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fe98242f8d9e9e70dc24a3e22035ef47657fa9e
4
- data.tar.gz: 80a6b546f4d741666c77782e65020b2aa633e717
3
+ metadata.gz: c35b732787743af1ffb4606b914bce7e98eb8449
4
+ data.tar.gz: 80061c722394c97348aa4495f06d4ab1ac19b5b1
5
5
  SHA512:
6
- metadata.gz: 08f7150a39053147bda052ef519efab5f6705c24a97c23b635624b2d8064c6e814b7306922fad28551cf544b30555000937e7ba0ea0a34894f8e6adececad3da
7
- data.tar.gz: 1a18cd74a2ed4fbd44b9aea9c224ed5739689f508896f2faea7d1cb40fa3620d2e84d434e40e1e55004a2bc804b2816cbeecd86a1cbed6833f860a9cabe464e2
6
+ metadata.gz: db25cc0903fe97c2adf343790347f122f18d1a45b08e612bcea0ba9032c2927efa4beac0da5d25d1457b47ef28fc64bb7e7bd7add86c762c862912662d56d74c
7
+ data.tar.gz: 8cf1393082834771a438592dd83d0d1a257714311e7c755348bf6d9b42e4e0aa7b8da22baa0e05a4502749e9133c44857708001cfee2d33ec6dbf5c5db118a39
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- ## 2.0.8 - 2015-02-11 - 'Russel'
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
@@ -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(type, args)
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(type, args)
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', 'hashtag', 'tag'
122
- Databases.remove_from_blacklist(type, args)
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
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "2.0.8"
3
+ VERSION = "2.0.9"
4
4
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ayadn
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere