ayadn 1.2.6 → 1.2.7

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: d182ebc33f66f34540b3b629d5ae372ca8aec63e
4
- data.tar.gz: b80897e1c4bf6c5b534cd8c0d036dd3693c66786
3
+ metadata.gz: 4da689dcf2f0af0a1f79e9a36812f21224a5dc4d
4
+ data.tar.gz: 2b8142d137821e710c2347f34e9ef04517f85bc8
5
5
  SHA512:
6
- metadata.gz: a72d7b598cca41d2c77300b6bbbf232bfce4c4bb5ade10815211ed1da4013418579b0531ed14a3b9e8c86fdba67323a8d8f3600456c53c303e2eafffece4f845
7
- data.tar.gz: 5d5263954d304b55f093d2bb148590c0e76f36fe71fc1d2cedcb4399cb5876efcfe0d870cf4c06c0d83573daaa71d7e442fbf02c83e4f529a2e269922683836b
6
+ metadata.gz: 0e25eb614812f284648dc494fcd36c5ab9850e2e298fa1ef25307474f2e9d041b8307d333cef286a5b3d5540d80dc5937accde52f748eb0c77b34e9bd93e889a
7
+ data.tar.gz: 3c9da18ff39c2652a977a89b651b9bb08f7e6e3dd9823d2870c7fe5d86f61c3dfdc2a23d504cd46570fdff84edc1a63f115e86c9190819664d9ab5e125491bce
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.7 - 'Roman'
2
+
3
+ - Fix the bug in Switch
4
+
1
5
  # 1.2.6 - 'Saket'
2
6
 
3
7
  - NiceRank enabled by default on new installs
data/lib/ayadn/switch.rb CHANGED
@@ -30,7 +30,7 @@ module Ayadn
30
30
  exit
31
31
  end
32
32
  #puts "\e[H\e[2J"
33
- username = Workers.remove_arobase_if_present(user.first)
33
+ username = Workers.remove_arobase_if_present([user.first])[0]
34
34
  home_path = Dir.home + "/ayadn"
35
35
  if File.exist?("#{home_path}/accounts.db")
36
36
  accounts_db = Databases.init("#{home_path}/accounts.db")
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "1.2.6"
3
+ VERSION = "1.2.7"
4
4
  end
data/lib/ayadn/workers.rb CHANGED
@@ -292,10 +292,13 @@ module Ayadn
292
292
  db[active][:handle]
293
293
  end
294
294
 
295
- def self.remove_arobase_if_present(username)
296
- username = username.chars
297
- username.shift if username.first == "@"
298
- username.join
295
+ def self.remove_arobase_if_present args
296
+ args.map! do |username|
297
+ username = username.chars
298
+ username.shift if username.first == "@"
299
+ username.join
300
+ end
301
+ args
299
302
  end
300
303
 
301
304
  def self.extract_users(resp)
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: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere