pivotal-cli 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -7,7 +7,7 @@ Simple command line tool for working with pivotal stories.
7
7
  To install the gem:
8
8
 
9
9
  ```bash
10
- gem install pivotal_cli
10
+ gem install pivotal-cli
11
11
  ```
12
12
 
13
13
  # Usage
data/bin/pivotal CHANGED
@@ -101,7 +101,7 @@ command :branch do |c|
101
101
  end
102
102
 
103
103
  # Make sure feature is estimated (can't start otherwise)
104
- if story.estimate < 0
104
+ if story.story_type == 'feature' && story.estimate < 0
105
105
  question = Rainbow("How many points in the story (0-8)? ").green
106
106
  points = ask(question, Integer) { |q| q.in = 0..8 }
107
107
  @tracker.set_points(story, points)
@@ -1,3 +1,3 @@
1
1
  module PivotalCli
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: