druid-tools 0.4.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +41 -0
  4. data/.rubocop_todo.yml +372 -0
  5. data/.travis.yml +12 -2
  6. data/README.md +36 -16
  7. data/Rakefile +4 -1
  8. data/VERSION +1 -1
  9. data/druid-tools.gemspec +4 -1
  10. data/lib/druid_tools/druid.rb +19 -6
  11. data/spec/druid_spec.rb +470 -0
  12. data/spec/spec_helper.rb +9 -0
  13. metadata +49 -36
  14. data/doc/classes/DruidTools.html +0 -132
  15. data/doc/classes/DruidTools/DifferentContentExistsError.html +0 -111
  16. data/doc/classes/DruidTools/Druid.html +0 -352
  17. data/doc/classes/DruidTools/Druid.src/M000001.html +0 -18
  18. data/doc/classes/DruidTools/Druid.src/M000002.html +0 -18
  19. data/doc/classes/DruidTools/Druid.src/M000003.html +0 -18
  20. data/doc/classes/DruidTools/Druid.src/M000004.html +0 -24
  21. data/doc/classes/DruidTools/Druid.src/M000005.html +0 -18
  22. data/doc/classes/DruidTools/Druid.src/M000006.html +0 -18
  23. data/doc/classes/DruidTools/Druid.src/M000007.html +0 -20
  24. data/doc/classes/DruidTools/Druid.src/M000008.html +0 -25
  25. data/doc/classes/DruidTools/Druid.src/M000009.html +0 -20
  26. data/doc/classes/DruidTools/Druid.src/M000010.html +0 -27
  27. data/doc/classes/DruidTools/Druid.src/M000011.html +0 -24
  28. data/doc/classes/DruidTools/Druid.src/M000012.html +0 -29
  29. data/doc/classes/DruidTools/InvalidDruidError.html +0 -111
  30. data/doc/classes/DruidTools/SameContentExistsError.html +0 -111
  31. data/doc/created.rid +0 -1
  32. data/doc/files/lib/druid-tools_rb.html +0 -108
  33. data/doc/files/lib/druid_tools/druid_rb.html +0 -108
  34. data/doc/files/lib/druid_tools/exceptions_rb.html +0 -101
  35. data/doc/files/lib/druid_tools/version_rb.html +0 -101
  36. data/doc/files/lib/druid_tools_rb.html +0 -110
  37. data/doc/files/spec/druid_tools_spec_rb.html +0 -115
  38. data/doc/files/spec/spec_helper_rb.html +0 -114
  39. data/doc/fr_class_index.html +0 -28
  40. data/doc/fr_file_index.html +0 -30
  41. data/doc/fr_method_index.html +0 -38
  42. data/doc/index.html +0 -24
  43. data/doc/rdoc-style.css +0 -208
  44. data/spec/druid_tools_spec.rb +0 -426
@@ -1,4 +1,13 @@
1
1
  #$LOAD_PATH.unshift(File.expand_path('../../lib',__FILE__))
2
2
 
3
+ require 'coveralls'
4
+ Coveralls.wear_merged! # because we run travis on multiple rubies
5
+
6
+ require 'simplecov'
7
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
8
+ SimpleCov.start do
9
+ add_filter 'spec'
10
+ end
11
+
3
12
  require 'bundler/setup'
4
13
  Bundler.require(:default, :development)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: druid-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-20 00:00:00.000000000 Z
12
+ date: 2017-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -39,6 +39,48 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '3.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: coveralls
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.50.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.50.0
70
+ - !ruby/object:Gem::Dependency
71
+ name: rubocop-rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 1.18.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 1.18.0
42
84
  description: Tools to manipulate DRUID trees and content directories
43
85
  email:
44
86
  - mbklein@stanford.edu
@@ -48,42 +90,14 @@ extra_rdoc_files: []
48
90
  files:
49
91
  - ".gitignore"
50
92
  - ".rspec"
93
+ - ".rubocop.yml"
94
+ - ".rubocop_todo.yml"
51
95
  - ".travis.yml"
52
96
  - Gemfile
53
97
  - LICENSE
54
98
  - README.md
55
99
  - Rakefile
56
100
  - VERSION
57
- - doc/classes/DruidTools.html
58
- - doc/classes/DruidTools/DifferentContentExistsError.html
59
- - doc/classes/DruidTools/Druid.html
60
- - doc/classes/DruidTools/Druid.src/M000001.html
61
- - doc/classes/DruidTools/Druid.src/M000002.html
62
- - doc/classes/DruidTools/Druid.src/M000003.html
63
- - doc/classes/DruidTools/Druid.src/M000004.html
64
- - doc/classes/DruidTools/Druid.src/M000005.html
65
- - doc/classes/DruidTools/Druid.src/M000006.html
66
- - doc/classes/DruidTools/Druid.src/M000007.html
67
- - doc/classes/DruidTools/Druid.src/M000008.html
68
- - doc/classes/DruidTools/Druid.src/M000009.html
69
- - doc/classes/DruidTools/Druid.src/M000010.html
70
- - doc/classes/DruidTools/Druid.src/M000011.html
71
- - doc/classes/DruidTools/Druid.src/M000012.html
72
- - doc/classes/DruidTools/InvalidDruidError.html
73
- - doc/classes/DruidTools/SameContentExistsError.html
74
- - doc/created.rid
75
- - doc/files/lib/druid-tools_rb.html
76
- - doc/files/lib/druid_tools/druid_rb.html
77
- - doc/files/lib/druid_tools/exceptions_rb.html
78
- - doc/files/lib/druid_tools/version_rb.html
79
- - doc/files/lib/druid_tools_rb.html
80
- - doc/files/spec/druid_tools_spec_rb.html
81
- - doc/files/spec/spec_helper_rb.html
82
- - doc/fr_class_index.html
83
- - doc/fr_file_index.html
84
- - doc/fr_method_index.html
85
- - doc/index.html
86
- - doc/rdoc-style.css
87
101
  - druid-tools.gemspec
88
102
  - lib/druid-tools.rb
89
103
  - lib/druid_tools.rb
@@ -92,7 +106,7 @@ files:
92
106
  - lib/druid_tools/exceptions.rb
93
107
  - lib/druid_tools/version.rb
94
108
  - spec/access_druid_spec.rb
95
- - spec/druid_tools_spec.rb
109
+ - spec/druid_spec.rb
96
110
  - spec/spec_helper.rb
97
111
  homepage: http://github.com/sul-dlss/druid-tools
98
112
  licenses:
@@ -115,12 +129,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
129
  version: '0'
116
130
  requirements: []
117
131
  rubyforge_project:
118
- rubygems_version: 2.4.5
132
+ rubygems_version: 2.6.13
119
133
  signing_key:
120
134
  specification_version: 4
121
135
  summary: Tools to manipulate DRUID trees and content directories
122
136
  test_files:
123
137
  - spec/access_druid_spec.rb
124
- - spec/druid_tools_spec.rb
138
+ - spec/druid_spec.rb
125
139
  - spec/spec_helper.rb
126
- has_rdoc: true
@@ -1,132 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: DruidTools</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">DruidTools</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/druid_tools/druid_rb.html">
59
- lib/druid_tools/druid.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/druid_tools/version_rb.html">
63
- lib/druid_tools/version.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/druid_tools_rb.html">
67
- lib/druid_tools.rb
68
- </a>
69
- <br />
70
- </td>
71
- </tr>
72
-
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
-
88
- </div>
89
-
90
-
91
- <!-- if includes -->
92
-
93
- <div id="section">
94
-
95
- <div id="class-list">
96
- <h3 class="section-bar">Classes and Modules</h3>
97
-
98
- Class <a href="DruidTools/Druid.html" class="link">DruidTools::Druid</a><br />
99
-
100
- </div>
101
-
102
- <div id="constants-list">
103
- <h3 class="section-bar">Constants</h3>
104
-
105
- <div class="name-list">
106
- <table summary="Constants">
107
- <tr class="top-aligned-row context-row">
108
- <td class="context-item-name">VERSION</td>
109
- <td>=</td>
110
- <td class="context-item-value">File.read(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'VERSION'))).to_s.strip</td>
111
- </tr>
112
- </table>
113
- </div>
114
- </div>
115
-
116
-
117
-
118
-
119
-
120
-
121
- <!-- if method_list -->
122
-
123
-
124
- </div>
125
-
126
-
127
- <div id="validator-badges">
128
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
129
- </div>
130
-
131
- </body>
132
- </html>
@@ -1,111 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: DruidTools::DifferentContentExistsError</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">DruidTools::DifferentContentExistsError</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/druid_tools/exceptions_rb.html">
59
- lib/druid_tools/exceptions.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Exception
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
-
91
- <div id="section">
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </body>
111
- </html>
@@ -1,352 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: DruidTools::Druid</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">DruidTools::Druid</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/druid_tools/druid_rb.html">
59
- lib/druid_tools/druid.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000009">find</a>&nbsp;&nbsp;
90
- <a href="#M000010">find_filelist_parent</a>&nbsp;&nbsp;
91
- <a href="#M000002">glob</a>&nbsp;&nbsp;
92
- <a href="#M000005">id</a>&nbsp;&nbsp;
93
- <a href="#M000008">mkdir</a>&nbsp;&nbsp;
94
- <a href="#M000011">mkdir_with_final_link</a>&nbsp;&nbsp;
95
- <a href="#M000004">new</a>&nbsp;&nbsp;
96
- <a href="#M000007">path</a>&nbsp;&nbsp;
97
- <a href="#M000001">pattern</a>&nbsp;&nbsp;
98
- <a href="#M000012">rmdir</a>&nbsp;&nbsp;
99
- <a href="#M000006">tree</a>&nbsp;&nbsp;
100
- <a href="#M000003">valid?</a>&nbsp;&nbsp;
101
- </div>
102
- </div>
103
-
104
- </div>
105
-
106
-
107
- <!-- if includes -->
108
-
109
- <div id="section">
110
-
111
-
112
-
113
-
114
-
115
- <div id="attribute-list">
116
- <h3 class="section-bar">Attributes</h3>
117
-
118
- <div class="name-list">
119
- <table>
120
- <tr class="top-aligned-row context-row">
121
- <td class="context-item-name">base</td>
122
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
123
- <td class="context-item-desc"></td>
124
- </tr>
125
- <tr class="top-aligned-row context-row">
126
- <td class="context-item-name">druid</td>
127
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
128
- <td class="context-item-desc"></td>
129
- </tr>
130
- <tr class="top-aligned-row context-row">
131
- <td class="context-item-name">prefix</td>
132
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
133
- <td class="context-item-desc"></td>
134
- </tr>
135
- </table>
136
- </div>
137
- </div>
138
-
139
-
140
-
141
- <!-- if method_list -->
142
- <div id="methods">
143
- <h3 class="section-bar">Public Class methods</h3>
144
-
145
- <div id="method-M000002" class="method-detail">
146
- <a name="M000002"></a>
147
-
148
- <div class="method-heading">
149
- <a href="Druid.src/M000002.html" target="Code" class="method-signature"
150
- onclick="popupCode('Druid.src/M000002.html');return false;">
151
- <span class="method-name">glob</span><span class="method-args">()</span>
152
- </a>
153
- </div>
154
-
155
- <div class="method-description">
156
- <p>
157
- @return [String] suitable for use in [Dir#glob]
158
- </p>
159
- </div>
160
- </div>
161
-
162
- <div id="method-M000004" class="method-detail">
163
- <a name="M000004"></a>
164
-
165
- <div class="method-heading">
166
- <a href="Druid.src/M000004.html" target="Code" class="method-signature"
167
- onclick="popupCode('Druid.src/M000004.html');return false;">
168
- <span class="method-name">new</span><span class="method-args">(druid, base='.')</span>
169
- </a>
170
- </div>
171
-
172
- <div class="method-description">
173
- <p>
174
- @param druid [String] A valid druid @param base [String] The directory used
175
- by <a href="Druid.html#M000007">path</a>
176
- </p>
177
- </div>
178
- </div>
179
-
180
- <div id="method-M000001" class="method-detail">
181
- <a name="M000001"></a>
182
-
183
- <div class="method-heading">
184
- <a href="Druid.src/M000001.html" target="Code" class="method-signature"
185
- onclick="popupCode('Druid.src/M000001.html');return false;">
186
- <span class="method-name">pattern</span><span class="method-args">()</span>
187
- </a>
188
- </div>
189
-
190
- <div class="method-description">
191
- <p>
192
- @return [Regexp] matches druid:aa111aa1111 or aa111aa1111
193
- </p>
194
- </div>
195
- </div>
196
-
197
- <div id="method-M000003" class="method-detail">
198
- <a name="M000003"></a>
199
-
200
- <div class="method-heading">
201
- <a href="Druid.src/M000003.html" target="Code" class="method-signature"
202
- onclick="popupCode('Druid.src/M000003.html');return false;">
203
- <span class="method-name">valid?</span><span class="method-args">(druid)</span>
204
- </a>
205
- </div>
206
-
207
- <div class="method-description">
208
- <p>
209
- @param [String] druid <a href="Druid.html#M000005">id</a> @return [Boolean]
210
- true if druid matches <a href="Druid.html#M000001">pattern</a>; otherwise
211
- false
212
- </p>
213
- </div>
214
- </div>
215
-
216
- <h3 class="section-bar">Public Instance methods</h3>
217
-
218
- <div id="method-M000009" class="method-detail">
219
- <a name="M000009"></a>
220
-
221
- <div class="method-heading">
222
- <a href="Druid.src/M000009.html" target="Code" class="method-signature"
223
- onclick="popupCode('Druid.src/M000009.html');return false;">
224
- <span class="method-name">find</span><span class="method-args">(type, path)</span>
225
- </a>
226
- </div>
227
-
228
- <div class="method-description">
229
- </div>
230
- </div>
231
-
232
- <div id="method-M000010" class="method-detail">
233
- <a name="M000010"></a>
234
-
235
- <div class="method-heading">
236
- <a href="Druid.src/M000010.html" target="Code" class="method-signature"
237
- onclick="popupCode('Druid.src/M000010.html');return false;">
238
- <span class="method-name">find_filelist_parent</span><span class="method-args">(type, filelist)</span>
239
- </a>
240
- </div>
241
-
242
- <div class="method-description">
243
- <p>
244
- @param [String] type The type of directory being sought
245
- (&#8216;content&#8217;, &#8216;metadata&#8217;, or &#8216;temp&#8217;)
246
- @param [Array&lt;String&gt;,String] filelist The files that are expected to
247
- be present in the directory @return [Pathname] Search for and return the
248
- pathname of the directory that contains the list of files.
249
- </p>
250
- <pre>
251
- Raises an exception unless a directory is found that contains all the files in the list.
252
- </pre>
253
- </div>
254
- </div>
255
-
256
- <div id="method-M000005" class="method-detail">
257
- <a name="M000005"></a>
258
-
259
- <div class="method-heading">
260
- <a href="Druid.src/M000005.html" target="Code" class="method-signature"
261
- onclick="popupCode('Druid.src/M000005.html');return false;">
262
- <span class="method-name">id</span><span class="method-args">()</span>
263
- </a>
264
- </div>
265
-
266
- <div class="method-description">
267
- </div>
268
- </div>
269
-
270
- <div id="method-M000008" class="method-detail">
271
- <a name="M000008"></a>
272
-
273
- <div class="method-heading">
274
- <a href="Druid.src/M000008.html" target="Code" class="method-signature"
275
- onclick="popupCode('Druid.src/M000008.html');return false;">
276
- <span class="method-name">mkdir</span><span class="method-args">(extra=nil)</span>
277
- </a>
278
- </div>
279
-
280
- <div class="method-description">
281
- </div>
282
- </div>
283
-
284
- <div id="method-M000011" class="method-detail">
285
- <a name="M000011"></a>
286
-
287
- <div class="method-heading">
288
- <a href="Druid.src/M000011.html" target="Code" class="method-signature"
289
- onclick="popupCode('Druid.src/M000011.html');return false;">
290
- <span class="method-name">mkdir_with_final_link</span><span class="method-args">(source, extra=nil)</span>
291
- </a>
292
- </div>
293
-
294
- <div class="method-description">
295
- </div>
296
- </div>
297
-
298
- <div id="method-M000007" class="method-detail">
299
- <a name="M000007"></a>
300
-
301
- <div class="method-heading">
302
- <a href="Druid.src/M000007.html" target="Code" class="method-signature"
303
- onclick="popupCode('Druid.src/M000007.html');return false;">
304
- <span class="method-name">path</span><span class="method-args">(extra=nil, create=false)</span>
305
- </a>
306
- </div>
307
-
308
- <div class="method-description">
309
- </div>
310
- </div>
311
-
312
- <div id="method-M000012" class="method-detail">
313
- <a name="M000012"></a>
314
-
315
- <div class="method-heading">
316
- <a href="Druid.src/M000012.html" target="Code" class="method-signature"
317
- onclick="popupCode('Druid.src/M000012.html');return false;">
318
- <span class="method-name">rmdir</span><span class="method-args">(extra=nil)</span>
319
- </a>
320
- </div>
321
-
322
- <div class="method-description">
323
- </div>
324
- </div>
325
-
326
- <div id="method-M000006" class="method-detail">
327
- <a name="M000006"></a>
328
-
329
- <div class="method-heading">
330
- <a href="Druid.src/M000006.html" target="Code" class="method-signature"
331
- onclick="popupCode('Druid.src/M000006.html');return false;">
332
- <span class="method-name">tree</span><span class="method-args">()</span>
333
- </a>
334
- </div>
335
-
336
- <div class="method-description">
337
- </div>
338
- </div>
339
-
340
-
341
- </div>
342
-
343
-
344
- </div>
345
-
346
-
347
- <div id="validator-badges">
348
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
349
- </div>
350
-
351
- </body>
352
- </html>