mischacks 0.0.6 → 0.1.0
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/COPYING +1 -1
- data/History.txt +2 -0
- data/README.txt +3 -4
- data/Rakefile +3 -1
- data/VERSION +1 -1
- data/lib/mischacks.rb +1 -1
- data/spec/mischacks_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +1 -1
data/COPYING
CHANGED
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -26,11 +26,10 @@ generated filename resides in the same directory as the original one.
|
|
26
26
|
try_n_times:: Retries a block of code until it succeeds or a maximum number of
|
27
27
|
attempts (default 10) is exceeded.
|
28
28
|
|
29
|
-
Exception#to_formatted_string::
|
29
|
+
Exception#to_formatted_string:: Return a string that looks like how Ruby would
|
30
30
|
dump an uncaught exception.
|
31
31
|
|
32
|
-
IO#best_datasync::
|
33
|
-
flush.
|
32
|
+
IO#best_datasync:: Try fdatasync, falling back to fsync, falling back to flush.
|
34
33
|
|
35
34
|
== FEATURES/PROBLEMS:
|
36
35
|
|
@@ -104,7 +103,7 @@ ever use an untrusted variable as a command.
|
|
104
103
|
|
105
104
|
== LICENSE:
|
106
105
|
|
107
|
-
Copyright ©
|
106
|
+
Copyright © 2010 Johan Kiviniemi
|
108
107
|
|
109
108
|
Permission to use, copy, modify, and/or distribute this software for any
|
110
109
|
purpose with or without fee is hereby granted, provided that the above
|
data/Rakefile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# mischacks – Miscellaneous methods that may or may not be useful
|
2
|
-
# Copyright ©
|
2
|
+
# Copyright © 2010 Johan Kiviniemi
|
3
3
|
#
|
4
4
|
# Permission to use, copy, modify, and/or distribute this software for any
|
5
5
|
# purpose with or without fee is hereby granted, provided that the above
|
@@ -40,4 +40,6 @@ rescue LoadError
|
|
40
40
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
41
41
|
end
|
42
42
|
|
43
|
+
CLOBBER << %w{mischacks.gemspec pkg}
|
44
|
+
|
43
45
|
# vim:set et sw=2 sts=2:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/lib/mischacks.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# mischacks – Miscellaneous methods that may or may not be useful
|
2
|
-
# Copyright ©
|
2
|
+
# Copyright © 2010 Johan Kiviniemi
|
3
3
|
#
|
4
4
|
# Permission to use, copy, modify, and/or distribute this software for any
|
5
5
|
# purpose with or without fee is hereby granted, provided that the above
|
data/spec/mischacks_spec.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# mischacks – Miscellaneous methods that may or may not be useful
|
2
|
-
# Copyright ©
|
2
|
+
# Copyright © 2010 Johan Kiviniemi
|
3
3
|
#
|
4
4
|
# Permission to use, copy, modify, and/or distribute this software for any
|
5
5
|
# purpose with or without fee is hereby granted, provided that the above
|
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# mischacks – Miscellaneous methods that may or may not be useful
|
2
|
-
# Copyright ©
|
2
|
+
# Copyright © 2010 Johan Kiviniemi
|
3
3
|
#
|
4
4
|
# Permission to use, copy, modify, and/or distribute this software for any
|
5
5
|
# purpose with or without fee is hereby granted, provided that the above
|