github_issues_cli 0.3.0 → 0.3.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e52db77f93113153685276e73fe869c1e2e3a78
|
|
4
|
+
data.tar.gz: a812244404806a40b5fa51e92d92dcfbada209ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d75053fc3fadb8a8a5d62c76b431dedf59b36f268008bd29c3f8e4d9e405f855d699d9d29b8cb8e4e48ef3c52edbdd196289aa50190324f42be5040764302b1
|
|
7
|
+
data.tar.gz: 877fd2dc80de42016a563535c08abb40e9fcda60730f4babfe579ce04a5fd727fbd483e6cfcd31531edca9787ab88c1cf8180e058f5500c701360eb0b99b33cd
|
|
@@ -11,6 +11,7 @@ module GithubIssuesCli
|
|
|
11
11
|
git_repo = get_git_repo
|
|
12
12
|
target = get_git_push_target
|
|
13
13
|
remote, ref = target.split('/', 2)
|
|
14
|
+
raise 'Pushing to upstream is not allowed. Check your git config.' if remote == 'upstream'
|
|
14
15
|
puts git_repo.lib.command_proxy('push', [remote, "#{git_repo.current_branch}:#{ref}"])
|
|
15
16
|
|
|
16
17
|
raise 'Cannot create pull-request for non-origin remotes' unless remote == 'origin'
|
|
@@ -5,6 +5,7 @@ module GithubIssuesCli
|
|
|
5
5
|
git_repo = get_git_repo
|
|
6
6
|
target = get_git_push_target
|
|
7
7
|
remote, ref = target.split('/', 2)
|
|
8
|
+
raise 'Pushing to upstream is not allowed. Check your git config.' if remote == 'upstream'
|
|
8
9
|
puts git_repo.lib.command_proxy('push', [remote, "#{git_repo.current_branch}:#{ref}"])
|
|
9
10
|
end
|
|
10
11
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: github_issues_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomasz Durka
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: clamp
|