omnifocus 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +7 -0
- data/Rakefile +1 -1
- data/lib/omnifocus.rb +5 -3
- metadata +12 -13
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/omnifocus.rb
CHANGED
@@ -24,7 +24,7 @@ end if RUBY_VERSION >= "1.9"
|
|
24
24
|
# bts_id: a string uniquely identifying a task: SYSTEM(-projectname)?#id
|
25
25
|
|
26
26
|
class OmniFocus
|
27
|
-
VERSION = '1.5.
|
27
|
+
VERSION = '1.5.1'
|
28
28
|
|
29
29
|
##
|
30
30
|
# bug_db = {
|
@@ -119,9 +119,11 @@ class OmniFocus
|
|
119
119
|
prefixen = self.class.plugins.map { |klass| klass::PREFIX rescue nil }
|
120
120
|
of_tasks = nil
|
121
121
|
|
122
|
+
prefix_re = /^(#{Regexp.union prefixen}(?:-[\w.-]+)?\#\d+)/
|
123
|
+
|
122
124
|
if prefixen.all? then
|
123
125
|
of_tasks = all_tasks.find_all { |task|
|
124
|
-
task.name.get =~
|
126
|
+
task.name.get =~ prefix_re
|
125
127
|
}
|
126
128
|
else
|
127
129
|
warn "WA"+"RN: Older plugins installed. Falling back to The Old Ways"
|
@@ -132,7 +134,7 @@ class OmniFocus
|
|
132
134
|
end
|
133
135
|
|
134
136
|
of_tasks.each do |of_task|
|
135
|
-
ticket_id = of_task.name.get[
|
137
|
+
ticket_id = of_task.name.get[prefix_re, 1]
|
136
138
|
project = of_task.containing_project.name.get
|
137
139
|
existing[ticket_id] = project
|
138
140
|
bug_db[project][ticket_id] = false
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnifocus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 1
|
10
|
+
version: 1.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- aja
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
FBHgymkyj/AOSqKRIpXPhjC6
|
38
38
|
-----END CERTIFICATE-----
|
39
39
|
|
40
|
-
date: 2011-08-
|
40
|
+
date: 2011-08-13 00:00:00 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rb-appscript
|
@@ -65,10 +65,9 @@ dependencies:
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
hash: 15
|
67
67
|
segments:
|
68
|
-
-
|
69
|
-
- 0
|
68
|
+
- 1
|
70
69
|
- 0
|
71
|
-
version:
|
70
|
+
version: "1.0"
|
72
71
|
type: :runtime
|
73
72
|
version_requirements: *id002
|
74
73
|
- !ruby/object:Gem::Dependency
|
@@ -79,11 +78,11 @@ dependencies:
|
|
79
78
|
requirements:
|
80
79
|
- - ~>
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
hash:
|
81
|
+
hash: 11
|
83
82
|
segments:
|
84
83
|
- 2
|
85
|
-
-
|
86
|
-
version: "2.
|
84
|
+
- 4
|
85
|
+
version: "2.4"
|
87
86
|
type: :development
|
88
87
|
version_requirements: *id003
|
89
88
|
- !ruby/object:Gem::Dependency
|
@@ -94,11 +93,11 @@ dependencies:
|
|
94
93
|
requirements:
|
95
94
|
- - ~>
|
96
95
|
- !ruby/object:Gem::Version
|
97
|
-
hash:
|
96
|
+
hash: 21
|
98
97
|
segments:
|
99
98
|
- 2
|
100
|
-
-
|
101
|
-
version: "2.
|
99
|
+
- 11
|
100
|
+
version: "2.11"
|
102
101
|
type: :development
|
103
102
|
version_requirements: *id004
|
104
103
|
description: Synchronizes bug tracking systems to omnifocus.
|
metadata.gz.sig
CHANGED
Binary file
|