omnifocus-redmine 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/omnifocus/redmine.rb +3 -2
  3. metadata +4 -4
@@ -1,3 +1,8 @@
1
+ === 1.2.2 / 2011-07-19
2
+ * 1 bug fix:
3
+
4
+ * Added PREFIX const for new filtering system
5
+
1
6
  === 1.2.1 / 2011-07-16
2
7
  * Made omnifocus project configureable either just project or project-component
3
8
 
@@ -1,5 +1,6 @@
1
1
  module OmniFocus::Redmine
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
+ PREFIX = "RM"
3
4
 
4
5
  def load_or_create_redmine_config
5
6
  path = File.expand_path "~/.omnifocus-redmine.yml"
@@ -66,7 +67,7 @@ module OmniFocus::Redmine
66
67
 
67
68
  issues.each do |i|
68
69
  bug_number = i.xpath('./id').text
69
- ticket_id = "RM##{bug_number}"
70
+ ticket_id = "#{PREFIX}##{bug_number}"
70
71
 
71
72
  if existing[ticket_id]
72
73
  project = existing[ticket_id]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnifocus-redmine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - aja
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-16 00:00:00 -07:00
18
+ date: 2011-08-03 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency