bob 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bob.gemspec +2 -2
- data/lib/bob/scm/abstract.rb +2 -2
- data/test/mixin/scm.rb +1 -1
- metadata +3 -3
data/bob.gemspec
CHANGED
data/lib/bob/scm/abstract.rb
CHANGED
@@ -43,7 +43,7 @@ module Bob
|
|
43
43
|
|
44
44
|
private
|
45
45
|
def run(cmd, dir=nil)
|
46
|
-
cmd = "(#{dir ? "cd #{dir} && " : ""}#{cmd}
|
46
|
+
cmd = "(#{dir ? "cd #{dir} && " : ""}#{cmd} > /dev/null 2>&1)"
|
47
47
|
Bob.logger.debug(cmd)
|
48
48
|
system(cmd) || raise(Error, "Couldn't run SCM command `#{cmd}`")
|
49
49
|
end
|
@@ -56,7 +56,7 @@ module Bob
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def resolve(commit)
|
59
|
-
commit ==
|
59
|
+
commit == "HEAD" ? head : commit
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/test/mixin/scm.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Nicol\xC3\xA1s Sanguinetti"
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-10-
|
13
|
+
date: 2009-10-12 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements: []
|
82
82
|
|
83
83
|
rubyforge_project: integrity
|
84
|
-
rubygems_version: 1.3.
|
84
|
+
rubygems_version: 1.3.5
|
85
85
|
signing_key:
|
86
86
|
specification_version: 3
|
87
87
|
summary: Bob builds!
|