octokom 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octokom/command/pull_request.rb +6 -1
- data/lib/octokom/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d01587e532a7ecff4d03a850d43e096e02f349d7
|
4
|
+
data.tar.gz: 67db0db8ea509de65f096c9976965a1d082d9ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3af9d1f28db6b804ceee13da9eb0a1e453b52bce005d742f4282fccc5a235f346290c5789484c4d28b30977b792545dbf9ce14fc4baa8b2a0b7fbdb64dead027
|
7
|
+
data.tar.gz: b6e36c5f525079755b437894ff375a8a94cf7ea80a780acdb3a5d3052805f3c4ceb5d32ce795d6f831f3bdf677126e51d30bd3ff781775d639f3deb05bddfde5
|
@@ -32,9 +32,14 @@ class PullRequest < Octokom::Command
|
|
32
32
|
|
33
33
|
authenticate do |auth|
|
34
34
|
task("Create pull-request #{@repo} (#{@base}:#{@head})") do
|
35
|
-
|
35
|
+
unless dry_run?
|
36
|
+
@success = auth.client.create_pull_request(@repo, @base, @head, @title, @desc)
|
37
|
+
print " (+#{@success.additions} -#{@success.deletions})"
|
38
|
+
end
|
36
39
|
end
|
37
40
|
end
|
41
|
+
|
42
|
+
puts "#{Octokit::Default::WEB_ENDPOINT}/#{@repo}/pull/#{@success.number}" if @success
|
38
43
|
end
|
39
44
|
end
|
40
45
|
end
|
data/lib/octokom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octokom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Jagusch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
@@ -144,7 +144,7 @@ rubyforge_project:
|
|
144
144
|
rubygems_version: 2.2.0
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
|
-
summary: octokom-0.0.
|
147
|
+
summary: octokom-0.0.4
|
148
148
|
test_files:
|
149
149
|
- spec/octokom/cli_spec.rb
|
150
150
|
- spec/octokom/client_spec.rb
|