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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27eba8b8c83b0530df74adf05f97e4e533537a85
4
- data.tar.gz: 94ba0e16a25180c5c85e08b43efd845b437c7d17
3
+ metadata.gz: 55ef04b45165b40935df0d965df2b0a76dddd88a
4
+ data.tar.gz: 3179db1b984f2454a89efa065e847fe6ba590e2e
5
5
  SHA512:
6
- metadata.gz: 39e0d31654091c0fe12fb56da6f89e35a85bb975c6899476a94c980f42c6f642cac8b30ac5fe8f21ebb9995a56ee5c89cc8b714bea1ab527f948c1c1b7924906
7
- data.tar.gz: 21b72788e003e59fd2d1aa6aa413986a4e851b13eb7f141c09253a1e040f274e914e6780aef48eabe9f4905f7eeffb96b97ba9ff49d8d39ffd01eef191dbae55
6
+ metadata.gz: ebc61865a7375007f4bf28f0414023543b60a49d46a0cec8161956164dc4548aa22620a83fe908f7cb923408d3b85db56f9dfc4c07ad2bec400f9c5d7f7ae69e
7
+ data.tar.gz: 60d457e635b798fcea97c9e691bf3e0b628413333aca1a10da8a75c45a175f567f2f407b857070f711c324dc3a6be3427f58f1d5f9908e1f25c2d1d1487e259c
@@ -3,6 +3,6 @@ rvm:
3
3
  - 1.9.2
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - rbx-19mode
7
6
  - jruby-19mode
7
+ cache: bundler
8
8
  script: bundle exec rake
@@ -1,3 +1,7 @@
1
+ ### version 0.4.2 *December 14, 2013*
2
+ * Removes support for Rubinius
3
+ * Changes git command for remote repo
4
+
1
5
  ### version 0.4.1 *August 12, 2013*
2
6
  * Adds command logging
3
7
 
@@ -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 -v | grep origin | grep push | awk 'match($0, /:\(.*)\.git/) { print substr($0, RSTART+1, RLENGTH-5) }'"
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 =
@@ -1,3 +1,3 @@
1
1
  module Fuci
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
@@ -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 -v | grep origin | grep push | awk 'match($0, /:\(.*)\.git/) { print substr($0, RSTART+1, RLENGTH-5) }'"
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.1
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-08-12 00:00:00.000000000 Z
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