runoff 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- checksums.yaml.gz.sig +0 -0
- data/README.md +21 -19
- data/lib/runoff/composition.rb +2 -0
- data/lib/runoff/location.rb +6 -3
- data/lib/runoff/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmUzMWI2ZWE4ZThmNTE1OTk5NmU2MjVhYmIzOGNmOGU5MGUyZDNiYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWZiYzc1Y2I0NzdiN2M0MTExOWEwYTFhZjI0YTJkYzU2N2JmYzg5Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTg5NzYxNmZlNWRkMWU3YzkyZmMwMWRkODdkMmY1MTBkM2Y2ZjI2ODU4Yjli
|
10
|
+
ZDc1ZmU3NjA5ZWU2YWFhNTE2NmZiOWNlNDJlMGYzNzhkYzkxNDlhZjY2MWEz
|
11
|
+
ZDM5ZjNiNjJlNGJlNmFiZWQzMGRkYWE3N2ZhYmQ5MDFjZGQ2ZGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWU1YjU5NDNmZjE3Mjc5Mzk2MmY4ZjE1MWIwNDk0OTQ4MmUxZDE2OTNjOWFj
|
14
|
+
Y2U0N2UwNTQxM2U5NDJmOTY3YmJhNzE1ODYxMzY0ZDE0ODhiY2E3ZDQ4Nzdh
|
15
|
+
Y2U3M2FkNDRmNmM3NTM4OWY1NDA1M2E4MmQyN2Q5YmRlOGJmNjI=
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -7,37 +7,39 @@ SDBR is written in C# using WPF, therefore it runs only on Windows. Moreover, it
|
|
7
7
|
|
8
8
|
## Install
|
9
9
|
|
10
|
-
|
10
|
+
gem install runoff
|
11
11
|
|
12
12
|
## Usage
|
13
13
|
|
14
|
-
|
14
|
+
To export all the chat history.
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
# save all the files in your home directory
|
17
|
+
runoff all skype_username
|
18
18
|
|
19
|
-
|
19
|
+
# save the files in a specific directory
|
20
|
+
runoff all skype_username -t ~/skype_backup
|
20
21
|
|
21
|
-
|
22
|
-
|
22
|
+
# export database that isn't located in the default path
|
23
|
+
runoff all -f ~/main.db -t ~/skype_backup
|
24
|
+
|
25
|
+
To export specific chats.
|
26
|
+
|
27
|
+
runoff chat skype_username -t ~/skype_backup
|
23
28
|
|
24
29
|
If you're confused, you can get some help.
|
25
30
|
|
26
|
-
|
27
|
-
</code></pre>
|
31
|
+
runoff help all
|
28
32
|
|
29
|
-
|
33
|
+
## Problems
|
30
34
|
|
31
|
-
|
32
|
-
</code></pre>
|
35
|
+
The current version (0.1.1) doesn't support Windows, but it will be fixed soon.
|
33
36
|
|
34
37
|
## What else?
|
35
38
|
|
36
|
-
Things to do before runoff is ready to be published:
|
37
|
-
- Add tests for the executable file.
|
38
|
-
- Use <code>--from</code>/<code>-f</code> option to specify the location of main.db file.
|
39
|
-
- Add comments to the code.
|
40
|
-
|
41
39
|
Things to do in the future versions:
|
42
|
-
|
43
|
-
-
|
40
|
+
|
41
|
+
- Fix sqlite path bug in Windows.
|
42
|
+
- Append only new messages to the previously genetrated files instead of appending everything or create different versions for the files.
|
43
|
+
- Add some colors.
|
44
|
+
|
45
|
+
If you have something to say about this gem or anything else, you can find me on Twitter as [@AigarsDz](http://twitter.com/AigarsDz "@AigarsDz").
|
data/lib/runoff/composition.rb
CHANGED
data/lib/runoff/location.rb
CHANGED
@@ -21,16 +21,19 @@ module Runoff
|
|
21
21
|
#
|
22
22
|
# On Windows:
|
23
23
|
# default_skype_data_location skype_username
|
24
|
-
# # =>
|
24
|
+
# # => /Users/user/AppData/Roaming/Skype/skype_username/main.db
|
25
25
|
#
|
26
26
|
# Returns a String that contains the path to the Skype database file.
|
27
27
|
def self.default_skype_data_location(skype_username)
|
28
28
|
if RbConfig::CONFIG['host_os'] =~ /mingw/
|
29
|
-
"#{ENV['APPDATA']}\\Skype\\#{skype_username}\\main.db"
|
29
|
+
location = "#{ENV['APPDATA']}\\Skype\\#{skype_username}\\main.db"
|
30
|
+
|
31
|
+
location.gsub! /\\/, '/'
|
32
|
+
location.gsub /^[a-zA-Z]:/, ''
|
30
33
|
elsif RbConfig::CONFIG['host_os'] =~ /linux/
|
31
34
|
"#{ENV['HOME']}/.Skype/#{skype_username}/main.db"
|
32
35
|
else
|
33
|
-
"
|
36
|
+
"#{ENV['HOME']}/Library/Application Support/Skype/#{skype_username}/main.db"
|
34
37
|
end
|
35
38
|
end
|
36
39
|
|
data/lib/runoff/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aigars Dzerviniks
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
39
39
|
dHFPWFp1ck5FWmdTMlRSWG5GRG9TWmRtT3IxMjM2ZS9SNTBzc1dlR0dIUUox
|
40
40
|
V2wKN2ZZbFZpQThPY2Z3aGdyaDcyc05mVHpTCi0tLS0tRU5EIENFUlRJRklD
|
41
41
|
QVRFLS0tLS0K
|
42
|
-
date: 2013-03-
|
42
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: thor
|
metadata.gz.sig
CHANGED
Binary file
|