fuci 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/fuci/git.rb +1 -1
- data/lib/fuci/version.rb +1 -1
- data/spec/lib/fuci/git_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55ef04b45165b40935df0d965df2b0a76dddd88a
|
4
|
+
data.tar.gz: 3179db1b984f2454a89efa065e847fe6ba590e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc61865a7375007f4bf28f0414023543b60a49d46a0cec8161956164dc4548aa22620a83fe908f7cb923408d3b85db56f9dfc4c07ad2bec400f9c5d7f7ae69e
|
7
|
+
data.tar.gz: 60d457e635b798fcea97c9e691bf3e0b628413333aca1a10da8a75c45a175f567f2f407b857070f711c324dc3a6be3427f58f1d5f9908e1f25c2d1d1487e259c
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/fuci/git.rb
CHANGED
@@ -3,7 +3,7 @@ module Fuci
|
|
3
3
|
MASTER = 'master'
|
4
4
|
CURRENT_BRANCH_COMMAND = "git branch | sed -n '/\* /s///p'"
|
5
5
|
REMOTE_REPO_COMMAND =
|
6
|
-
"git remote -
|
6
|
+
"git remote show -n origin | grep Push | cut -d/ -f4- | sed 's/\.git//g'"
|
7
7
|
REMOTE_SHA_FROM_BRANCH_COMMAND =
|
8
8
|
lambda { |branch_name| "git rev-parse origin/#{branch_name}" }
|
9
9
|
PULL_MERGE_SHA_FROM_NUMBER_COMMAND =
|
data/lib/fuci/version.rb
CHANGED
data/spec/lib/fuci/git_spec.rb
CHANGED
@@ -127,7 +127,7 @@ describe Fuci::Git do
|
|
127
127
|
|
128
128
|
describe '#remote_repo_command' do
|
129
129
|
it 'returns the git/unix command to return the remote owner/repo' do
|
130
|
-
command = "git remote -
|
130
|
+
command = "git remote show -n origin | grep Push | cut -d/ -f4- | sed 's/\.git//g'"
|
131
131
|
expect(@test_class.send :remote_repo_command).to_equal command
|
132
132
|
end
|
133
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Jachimiak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest-spec-expect
|