sys-filesystem 0.3.2-x86-mingw32 → 0.3.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.3 - 21-May-2010
2
+ * Added a workaround for the Sys::Filesystem#block_size member to deal with
3
+ a bug in OS X. Thanks go to Josh Pasqualetto for the spot.
4
+
1
5
  == 0.3.2 - 29-Dec-2009
2
6
  * Source has been moved to github.
3
7
  * Added the 'gem' task and removed build logic from the gemspec.
@@ -42,7 +42,7 @@ module Sys
42
42
  READ_ONLY_VOLUME = 0x00080000
43
43
 
44
44
  # The version of the sys-filesystem library.
45
- VERSION = '0.3.2'
45
+ VERSION = '0.3.3'
46
46
 
47
47
  class Mount
48
48
  # The name of the volume. This is the device mapping.
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  spec = Gem::Specification.new do |gem|
4
4
  gem.name = 'sys-filesystem'
5
- gem.version = '0.3.2'
5
+ gem.version = '0.3.3'
6
6
  gem.author = 'Daniel J. Berger'
7
7
  gem.email = 'djberg96@gmail.com'
8
8
  gem.homepage = 'http://www.rubyforge.org/projects/sysutils'
@@ -28,7 +28,7 @@ class TC_Sys_Filesystem_Unix < Test::Unit::TestCase
28
28
  end
29
29
 
30
30
  def test_version
31
- assert_equal('0.3.2', Filesystem::VERSION)
31
+ assert_equal('0.3.3', Filesystem::VERSION)
32
32
  end
33
33
 
34
34
  def test_stat_path
@@ -41,6 +41,11 @@ class TC_Sys_Filesystem_Unix < Test::Unit::TestCase
41
41
  assert_kind_of(Fixnum, @stat.block_size)
42
42
  end
43
43
 
44
+ def test_block_size_is_a_plausible_value
45
+ assert_true(@stat.block_size >= 1024)
46
+ assert_true(@stat.block_size <= 16384)
47
+ end
48
+
44
49
  def test_stat_fragment_size
45
50
  assert_respond_to(@stat, :fragment_size)
46
51
  assert_kind_of(Fixnum, @stat.fragment_size)
@@ -22,7 +22,7 @@ class TC_Sys_Filesystem_Windows < Test::Unit::TestCase
22
22
  end
23
23
 
24
24
  def test_version
25
- assert_equal('0.3.2', Filesystem::VERSION)
25
+ assert_equal('0.3.3', Filesystem::VERSION)
26
26
  end
27
27
 
28
28
  def test_stat_path
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-filesystem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 3
9
+ version: 0.3.3
5
10
  platform: x86-mingw32
6
11
  authors:
7
12
  - Daniel J. Berger
@@ -9,29 +14,37 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-12-30 00:00:00 -05:00
17
+ date: 2010-05-21 00:00:00 -06:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: test-unit
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 0
30
+ - 3
23
31
  version: 2.0.3
24
- version:
32
+ type: :development
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: windows-pr
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 0
44
+ - 5
33
45
  version: 1.0.5
34
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  description: " The sys-filesystem library provides an interface for gathering filesystem\n information, such as disk space and mount point data.\n"
36
49
  email: djberg96@gmail.com
37
50
  executables: []
@@ -66,18 +79,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
79
  requirements:
67
80
  - - ">="
68
81
  - !ruby/object:Gem::Version
82
+ segments:
83
+ - 1
84
+ - 8
85
+ - 2
69
86
  version: 1.8.2
70
- version:
71
87
  required_rubygems_version: !ruby/object:Gem::Requirement
72
88
  requirements:
73
89
  - - ">="
74
90
  - !ruby/object:Gem::Version
91
+ segments:
92
+ - 0
75
93
  version: "0"
76
- version:
77
94
  requirements: []
78
95
 
79
96
  rubyforge_project: sysutils
80
- rubygems_version: 1.3.5
97
+ rubygems_version: 1.3.6
81
98
  signing_key:
82
99
  specification_version: 3
83
100
  summary: A Ruby interface for getting file system information.