feidee_utils 0.0.2 → 0.0.3

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: 946400d9625597ac92c406430258d11180ec0541
4
- data.tar.gz: 097406393b5ed0ba79b655ca04c3990d2455c513
3
+ metadata.gz: 0c3a14270441df833087a0cc1051d6b001cd53f7
4
+ data.tar.gz: 3bb0fa7c0457ba41ef028248439adeac0f8b4a00
5
5
  SHA512:
6
- metadata.gz: 5fc5b9ad21d08cc62c5feeb135d37523cc4dd3aa96b1ed1e8f29fe1f4ab0efeb8903901b403d26569f40abc30e78456df938b6a364edbd0a31ac011c32218c42
7
- data.tar.gz: 3ee8e48fdf0c498ed5da7e0b07fbc4e2878e9d9af296507b818d83124af0620536e2100e6290f36a44ead7fa45cb1707a62288342f31d1fff1f4a9a728e98ef5
6
+ metadata.gz: 46c185fc50d1e7479084e99cc9a4f3e613fc1e3650afd3a9308c686d35e051ab48682d50fe5941f891340224d7b0a5b091f0dac4cba004bbc3ad3fc5490ee897
7
+ data.tar.gz: 0bf48a47d247e0e30ad7c9c50f88872d8d335bcc7b499ed5d3b52480ac90f3e1a632d5119cb2c68944486a81994fac7aa3b0da06320a1a9964201156e59b9954
data/MIT-LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Liqing Muyi
3
+ Copyright (c) 2015 Liqing Muyi (muyiliqing@gmail.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,9 +1,48 @@
1
1
  Feidee Utils
2
2
  ============
3
+ [![Build Status](https://travis-ci.org/muyiliqing/feidee_utils.svg?branch=master)](https://travis-ci.org/muyiliqing/feidee_utils)
3
4
 
4
- Free user data from [Feidee](http://www.feidee.com) private backups (.kbf).
5
+ Free users' data from [Feidee](http://www.feidee.com) private backups (.kbf).
5
6
 
6
- More details
7
+ Feidee And The KBF Format
7
8
  -----------
9
+ [Feidee MyMoney](http://www.feidee.com/money/) is a set of popular book-keeping software in China. It includes Android, iOS, web apps and several desktop software. The Android and iOS apps produces backup in kbf format.
8
10
 
9
- TODO
11
+ A kbf file is in fact a zip file contains a modified SQLite database and other attachments, such as photos.
12
+ The first 16 bits of the SQLite database is modified so that it could not be read directly by SQLite.
13
+ The database itself is NOT encrypted. Almost all useful information is in the SQLite database.
14
+
15
+ Usage
16
+ ----------
17
+ A set of ActiveRecord-like classes are provided to access the information in the backup. See the quick example below.
18
+
19
+ ```ruby
20
+ require 'feidee_utils'
21
+
22
+ kbf = FeideeUtils::Kbf.open_file(path_to_kbf_file)
23
+ database = kbf.sqlite_db
24
+ all_accounts = database.namespaced::Account.all
25
+ all_transactions = database.namespaced::Transaction.all
26
+ ```
27
+
28
+ For more examples see ```examples/``` (To be added).
29
+
30
+ Why not ActiveRecord
31
+ ----------------
32
+ Sometimes we have to compare the content of two backups and must open them at the same time.
33
+ Only one database can be opened using ActiveRecord. It is not designed to be used in such a way.
34
+
35
+ Why Feidee Utils At All
36
+ -----------
37
+ Originally the Feidee Android and iOS app let users export their personal data recorded by the app.
38
+ Since some version last year, the functionality is removed from the app and user data is trapped inside Feidee's private system forever. The uses may pay to get pro version, or upload their data to Feidee's server in order to export.
39
+
40
+ As a user of Feidee MyMoney, I'm truelly grateful that such great apps are available free of charge. However I also believe that users' data belongs to users and should be controlled by its owner. Thus I decided to build the utils to help Feidee MyMoney users access their own data.
41
+
42
+ Disclaimer
43
+ ---------
44
+ Use at your own risk. Study purpose only. Please do NOT use for any illegal purpose. For details see MIT-LICENSE in the repo.
45
+
46
+ This software DOES NOT involve any kind of jail break, reverse engineering or crack of any Feidee's software or app.
47
+
48
+ The trademark Feidee, Feidee MyMoney, kbf file format and database design are intellecture properties of Feidee, or whoever the owners are.
@@ -1,3 +1,3 @@
1
1
  module FeideeUtils
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feidee_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liqing Muyi
@@ -10,6 +10,26 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.4'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 10.4.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '10.4'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 10.4.0
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: rubyzip
15
35
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +93,7 @@ dependencies:
73
93
  description: Feidee Utils provides a set of ActiveReocrd-like classes to read Feidee
74
94
  private backups (.kbf files). It also provides a better abstraction to the general
75
95
  format of transaction-account style data.
76
- email: feideeutils@ditsing.com
96
+ email: muyiliqing@gmail.com
77
97
  executables: []
78
98
  extensions: []
79
99
  extra_rdoc_files: []