libarchive-ruby-swig 0.5.3 → 0.5.4

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.
@@ -69,6 +69,11 @@ bool Entry::is_socket()
69
69
  return S_ISSOCK(archive_entry_filetype(_entry));
70
70
  }
71
71
 
72
+ unsigned int Entry::filetype()
73
+ {
74
+ return archive_entry_filetype(_entry);
75
+ }
76
+
72
77
  void Entry::set_filetype(unsigned int filetype)
73
78
  {
74
79
  archive_entry_set_filetype(_entry, filetype);
@@ -31,6 +31,7 @@ class Entry
31
31
  bool is_fifo();
32
32
  bool is_socket();
33
33
 
34
+ unsigned int filetype();
34
35
  void set_filetype(unsigned int filetype);
35
36
 
36
37
  unsigned int devmajor();
@@ -83,6 +83,13 @@ module Archive
83
83
  def is_socket
84
84
  end
85
85
 
86
+ ##
87
+ #
88
+ # Returns the filetype bits for entry.
89
+ #
90
+ def filetype
91
+ end
92
+
86
93
  ##
87
94
  #
88
95
  # Use one of the <code>Archive::ENTRY_*</code> to specify the filetype of
@@ -98,7 +105,6 @@ module Archive
98
105
  # platform-specific.
99
106
  #
100
107
  def devmajor
101
- return numeric_result
102
108
  end
103
109
 
104
110
  ##
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libarchive-ruby-swig
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Koch
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-16 00:00:00 +02:00
18
+ date: 2011-02-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21