pivotal_tracker_pr 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72d6ffac92f695418e1dffdec934519bfb0d0840
4
- data.tar.gz: 0b4e8115957bf22e8f59438aee0a5ccddb0cdd9f
3
+ metadata.gz: 92aba081929b96624d089336abd4acf20387dd23
4
+ data.tar.gz: a40ebdb48ede9b76a15c1bc89391de308e5d122a
5
5
  SHA512:
6
- metadata.gz: 2ddb23af2cb2005fb3c8605ef28693b54542d0cfff9a11814acb3a81d00a63d0ac0b000a533a8fdbc0c0644361e6d2710e5bbe7b9bd5e5472771c2547244dffa
7
- data.tar.gz: 3a9e2c89adf475845253f598a7db04a212af458671f9364cd4e921b8aa2fa3e56c7f03dff41c2b7e9bab5ef3bc6720eae6a62002e61bb03a0c24bba435259157
6
+ metadata.gz: 573c3d425207d5ee5e1001a726c1210d2fad79772641ae2b25e00bc2c3a578b566aac73dcc6533e8c63d006f6ab4e5a2127f7a96bfcbaa1d7b5f83ca84c55e35
7
+ data.tar.gz: 2da76993154203d5f68a48fb6ed58d82871926ad2ffec29df061c54754c751bb1e908902efc17a0ba3d434df4f124a5a8bacfff87280e33a8ec1d69d48a853aa
data/README.md CHANGED
@@ -1,28 +1,22 @@
1
1
  # PivotalTrackerPr
2
-
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pivotal_tracker_pr`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
2
+ - `PivotalTracker`のストリーIDとストリー名を取得し、カレントブランチの`PullRequest`を作成する
6
3
 
7
4
  ## Installation
8
5
 
9
- Add this line to your application's Gemfile:
10
-
11
6
  ```ruby
12
- gem 'pivotal_tracker_pr'
7
+ $ gem install pivotal_tracker_pr
13
8
  ```
14
9
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install pivotal_tracker_pr
22
-
23
10
  ## Usage
11
+ - 下記の環境変数を設定しておく
12
+ - `PT_TOKEN`:`PivotalTracker`のアクセストークン
13
+ - `PT_PROJECT_ID`:`PivotalTracker`のプロジェクトID
14
+ - ブランチを作成するとき、`PivotalTracker`のストリーIDを含めるように命名する
15
+ - `git commit; git push`の後、`PullRequest`を作ろうとするタイミングで、`pivotal_tracker_pr create`を実行する
24
16
 
25
- TODO: Write usage instructions here
17
+ ## TODO
18
+ - [ ] PullRequestのテンプレートをERBに切り出す
19
+ - [ ] ストリーIDのパラメータを受け取る
26
20
 
27
21
  ## Development
28
22
 
@@ -32,5 +26,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
26
 
33
27
  ## Contributing
34
28
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pivotal_tracker_pr.
36
-
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/blueplanet/pivotal_tracker_pr.
@@ -1,3 +1,3 @@
1
1
  module PivotalTrackerPr
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
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.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - blueplanet
@@ -85,7 +85,7 @@ email:
85
85
  - erguolinge@gmail.com
86
86
  executables:
87
87
  - console
88
- - generator
88
+ - pivotal_tracker_pr
89
89
  - setup
90
90
  extensions: []
91
91
  extra_rdoc_files: []
@@ -97,7 +97,7 @@ files:
97
97
  - README.md
98
98
  - Rakefile
99
99
  - bin/console
100
- - bin/generator
100
+ - bin/pivotal_tracker_pr
101
101
  - bin/setup
102
102
  - lib/pivotal_tracker_pr.rb
103
103
  - lib/pivotal_tracker_pr/cli.rb
File without changes