sys-filesystem 0.3.0-x86-mswin32-60 → 0.3.1-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.3.1 - ???
2
+ * Changed license to Artistic 2.0
3
+ * Updated the gemspec, including the explicit addition of a license and
4
+ test-unit as a development dependency, as well as an updated description.
5
+
1
6
  == 0.3.0 - 26-Feb-2009
2
7
  * Added support for OS X and FreeBSD thanks to an awesome patch by Nobuyoshi
3
8
  Miyokawa.
data/README CHANGED
@@ -65,6 +65,9 @@
65
65
  Park Heesob, for implementation and API ideas for the MS Windows version.
66
66
 
67
67
  Nobuyoshi Miyokawa, for adding FreeBSD and OS X support.
68
+
69
+ = License
70
+ Artistic 2.0
68
71
 
69
72
  = Copyright
70
73
  (C) 2003-2009 Daniel J. Berger
@@ -77,5 +80,3 @@
77
80
 
78
81
  = Author
79
82
  Daniel J. Berger
80
- djberg96 at gmail dot com
81
- imperator on IRC (irc.freenode.net)
@@ -140,10 +140,10 @@ Fixnum#to_mb
140
140
  website at http://www.rubyforge.org/projects/sysutils.
141
141
 
142
142
  == License
143
- Ruby's
143
+ Artistic 2.0
144
144
 
145
145
  == Copyright
146
- Copyright 2002-2008, Daniel J. Berger
146
+ Copyright 2002-2009, Daniel J. Berger
147
147
 
148
148
  All Rights Reserved. This module is free software. It may be used,
149
149
  redistributed and/or modified under the same terms as Ruby itself.
@@ -158,8 +158,6 @@ Fixnum#to_mb
158
158
 
159
159
  == Author
160
160
  Daniel J. Berger
161
- djberg96 at nospam at gmail dot com
162
- imperator on IRC (Freenode)
163
161
 
164
162
  == See Also
165
163
  mount
@@ -41,7 +41,7 @@ module Sys
41
41
  NAMED_STREAMS = 0x00040000
42
42
  READ_ONLY_VOLUME = 0x00080000
43
43
 
44
- VERSION = '0.2.1'
44
+ VERSION = '0.3.1'
45
45
 
46
46
  class Mount
47
47
  # The name of the volume. This is the device mapping.
@@ -1,36 +1,41 @@
1
1
  require 'rubygems'
2
2
 
3
3
  spec = Gem::Specification.new do |gem|
4
- gem.name = 'sys-filesystem'
5
- gem.version = '0.3.0'
6
- gem.author = 'Daniel J. Berger'
7
- gem.email = 'djberg96@gmail.com'
8
- gem.homepage = 'http://www.rubyforge.org/projects/sysutils'
9
- gem.platform = Gem::Platform::RUBY
10
- gem.summary = 'A Ruby interface for getting file system information.'
11
- gem.description = 'A Ruby interface for getting file system information.'
12
- gem.test_file = 'test/test_sys_filesystem.rb'
13
- gem.has_rdoc = true
4
+ gem.name = 'sys-filesystem'
5
+ gem.version = '0.3.1'
6
+ gem.author = 'Daniel J. Berger'
7
+ gem.email = 'djberg96@gmail.com'
8
+ gem.homepage = 'http://www.rubyforge.org/projects/sysutils'
9
+ gem.platform = Gem::Platform::RUBY
10
+ gem.summary = 'A Ruby interface for getting file system information.'
11
+ gem.test_file = 'test/test_sys_filesystem.rb'
12
+ gem.has_rdoc = true
13
+ gem.files = Dir['**/*'].reject{ |f| f.include?('CVS') }
14
+ gem.license = 'Artistic 2.0'
15
+
14
16
  gem.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
15
17
  gem.rubyforge_project = 'sysutils'
16
- files = Dir["doc/*"] + Dir["examples/*"] + Dir["test/*"] + Dir["[A-Z]*"]
17
- files.delete_if{ |item| item.include?('CVS') }
18
- gem.files = files
18
+
19
+ gem.add_development_dependency('test-unit', '>= 2.0.3')
20
+
21
+ gem.description = <<-EOF
22
+ The sys-filesystem library provides an interface for gathering filesystem
23
+ information, such as disk space and mount point data.
24
+ EOF
19
25
  end
20
26
 
21
27
  if $PROGRAM_NAME == __FILE__
22
28
  if RUBY_PLATFORM.match('mswin')
23
29
  spec.required_ruby_version = '>= 1.8.2'
24
- spec.files += ['lib/sys/filesystem.rb']
30
+ spec.files -= Dir['ext/**/*']
25
31
  spec.platform = Gem::Platform::CURRENT
26
32
  spec.add_dependency('windows-pr', '>= 0.6.0')
27
33
  else
28
34
  spec.required_ruby_version = '>= 1.8.0'
29
35
  spec.extensions = ['ext/extconf.rb']
30
- spec.files += Dir["ext/**/*"]
36
+ spec.files -= Dir['lib/**/*']
31
37
  spec.extra_rdoc_files << 'ext/sys/filesystem.c'
32
38
  end
33
-
34
- Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
39
+
35
40
  Gem::Builder.new(spec).build
36
41
  end
@@ -1,5 +1,5 @@
1
1
  ####################################################################
2
- # tc_unix.rb
2
+ # test_sys_filesystem_unix.rb
3
3
  #
4
4
  # Test case for the Sys::Filesystem.stat method and related stuff.
5
5
  # This test suite should be run via the 'rake test' task.
@@ -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.0', Filesystem::VERSION)
31
+ assert_equal('0.3.1', Filesystem::VERSION)
32
32
  end
33
33
 
34
34
  def test_stat_path
@@ -1,5 +1,5 @@
1
1
  ####################################################################
2
- # tc_windows.rb
2
+ # test_sys_filesystem_windows.rb
3
3
  #
4
4
  # Test case for the Sys::Filesystem.stat method and related stuff.
5
5
  # This should be run via the 'rake test' task.
@@ -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.0', Filesystem::VERSION)
25
+ assert_equal('0.3.1', Filesystem::VERSION)
26
26
  end
27
27
 
28
28
  def test_stat_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-filesystem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -9,9 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-26 00:00:00 -07:00
12
+ date: 2009-08-05 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: test-unit
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.3
24
+ version:
15
25
  - !ruby/object:Gem::Dependency
16
26
  name: windows-pr
17
27
  type: :runtime
@@ -22,7 +32,7 @@ dependencies:
22
32
  - !ruby/object:Gem::Version
23
33
  version: 0.6.0
24
34
  version:
25
- description: A Ruby interface for getting file system information.
35
+ description: " The sys-filesystem library provides an interface for gathering filesystem\n information, such as disk space and mount point data.\n"
26
36
  email: djberg96@gmail.com
27
37
  executables: []
28
38
 
@@ -33,24 +43,21 @@ extra_rdoc_files:
33
43
  - README
34
44
  - MANIFEST
35
45
  files:
46
+ - CHANGES
36
47
  - doc/sys-filesystem.txt
37
48
  - examples/example_stat.rb
38
- - test/test_sys_filesystem.rb
39
- - test/test_sys_filesystem_unix.rb
40
- - test/test_sys_filesystem_windows.rb
41
- - CHANGES
42
- - doc
43
- - examples
44
- - ext
45
- - lib
49
+ - lib/sys/filesystem.rb
46
50
  - MANIFEST
47
51
  - Rakefile
48
52
  - README
49
53
  - sys-filesystem.gemspec
50
- - test
51
- - lib/sys/filesystem.rb
54
+ - test/test_sys_filesystem.rb
55
+ - test/test_sys_filesystem_unix.rb
56
+ - test/test_sys_filesystem_windows.rb
52
57
  has_rdoc: true
53
58
  homepage: http://www.rubyforge.org/projects/sysutils
59
+ licenses:
60
+ - Artistic 2.0
54
61
  post_install_message:
55
62
  rdoc_options: []
56
63
 
@@ -71,9 +78,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
78
  requirements: []
72
79
 
73
80
  rubyforge_project: sysutils
74
- rubygems_version: 1.3.1
81
+ rubygems_version: 1.3.4
75
82
  signing_key:
76
- specification_version: 2
83
+ specification_version: 3
77
84
  summary: A Ruby interface for getting file system information.
78
85
  test_files:
79
86
  - test/test_sys_filesystem.rb