pivotal_tracker_pr 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 764f1f12dcd28ae8959347fa7259b1590c93ca63
4
- data.tar.gz: dc0e19819bd06dacaf9338554fef4c3838586a4c
3
+ metadata.gz: 0c59bbbfb2df7b9f20bae0859ae2077483fc57c7
4
+ data.tar.gz: 38d9d93d9f342179f761930f8ae0d573f5afdfad
5
5
  SHA512:
6
- metadata.gz: 31e42d12282c81134980118fd7810f4e9b6dc9f221a22afa77772cbd0f3da645e170ea312fee34c6f168655594d6723fc9ee1395fad1e507e1a508aa8716922a
7
- data.tar.gz: 22ca5992720e37cb9855337d1abc169d183fd2a69b67b13e7dab9b57dc2cf21bb423481d408c891d672c51f0e13d57169cecb3b564c577d916444de6cac73d69
6
+ metadata.gz: dfb0eee13108671d84b2dad2cfb20cdcb654ceb4faf363f2b4a5933992e3e7d21d344c6b7987a956174fa767155d9589768644630c081a824ad45c229bde3c7b
7
+ data.tar.gz: 687339e7cecad29a16669159660547aa9f16c7782e61cf215462c343637f57bed62c37192c73b88363d10f0aab5ac3d9b86ab883f67302cbc95174beb533cc07
data/README.md CHANGED
@@ -30,10 +30,6 @@ $ gem install pivotal_tracker_pr
30
30
  |{{STORY_NAME}}|ストリー内容|
31
31
  |{{STORY_LINK}}|ストリーのリンク|
32
32
 
33
- ## TODO
34
- - [ ] PullRequestのテンプレートをERBに切り出す
35
- - [ ] ストリーIDのパラメータを受け取る
36
-
37
33
  ## Development
38
34
 
39
35
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec pivotal_tracker_pr` to use the gem in this directory, ignoring other installed copies of this gem.
@@ -8,9 +8,10 @@ module PivotalTrackerPr
8
8
  MESSAGE_TEMPLATE = 'PULLREQ_MSG_TEMPLATE'.freeze
9
9
 
10
10
  class CLI < Thor
11
+ default_command :create
11
12
  desc 'create', 'Generate pull request use story id / story name.'
12
- def create
13
- story_id = parse_story_id
13
+ def create(story_id = nil)
14
+ story_id ||= parse_story_id
14
15
  if story_id
15
16
  say "StoryId : #{story_id}", :green
16
17
 
@@ -1,3 +1,3 @@
1
1
  module PivotalTrackerPr
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pivotal_tracker_pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - blueplanet