omnifocus 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data.tar.gz.sig +3 -0
  2. data/History.txt +6 -0
  3. data/Rakefile +5 -5
  4. data/lib/omnifocus.rb +8 -2
  5. metadata +28 -7
  6. metadata.gz.sig +0 -0
data.tar.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ ��!4�,m�2��w�+��;/�,�A�T����m�b�I��3D���J%�!@���_��Q}3UkV�TZ���T��5���
2
+ �Z�;�"�J@2��C��<T�YK�p�C1��Ry+b��i��E~J�*v�tl�X q,��>;� !w�����."%s���֫�)0lYn�
3
+ 4�,w��ya����I��s��w�6�ee3'_��0c�B����i�R� 1h�?��������0�xw��tS�R�<>~�uY�����
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.3.0 / 2009-10-10
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Added ability to re-open tasks. (aja)
6
+
1
7
  === 1.2.1 / 2009-08-14
2
8
 
3
9
  * 1 bug fix:
data/Rakefile CHANGED
@@ -5,13 +5,13 @@ require 'hoe'
5
5
 
6
6
  Hoe.plugin :seattlerb
7
7
 
8
- Hoe.spec 'omnifocus' do
9
- developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
8
+ Hoe.spec "omnifocus" do
9
+ developer "Ryan Davis", "ryand-ruby@zenspider.com"
10
10
 
11
- extra_deps << "rb-appscript"
12
- extra_deps << 'mechanize'
11
+ extra_deps << ["rb-appscript", "~> 0.5.3"]
12
+ extra_deps << ["mechanize", "~> 0.9.0"]
13
13
 
14
- self.rubyforge_name = 'seattlerb'
14
+ self.rubyforge_name = "seattlerb"
15
15
 
16
16
  pluggable!
17
17
  end
data/lib/omnifocus.rb CHANGED
@@ -12,7 +12,7 @@ require 'appscript'
12
12
  # bts_id: a string uniquely identifying a task: SYSTEM(-projectname)?#id
13
13
 
14
14
  class OmniFocus
15
- VERSION = '1.2.1'
15
+ VERSION = '1.3.0'
16
16
 
17
17
  ##
18
18
  # bug_db = {
@@ -173,7 +173,13 @@ class OmniFocus
173
173
  tickets.each do |bts_id, value|
174
174
  case value
175
175
  when true
176
- # leave alone
176
+ project.tasks[its.name.contains(bts_id)].get.each do |task|
177
+ if task.completed.get
178
+ puts "Re-opening #{name} # #{bts_id}"
179
+ next if $DEBUG
180
+ task.completed.set false
181
+ end
182
+ end
177
183
  when false
178
184
  project.tasks[its.name.contains(bts_id)].get.each do |task|
179
185
  next if task.completed.get
metadata CHANGED
@@ -1,15 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnifocus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
+ ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
+ GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
16
+ AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
17
+ JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
18
+ b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
19
+ taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
20
+ oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
21
+ GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
22
+ qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
23
+ gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
+ AQAY59gYvDxqSqgC92nAP9P8dnGgfZgLxP237xS6XxFGJSghdz/nI6pusfCWKM8m
26
+ vzjjH2wUMSSf3tNudQ3rCGLf2epkcU13/rguI88wO6MrE0wi4ZqLQX+eZQFskJb/
27
+ w6x9W1ur8eR01s397LSMexySDBrJOh34cm2AlfKr/jokKCTwcM0OvVZnAutaovC0
28
+ l1SVZ0ecg88bsWHA0Yhh7NFxK1utWoIhtB6AFC/+trM0FQEB/jZkIS8SaNzn96Rl
29
+ n0sZEf77FLf5peR8TP/PtmIg7Cyqz23sLM4mCOoTGIy5OcZ8TdyiyINUHtb5ej/T
30
+ FBHgymkyj/AOSqKRIpXPhjC6
31
+ -----END CERTIFICATE-----
11
32
 
12
- date: 2009-08-14 00:00:00 -07:00
33
+ date: 2009-10-11 00:00:00 -07:00
13
34
  default_executable:
14
35
  dependencies:
15
36
  - !ruby/object:Gem::Dependency
@@ -18,9 +39,9 @@ dependencies:
18
39
  version_requirement:
19
40
  version_requirements: !ruby/object:Gem::Requirement
20
41
  requirements:
21
- - - ">="
42
+ - - ~>
22
43
  - !ruby/object:Gem::Version
23
- version: "0"
44
+ version: 0.5.3
24
45
  version:
25
46
  - !ruby/object:Gem::Dependency
26
47
  name: mechanize
@@ -28,9 +49,9 @@ dependencies:
28
49
  version_requirement:
29
50
  version_requirements: !ruby/object:Gem::Requirement
30
51
  requirements:
31
- - - ">="
52
+ - - ~>
32
53
  - !ruby/object:Gem::Version
33
- version: "0"
54
+ version: 0.9.0
34
55
  version:
35
56
  - !ruby/object:Gem::Dependency
36
57
  name: hoe
metadata.gz.sig ADDED
Binary file