sprout 0.7.153-x86-linux → 0.7.156-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,16 @@ module Sprout
19
19
  if(expected_md5sum)
20
20
  md5 = Digest::MD5.new
21
21
  md5 << response
22
- raise BadCheckSum if (expected_md5sum != md5.hexdigest)
22
+
23
+ if(expected_md5sum != md5.hexdigest)
24
+ puts "The MD5 Sum of the downloaded file (#{md5.hexdigest}) does not match what was expected, would you like to install anyway? [Yn]"
25
+ response = $stdin.gets.chomp!
26
+ if(response.downcase == 'y')
27
+ return true
28
+ else
29
+ raise RemoteFileLoaderError.new('MD5 Checksum failed')
30
+ end
31
+ end
23
32
  end
24
33
  return true
25
34
  end
@@ -2,7 +2,7 @@ module Sprout
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 153
5
+ TINY = 156
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.153
4
+ version: 0.7.156
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Luke Bayes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-10 00:00:00 -08:00
12
+ date: 2008-02-11 00:00:00 -08:00
13
13
  default_executable: sprout
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency