pt-flow 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ script: "rake"
3
+ rvm:
4
+ - 1.9.2
5
+ - 1.9.3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pt-flow
2
2
 
3
- TODO: Write a gem description.
3
+ Our workflow, gemified.
4
4
 
5
5
  ## Installation
6
6
 
data/lib/pt-flow.rb CHANGED
@@ -3,6 +3,7 @@ require "pt-flow/version"
3
3
  require "pt-flow/branch"
4
4
  require "pt-flow/pull_requests_table"
5
5
  require "pt-flow/repo"
6
+ require "pt-flow/tasks_table"
6
7
  require "pt-flow/ui"
7
8
 
8
9
  module PT
@@ -0,0 +1,7 @@
1
+ module PT::Flow
2
+ class TasksTable < PT::TasksTable
3
+ def self.fields
4
+ [:name, :story_type, :current_state, :id]
5
+ end
6
+ end
7
+ end
data/lib/pt-flow/ui.rb CHANGED
@@ -10,7 +10,7 @@ module PT::Flow
10
10
  if @params[0]
11
11
  task = create
12
12
  else
13
- table = PT::TasksTable.new(@client.get_work(@project))
13
+ table = TasksTable.new(@client.get_work(@project))
14
14
  title("Available tasks in #{project_to_s}")
15
15
  task = select("Please select a task to start working on", table)
16
16
  end
@@ -1,5 +1,5 @@
1
1
  module PT
2
2
  module Flow
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pt-flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -164,6 +164,7 @@ extensions: []
164
164
  extra_rdoc_files: []
165
165
  files:
166
166
  - .gitignore
167
+ - .travis.yml
167
168
  - Gemfile
168
169
  - Guardfile
169
170
  - LICENSE
@@ -174,6 +175,7 @@ files:
174
175
  - lib/pt-flow/branch.rb
175
176
  - lib/pt-flow/pull_requests_table.rb
176
177
  - lib/pt-flow/repo.rb
178
+ - lib/pt-flow/tasks_table.rb
177
179
  - lib/pt-flow/ui.rb
178
180
  - lib/pt-flow/version.rb
179
181
  - pt-flow.gemspec
@@ -203,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
205
  version: '0'
204
206
  segments:
205
207
  - 0
206
- hash: 1622382141531473024
208
+ hash: -671416676431423869
207
209
  required_rubygems_version: !ruby/object:Gem::Requirement
208
210
  none: false
209
211
  requirements:
@@ -212,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
214
  version: '0'
213
215
  segments:
214
216
  - 0
215
- hash: 1622382141531473024
217
+ hash: -671416676431423869
216
218
  requirements: []
217
219
  rubyforge_project:
218
220
  rubygems_version: 1.8.23