omnifocus 2.3.0 → 2.4.0

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
- SHA1:
3
- metadata.gz: 404deacf49131f9d1ae10c8b249f22b045f59172
4
- data.tar.gz: 1d6493f611fd7a7b688493a8f2ecb75a06333bb3
2
+ SHA256:
3
+ metadata.gz: 34b9833398e1eddfa3eb8dbb9ac5e0c93090c18305bdc27541a6c34523a3e38c
4
+ data.tar.gz: 668b55a532430c19f0bc8f52df4dba3546dc19e8a91d8f05d2083ceb399657c8
5
5
  SHA512:
6
- metadata.gz: 92b109fe64b161256fb39c8d14f35679617f09b60731def15fc942aaac3ed28224042a86ac39646b721b3c77bce69d03addde0228a0320fd8c2d6ec5d8eaa3e3
7
- data.tar.gz: 34f67bea0199d8062299bf4d82cefa1e99bf98b52d801145ccb3961c79b8a8da0ef5f32dd385240e469f1ddfdd427b7794150ae7484b2593a813962a01797688
6
+ metadata.gz: e85e93e46a63f4aeba4578551035ad78d30a05c3295d387e95a0e398ce3d3c95dc8af8167cb08860a14738c62d5b8f768facd4b495786ee83319a6d231459956
7
+ data.tar.gz: bb1d077233e65bbbbdad8170f6a43a25c0e171b69c0a335d7354408cc185ffa056b96395355fb92555ad985bfdff328902aac6adb44d2bc95555fb5a923b6031
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,15 @@
1
+ === 2.4.0 / 2019-01-02
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Switched to rb-scpt for OSX compatibility. (current version is noisy, hopefully this will be fixed soon)
6
+
7
+ * 3 bug fixes:
8
+
9
+ * Fixed marking tasks in/complete with latest version of omnifocus.
10
+ * More fixes for defer_date changes in OF applescript dictionary.
11
+ * Project field is defer_date (and alias doesn't seem to work)
12
+
1
13
  === 2.3.0 / 2015-12-15
2
14
 
3
15
  * 1 minor enhancement:
data/Rakefile CHANGED
@@ -7,12 +7,12 @@ Hoe.plugin :seattlerb
7
7
  Hoe.plugin :isolate
8
8
 
9
9
  Hoe.spec "omnifocus" do
10
- developer "aja", "kushali@rubyforge.org"
11
10
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
11
+ developer "aja", "kushali@rubyforge.org"
12
12
 
13
13
  license "MIT"
14
14
 
15
- dependency "rb-appscript", "~> 0.6.1"
15
+ dependency "rb-scpt", "~> 1.0"
16
16
  dependency "mechanize", "~> 2.0"
17
17
  dependency "octokit", "~> 2.0", :development if ENV["TEST"]
18
18
 
@@ -26,7 +26,7 @@ def omnifocus cmd, options = nil
26
26
  end
27
27
 
28
28
  task :sync => :isolate do
29
- omnifocus "sync"
29
+ omnifocus "sync github"
30
30
  end
31
31
 
32
32
  task :fix => :isolate do
@@ -1,5 +1,6 @@
1
- require 'rubygems'
2
- require 'appscript'
1
+ old_w, $-w = $-w, nil
2
+ require 'rb-scpt'
3
+ $-w = old_w
3
4
 
4
5
  NERD_FOLDER = ENV["OF_FOLDER"] || "nerd"
5
6
 
@@ -28,7 +29,7 @@ include Appscript
28
29
  # bts_id: a string uniquely identifying a task: SYSTEM(-projectname)?#id
29
30
 
30
31
  class OmniFocus
31
- VERSION = "2.3.0"
32
+ VERSION = "2.4.0"
32
33
 
33
34
  ##
34
35
  # bug_db = {
@@ -180,7 +181,12 @@ class OmniFocus
180
181
  if task.completed.get
181
182
  puts "Re-opening #{name} # #{bts_id}"
182
183
  next if $DEBUG
183
- task.completed.set false
184
+
185
+ begin
186
+ task.completed.set false
187
+ rescue
188
+ task.mark_incomplete
189
+ end
184
190
  end
185
191
  end
186
192
  when false
@@ -188,7 +194,12 @@ class OmniFocus
188
194
  next if task.completed.get
189
195
  puts "Removing #{name} # #{bts_id}"
190
196
  next if $DEBUG
191
- task.completed.set true
197
+
198
+ begin
199
+ task.completed.set true
200
+ rescue
201
+ task.mark_complete
202
+ end
192
203
  end
193
204
  when Array
194
205
  puts "Adding #{name} # #{bts_id}"
@@ -296,7 +307,7 @@ class OmniFocus
296
307
  props = {
297
308
  :repetition => rep,
298
309
  :context => cont,
299
- :start_date => start_date
310
+ :defer_date => start_date
300
311
  }
301
312
 
302
313
  make proj, :task, "Release #{title}", props.merge(:due_date => due_date1)
@@ -681,10 +692,14 @@ class OmniFocus
681
692
 
682
693
  def start_date= t
683
694
  thing.start_date.set t
695
+ rescue
696
+ thing.defer_date.set t
684
697
  end
685
698
 
686
699
  def start_date
687
700
  thing.start_date.get.nilify
701
+ rescue
702
+ thing.defer_date.get.nilify
688
703
  end
689
704
 
690
705
  def due_date= t
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnifocus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
- - aja
8
7
  - Ryan Davis
8
+ - aja
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
15
15
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
16
- GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRTETMBEGA1UE
16
+ GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxMzAxNFowRTETMBEGA1UE
17
17
  AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
18
18
  JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
19
19
  b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -22,90 +22,82 @@ cert_chain:
22
22
  Gi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bu3nvL+zTAGx/U
32
32
  -----END CERTIFICATE-----
33
- date: 2015-12-16 00:00:00.000000000 Z
33
+ date: 2019-01-02 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
- name: rb-appscript
36
+ name: rb-scpt
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.6.1
41
+ version: '1.0'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 0.6.1
48
+ version: '1.0'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: mechanize
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '2.0'
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.0'
63
- - !ruby/object:Gem::Dependency
64
- name: minitest
65
- requirement: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '5.8'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '5.8'
77
63
  - !ruby/object:Gem::Dependency
78
64
  name: rdoc
79
65
  requirement: !ruby/object:Gem::Requirement
80
66
  requirements:
81
- - - ~>
67
+ - - ">="
82
68
  - !ruby/object:Gem::Version
83
69
  version: '4.0'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '7'
84
73
  type: :development
85
74
  prerelease: false
86
75
  version_requirements: !ruby/object:Gem::Requirement
87
76
  requirements:
88
- - - ~>
77
+ - - ">="
89
78
  - !ruby/object:Gem::Version
90
79
  version: '4.0'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '7'
91
83
  - !ruby/object:Gem::Dependency
92
84
  name: hoe
93
85
  requirement: !ruby/object:Gem::Requirement
94
86
  requirements:
95
- - - ~>
87
+ - - "~>"
96
88
  - !ruby/object:Gem::Version
97
- version: '3.14'
89
+ version: '3.17'
98
90
  type: :development
99
91
  prerelease: false
100
92
  version_requirements: !ruby/object:Gem::Requirement
101
93
  requirements:
102
- - - ~>
94
+ - - "~>"
103
95
  - !ruby/object:Gem::Version
104
- version: '3.14'
96
+ version: '3.17'
105
97
  description: Synchronizes bug tracking systems to omnifocus.
106
98
  email:
107
- - kushali@rubyforge.org
108
99
  - ryand-ruby@zenspider.com
100
+ - kushali@rubyforge.org
109
101
  executables:
110
102
  - of
111
103
  - omnifocus
@@ -116,7 +108,7 @@ extra_rdoc_files:
116
108
  - Manifest.txt
117
109
  - README.txt
118
110
  files:
119
- - .autotest
111
+ - ".autotest"
120
112
  - History.txt
121
113
  - Manifest.txt
122
114
  - README.txt
@@ -131,23 +123,23 @@ licenses:
131
123
  metadata: {}
132
124
  post_install_message:
133
125
  rdoc_options:
134
- - --main
126
+ - "--main"
135
127
  - README.txt
136
128
  require_paths:
137
129
  - lib
138
130
  required_ruby_version: !ruby/object:Gem::Requirement
139
131
  requirements:
140
- - - '>='
132
+ - - ">="
141
133
  - !ruby/object:Gem::Version
142
134
  version: '0'
143
135
  required_rubygems_version: !ruby/object:Gem::Requirement
144
136
  requirements:
145
- - - '>='
137
+ - - ">="
146
138
  - !ruby/object:Gem::Version
147
139
  version: 1.3.1
148
140
  requirements: []
149
141
  rubyforge_project:
150
- rubygems_version: 2.4.5
142
+ rubygems_version: 2.7.3
151
143
  signing_key:
152
144
  specification_version: 4
153
145
  summary: Synchronizes bug tracking systems to omnifocus.
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- q�����cJ;7v����c�OS�-�v&���]k�� k�D����:�
2
- �n<�(b�ܺ+�3�!*ɵR�B3(��p4pm��;E�ü�('��]��(�b��U��&KWAʪ���,:�͆�>���M�v&9D:wT���O�V�%rx�
1
+ X[4>������9s�Q[��kzMnN��٣��*��.u���]S��գj�2�(�������+�n�