bitbucket-pr-post 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/lib/bitbucket/pr/post.rb +8 -2
- data/lib/bitbucket/pr/post/version.rb +1 -1
- data/{bitbucket-pr-post-0.0.1.gem → pkg/bitbucket-pr-post-0.0.1.gem} +0 -0
- data/{bitbucket-pr-post-0.0.2.gem → pkg/bitbucket-pr-post-0.0.2.gem} +0 -0
- data/{bitbucket-pr-post-0.0.3.gem → pkg/bitbucket-pr-post-0.0.3.gem} +0 -0
- data/pkg/bitbucket-pr-post-0.0.4.gem +0 -0
- data/{bitbucket-pr-post-0.0.5.gem → pkg/bitbucket-pr-post-0.0.5.gem} +0 -0
- data/{bitbucket-pr-post-0.0.6.gem → pkg/bitbucket-pr-post-0.0.6.gem} +0 -0
- data/{bitbucket-pr-post-0.0.7.gem → pkg/bitbucket-pr-post-0.0.7.gem} +0 -0
- data/pkg/bitbucket-pr-post-0.0.8.gem +0 -0
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d658526a4f72138256650e535c0052ec0cd29fb8
|
4
|
+
data.tar.gz: 2a2178cd2240a835acda9e4a8f8b4c59a87422c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad4a2179ac01fd78ae132e17d451c91afc61b89a52a39d36b6bf6d572aa24a32b6b0d57d86ea9c523b1e2b065d9992dfbaab9de17bb1914086c42e144c77830
|
7
|
+
data.tar.gz: b86d929bfc0b01eedcaadf9100fdbb8a46c7163b01bdc7b59304297d37581e5d08f7c38e0ef4e8c375ba3afdaf41874ccba5e648a28203e63b09b83659da2992
|
data/.gitignore
CHANGED
data/lib/bitbucket/pr/post.rb
CHANGED
@@ -8,6 +8,7 @@ module Bitbucket
|
|
8
8
|
module Pr
|
9
9
|
class Post
|
10
10
|
DOMAIN = 'bitbucket.org'
|
11
|
+
PASSWORD_FILE = '~/.bitbucket_pr_post_password'
|
11
12
|
def request(argv)
|
12
13
|
set_opts argv
|
13
14
|
confirm
|
@@ -54,8 +55,13 @@ module Bitbucket
|
|
54
55
|
if @opts[:pass]
|
55
56
|
@pass = @opts[:pass]
|
56
57
|
else
|
57
|
-
|
58
|
-
|
58
|
+
fullpath = File.expand_path(PASSWORD_FILE)
|
59
|
+
if File.exists? fullpath
|
60
|
+
@pass = File.read(fullpath).strip
|
61
|
+
else
|
62
|
+
@pass = [(print "#{DOMAIN} Password ( or Make #{PASSWORD_FILE}): "), STDIN.noecho(&:gets).rstrip][1]
|
63
|
+
puts
|
64
|
+
end
|
59
65
|
end
|
60
66
|
|
61
67
|
@user = @pub_user || @master_user
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hiroshi kobayashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,15 +52,17 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
54
|
- bin/bit_bucket_pr_post
|
55
|
-
- bitbucket-pr-post-0.0.1.gem
|
56
|
-
- bitbucket-pr-post-0.0.2.gem
|
57
|
-
- bitbucket-pr-post-0.0.3.gem
|
58
|
-
- bitbucket-pr-post-0.0.5.gem
|
59
|
-
- bitbucket-pr-post-0.0.6.gem
|
60
|
-
- bitbucket-pr-post-0.0.7.gem
|
61
55
|
- bitbucket-pr-post.gemspec
|
62
56
|
- lib/bitbucket/pr/post.rb
|
63
57
|
- lib/bitbucket/pr/post/version.rb
|
58
|
+
- pkg/bitbucket-pr-post-0.0.1.gem
|
59
|
+
- pkg/bitbucket-pr-post-0.0.2.gem
|
60
|
+
- pkg/bitbucket-pr-post-0.0.3.gem
|
61
|
+
- pkg/bitbucket-pr-post-0.0.4.gem
|
62
|
+
- pkg/bitbucket-pr-post-0.0.5.gem
|
63
|
+
- pkg/bitbucket-pr-post-0.0.6.gem
|
64
|
+
- pkg/bitbucket-pr-post-0.0.7.gem
|
65
|
+
- pkg/bitbucket-pr-post-0.0.8.gem
|
64
66
|
homepage: https://bitbucket.org/kobayashi_at_answer/bitbucket-pr-post
|
65
67
|
licenses:
|
66
68
|
- MIT
|