solaris-file 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.7 - 29-Jul-2011
2
+ * Removed an obsolete gemspec attribute.
3
+ * Fixed redefinition warnings for the ftype and realpath singleton methods.
4
+
1
5
  == 0.3.6 - 12-Dec-2010
2
6
  * Fixed a warning regarding an unused variable.
3
7
  * Fixed a potential bug with an internal helper function's switch statement.
data/README CHANGED
@@ -30,7 +30,7 @@
30
30
  Add support for extended file attributes.
31
31
 
32
32
  == Copyright
33
- (C) 2005-2010 Daniel J. Berger
33
+ (C) 2005-2011 Daniel J. Berger
34
34
  All Rights Reserved
35
35
 
36
36
  == Warranty
@@ -457,6 +457,10 @@ void Init_file(){
457
457
  rb_eStandardError
458
458
  );
459
459
 
460
+ // Remove these methods temporarily to avoid warnings.
461
+ rb_undef_method(CLASS_OF(rb_cFile), "ftype");
462
+ rb_undef_method(CLASS_OF(rb_cFile), "realpath");
463
+
460
464
  // Singleton Methods
461
465
 
462
466
  rb_define_singleton_method(rb_cFile, "acl_count", acl_count, 1);
@@ -489,6 +493,6 @@ void Init_file(){
489
493
  "acl_type", "acl_id", "acl_perm", NULL
490
494
  );
491
495
 
492
- /* 0.3.5: The version of the solaris-file library */
496
+ /* 0.3.7: The version of the solaris-file library */
493
497
  rb_define_const(rb_cFile, "SOLARIS_VERSION", rb_str_new2(SOLARIS_VERSION));
494
498
  }
@@ -1,4 +1,4 @@
1
- #define SOLARIS_VERSION "0.3.6"
1
+ #define SOLARIS_VERSION "0.3.7"
2
2
  #define MAX_STRING 512
3
3
 
4
4
  VALUE cSolarisFileError;
@@ -2,14 +2,13 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'solaris-file'
5
- gem.version = '0.3.6'
5
+ gem.version = '0.3.7'
6
6
  gem.author = 'Daniel J. Berger'
7
7
  gem.license = 'Artistic 2.0'
8
8
  gem.email = 'djberg96@gmail.com'
9
9
  gem.homepage = 'http://www.rubyforge.org/projects/solarisutils'
10
10
  gem.platform = Gem::Platform::RUBY
11
11
  gem.summary = 'ACL and other methods for the File class on Solaris'
12
- gem.has_rdoc = true
13
12
  gem.test_file = 'test/test_solaris_file.rb'
14
13
  gem.extensions = ['ext/extconf.rb']
15
14
  gem.files = Dir['**/*'].reject{ |f| f.include?('git') }
@@ -41,7 +41,7 @@ class TC_Solaris_File < Test::Unit::TestCase
41
41
  end
42
42
 
43
43
  def test_version
44
- assert_equal('0.3.6', File::SOLARIS_VERSION)
44
+ assert_equal('0.3.7', File::SOLARIS_VERSION)
45
45
  end
46
46
 
47
47
  # SINGLETON METHODS
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solaris-file
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 6
10
- version: 0.3.6
9
+ - 7
10
+ version: 0.3.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel J. Berger
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-11 00:00:00 -07:00
19
- default_executable:
18
+ date: 2011-07-30 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: test-unit
@@ -72,7 +71,6 @@ files:
72
71
  - ext/solaris/sfile.h
73
72
  - solaris-file.gemspec
74
73
  - test/test_solaris_file.rb
75
- has_rdoc: true
76
74
  homepage: http://www.rubyforge.org/projects/solarisutils
77
75
  licenses:
78
76
  - Artistic 2.0
@@ -102,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  requirements: []
103
101
 
104
102
  rubyforge_project: solarisutils
105
- rubygems_version: 1.3.7
103
+ rubygems_version: 1.8.5
106
104
  signing_key:
107
105
  specification_version: 3
108
106
  summary: ACL and other methods for the File class on Solaris