scm_workspace 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scm_workspace.rb +1 -1
- data/lib/scm_workspace/version.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: 8082d6fec5ab747b1fdbf5b165c5299a91d06fe1
|
4
|
+
data.tar.gz: c605cdc108cf99a60f46323de04ce9f137e9ab21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb0649ef110e916347153080ef603a5c631a4a454df699011f1389d28e757d13fa396d55ea296948a4575bdb9a7c42ef3dd7df932d3ab4bd60ba284dc626019
|
7
|
+
data.tar.gz: 767a912af8afdd1284ae24d010c8bedde77171e59408af7035b60ab6dd887c2c27ef98ea789bef862097f09120489245aed44f23eaf267974fc74cb0786e769f
|
data/lib/scm_workspace.rb
CHANGED
@@ -237,7 +237,7 @@ class ScmWorkspace
|
|
237
237
|
flatten.first.split(/,/).map(&:strip).reject{|s| s =~ /HEAD\Z/}
|
238
238
|
r = work.select{|s| s =~ /origin\//}.first
|
239
239
|
r ||= work.first
|
240
|
-
result = r.sub(/\Aorigin\//, '')
|
240
|
+
result = r.nil? ? nil : r.sub(/\Aorigin\//, '')
|
241
241
|
return result
|
242
242
|
end
|
243
243
|
rescue => e
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scm_workspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tengine_support
|