vanagon 0.8.1 → 0.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: c06666ceca69a65fb5cd8ed50f5d879d13405e32
4
- data.tar.gz: b172cfec4a27c00b6e8817f5cf7514fc2a8a6cb2
3
+ metadata.gz: 94843aa8a37502b7e0548dc934267087f1ea5ed6
4
+ data.tar.gz: f8daf4b6a0e88855775c58f2a73fa8cdb354e322
5
5
  SHA512:
6
- metadata.gz: fa03f9d6849a5d65ad269146547b7482fd9488bd936521ec8a5a65b6f2b5089a9eaa6054b348fcd620713ad8d6e999ac4210c3c256ea04f120420dde14b66443
7
- data.tar.gz: 027c3f6e8cbf5a12378783d4871fad4cd41fe1a549cedb717c7927d6fe74abe8a87de2ca9aa202bab9ffba62fbe94676b73ff5a3f0a81e256488325113bf155e
6
+ metadata.gz: 6212f217ffe247fecead7f8a105a22470e523d16dc87acc07e6df7ec013a806e9fad76f63eac876ce8b1b668a88c8ef3b3e7fef39a5cce7bb0d7fd21c2d0c9be
7
+ data.tar.gz: fea048b71df645483b7a9c988fc74784eb06897a520044d0e9b5c5e5ac3643c56ca94f968a4f489b5078b27aaf280afd485cc28011306a34a854f276484e4fdd
@@ -88,7 +88,8 @@ class Vanagon
88
88
  return Vanagon::Component::Source::Http.new parse_and_rewrite(uri),
89
89
  sum: options[:sum],
90
90
  workdir: options[:workdir],
91
- sum_type: options[:sum_type]
91
+ # Default sum_type is md5 if unspecified:
92
+ sum_type: options[:sum_type] || "md5"
92
93
  end
93
94
 
94
95
  # Then we try local
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git