autobuild 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a387645abaeb25c9e4c356a6482c134635d87826
4
- data.tar.gz: 4d29d0d2b27eb67bcd142e2c87e6f90442c5b8cf
3
+ metadata.gz: 71fc9a4d13e16cb68906457a8d9afd08f8c3700c
4
+ data.tar.gz: 4d940353cece1bc2681254bafb90cd48e0dbba46
5
5
  SHA512:
6
- metadata.gz: f0b6ae4eae0cf4afbc1fe9d032976c9a54d39c75bba6355aa76dd86057fb90e9ecb4cf7b8d692e7b9d85d925f9ad159f74572db57fa830ec8b94effd6feb014a
7
- data.tar.gz: cc826065ae17e7066db08d44cec1a842d5c0af5a64b412c6fbd6dbdc8af0bf97ad7488c7ecd1733db7ae83ae3d527a09702fbe7ee47595b293cfc8ff9cc4a2d6
6
+ metadata.gz: fcc2b5bc4bc96b0b27288e3478744dc91191a3e498a125bc71fd317142f7adbea64b60b826bc82bda595bf182d622091f6aa6df4630d97ea132267d1841c713e
7
+ data.tar.gz: 993285ac044926d5867c956942fc778c7d05823eaca884eeeda22d6c867ba668947b672f252ae2f0afdccef8009dcbb22c7bc4eb5c955c8c6f324d42c1537d3e
@@ -58,7 +58,7 @@ module Autobuild
58
58
  # With wget, it is the timeout used for DNS resolution, connection and
59
59
  # idle time (time without receiving data)
60
60
  #
61
- # It defaults to 5s
61
+ # It defaults to 10s
62
62
  attr_accessor :timeout
63
63
 
64
64
  # The number of time we should retry downloading if the underlying tool
@@ -249,9 +249,15 @@ module Autobuild
249
249
  # Package#srcdir
250
250
  # [:no_subdirectory] the archive does not have the custom archive
251
251
  # subdirectory.
252
+ # [:retries] The number of retries for downloading
253
+ # [:timeout] The timeout (in seconds) used during downloading, it defaults to 10s
254
+ # [:filename] Rename the archive to this filename (in cache) -- will be
255
+ # also used to infer the mode
256
+ # [:mode] The unpack mode: one of Zip, Bzip, Gzip or Plain, this is
257
+ # usually automatically inferred from the filename
252
258
  def initialize(url, options)
253
259
  sourceopts, options = Kernel.filter_options options,
254
- :source_id, :repository_id
260
+ :source_id, :repository_id, :filename, :mode
255
261
  super(options)
256
262
 
257
263
  if !@options.has_key?(:update_cached_file)
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.8.2" unless defined? Autobuild::VERSION
2
+ VERSION = "1.8.3" 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.2
4
+ version: 1.8.3
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-12-03 00:00:00.000000000 Z
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake