sprout 1.0.2.pre → 1.0.3.pre

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sprout might be problematic. Click here for more details.

@@ -58,7 +58,7 @@ module Sprout
58
58
 
59
59
  def write_archive bytes
60
60
  FileUtils.mkdir_p File.dirname(downloaded_file)
61
- File.open downloaded_file, 'w+' do |f|
61
+ File.open downloaded_file, 'wb+' do |f|
62
62
  f.write bytes
63
63
  end
64
64
  end
@@ -38,11 +38,6 @@ module Sprout::System
38
38
  "/cygdrive/" + path
39
39
  end
40
40
 
41
- private
42
-
43
- def mingw_home_exists? path
44
- File.exists?(path)
45
- end
46
41
  end
47
42
  end
48
43
 
@@ -6,7 +6,7 @@ module Sprout
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 0
9
- TINY = 2
9
+ TINY = 3
10
10
  RELEASE = 'pre'
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY, RELEASE].join('.')
Binary file
@@ -30,6 +30,7 @@ class ArchiveUnpackerTest < Test::Unit::TestCase
30
30
 
31
31
  should "be identified as tgz" do
32
32
  assert @unpacker.is_tgz?("foo.tgz"), "tgz"
33
+ assert @unpacker.is_tgz?("foo.tar.gz"), "tgz"
33
34
  assert !@unpacker.is_tgz?("foo"), "not tgz"
34
35
  end
35
36
 
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - pre
10
- version: 1.0.2.pre
10
+ version: 1.0.3.pre
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luke Bayes
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-19 00:00:00 -07:00
18
+ date: 2010-06-20 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -265,6 +265,7 @@ files:
265
265
  - script/console
266
266
  - script/destroy
267
267
  - script/generate
268
+ - sprout-1.0.2.pre.gem
268
269
  - sprout.gemspec
269
270
  - test/fixtures/archive_unpacker/copyable/some_file.exe
270
271
  - test/fixtures/archive_unpacker/copyable/some_file.rb