ayadn 1.0.11 → 1.0.12

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: 4a797225e28ce500d355ca0ca8ea6563ceed3da2
4
- data.tar.gz: 1145a2317622e9d468e0add5966248f5feb82c3d
3
+ metadata.gz: f500f323caa3910e67daf9a38647f61c0a8b571a
4
+ data.tar.gz: 11f5b44c9a6fcda4d13bf56f5f99b0ff21985bb0
5
5
  SHA512:
6
- metadata.gz: 5164874966d97db839a79e1b039d2399799ed49ea2c3c66b2563a2ac81c8ed4c6bbf2552e87ce912b80c2c32906723c4ff9163661b69c23a1ad0ec116da71883
7
- data.tar.gz: 2bc816151cf1c108c0dc33080912b274c937bd38b2fb7143b3cf42c63ca0a386cbe628300de95ed694a4e7ec251ebde6a5d434f3d233a7e73c6a0e4125817b3b
6
+ metadata.gz: 38d76af0d377cabdc0ec2caece47b1c625c0013dea9a91345fa66e8f50b9fdaa8406dd0bc09565af9c47e52c10b8d865c962e2e16138a9f3288fd590ef0f2ed9
7
+ data.tar.gz: a7c83646b121f2b642827fe144ce8fc77e844484ff1cd906f6f3af04f22ffbd3aebd74a29e075c5ca56fa56285d7e9b4656d0154c008306ecc0566878a506505
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.12
2
+
3
+ - Fixed an error in: authorizing an account if its folders already exists
4
+
1
5
  # 1.0.11
2
6
 
3
7
  - There was a typo in the last version that caused a bug in the PM command
@@ -54,7 +54,7 @@ module Ayadn
54
54
  begin
55
55
  FileUtils.mkdir_p(user.user_path)
56
56
  %w{log db pagination config auth downloads backup posts messages lists}.each do |target|
57
- Dir.mkdir("#{user.user_path}/#{target}")
57
+ Dir.mkdir("#{user.user_path}/#{target}") unless Dir.exist?("#{user.user_path}/#{target}")
58
58
  end
59
59
  rescue => e
60
60
  puts "\nError creating Ayadn #{user.handle} account folders.\n\n"
data/lib/ayadn/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Ayadn
3
- VERSION = "1.0.11"
3
+ VERSION = "1.0.12"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ayadn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-17 00:00:00.000000000 Z
11
+ date: 2014-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor