facets 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +14 -6
- data/MANIFEST +35 -18
- data/NOTES +5 -15
- data/README +1 -11
- data/doc/{History.txt → history.rdoc} +0 -0
- data/doc/html/api/core/created.rid +1 -1
- data/doc/html/api/core/files/CHANGES.html +20 -4
- data/doc/html/api/core/files/NOTES.html +44 -15
- data/doc/html/api/more/created.rid +1 -1
- data/doc/html/api/more/files/CHANGES.html +20 -4
- data/doc/html/api/more/files/NOTES.html +46 -15
- data/doc/html/changes.html +19 -3
- data/doc/html/notes.html +43 -14
- data/doc/notes.rdoc +9 -0
- data/lib/facets/basex.rb +37 -0
- data/lib/facets/basicobject.rb +2 -2
- data/lib/facets/date.rb +16 -4
- data/lib/facets/exception.rb +1 -0
- data/lib/facets/exception/suppress.rb +21 -0
- data/lib/facets/hash/argumentize.rb +2 -1
- data/lib/facets/kernel.rb +9 -2
- data/lib/facets/kernel/__class__.rb +9 -0
- data/lib/facets/kernel/__get__.rb +10 -0
- data/lib/facets/kernel/__set__.rb +1 -0
- data/lib/facets/kernel/instance_assign.rb +41 -0
- data/lib/facets/kernel/instance_class.rb +24 -0
- data/lib/facets/kernel/instance_send.rb +7 -0
- data/lib/facets/kernel/instance_variables.rb +99 -0
- data/lib/facets/kernel/object_class.rb +10 -0
- data/lib/facets/kernel/object_hexid.rb +12 -0
- data/lib/facets/kernel/{object.rb → object_send.rb} +0 -21
- data/lib/facets/kernel/silence.rb +25 -19
- data/lib/facets/kernel/suppress.rb +18 -0
- data/lib/facets/module.rb +3 -0
- data/lib/facets/module/basename.rb +31 -0
- data/lib/facets/module/modspace.rb +22 -0
- data/lib/facets/module/nesting.rb +0 -66
- data/lib/facets/module/spacename.rb +25 -0
- data/lib/facets/net/smtp_tls.rb +5 -8
- data/lib/facets/openhash.rb +1 -0
- data/lib/facets/openobject.rb +2 -1
- data/lib/facets/paramix.rb +187 -0
- data/lib/facets/platform.rb +192 -0
- data/lib/facets/recorder.rb +1 -1
- data/lib/facets/string.rb +12 -0
- data/lib/facets/string/to_time.rb +1 -23
- data/lib/facets/style.rb +145 -64
- data/lib/facets/time.rb +5 -0
- data/lib/facets/time/to_time.rb +14 -0
- data/log/{Changelog-0.txt → changelog-0.rdoc} +0 -0
- data/log/{Changelog-1.txt → changelog-1.rdoc} +0 -0
- data/log/{Changelog.txt → changelog.rdoc} +18 -0
- data/log/{Fixme.txt → fixme.rdoc} +3 -3
- data/log/testlog.txt +645 -0
- data/log/{Todo.txt → todo.rdoc} +80 -89
- data/meta/project.yaml +14 -10
- data/meta/version +1 -1
- data/script/conflicts +28 -3
- data/script/methods +32 -43
- data/test/kernel/{test_instance.rb → test_instance_assign.rb} +2 -10
- data/test/kernel/test_instance_class.rb +12 -0
- data/test/kernel/{test_object.rb → test_object_class.rb} +2 -9
- data/test/kernel/test_object_hexid.rb +12 -0
- data/test/module/test_basename.rb +11 -0
- data/test/module/test_modspace.rb +13 -0
- data/test/module/test_nesting.rb +0 -17
- data/test/module/test_spacename.rb +14 -0
- data/test/test_date.rb +12 -0
- data/test/test_style.rb +1 -1
- data/test/{string → time}/test_to_time.rb +1 -9
- metadata +46 -26
- data/lib/facets/behavior.rb +0 -104
- data/lib/facets/kernel/instance.rb +0 -73
- data/lib/facets/string/stylize.rb +0 -73
- data/lib/facets/string/underscore.rb +0 -28
- data/log/Testlog.txt +0 -205
- data/meta/corelibs +0 -49
- data/test/string/test_stylize.rb +0 -52
- data/test/string/test_underscore.rb +0 -13
data/CHANGES
CHANGED
@@ -1,18 +1,26 @@
|
|
1
1
|
= Change History
|
2
2
|
|
3
|
+
== 2.4.1 / 2008-04-03
|
4
|
+
|
5
|
+
* Compared to ActiveSupport, found 63 extensions classhes, but most are due to 1.9 and all look compatible.
|
6
|
+
* Reatomized a number of Kernel and String methods. Reatomization is nearly complete.
|
7
|
+
* Deprecated behavior.rb. It was not robust.
|
8
|
+
* Added basex.rb, library for working in any encoding base using any character set (base62 is the default).
|
9
|
+
|
3
10
|
== 2.4.0 / 2008-03-24
|
4
11
|
|
5
|
-
*
|
12
|
+
* String#to_re and String#to_rx have swapped default behaviors. #to_rx escapes, #to_re does not.
|
13
|
+
* The Console namespace is being deprecated. command.rb and arguments.rb now use CLI naemspace.
|
6
14
|
* #compare_on and #equate_on are now "mixin methods" Comparable() and Equateable().
|
7
15
|
* Enumerable#product, #combintations and #permutations have change to be Ruby 1.9 compatible.
|
8
|
-
* thread.rb, map_send, et al, block is passed to send instead of
|
16
|
+
* thread.rb, map_send, et al, block is passed to send instead of yielding on result.
|
9
17
|
* namespace.rb has been renamed to methodspace.rb.
|
10
18
|
* Ruby 1.9 defined a new Proc#curry method, so Facets version has been made compatible.
|
11
19
|
* The old curry method is now called #partial, as in "partial application".
|
12
|
-
* Deprecated interface.rb
|
13
|
-
* Deprecated paramix.rb
|
14
|
-
* Brought back a few web related libs htmlfilter.rb and cssfilter.rb in particular.
|
15
|
-
* This was a fairly large and fast-paced update, so not all changes are listed
|
20
|
+
* Deprecated interface.rb. Perhaps a better approach but nonetheless extraneous.
|
21
|
+
* Deprecated paramix.rb. A better way is to use a capitialized methods. (Perhaps a lib for that?)
|
22
|
+
* Brought back a few web related libs, htmlfilter.rb and cssfilter.rb in particular.
|
23
|
+
* This was a fairly large and fast-paced update, so unfortunately not all changes are listed this time.
|
16
24
|
|
17
25
|
== 2.3.0 / 2008-02-01
|
18
26
|
|
data/MANIFEST
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
doc
|
2
|
+
doc/notes.rdoc
|
3
|
+
doc/history.rdoc
|
2
4
|
doc/html
|
3
5
|
doc/html/manifest.html
|
4
6
|
doc/html/img
|
@@ -647,7 +649,6 @@ doc/html/readme.html
|
|
647
649
|
doc/html/style-rdoc.css
|
648
650
|
doc/html/changes.html
|
649
651
|
doc/html/api.css
|
650
|
-
doc/History.txt
|
651
652
|
MANIFEST
|
652
653
|
test
|
653
654
|
test/integer
|
@@ -758,10 +759,12 @@ test/kernel/test_attr_singleton.rb
|
|
758
759
|
test/kernel/test_constant.rb
|
759
760
|
test/kernel/test_populate.rb
|
760
761
|
test/kernel/test_callstack.rb
|
762
|
+
test/kernel/test_instance_class.rb
|
761
763
|
test/kernel/test_silence.rb
|
762
|
-
test/kernel/
|
764
|
+
test/kernel/test_object_hexid.rb
|
763
765
|
test/kernel/test_in.rb
|
764
|
-
test/kernel/
|
766
|
+
test/kernel/test_instance_assign.rb
|
767
|
+
test/kernel/test_object_class.rb
|
765
768
|
test/kernel/test_returning.rb
|
766
769
|
test/kernel/test_here.rb
|
767
770
|
test/kernel/test_deepcopy.rb
|
@@ -799,16 +802,13 @@ test/string/test_natcmp.rb
|
|
799
802
|
test/string/test_words.rb
|
800
803
|
test/string/test_camelcase.rb
|
801
804
|
test/string/test_nchar.rb
|
802
|
-
test/string/test_underscore.rb
|
803
805
|
test/string/test_cleave.rb
|
804
806
|
test/string/test_capitalized.rb
|
805
807
|
test/string/test_titlecase.rb
|
806
808
|
test/string/test_fold.rb
|
807
809
|
test/string/test_line_wrap.rb
|
808
|
-
test/string/test_to_time.rb
|
809
810
|
test/string/test_to_re.rb
|
810
811
|
test/string/test_range.rb
|
811
|
-
test/string/test_stylize.rb
|
812
812
|
test/string/test_align.rb
|
813
813
|
test/string/test_xor.rb
|
814
814
|
test/string/test_divide.rb
|
@@ -820,8 +820,11 @@ test/string/test_mscan.rb
|
|
820
820
|
test/string/test_bracket.rb
|
821
821
|
test/test_overload.rb
|
822
822
|
test/module
|
823
|
+
test/module/test_spacename.rb
|
824
|
+
test/module/test_basename.rb
|
823
825
|
test/module/test_nesting.rb
|
824
826
|
test/module/test_ancestor.rb
|
827
|
+
test/module/test_modspace.rb
|
825
828
|
test/module/test_alias.rb
|
826
829
|
test/module/test_op.rb
|
827
830
|
test/module/test_revise.rb
|
@@ -832,6 +835,7 @@ test/test_elementor.rb
|
|
832
835
|
test/test_to_hash.rb
|
833
836
|
test/test_enumerablepass.rb
|
834
837
|
test/time
|
838
|
+
test/time/test_to_time.rb
|
835
839
|
test/time/test_stamp.rb
|
836
840
|
test/time/test_change.rb
|
837
841
|
test/time/test_elapse.rb
|
@@ -885,7 +889,6 @@ meta
|
|
885
889
|
meta/created
|
886
890
|
meta/homepage
|
887
891
|
meta/project.yaml
|
888
|
-
meta/corelibs
|
889
892
|
meta/version
|
890
893
|
meta/unixname
|
891
894
|
meta/mailinglist
|
@@ -924,6 +927,7 @@ lib/facets/integer/factorial.rb
|
|
924
927
|
lib/facets/integer/of.rb
|
925
928
|
lib/facets/file.rb
|
926
929
|
lib/facets/synchash.rb
|
930
|
+
lib/facets/platform.rb
|
927
931
|
lib/facets/annotations.rb
|
928
932
|
lib/facets/pathname.rb
|
929
933
|
lib/facets/pathlist.rb
|
@@ -993,6 +997,7 @@ lib/facets/version.rb
|
|
993
997
|
lib/facets/indexable.rb
|
994
998
|
lib/facets/multipliers.rb
|
995
999
|
lib/facets/module.rb
|
1000
|
+
lib/facets/basex.rb
|
996
1001
|
lib/facets/typecast.rb
|
997
1002
|
lib/facets/binding
|
998
1003
|
lib/facets/binding/caller.rb
|
@@ -1083,19 +1088,28 @@ lib/facets/hash/at.rb
|
|
1083
1088
|
lib/facets/kernel
|
1084
1089
|
lib/facets/kernel/here.rb
|
1085
1090
|
lib/facets/kernel/as.rb
|
1091
|
+
lib/facets/kernel/__class__.rb
|
1086
1092
|
lib/facets/kernel/ask.rb
|
1087
|
-
lib/facets/kernel/
|
1093
|
+
lib/facets/kernel/suppress.rb
|
1088
1094
|
lib/facets/kernel/demo.rb
|
1089
1095
|
lib/facets/kernel/maybe.rb
|
1090
|
-
lib/facets/kernel/
|
1096
|
+
lib/facets/kernel/instance_send.rb
|
1097
|
+
lib/facets/kernel/object_hexid.rb
|
1098
|
+
lib/facets/kernel/object_class.rb
|
1099
|
+
lib/facets/kernel/object_send.rb
|
1091
1100
|
lib/facets/kernel/ergo.rb
|
1092
1101
|
lib/facets/kernel/complete.rb
|
1102
|
+
lib/facets/kernel/__get__.rb
|
1093
1103
|
lib/facets/kernel/not_nil.rb
|
1094
1104
|
lib/facets/kernel/deep_copy.rb
|
1095
1105
|
lib/facets/kernel/silence.rb
|
1096
1106
|
lib/facets/kernel/resc.rb
|
1107
|
+
lib/facets/kernel/instance_variables.rb
|
1108
|
+
lib/facets/kernel/instance_assign.rb
|
1097
1109
|
lib/facets/kernel/with.rb
|
1098
1110
|
lib/facets/kernel/d.rb
|
1111
|
+
lib/facets/kernel/__set__.rb
|
1112
|
+
lib/facets/kernel/instance_class.rb
|
1099
1113
|
lib/facets/kernel/instance_exec.rb
|
1100
1114
|
lib/facets/kernel/load.rb
|
1101
1115
|
lib/facets/kernel/attr_singleton.rb
|
@@ -1165,7 +1179,6 @@ lib/facets/string/mscan.rb
|
|
1165
1179
|
lib/facets/string/capitalized.rb
|
1166
1180
|
lib/facets/string/natcmp.rb
|
1167
1181
|
lib/facets/string/subtract.rb
|
1168
|
-
lib/facets/string/stylize.rb
|
1169
1182
|
lib/facets/string/titlecase.rb
|
1170
1183
|
lib/facets/string/words.rb
|
1171
1184
|
lib/facets/string/interpolate.rb
|
@@ -1178,7 +1191,6 @@ lib/facets/string/splice.rb
|
|
1178
1191
|
lib/facets/string/rewrite.rb
|
1179
1192
|
lib/facets/string/nchar.rb
|
1180
1193
|
lib/facets/string/xor.rb
|
1181
|
-
lib/facets/string/underscore.rb
|
1182
1194
|
lib/facets/instantise.rb
|
1183
1195
|
lib/facets/uri.rb
|
1184
1196
|
lib/facets/ostruct.rb
|
@@ -1197,9 +1209,12 @@ lib/facets/module/module_load.rb
|
|
1197
1209
|
lib/facets/module/is.rb
|
1198
1210
|
lib/facets/module/nesting.rb
|
1199
1211
|
lib/facets/module/class.rb
|
1212
|
+
lib/facets/module/modspace.rb
|
1200
1213
|
lib/facets/module/abstract.rb
|
1201
1214
|
lib/facets/module/clone.rb
|
1202
1215
|
lib/facets/module/revise.rb
|
1216
|
+
lib/facets/module/spacename.rb
|
1217
|
+
lib/facets/module/basename.rb
|
1203
1218
|
lib/facets/style.rb
|
1204
1219
|
lib/facets/nilstatus.rb
|
1205
1220
|
lib/facets/ziputils.rb
|
@@ -1214,6 +1229,7 @@ lib/facets/time/elapse.rb
|
|
1214
1229
|
lib/facets/time/ago.rb
|
1215
1230
|
lib/facets/time/hence.rb
|
1216
1231
|
lib/facets/time/set.rb
|
1232
|
+
lib/facets/time/to_time.rb
|
1217
1233
|
lib/facets/time/change.rb
|
1218
1234
|
lib/facets/time/stamp.rb
|
1219
1235
|
lib/facets/elementor.rb
|
@@ -1233,7 +1249,6 @@ lib/facets/nackclass.rb
|
|
1233
1249
|
lib/facets/unboundmethod.rb
|
1234
1250
|
lib/facets/filetest
|
1235
1251
|
lib/facets/filetest/root.rb
|
1236
|
-
lib/facets/behavior.rb
|
1237
1252
|
lib/facets/binreadable.rb
|
1238
1253
|
lib/facets/class
|
1239
1254
|
lib/facets/class/prepend.rb
|
@@ -1266,6 +1281,7 @@ lib/facets/snapshot.rb
|
|
1266
1281
|
lib/facets/meta.rb
|
1267
1282
|
lib/facets/minitar.rb
|
1268
1283
|
lib/facets/kernel.rb
|
1284
|
+
lib/facets/paramix.rb
|
1269
1285
|
lib/facets/regexp
|
1270
1286
|
lib/facets/regexp/to_re.rb
|
1271
1287
|
lib/facets/regexp/arity.rb
|
@@ -1275,6 +1291,7 @@ lib/facets/matchdata/matchset.rb
|
|
1275
1291
|
lib/facets/class_extension.rb
|
1276
1292
|
lib/facets/crypt.rb
|
1277
1293
|
lib/facets/exception
|
1294
|
+
lib/facets/exception/suppress.rb
|
1278
1295
|
lib/facets/exception/detail.rb
|
1279
1296
|
lib/facets/string.rb
|
1280
1297
|
lib/facets/binding.rb
|
@@ -1287,12 +1304,12 @@ lib/facets/blank.rb
|
|
1287
1304
|
lib/facets/tracepoint.rb
|
1288
1305
|
lib/facets.rb
|
1289
1306
|
log
|
1290
|
-
log/
|
1291
|
-
log/
|
1292
|
-
log/
|
1293
|
-
log/
|
1294
|
-
log/
|
1295
|
-
log/
|
1307
|
+
log/changelog-0.rdoc
|
1308
|
+
log/todo.rdoc
|
1309
|
+
log/changelog.rdoc
|
1310
|
+
log/changelog-1.rdoc
|
1311
|
+
log/fixme.rdoc
|
1312
|
+
log/testlog.txt
|
1296
1313
|
script
|
1297
1314
|
script/methods
|
1298
1315
|
script/document
|
data/NOTES
CHANGED
@@ -36,33 +36,23 @@ wanted to get this new design out as soon as possible so others
|
|
36
36
|
could adjust their code sooner rather than later. I'll be catching
|
37
37
|
up on the CHANGES list over the next few minor release.
|
38
38
|
|
39
|
-
|
39
|
+
= Previous Notes
|
40
40
|
|
41
|
-
Amoung other changes with this release, cloneable.rb is
|
41
|
+
(2.3.0) Amoung other changes with this release, cloneable.rb is
|
42
42
|
now a true deep dup/clone mixin; tracepoint.rb returns
|
43
43
|
to the library.
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
This release get rid of the underlying methods subdir.
|
45
|
+
(2.2.1) This release get rid of the underlying methods subdir.
|
48
46
|
All method redirects are now in core, to ensure
|
49
47
|
there are no more name clashes.
|
50
48
|
|
51
|
-
|
52
|
-
|
53
|
-
This release provides improved rdocs and prepares facets for
|
49
|
+
(2.2.0) This release provides improved rdocs and prepares facets for
|
54
50
|
use with RUby 1.9. It also adds Matthew Harris' duration.rb
|
55
51
|
library. Bug thanks to Matthew!
|
56
52
|
|
57
|
-
|
58
|
-
|
59
|
-
Major changes include a new and much-improved command.rb,
|
53
|
+
(2.1.0) Major changes include a new and much-improved command.rb,
|
60
54
|
a new BiCrypt class for simple two-way crypotgraphy,
|
61
55
|
as well as attr_reader!, attr_writer! and attr_accessor!
|
62
56
|
for flag attributes, plus alias_xxx methods for all
|
63
57
|
attr_xxx methods.
|
64
58
|
|
65
|
-
Enjoy!
|
66
|
-
|
67
|
-
http://facets.rubyforge.org
|
68
|
-
|
data/README
CHANGED
@@ -53,17 +53,7 @@ IMPORTANT! Note that setup.rb is no longer used b/c of Facets' new layout.
|
|
53
53
|
|
54
54
|
== Compatibility with 1.x series.
|
55
55
|
|
56
|
-
Prior to 2.0, Facets was divided between CORE and MORE --standalone extensions vs. classes and modules, respectively. With 2.0, the notion of "CORE" has taken
|
57
|
-
|
58
|
-
Additionally, the extension methods are no longer stored on a per-method basis. While dividing the extension methods up on a per-method basis had certain advantages, not the least of which was a simple organization, it proved too granular --more "subatomic" than "atomic". With 2.0 we have address this issue. All the extension methods have now been organized into small tightly related groups. However, being able to require on the basis of a method is still a useful approach, so a compatibility layer for the 1.x series has been created. It makes it possible to load Facets libraries on a per method basis, just as before, via require redirection. For example:
|
59
|
-
|
60
|
-
require 'facets/string/underscore'
|
61
|
-
|
62
|
-
Will redirect according to the content of the underscore.rb file which is:
|
63
|
-
|
64
|
-
require 'facets/string/stylize'
|
65
|
-
|
66
|
-
So the underscore method will be loaded just as before. But a few other *stylization* methods will also be loaded. This actually proves a more useful approach because quite often a related method is needed as well.
|
56
|
+
Prior to 2.0, Facets was divided between CORE and MORE --standalone extensions vs. classes and modules, respectively. With 2.0, the notion of "CORE" has taken on a slightly different meaning. Instead CORE now consists of the libraries that are thought essential and as such are loaded automatically when using ++require "facets"++. While still primarily made up of extension methods modules and classes may now belong to core as well.
|
67
57
|
|
68
58
|
The other significant change from 1.x to 2.0 is the removal of some libraries that were considered too extraneous for a general purpose library. Most of these were spun-off to their own projects. In particular, the web-related libs are now part of Blow (http://blow.rubyforge.org), inflection libraries are in English (http://english.rubyforge.org), units.rb along with constants.rb are in Stick (http://stick.rubyforge.org), and the persistance system in Opod (http://opod.rubyforge.org).
|
69
59
|
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
Mon, 24 Mar 2008
|
1
|
+
Mon, 24 Mar 2008 21:10:18 -0400
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Mon Mar 24 19:12:43 -0400 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -76,10 +76,22 @@
|
|
76
76
|
<div id="content">
|
77
77
|
|
78
78
|
<div class="description"><h1>Change History</h1>
|
79
|
-
<h2>2.4.0 / 2008-
|
79
|
+
<h2>2.4.0 / 2008-03-24</h2>
|
80
80
|
<ul>
|
81
|
-
<li>
|
82
|
-
|
81
|
+
<li>The Console name space is being deprecated. command.rb and arguments.rb now
|
82
|
+
use CLI naemspace.
|
83
|
+
|
84
|
+
</li>
|
85
|
+
<li>compare_on and equate_on are now "mixin methods" <a
|
86
|
+
href="../classes/Comparable.html">Comparable</a>() and Equateable().
|
87
|
+
|
88
|
+
</li>
|
89
|
+
<li>Enumerable#product, combintations and permutations have change to be Ruby
|
90
|
+
1.9 compatible.
|
91
|
+
|
92
|
+
</li>
|
93
|
+
<li>thread.rb, map_send, et al, block is passed to send instead of yiedling on
|
94
|
+
result.
|
83
95
|
|
84
96
|
</li>
|
85
97
|
<li>namespace.rb has been renamed to methodspace.rb.
|
@@ -103,6 +115,10 @@ application".
|
|
103
115
|
<li>Brought back a few web related libs htmlfilter.rb and cssfilter.rb in
|
104
116
|
particular.
|
105
117
|
|
118
|
+
</li>
|
119
|
+
<li>This was a fairly large and fast-paced update, so not all changes are
|
120
|
+
listed. See RDocs to more information.
|
121
|
+
|
106
122
|
</li>
|
107
123
|
</ul>
|
108
124
|
<h2>2.3.0 / 2008-02-01</h2>
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Mon Mar 24 19:07:26 -0400 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -77,34 +77,63 @@
|
|
77
77
|
|
78
78
|
<div class="description"><h1>Release Notes</h1>
|
79
79
|
<p>
|
80
|
-
Facets 2.
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
80
|
+
Facets 2.4 is a major step forward for Facets. It is perhaps the release
|
81
|
+
that 2.0 should have been, but of course it took the actual 2.0 release to
|
82
|
+
make 2.4 possible. Some annoyances you may have encountered in updating
|
83
|
+
your code to 2.0 are now fixed. And from 2.4 on, Facets will now be
|
84
|
+
settling down into simple refinement release cycles.
|
85
85
|
</p>
|
86
86
|
<p>
|
87
|
-
|
88
|
-
|
87
|
+
The main change under the hood is to bring everything up to the top
|
88
|
+
lib/facets/ directory. No longer are the libraries sorted by category. I
|
89
|
+
had done so for a long time to make it easier to track the various libs,
|
90
|
+
but in the end it was only making it more diffcult to deal with build tools
|
91
|
+
and packaging.
|
89
92
|
</p>
|
90
93
|
<p>
|
91
|
-
|
94
|
+
For the end-user, the largest change is a new emphisis on:
|
92
95
|
</p>
|
96
|
+
<pre>
|
97
|
+
require 'facets'
|
98
|
+
</pre>
|
93
99
|
<p>
|
94
|
-
This
|
95
|
-
|
100
|
+
This is better than cherry-picking methods. It may seem counter- intuitive,
|
101
|
+
but it actually proves more advantantages to do this for the sake of
|
102
|
+
interoperability than the practice of cherry-picking. The reason is simply
|
103
|
+
because others may have cherry-picked different methods, and those
|
104
|
+
distinctions go unaccounted and untested.
|
105
|
+
</p>
|
106
|
+
<p>
|
107
|
+
Also with this release, to bolster the use of require ‘facets’,
|
108
|
+
some lack-luster extensions have been deprecated and namespace usage has
|
109
|
+
been improved. In addition, we are getting very close to full
|
110
|
+
ActiveSupport, and Ruby 1.9, interoperability. Expect this to be complete
|
111
|
+
in the next minor release or two.
|
112
|
+
</p>
|
113
|
+
<p>
|
114
|
+
This is still a bit of an early release. There remain a few libraries to
|
115
|
+
adjust for the new design considerations, but I wanted to get this new
|
116
|
+
design out as soon as possible so others could adjust their code sooner
|
117
|
+
rather than later. I‘ll be catching up on the CHANGES list over the
|
118
|
+
next few minor release.
|
96
119
|
</p>
|
120
|
+
<h2>As of 2.3</h2>
|
97
121
|
<p>
|
98
|
-
|
122
|
+
Amoung other changes with this release, cloneable.rb is now a true deep
|
123
|
+
dup/clone mixin; tracepoint.rb returns to the library.
|
99
124
|
</p>
|
125
|
+
<h2>As of 2.2.1:</h2>
|
126
|
+
<p>
|
127
|
+
This release get rid of the underlying methods subdir. All method redirects
|
128
|
+
are now in core, to ensure there are no more name clashes.
|
129
|
+
</p>
|
130
|
+
<h2>As of 2.2.0:</h2>
|
100
131
|
<p>
|
101
132
|
This release provides improved rdocs and prepares facets for use with RUby
|
102
133
|
1.9. It also adds Matthew Harris’ duration.rb library. Bug thanks to
|
103
134
|
Matthew!
|
104
135
|
</p>
|
105
|
-
<
|
106
|
-
As of 2.1.0:
|
107
|
-
</p>
|
136
|
+
<h2>As of 2.1.0:</h2>
|
108
137
|
<p>
|
109
138
|
Major changes include a new and much-improved command.rb, a new BiCrypt
|
110
139
|
class for simple two-way crypotgraphy, as well as attr_reader!,
|
@@ -1 +1 @@
|
|
1
|
-
Mon, 24 Mar 2008
|
1
|
+
Mon, 24 Mar 2008 21:10:30 -0400
|
@@ -63,7 +63,7 @@
|
|
63
63
|
</tr>
|
64
64
|
<tr>
|
65
65
|
<td>Modified:</td>
|
66
|
-
<td>
|
66
|
+
<td>Mon Mar 24 19:12:43 -0400 2008</td>
|
67
67
|
</tr>
|
68
68
|
</table>
|
69
69
|
</td></tr>
|
@@ -76,10 +76,22 @@
|
|
76
76
|
<div id="content">
|
77
77
|
|
78
78
|
<div class="description"><h1>Change History</h1>
|
79
|
-
<h2>2.4.0 / 2008-
|
79
|
+
<h2>2.4.0 / 2008-03-24</h2>
|
80
80
|
<ul>
|
81
|
-
<li>
|
82
|
-
|
81
|
+
<li>The Console name space is being deprecated. command.rb and arguments.rb now
|
82
|
+
use <a href="../classes/CLI.html">CLI</a> naemspace.
|
83
|
+
|
84
|
+
</li>
|
85
|
+
<li>compare_on and equate_on are now "mixin methods" Comparable() and
|
86
|
+
Equateable().
|
87
|
+
|
88
|
+
</li>
|
89
|
+
<li>Enumerable#product, combintations and permutations have change to be Ruby
|
90
|
+
1.9 compatible.
|
91
|
+
|
92
|
+
</li>
|
93
|
+
<li>thread.rb, map_send, et al, block is passed to send instead of yiedling on
|
94
|
+
result.
|
83
95
|
|
84
96
|
</li>
|
85
97
|
<li>namespace.rb has been renamed to methodspace.rb.
|
@@ -102,6 +114,10 @@ application".
|
|
102
114
|
<li>Brought back a few web related libs htmlfilter.rb and cssfilter.rb in
|
103
115
|
particular.
|
104
116
|
|
117
|
+
</li>
|
118
|
+
<li>This was a fairly large and fast-paced update, so not all changes are
|
119
|
+
listed. See RDocs to more information.
|
120
|
+
|
105
121
|
</li>
|
106
122
|
</ul>
|
107
123
|
<h2>2.3.0 / 2008-02-01</h2>
|