bitbucket-pr-post 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bitbucket-pr-post-0.0.6.gem +0 -0
- data/bitbucket-pr-post-0.0.7.gem +0 -0
- data/lib/bitbucket/pr/post.rb +2 -2
- data/lib/bitbucket/pr/post/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18e454a637c0094d983c66861730e580d69f6971
|
4
|
+
data.tar.gz: 1f3beb2ba960257c1af95c7fa419e271102c5ab2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff4f6f1f5cd8809a95254249cbc38c9bee7ab476195dc292ba216ba3449dd80d448a871f7ecd329b1c575be19f43b25bff9368842e1cd90a2d3ec100be167fa
|
7
|
+
data.tar.gz: 4fce984c605361b8b999f50c7e64c0832a788527faf4a729a590047d0758433688660b2702db03022b773ad2ff6367b5a97291002d2765e98fca14c9559857a8
|
Binary file
|
Binary file
|
data/lib/bitbucket/pr/post.rb
CHANGED
@@ -75,14 +75,14 @@ module Bitbucket
|
|
75
75
|
@title = @opts[:title]
|
76
76
|
@notice = ''
|
77
77
|
else
|
78
|
-
@title = `git log
|
78
|
+
@title = `git log -1 --format="%s" --no-color --no-notes | head -1`.strip
|
79
79
|
@title_notice = "\n ^ This is Last Commit Mesasge. Use Option `--title` If You Want Change."
|
80
80
|
end
|
81
81
|
|
82
82
|
if @opts[:description]
|
83
83
|
@description = @opts[:description]
|
84
84
|
else
|
85
|
-
@description = `git log
|
85
|
+
@description = `git log -1 --format="%b" --no-color --no-notes`.strip
|
86
86
|
@description_notice = "\n ^ This is Last Commit Mesasge. Use Option `--description` If You Want Change."
|
87
87
|
end
|
88
88
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitbucket-pr-post
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hiroshi kobayashi
|
@@ -56,6 +56,8 @@ files:
|
|
56
56
|
- bitbucket-pr-post-0.0.2.gem
|
57
57
|
- bitbucket-pr-post-0.0.3.gem
|
58
58
|
- bitbucket-pr-post-0.0.5.gem
|
59
|
+
- bitbucket-pr-post-0.0.6.gem
|
60
|
+
- bitbucket-pr-post-0.0.7.gem
|
59
61
|
- bitbucket-pr-post.gemspec
|
60
62
|
- lib/bitbucket/pr/post.rb
|
61
63
|
- lib/bitbucket/pr/post/version.rb
|