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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22c8d45a3b5f47a9c2e2544358bc594b3eb5dfe2
4
- data.tar.gz: 5f1ccfc0fe622f6c17ab2eabc0c3d90c258af70d
3
+ metadata.gz: a387645abaeb25c9e4c356a6482c134635d87826
4
+ data.tar.gz: 4d29d0d2b27eb67bcd142e2c87e6f90442c5b8cf
5
5
  SHA512:
6
- metadata.gz: 549a6b22ef745f3e0927250b7eb983afa681c08198ccf3f7814bc1299be9f5d29060237e43f35bf30f5986b86472fece8df17e0bb9aa2ede01b4837ec6d5a7e9
7
- data.tar.gz: 2e49c8313b488d6b3f7c8930fccbc2d64df77ba03ed529a1e27ec0e447438fa931103a47d45ff61680bdff62edc78ebce1cdbc5d18db3d8920165846dfb896f5
6
+ metadata.gz: f0b6ae4eae0cf4afbc1fe9d032976c9a54d39c75bba6355aa76dd86057fb90e9ecb4cf7b8d692e7b9d85d925f9ad159f74572db57fa830ec8b94effd6feb014a
7
+ data.tar.gz: cc826065ae17e7066db08d44cec1a842d5c0af5a64b412c6fbd6dbdc8af0bf97ad7488c7ecd1733db7ae83ae3d527a09702fbe7ee47595b293cfc8ff9cc4a2d6
@@ -508,7 +508,11 @@ module Autobuild
508
508
 
509
509
  def update(package,only_local = false)
510
510
  validate_importdir(package)
511
- update_alternates(package)
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
@@ -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
- Autobuild.message(" ERROR: #{message}", :red, :bold)
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
- Autobuild.message(" WARN: #{message}", :magenta, *style)
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
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.8.1" unless defined? Autobuild::VERSION
2
+ VERSION = "1.8.2" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
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.1
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-24 00:00:00.000000000 Z
11
+ date: 2014-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake