autobuild 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobuild/import/git.rb +5 -1
- data/lib/autobuild/reporting.rb +4 -4
- data/lib/autobuild/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: a387645abaeb25c9e4c356a6482c134635d87826
|
4
|
+
data.tar.gz: 4d29d0d2b27eb67bcd142e2c87e6f90442c5b8cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b6ae4eae0cf4afbc1fe9d032976c9a54d39c75bba6355aa76dd86057fb90e9ecb4cf7b8d692e7b9d85d925f9ad159f74572db57fa830ec8b94effd6feb014a
|
7
|
+
data.tar.gz: cc826065ae17e7066db08d44cec1a842d5c0af5a64b412c6fbd6dbdc8af0bf97ad7488c7ecd1733db7ae83ae3d527a09702fbe7ee47595b293cfc8ff9cc4a2d6
|
data/lib/autobuild/import/git.rb
CHANGED
@@ -508,7 +508,11 @@ module Autobuild
|
|
508
508
|
|
509
509
|
def update(package,only_local = false)
|
510
510
|
validate_importdir(package)
|
511
|
-
|
511
|
+
# This is really really a hack to workaround how broken the
|
512
|
+
# importdir thing is
|
513
|
+
if package.importdir == package.srcdir
|
514
|
+
update_alternates(package)
|
515
|
+
end
|
512
516
|
Dir.chdir(package.importdir) do
|
513
517
|
#Checking if we should only merge our repro to remotes/HEAD without updateing from the remote side...
|
514
518
|
if !only_local
|
data/lib/autobuild/reporting.rb
CHANGED
@@ -63,13 +63,13 @@ module Autobuild
|
|
63
63
|
@progress_messages = Array.new
|
64
64
|
|
65
65
|
# Displays an error message
|
66
|
-
def self.error(message)
|
67
|
-
|
66
|
+
def self.error(message = "")
|
67
|
+
message(" ERROR: #{message}", :red, :bold)
|
68
68
|
end
|
69
69
|
|
70
70
|
# Displays a warning message
|
71
|
-
def self.warn(message, *style)
|
72
|
-
|
71
|
+
def self.warn(message = "", *style)
|
72
|
+
message(" WARN: #{message}", :magenta, *style)
|
73
73
|
end
|
74
74
|
|
75
75
|
# @return [Boolean] true if there is some progress messages for the given
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|