pt 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Changelog.md +3 -0
  2. data/lib/pt.rb +1 -1
  3. data/lib/pt/client.rb +1 -1
  4. metadata +4 -11
@@ -1,5 +1,8 @@
1
1
  # pt changelog
2
2
 
3
+ ## v0.2.2
4
+ Fix: list of tasks to start
5
+
3
6
  ## v0.2.1
4
7
  Error message when using pt from ~
5
8
 
data/lib/pt.rb CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  module PT
4
4
  class InputError < StandardError; end
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
 
8
8
  require 'pt/client'
@@ -41,7 +41,7 @@ class PT::Client
41
41
  end
42
42
 
43
43
  def get_my_tasks_to_start(project, user_name)
44
- tasks = project.stories.all(:owner => user_name, :current_state => 'unscheduled,rejected')
44
+ tasks = project.stories.all(:owner => user_name, :current_state => 'unscheduled,rejected,unstarted')
45
45
  tasks.reject{ |t| (t.story_type == 'feature') && (t.estimate == -1) }
46
46
  end
47
47
 
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pt
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 1
10
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - Raul Murciano
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 3
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
@@ -40,7 +38,6 @@ dependencies:
40
38
  requirements:
41
39
  - - ">="
42
40
  - !ruby/object:Gem::Version
43
- hash: 3
44
41
  segments:
45
42
  - 0
46
43
  version: "0"
@@ -54,7 +51,6 @@ dependencies:
54
51
  requirements:
55
52
  - - ">="
56
53
  - !ruby/object:Gem::Version
57
- hash: 3
58
54
  segments:
59
55
  - 0
60
56
  version: "0"
@@ -68,7 +64,6 @@ dependencies:
68
64
  requirements:
69
65
  - - ">="
70
66
  - !ruby/object:Gem::Version
71
- hash: 3
72
67
  segments:
73
68
  - 0
74
69
  version: "0"
@@ -108,7 +103,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
103
  requirements:
109
104
  - - ">="
110
105
  - !ruby/object:Gem::Version
111
- hash: 3
112
106
  segments:
113
107
  - 0
114
108
  version: "0"
@@ -117,14 +111,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
111
  requirements:
118
112
  - - ">="
119
113
  - !ruby/object:Gem::Version
120
- hash: 3
121
114
  segments:
122
115
  - 0
123
116
  version: "0"
124
117
  requirements: []
125
118
 
126
119
  rubyforge_project: pt
127
- rubygems_version: 1.5.2
120
+ rubygems_version: 1.3.7
128
121
  signing_key:
129
122
  specification_version: 3
130
123
  summary: Client to use Pivotal Tracker from the console.