TokiCLI 0.0.7 → 0.0.8

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: 540ff62bc17ff6dba3312cf62395d76ba46ac522
4
- data.tar.gz: a5281bcc5f82f6ba5ba7300b34a4eb5e9922fda1
3
+ metadata.gz: 1cf62801d832f99cd3033c26bfa6903dff314383
4
+ data.tar.gz: 567d4db07b6d91b837f83521640ffb1d7bb04167
5
5
  SHA512:
6
- metadata.gz: b934a2c4969dfefbf0128a7b19c84f4b279c1fef7aa0249e3b45f3cc620b740f8e3820df360c40caa2a76faa3e906d6e1bffaf6470837ec02f783ef1c7be11c8
7
- data.tar.gz: 99ae0bf882c9b2c98cb1264a031542ee99a16949fd657f39b9373c548f5278c9e53eec59e0fe3ace15f0f05e80f76211c511937e7ad7ad06f1c80af04d890b33
6
+ metadata.gz: 2be0ede46dc8683c6cc9ea5136aff3d4e20508b0ede804ac89c3d89ea6c48ab70f44b49e1094cb5142675aa1dbdcbc234cb8a28d2cd79ff7e0b5ce93330c9ff5
7
+ data.tar.gz: e45984b66d9a7b1bc314630254c1f1aea0a256541f78e2e131c952c79e0215c3d93aa052be2d36067e9b0ec4946007a0de491eefade2f25432348e90c6a1f1f1
@@ -1,3 +1,7 @@
1
+ # 0.0.8
2
+
3
+ - Bugfix: typo in path
4
+
1
5
  # 0.0.7
2
6
 
3
7
  - Scan for apps name
data/README.md CHANGED
@@ -13,18 +13,6 @@ Access your Toki data from the local database or from the App.net backup channel
13
13
 
14
14
  ## Usage
15
15
 
16
- ### Log
17
-
18
- The **log** command shows the entire log (history) for one app.
19
-
20
- You don't have to specify the exact name of the identifier: for example, typing 'iterm' will find 'com.googlecod.iterm2'.
21
-
22
- `toki log iterm`
23
-
24
- The results are sorted by ascending date and time.
25
-
26
- When pulling the data from ADN instead of the local database, the results are sorted by ascending synced message.
27
-
28
16
  ### Total
29
17
 
30
18
  The **total** command shows the total usage time for all apps.
@@ -59,6 +47,18 @@ The dates you type have to be formatted like this: year-month-day and separated
59
47
 
60
48
  `toki range 2014-04-17 2014-04-19`
61
49
 
50
+ ### Log
51
+
52
+ The **log** command shows the entire log (history) for one app.
53
+
54
+ You don't have to specify the exact name of the identifier: for example, typing 'iterm' will find 'com.googlecod.iterm2'.
55
+
56
+ `toki log iterm`
57
+
58
+ The results are sorted by ascending date and time.
59
+
60
+ When pulling the data from ADN instead of the local database, the results are sorted by ascending synced message.
61
+
62
62
  ### Scan
63
63
 
64
64
  Scan for apps name.
@@ -8,7 +8,7 @@ module TokiCLI
8
8
  def scan
9
9
  toki = create_toki(options)
10
10
  bundle_ids = toki.get_bundle_ids
11
- path = "#{Dir.home}/.toki_cli"
11
+ path = "#{Dir.home}/.TokiCLI"
12
12
  Dir.mkdir path unless Dir.exist? path
13
13
  f = File.new "#{path}/apps.json", "w"
14
14
  f.write bundle_ids.to_json
@@ -10,8 +10,8 @@ module TokiCLI
10
10
  def initialize(token, channel_id)
11
11
  @token = token
12
12
  @channel_id = channel_id
13
- if File.exist? "#{Dir.home}/.toki_cli/apps.json"
14
- @bundles = JSON.parse(File.read("#{Dir.home}/.toki_cli/apps.json"))
13
+ if File.exist? "#{Dir.home}/.TokiCLI/apps.json"
14
+ @bundles = JSON.parse(File.read("#{Dir.home}/.TokiCLI/apps.json"))
15
15
  end
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module TokiCLI
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TokiCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dejonckheere