pivotal-slacker 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/pivotal-slacker +5 -4
  2. data/lib/formatter.rb +1 -1
  3. metadata +1 -1
data/bin/pivotal-slacker CHANGED
@@ -34,7 +34,7 @@ project = PivotalTracker::Project.find config.project
34
34
  require "commander/import"
35
35
  require "pivotal-tracker"
36
36
 
37
- program :version, "1.4.0"
37
+ program :version, "1.5.0"
38
38
  program :description, "Pivotal Tracker command line client."
39
39
 
40
40
  # ----------------------------------------------------------
@@ -51,8 +51,9 @@ def output_story_list opts={:project => nil, :states => [], :owned_by => nil}
51
51
  state = Formatter.state(story.current_state)
52
52
  requested_by = Formatter.requested_by(story.requested_by)
53
53
  created_at = Formatter.time_ago(story.created_at)
54
-
55
- puts "[#{id}] #{name} ~ #{state}, from #{requested_by}, created #{created_at}"
54
+ story_type = Formatter.story_type(story.story_type)
55
+
56
+ puts "[#{id}] #{name} ~ #{state} #{story_type}, from #{requested_by}, created #{created_at}"
56
57
  end
57
58
  end
58
59
 
@@ -62,7 +63,7 @@ end
62
63
  command :mine do |c|
63
64
  c.syntax = "pivotal-slacker mine"
64
65
  c.description = "List your stories in Pivotal Tracker."
65
- c.example "List your \"open\" stories", "pivotal-slacker mine"
66
+ c.example "List your open stories", "pivotal-slacker mine"
66
67
  c.action do |args, options|
67
68
  states = %w{unstarted started finished rejected}
68
69
  owned_by = config.user
data/lib/formatter.rb CHANGED
@@ -52,7 +52,7 @@ class Formatter
52
52
  end
53
53
 
54
54
  def self.story_type type
55
- type.color '#99004C'
55
+ type.color '#cc6600'
56
56
  end
57
57
 
58
58
  def self.attr_descriptor descriptor, attr
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-slacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: