ayadn 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/02-install.md +12 -8
- data/lib/ayadn/migration.rb +5 -1
- data/lib/ayadn/version.rb +1 -1
- 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: 3136c1aff5d100dd94ba2714d3932f84907bf5ae
|
4
|
+
data.tar.gz: c81a9ad012a52c714683383ce7a500a8be939642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b693a5a9d406106ec5f1f54c293a7b722ed609a82ae7a86274930bf1d3e1c295fa03b9e00dd77830135d2403279af6b6079a3f5c27a372eaaee6094fff0629
|
7
|
+
data.tar.gz: a1f17e80aa44853d0746a358eff61d00fb950bc752eebe929cc709487b597219b0cbe69ca369d2cd424da05b5465852a391ada686431ee3d789e4c4ffbc0bdc0
|
data/doc/02-install.md
CHANGED
@@ -14,26 +14,27 @@ Uninstall:
|
|
14
14
|
|
15
15
|
## OS X, LINUX, BSD
|
16
16
|
|
17
|
-
Install
|
17
|
+
Install Ayadn, authorize your account: done.
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
## WINDOWS
|
19
|
+
## RUBY
|
22
20
|
|
23
|
-
|
21
|
+
If you need to install Ruby it's better to use something like RVM or RBENV. You can of course use the Ruby shipped with your system but it will require root privileges and is not recommended.
|
24
22
|
|
25
23
|
## MIGRATE
|
26
24
|
|
27
25
|
The database format has changed between 1.x and 2.x: if you already have one or several authorized accounts, Ayadn will ask you to run the `migrate` command once per account. You only have to do this once.
|
28
26
|
|
29
|
-
You can also
|
27
|
+
You can also start with a fresh configuration: just delete your `~/ayadn` folder before authorizing a new user with Ayadn 2.x.
|
28
|
+
|
29
|
+
## WINDOWS
|
30
|
+
|
31
|
+
Ayadn also works on Windows because it's pure Ruby, but some Gems it depends upon require some effort to be installed with some Windows versions ("amalgalite", notably). And you will need an ANSI compatible console (ConEmu, Console2, etc) + Ruby 2.0.0 32bits via RubyInstaller and its DevKit (or a cygwin equivalent).
|
30
32
|
|
31
33
|
## DEPENDENCIES
|
32
34
|
|
33
|
-
Ayadn depends
|
35
|
+
Ayadn depends upon these Gems:
|
34
36
|
|
35
37
|
amalgalite
|
36
|
-
daybreak
|
37
38
|
fast_cache
|
38
39
|
pinboard
|
39
40
|
rainbow
|
@@ -43,3 +44,6 @@ Ayadn depends on these Gems:
|
|
43
44
|
thor
|
44
45
|
tvdb_party
|
45
46
|
unicode_utils
|
47
|
+
daybreak
|
48
|
+
|
49
|
+
The "daybreak" dependency is only needed for 1.x to 2.x migrations. As this migration is optional and Ayadn 1.x is deprecated, this dependency will be removed in future versions.
|
data/lib/ayadn/migration.rb
CHANGED
@@ -361,7 +361,11 @@ module Ayadn
|
|
361
361
|
else
|
362
362
|
conf[:timeline][:directed] = false
|
363
363
|
end
|
364
|
-
|
364
|
+
if old_conf[:marker].nil?
|
365
|
+
conf[:marker] = { messages: true }
|
366
|
+
else
|
367
|
+
conf[:marker][:messages] = old_conf[:marker][:update_messages] || true
|
368
|
+
end
|
365
369
|
conf[:backup][:posts] = old_conf[:backup][:auto_save_sent_posts] || false
|
366
370
|
conf[:backup][:messages] = old_conf[:backup][:auto_save_sent_messages] || false
|
367
371
|
conf[:backup][:lists] = old_conf[:backup][:auto_save_lists] || false
|
data/lib/ayadn/version.rb
CHANGED