omnifocus 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +1 -1
- data/Rakefile +4 -3
- data/lib/omnifocus.rb +13 -9
- metadata +15 -15
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12dfe0db9f9f72e86eb4130dd489bac8c67ed0b5
|
4
|
+
data.tar.gz: 8709438638fa0dc7d13e2b02114f6da997e426bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77c307c4607b3208d61cd2481fa09cb3db27d5e439b8e022cbf473d07996948bce10a9f1560a8eced162d219fa35a7f851de5d1fd6d1fdc3f3c770be69939255
|
7
|
+
data.tar.gz: 6f86d43004d9ecefb86174728d573d6a13a778afc549e0f857c10cb80c4d4ea9bdf52c0c6ad1812e62b73e7b6c607b371f5cb16492e17dbb365035d09728ec3f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/Rakefile
CHANGED
@@ -14,13 +14,12 @@ Hoe.spec "omnifocus" do
|
|
14
14
|
|
15
15
|
dependency "rb-appscript", "~> 0.6.1"
|
16
16
|
dependency "mechanize", "~> 2.0"
|
17
|
+
dependency "octokit", "~> 2.0", :development if ENV["TEST"]
|
17
18
|
|
18
19
|
pluggable!
|
19
20
|
end
|
20
21
|
|
21
22
|
def omnifocus cmd, options = nil
|
22
|
-
ENV["GEM_PATH"] = File.expand_path "~/.gem/sandboxes/omnifocus"
|
23
|
-
|
24
23
|
inc = "-Ilib:../../omnifocus-github/dev/lib:../../omnifocus-redmine/dev/lib"
|
25
24
|
|
26
25
|
ruby "#{options} #{inc} bin/of #{cmd}"
|
@@ -36,7 +35,9 @@ task :fix => :isolate do
|
|
36
35
|
end
|
37
36
|
|
38
37
|
task :debug => :isolate do
|
39
|
-
|
38
|
+
cmd = ENV["CMD"] || "sync github"
|
39
|
+
d = ENV["D"] ? "-d" : nil
|
40
|
+
omnifocus cmd, d
|
40
41
|
end
|
41
42
|
|
42
43
|
# vim: syntax=ruby
|
data/lib/omnifocus.rb
CHANGED
@@ -26,7 +26,7 @@ include Appscript
|
|
26
26
|
# bts_id: a string uniquely identifying a task: SYSTEM(-projectname)?#id
|
27
27
|
|
28
28
|
class OmniFocus
|
29
|
-
VERSION = "2.1.
|
29
|
+
VERSION = "2.1.6"
|
30
30
|
|
31
31
|
##
|
32
32
|
# bug_db = {
|
@@ -393,13 +393,7 @@ class OmniFocus
|
|
393
393
|
def cmd_fix_review_dates args # TODO: merge into reschedule
|
394
394
|
skip = ARGV.first == "-n"
|
395
395
|
|
396
|
-
projs =
|
397
|
-
|
398
|
-
all_projects.each do |proj|
|
399
|
-
ri = proj.review_interval
|
400
|
-
|
401
|
-
projs[ri[:steps]] << proj
|
402
|
-
end
|
396
|
+
projs = all_projects.group_by { |proj| proj.review_interval[:steps] }
|
403
397
|
|
404
398
|
projs.each do |k, a|
|
405
399
|
# helps stabilize and prevent random shuffling
|
@@ -612,7 +606,7 @@ class OmniFocus
|
|
612
606
|
end
|
613
607
|
|
614
608
|
def cmd_review args
|
615
|
-
print_aggregate_report
|
609
|
+
print_aggregate_report live_projects
|
616
610
|
end
|
617
611
|
|
618
612
|
class Thingy
|
@@ -805,12 +799,22 @@ class OmniFocus
|
|
805
799
|
its.status.eq(:active)
|
806
800
|
end
|
807
801
|
|
802
|
+
def non_dropped_project
|
803
|
+
its.status.eq(:dropped).not
|
804
|
+
end
|
805
|
+
|
808
806
|
def all_projects
|
809
807
|
self.omnifocus.flattened_projects.get.map { |p|
|
810
808
|
Project.new omnifocus, p
|
811
809
|
}
|
812
810
|
end
|
813
811
|
|
812
|
+
def live_projects
|
813
|
+
self.omnifocus.flattened_projects[non_dropped_project].get.map { |p|
|
814
|
+
Project.new omnifocus, p
|
815
|
+
}
|
816
|
+
end
|
817
|
+
|
814
818
|
def all_contexts
|
815
819
|
self.omnifocus.flattened_contexts.get.map { |c|
|
816
820
|
Context.new omnifocus, c
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnifocus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aja
|
@@ -11,9 +11,9 @@ bindir: bin
|
|
11
11
|
cert_chain:
|
12
12
|
- |
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
|
-
|
14
|
+
MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
15
15
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
16
|
-
|
16
|
+
GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
|
17
17
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
18
18
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
19
19
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -23,14 +23,14 @@ cert_chain:
|
|
23
23
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
24
24
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
25
25
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
|
27
|
+
FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
|
28
|
+
hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
|
29
|
+
zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
|
30
|
+
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
31
|
+
VpzF30vNaJK6ZT7xlIsIlwmH
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
33
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rb-appscript
|
@@ -66,14 +66,14 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '5.
|
69
|
+
version: '5.5'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '5.
|
76
|
+
version: '5.5'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: rdoc
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - ~>
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3.
|
97
|
+
version: '3.13'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - ~>
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '3.
|
104
|
+
version: '3.13'
|
105
105
|
description: Synchronizes bug tracking systems to omnifocus.
|
106
106
|
email:
|
107
107
|
- kushali@rubyforge.org
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: 1.3.1
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.4.1
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Synchronizes bug tracking systems to omnifocus.
|
metadata.gz.sig
CHANGED
Binary file
|