facets 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/CHANGES +28 -45
- data/MANIFEST +35 -4
- data/README +3 -14
- data/RELEASE +36 -70
- data/VERSION +1 -1
- data/doc/archive/RELEASE-2.5.0 +83 -0
- data/doc/log/basic_stats/index.html +4 -4
- data/doc/log/changelog.html +509 -2
- data/doc/log/changelog.txt +130 -1522
- data/doc/rdoc/core/classes/Array.html +366 -141
- data/doc/rdoc/core/classes/Binding.html +45 -45
- data/doc/rdoc/core/classes/Class.html +38 -38
- data/doc/rdoc/core/classes/Comparable.html +26 -26
- data/doc/rdoc/core/classes/Enumerable.html +174 -170
- data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
- data/doc/rdoc/core/classes/Enumerator.html +132 -0
- data/doc/rdoc/core/classes/Exception.html +8 -8
- data/doc/rdoc/core/classes/File.html +58 -58
- data/doc/rdoc/core/classes/FileTest.html +4 -4
- data/doc/rdoc/core/classes/Float.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +447 -263
- data/doc/rdoc/core/classes/Indexable.html +110 -110
- data/doc/rdoc/core/classes/Integer.html +2 -2
- data/doc/rdoc/core/classes/Kernel.html +329 -329
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +15 -15
- data/doc/rdoc/core/classes/Module.html +176 -157
- data/doc/rdoc/core/classes/NilClass.html +23 -23
- data/doc/rdoc/core/classes/Numeric.html +27 -27
- data/doc/rdoc/core/classes/Object.html +8 -8
- data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
- data/doc/rdoc/core/classes/Proc.html +22 -22
- data/doc/rdoc/core/classes/Regexp.html +1 -1
- data/doc/rdoc/core/classes/Stackable.html +31 -31
- data/doc/rdoc/core/classes/String.html +332 -291
- data/doc/rdoc/core/classes/Symbol.html +1 -1
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/README.html +7 -29
- data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
- data/doc/rdoc/core/fr_class_index.html +2 -0
- data/doc/rdoc/core/fr_file_index.html +6 -0
- data/doc/rdoc/core/fr_method_index.html +386 -373
- data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/lore/files/README.html +7 -29
- data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +67 -53
- data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
- data/doc/rdoc/more/classes/BBCode.html +36 -36
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +8 -8
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +52 -45
- data/doc/rdoc/more/classes/Enumerable.html +50 -50
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/Hook.html +162 -0
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantize.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Matcher.html +38 -38
- data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Memoizer.html +21 -21
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenStructable.html +36 -36
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +16 -16
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +5 -5
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Stash.html +28 -28
- data/doc/rdoc/more/classes/String/Mask.html +72 -72
- data/doc/rdoc/more/classes/String/Words.html +31 -31
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/X.html +117 -0
- data/doc/rdoc/more/classes/XOXO.html +11 -11
- data/doc/rdoc/more/classes/ZipUtils.html +88 -88
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/README.html +7 -29
- data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
- data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
- data/doc/rdoc/more/fr_class_index.html +2 -0
- data/doc/rdoc/more/fr_file_index.html +1 -0
- data/doc/rdoc/more/fr_method_index.html +686 -681
- data/lib/core/facets/array/product.rb +6 -23
- data/lib/core/facets/enumerable/collect.rb +3 -53
- data/lib/core/facets/enumerable/compact_map.rb +35 -0
- data/lib/core/facets/enumerable/map_with_index.rb +23 -0
- data/lib/core/facets/enumerable/split.rb +3 -3
- data/lib/core/facets/hash/collate.rb +45 -14
- data/lib/core/facets/hash/group_by_value.rb +65 -0
- data/lib/core/facets/hash/new_with.rb +15 -0
- data/lib/core/facets/module/extend.rb +11 -0
- data/lib/core/facets/string/align.rb +19 -18
- data/lib/core/facets/string/file.rb +17 -0
- data/lib/core/facets/string/xor.rb +9 -3
- data/lib/core/facets/to_hash.rb +274 -17
- data/lib/core/facets/unboundmethod/name.rb +4 -2
- data/lib/lore/facets/ostruct.rb +3 -0
- data/lib/more/facets/association.rb +28 -12
- data/lib/more/facets/dictionary.rb +10 -4
- data/lib/more/facets/hook.rb +65 -0
- data/lib/more/facets/paramix.rb +5 -5
- data/meta/abstract +13 -0
- data/meta/authors +1 -0
- data/meta/contact +1 -0
- data/meta/contributors +48 -0
- data/meta/created +1 -0
- data/meta/homepage +1 -0
- data/meta/license +1 -0
- data/meta/loadpath +3 -0
- data/meta/releases +14 -0
- data/meta/slogan +1 -0
- data/meta/summary +1 -0
- data/task/test.rake +116 -18
- data/test/core/array/test_product.rb +0 -6
- data/test/core/binding/test_local_variables.rb +9 -3
- data/test/core/enumerable/test_split.rb +19 -0
- data/test/core/module/test_conflict.rb +8 -3
- data/test/core/test_to_hash.rb +152 -0
- data/test/core/unboundmethod/test_arguments.rb +1 -1
- data/test/core/unboundmethod/test_name.rb +2 -2
- metadata +39 -8
- data/doc/log/bstats/stats.html +0 -39
- data/doc/log/stats.html +0 -25
- data/test/more/test_to_hash.rb +0 -58
@@ -82,21 +82,21 @@ href="../ZipUtils.html">ZipUtils</a> methods.
|
|
82
82
|
|
83
83
|
|
84
84
|
<div class="sectiontitle">Methods</div>
|
85
|
-
<span style="padding-right: 5px;"><a href="#
|
86
|
-
<span style="padding-right: 5px;"><a href="#
|
87
|
-
<span style="padding-right: 5px;"><a href="#
|
88
|
-
<span style="padding-right: 5px;"><a href="#
|
89
|
-
<span style="padding-right: 5px;"><a href="#
|
90
|
-
<span style="padding-right: 5px;"><a href="#
|
91
|
-
<span style="padding-right: 5px;"><a href="#
|
92
|
-
<span style="padding-right: 5px;"><a href="#
|
93
|
-
<span style="padding-right: 5px;"><a href="#
|
94
|
-
<span style="padding-right: 5px;"><a href="#
|
95
|
-
<span style="padding-right: 5px;"><a href="#
|
96
|
-
<span style="padding-right: 5px;"><a href="#
|
97
|
-
<span style="padding-right: 5px;"><a href="#
|
98
|
-
<span style="padding-right: 5px;"><a href="#
|
99
|
-
<span style="padding-right: 5px;"><a href="#
|
85
|
+
<span style="padding-right: 5px;"><a href="#M001059">bzip</a></span>
|
86
|
+
<span style="padding-right: 5px;"><a href="#M001058">bzip2</a></span>
|
87
|
+
<span style="padding-right: 5px;"><a href="#M001055">compress</a></span>
|
88
|
+
<span style="padding-right: 5px;"><a href="#M001056">gzip</a></span>
|
89
|
+
<span style="padding-right: 5px;"><a href="#M001062">tar</a></span>
|
90
|
+
<span style="padding-right: 5px;"><a href="#M001066">tar_bzip2</a></span>
|
91
|
+
<span style="padding-right: 5px;"><a href="#M001064">tar_gzip</a></span>
|
92
|
+
<span style="padding-right: 5px;"><a href="#M001061">unbzip</a></span>
|
93
|
+
<span style="padding-right: 5px;"><a href="#M001060">unbzip2</a></span>
|
94
|
+
<span style="padding-right: 5px;"><a href="#M001057">ungzip</a></span>
|
95
|
+
<span style="padding-right: 5px;"><a href="#M001063">untar</a></span>
|
96
|
+
<span style="padding-right: 5px;"><a href="#M001067">untar_bzip2</a></span>
|
97
|
+
<span style="padding-right: 5px;"><a href="#M001065">untar_gzip</a></span>
|
98
|
+
<span style="padding-right: 5px;"><a href="#M001069">unzip</a></span>
|
99
|
+
<span style="padding-right: 5px;"><a href="#M001068">zip</a></span>
|
100
100
|
|
101
101
|
|
102
102
|
|
@@ -106,25 +106,25 @@ href="../ZipUtils.html">ZipUtils</a> methods.
|
|
106
106
|
<div class="sectiontitle">Public Instance methods</div>
|
107
107
|
<div class="method">
|
108
108
|
<div class="title">
|
109
|
-
<a name="
|
109
|
+
<a name="M001059"></a><b>bzip</b>(file, options={})
|
110
110
|
</div>
|
111
111
|
<div class="description">
|
112
112
|
<p>
|
113
|
-
Alias for <a href="Verbose.html#
|
113
|
+
Alias for <a href="Verbose.html#M001058">bzip2</a>
|
114
114
|
</p>
|
115
115
|
</div>
|
116
116
|
</div>
|
117
117
|
<div class="method">
|
118
118
|
<div class="title">
|
119
|
-
<a name="
|
119
|
+
<a name="M001058"></a><b>bzip2</b>(file, options={})
|
120
120
|
</div>
|
121
121
|
<div class="aka">
|
122
122
|
This method is also aliased as
|
123
|
-
<a href="Verbose.html#
|
123
|
+
<a href="Verbose.html#M001059">bzip</a>
|
124
124
|
</div>
|
125
125
|
<div class="sourcecode">
|
126
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
127
|
-
<div id="
|
126
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001058_source')" id="l_M001058_source">+</a> ]</p>
|
127
|
+
<div id="M001058_source" class="dyn-source">
|
128
128
|
<pre>
|
129
129
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 219</span>
|
130
130
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -137,11 +137,11 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
137
137
|
</div>
|
138
138
|
<div class="method">
|
139
139
|
<div class="title">
|
140
|
-
<a name="
|
140
|
+
<a name="M001055"></a><b>compress</b>(format_extension, folder, file=nil, options={})
|
141
141
|
</div>
|
142
142
|
<div class="sourcecode">
|
143
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
144
|
-
<div id="
|
143
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001055_source')" id="l_M001055_source">+</a> ]</p>
|
144
|
+
<div id="M001055_source" class="dyn-source">
|
145
145
|
<pre>
|
146
146
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 204</span>
|
147
147
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compress</span>(<span class="ruby-identifier">format_extension</span>, <span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -154,11 +154,11 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
154
154
|
</div>
|
155
155
|
<div class="method">
|
156
156
|
<div class="title">
|
157
|
-
<a name="
|
157
|
+
<a name="M001056"></a><b>gzip</b>(file, options={})
|
158
158
|
</div>
|
159
159
|
<div class="sourcecode">
|
160
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
161
|
-
<div id="
|
160
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001056_source')" id="l_M001056_source">+</a> ]</p>
|
161
|
+
<div id="M001056_source" class="dyn-source">
|
162
162
|
<pre>
|
163
163
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 209</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -171,11 +171,11 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
171
171
|
</div>
|
172
172
|
<div class="method">
|
173
173
|
<div class="title">
|
174
|
-
<a name="
|
174
|
+
<a name="M001062"></a><b>tar</b>(folder, file=nil, options={})
|
175
175
|
</div>
|
176
176
|
<div class="sourcecode">
|
177
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
178
|
-
<div id="
|
177
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001062_source')" id="l_M001062_source">+</a> ]</p>
|
178
|
+
<div id="M001062_source" class="dyn-source">
|
179
179
|
<pre>
|
180
180
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 233</span>
|
181
181
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -188,11 +188,11 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
188
188
|
</div>
|
189
189
|
<div class="method">
|
190
190
|
<div class="title">
|
191
|
-
<a name="
|
191
|
+
<a name="M001066"></a><b>tar_bzip2</b>(folder, file=nil, options={})
|
192
192
|
</div>
|
193
193
|
<div class="sourcecode">
|
194
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
195
|
-
<div id="
|
194
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001066_source')" id="l_M001066_source">+</a> ]</p>
|
195
|
+
<div id="M001066_source" class="dyn-source">
|
196
196
|
<pre>
|
197
197
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 253</span>
|
198
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_bzip2</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -205,11 +205,11 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
205
205
|
</div>
|
206
206
|
<div class="method">
|
207
207
|
<div class="title">
|
208
|
-
<a name="
|
208
|
+
<a name="M001064"></a><b>tar_gzip</b>(folder, file=nil, options={})
|
209
209
|
</div>
|
210
210
|
<div class="sourcecode">
|
211
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
212
|
-
<div id="
|
211
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001064_source')" id="l_M001064_source">+</a> ]</p>
|
212
|
+
<div id="M001064_source" class="dyn-source">
|
213
213
|
<pre>
|
214
214
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 243</span>
|
215
215
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tar_gzip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
@@ -222,25 +222,25 @@ Alias for <a href="Verbose.html#M001053">bzip2</a>
|
|
222
222
|
</div>
|
223
223
|
<div class="method">
|
224
224
|
<div class="title">
|
225
|
-
<a name="
|
225
|
+
<a name="M001061"></a><b>unbzip</b>(file, options={})
|
226
226
|
</div>
|
227
227
|
<div class="description">
|
228
228
|
<p>
|
229
|
-
Alias for <a href="Verbose.html#
|
229
|
+
Alias for <a href="Verbose.html#M001060">unbzip2</a>
|
230
230
|
</p>
|
231
231
|
</div>
|
232
232
|
</div>
|
233
233
|
<div class="method">
|
234
234
|
<div class="title">
|
235
|
-
<a name="
|
235
|
+
<a name="M001060"></a><b>unbzip2</b>(file, options={})
|
236
236
|
</div>
|
237
237
|
<div class="aka">
|
238
238
|
This method is also aliased as
|
239
|
-
<a href="Verbose.html#
|
239
|
+
<a href="Verbose.html#M001061">unbzip</a>
|
240
240
|
</div>
|
241
241
|
<div class="sourcecode">
|
242
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
243
|
-
<div id="
|
242
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001060_source')" id="l_M001060_source">+</a> ]</p>
|
243
|
+
<div id="M001060_source" class="dyn-source">
|
244
244
|
<pre>
|
245
245
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 226</span>
|
246
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -253,11 +253,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
253
253
|
</div>
|
254
254
|
<div class="method">
|
255
255
|
<div class="title">
|
256
|
-
<a name="
|
256
|
+
<a name="M001057"></a><b>ungzip</b>(file, options={})
|
257
257
|
</div>
|
258
258
|
<div class="sourcecode">
|
259
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
260
|
-
<div id="
|
259
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001057_source')" id="l_M001057_source">+</a> ]</p>
|
260
|
+
<div id="M001057_source" class="dyn-source">
|
261
261
|
<pre>
|
262
262
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 214</span>
|
263
263
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ungzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -270,11 +270,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
270
270
|
</div>
|
271
271
|
<div class="method">
|
272
272
|
<div class="title">
|
273
|
-
<a name="
|
273
|
+
<a name="M001063"></a><b>untar</b>(file, options={})
|
274
274
|
</div>
|
275
275
|
<div class="sourcecode">
|
276
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
277
|
-
<div id="
|
276
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001063_source')" id="l_M001063_source">+</a> ]</p>
|
277
|
+
<div id="M001063_source" class="dyn-source">
|
278
278
|
<pre>
|
279
279
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 238</span>
|
280
280
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -287,11 +287,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
287
287
|
</div>
|
288
288
|
<div class="method">
|
289
289
|
<div class="title">
|
290
|
-
<a name="
|
290
|
+
<a name="M001067"></a><b>untar_bzip2</b>(file, options={})
|
291
291
|
</div>
|
292
292
|
<div class="sourcecode">
|
293
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
294
|
-
<div id="
|
293
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001067_source')" id="l_M001067_source">+</a> ]</p>
|
294
|
+
<div id="M001067_source" class="dyn-source">
|
295
295
|
<pre>
|
296
296
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 258</span>
|
297
297
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_bzip2</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -304,11 +304,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
304
304
|
</div>
|
305
305
|
<div class="method">
|
306
306
|
<div class="title">
|
307
|
-
<a name="
|
307
|
+
<a name="M001065"></a><b>untar_gzip</b>(file, options={})
|
308
308
|
</div>
|
309
309
|
<div class="sourcecode">
|
310
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
311
|
-
<div id="
|
310
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001065_source')" id="l_M001065_source">+</a> ]</p>
|
311
|
+
<div id="M001065_source" class="dyn-source">
|
312
312
|
<pre>
|
313
313
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 248</span>
|
314
314
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untar_gzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -321,11 +321,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
321
321
|
</div>
|
322
322
|
<div class="method">
|
323
323
|
<div class="title">
|
324
|
-
<a name="
|
324
|
+
<a name="M001069"></a><b>unzip</b>(file, options={})
|
325
325
|
</div>
|
326
326
|
<div class="sourcecode">
|
327
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
328
|
-
<div id="
|
327
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001069_source')" id="l_M001069_source">+</a> ]</p>
|
328
|
+
<div id="M001069_source" class="dyn-source">
|
329
329
|
<pre>
|
330
330
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 268</span>
|
331
331
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unzip</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">options</span>={})
|
@@ -338,11 +338,11 @@ Alias for <a href="Verbose.html#M001055">unbzip2</a>
|
|
338
338
|
</div>
|
339
339
|
<div class="method">
|
340
340
|
<div class="title">
|
341
|
-
<a name="
|
341
|
+
<a name="M001068"></a><b>zip</b>(folder, file=nil, options={})
|
342
342
|
</div>
|
343
343
|
<div class="sourcecode">
|
344
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
345
|
-
<div id="
|
344
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M001068_source')" id="l_M001068_source">+</a> ]</p>
|
345
|
+
<div id="M001068_source" class="dyn-source">
|
346
346
|
<pre>
|
347
347
|
<span class="ruby-comment cmt"># File lib/more/facets/ziputils.rb, line 263</span>
|
348
348
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">zip</span>(<span class="ruby-identifier">folder</span>, <span class="ruby-identifier">file</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">options</span>={})
|
data/doc/rdoc/more/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Thu,
|
1
|
+
Thu, 05 Mar 2009 17:44:38 -0500
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Thu Nov 27 07:44:01 -0500 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -133,24 +133,15 @@ The easiest way to install is via RubyGems.
|
|
133
133
|
$ gem install facets
|
134
134
|
</pre>
|
135
135
|
<p>
|
136
|
-
To install manually,
|
137
|
-
|
136
|
+
To install manually, your will need Ruby Setup (<a
|
137
|
+
href="http::/setup.rubyforge.org">:/setup.rubyforge.org</a>). Then download
|
138
|
+
and unpack the .tar.gz package and run:
|
138
139
|
</p>
|
139
140
|
<pre>
|
140
141
|
$ tar -xvzf facets-2.x.x.tar.gz
|
141
142
|
$ cd facets-2.x.x
|
142
|
-
$ sudo
|
143
|
+
$ sudo setup.rb
|
143
144
|
</pre>
|
144
|
-
<p>
|
145
|
-
On Window the last step will be:
|
146
|
-
</p>
|
147
|
-
<pre>
|
148
|
-
C:\> ruby task/setup
|
149
|
-
</pre>
|
150
|
-
<p>
|
151
|
-
IMPORTANT! Note that setup.rb is no longer used b/c of Facets’ new
|
152
|
-
layout.
|
153
|
-
</p>
|
154
145
|
<h2>Compatibility with 1.x series.</h2>
|
155
146
|
<p>
|
156
147
|
Prior to 2.0, Facets was divided between CORE and MORE —standalone
|
@@ -161,19 +152,6 @@ loaded automatically when using ++require "facets"++. While still
|
|
161
152
|
primarily made up of extension methods modules and classes may now belong
|
162
153
|
to core as well.
|
163
154
|
</p>
|
164
|
-
<p>
|
165
|
-
The other significant change from 1.x to 2.0 is the removal of some
|
166
|
-
libraries that were considered too extraneous for a general purpose
|
167
|
-
library. Most of these were spun-off to their own projects. In particular,
|
168
|
-
the web-related libs are now part of Blow (<a
|
169
|
-
href="http://blow.rubyforge.org">blow.rubyforge.org</a>), inflection
|
170
|
-
libraries are in English (<a
|
171
|
-
href="http://english.rubyforge.org">english.rubyforge.org</a>), units.rb
|
172
|
-
along with constants.rb are in Stick (<a
|
173
|
-
href="http://stick.rubyforge.org">stick.rubyforge.org</a>), and the
|
174
|
-
persistance system in Opod (<a
|
175
|
-
href="http://opod.rubyforge.org">opod.rubyforge.org</a>).
|
176
|
-
</p>
|
177
155
|
<h2>Mission</h2>
|
178
156
|
<p>
|
179
157
|
Facets holds to the notion that the more we can reasonably integrate into a
|
@@ -282,10 +260,10 @@ the Ruby license (namely the GPL) or the original author has given
|
|
282
260
|
permission for inclusion of their code under such license.
|
283
261
|
</p>
|
284
262
|
<p>
|
285
|
-
|
263
|
+
Ruby Facets, Copyright (c)2005,2006,2007,2008 Thomas Sawyer / Tiger Ops
|
286
264
|
</p>
|
287
265
|
<p>
|
288
|
-
|
266
|
+
ALL YOUR BASE ARE BELONG TO RUBY!
|
289
267
|
</p>
|
290
268
|
<p>
|
291
269
|
Do you Ruby? (<a href="http://ruby-lang.org">ruby-lang.org</a>)
|
@@ -0,0 +1,96 @@
|
|
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
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>File: hook.rb</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "+"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "-"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
|
54
|
+
<tr><td>
|
55
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
|
56
|
+
<td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />hook.rb</td>
|
57
|
+
<td align="right">
|
58
|
+
<table border='0' cellspacing="0" cellpadding="2">
|
59
|
+
<tr>
|
60
|
+
<td>Path:</td>
|
61
|
+
<td>lib/more/facets/hook.rb
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td>Modified:</td>
|
66
|
+
<td>Wed Dec 03 17:38:44 -0500 2008</td>
|
67
|
+
</tr>
|
68
|
+
</table>
|
69
|
+
</td></tr>
|
70
|
+
</table>
|
71
|
+
</td></tr>
|
72
|
+
</table><br />
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
<div class="description"><p>
|
79
|
+
TODO: hooks should be an inheritor
|
80
|
+
</p>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
</body>
|
96
|
+
</html>
|