taskwarrior 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 672d5f7babb2866ff1ae81be4f472fb05d4436e6
4
+ data.tar.gz: d7de72f1a1f6035c5e6e3e0c83c8bfbf8524ae63
5
+ SHA512:
6
+ metadata.gz: c98593709e38ce77beecd0a1c9da29b2e94cbe3fa46a6fac7cf42fd776209dd41ed273d35425a01ebb92578e6718375432e5ee114f194eb9ab54c1b06a773983
7
+ data.tar.gz: ce4952da9c673f0c03298d30ef43bad6a4122fb8d17818b5c7c247ae6e6030b5ea1aa062288e9998edf34d93e458ac40dc2e25bb38bf41aef1c1a452c6d8e850
@@ -2,8 +2,8 @@ language: ruby
2
2
 
3
3
  rvm:
4
4
  - 1.9.3
5
+ - 2.0.0
5
6
  - jruby-19mode
6
- - 1.8.7
7
7
 
8
8
  before_script:
9
9
  - mkdir ~/.task
@@ -2,7 +2,7 @@ module TaskWarrior
2
2
  class Task
3
3
  include TaskWarrior::Attributes
4
4
 
5
- attributes :description, :id, :entry, :status, :uuid, :project, :dependencies, :parent, :children,
5
+ attributes :description, :id, :entry, :status, :uuid, :project, :dependencies, :parent, :children,
6
6
  :priority, :tags, :annotations, :start_at, :wait_at, :end_at, :due_at
7
7
 
8
8
  include ActiveModel::Validations
@@ -10,17 +10,17 @@ module TaskWarrior
10
10
  validates :description, :id, :entry, :status, :uuid, :presence => true
11
11
 
12
12
  validates :id, :numericality => {
13
- :only_integer => true,
13
+ :only_integer => true,
14
14
  :greater_than => 0
15
15
  }
16
16
 
17
- validates :uuid, :format => {
17
+ validates :uuid, :format => {
18
18
  :with => /[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/,
19
19
  :message => "'%{value}' does not match the expected format of a UUID"
20
20
  }
21
21
 
22
- validates :status, :inclusion => {
23
- :in => [:pending, :waiting, :complete],
22
+ validates :status, :inclusion => {
23
+ :in => [:pending, :waiting, :complete],
24
24
  :message => "%{value} is not a valid status"
25
25
  }
26
26
 
@@ -41,9 +41,7 @@ module TaskWarrior
41
41
  @children = []
42
42
  @tags = []
43
43
  @annotations = []
44
-
45
- # http://www.ruby-forum.com/topic/164078#722181
46
- @uuid = %x[uuidgen].strip
44
+ @uuid = SecureRandom.uuid
47
45
  end
48
46
 
49
47
  def to_s
@@ -1,3 +1,3 @@
1
1
  module TaskWarrior
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskwarrior
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nicholas E. Rabenau
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-10 00:00:00.000000000 Z
11
+ date: 2013-07-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activemodel
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: multi_json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: activesupport
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: twtest
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: guard-test
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
@@ -94,7 +83,6 @@ dependencies:
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: guard-bundler
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
@@ -110,7 +97,6 @@ dependencies:
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rake
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ~>
116
102
  - !ruby/object:Gem::Version
@@ -118,7 +104,6 @@ dependencies:
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ~>
124
109
  - !ruby/object:Gem::Version
@@ -126,17 +111,15 @@ dependencies:
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: pry
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: Wraps access to TaskWarrior, the command-line task manager, in a Ruby
@@ -182,27 +165,26 @@ files:
182
165
  - test/unit/test_task.rb
183
166
  homepage:
184
167
  licenses: []
168
+ metadata: {}
185
169
  post_install_message:
186
170
  rdoc_options: []
187
171
  require_paths:
188
172
  - lib
189
173
  required_ruby_version: !ruby/object:Gem::Requirement
190
- none: false
191
174
  requirements:
192
- - - ! '>='
175
+ - - '>='
193
176
  - !ruby/object:Gem::Version
194
177
  version: '0'
195
178
  required_rubygems_version: !ruby/object:Gem::Requirement
196
- none: false
197
179
  requirements:
198
- - - ! '>='
180
+ - - '>='
199
181
  - !ruby/object:Gem::Version
200
182
  version: '0'
201
183
  requirements: []
202
184
  rubyforge_project:
203
- rubygems_version: 1.8.24
185
+ rubygems_version: 2.0.3
204
186
  signing_key:
205
- specification_version: 3
187
+ specification_version: 4
206
188
  summary: Ruby wrapper for TaskWarrior
207
189
  test_files:
208
190
  - test/fixtures/no_deps.json