ruby-nuggets 0.7.1 → 0.7.2

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.
Files changed (77) hide show
  1. data/COPYING +67 -80
  2. data/README +14 -14
  3. data/lib/nuggets/all.rb +8 -8
  4. data/lib/nuggets/all_mixins.rb +8 -8
  5. data/lib/nuggets/array/combination.rb +8 -8
  6. data/lib/nuggets/array/correlation_mixin.rb +7 -7
  7. data/lib/nuggets/array/flatten_once.rb +8 -8
  8. data/lib/nuggets/array/format.rb +8 -8
  9. data/lib/nuggets/array/histogram_mixin.rb +7 -7
  10. data/lib/nuggets/array/in_order.rb +8 -8
  11. data/lib/nuggets/array/limit_mixin.rb +8 -8
  12. data/lib/nuggets/array/mean_mixin.rb +8 -8
  13. data/lib/nuggets/array/median_mixin.rb +7 -7
  14. data/lib/nuggets/array/mode_mixin.rb +7 -7
  15. data/lib/nuggets/array/monotone.rb +8 -8
  16. data/lib/nuggets/array/only.rb +8 -8
  17. data/lib/nuggets/array/rand.rb +8 -8
  18. data/lib/nuggets/array/regression_mixin.rb +7 -7
  19. data/lib/nuggets/array/runiq_mixin.rb +8 -8
  20. data/lib/nuggets/array/shuffle.rb +8 -8
  21. data/lib/nuggets/array/standard_deviation_mixin.rb +7 -7
  22. data/lib/nuggets/array/to_hash.rb +8 -8
  23. data/lib/nuggets/array/variance_mixin.rb +7 -7
  24. data/lib/nuggets/enumerable/agrep.rb +8 -8
  25. data/lib/nuggets/enumerable/all_any_extended.rb +8 -8
  26. data/lib/nuggets/enumerable/minmax.rb +8 -8
  27. data/lib/nuggets/env/set_mixin.rb +8 -8
  28. data/lib/nuggets/env/user_encoding_mixin.rb +8 -8
  29. data/lib/nuggets/env/user_home_mixin.rb +8 -8
  30. data/lib/nuggets/file/replace_mixin.rb +7 -7
  31. data/lib/nuggets/file/sub_mixin.rb +7 -7
  32. data/lib/nuggets/file/which_mixin.rb +7 -7
  33. data/lib/nuggets/hash/at.rb +8 -8
  34. data/lib/nuggets/hash/deep_merge_mixin.rb +7 -7
  35. data/lib/nuggets/hash/in_order.rb +8 -8
  36. data/lib/nuggets/hash/insert.rb +8 -8
  37. data/lib/nuggets/hash/nest_mixin.rb +8 -8
  38. data/lib/nuggets/hash/only.rb +8 -8
  39. data/lib/nuggets/hash/unroll_mixin.rb +8 -8
  40. data/lib/nuggets/integer/factorial.rb +8 -8
  41. data/lib/nuggets/integer/length_mixin.rb +8 -8
  42. data/lib/nuggets/integer/map_mixin.rb +8 -8
  43. data/lib/nuggets/integer/to_binary_s.rb +8 -8
  44. data/lib/nuggets/io/agrep.rb +8 -8
  45. data/lib/nuggets/io/modes.rb +8 -8
  46. data/lib/nuggets/io/null_mixin.rb +7 -7
  47. data/lib/nuggets/numeric/duration.rb +8 -8
  48. data/lib/nuggets/numeric/limit.rb +8 -8
  49. data/lib/nuggets/numeric/signum.rb +8 -8
  50. data/lib/nuggets/numeric/to_multiple.rb +8 -8
  51. data/lib/nuggets/object/blank_mixin.rb +8 -8
  52. data/lib/nuggets/object/boolean_mixin.rb +8 -8
  53. data/lib/nuggets/object/msend_mixin.rb +8 -8
  54. data/lib/nuggets/object/silence_mixin.rb +8 -8
  55. data/lib/nuggets/object/singleton_class_mixin.rb +8 -8
  56. data/lib/nuggets/proc/bind_mixin.rb +8 -8
  57. data/lib/nuggets/range/quantile_mixin.rb +8 -8
  58. data/lib/nuggets/string/capitalize_first.rb +8 -8
  59. data/lib/nuggets/string/case.rb +8 -8
  60. data/lib/nuggets/string/evaluate_mixin.rb +7 -7
  61. data/lib/nuggets/string/msub.rb +8 -8
  62. data/lib/nuggets/string/nsub.rb +8 -8
  63. data/lib/nuggets/string/sub_with_md.rb +8 -8
  64. data/lib/nuggets/string/wc_mixin.rb +8 -8
  65. data/lib/nuggets/string/word_wrap.rb +8 -8
  66. data/lib/nuggets/string/xor_mixin.rb +8 -8
  67. data/lib/nuggets/tempfile/open.rb +8 -8
  68. data/lib/nuggets/uri/content_type_mixin.rb +8 -8
  69. data/lib/nuggets/uri/exist_mixin.rb +8 -8
  70. data/lib/nuggets/util/ansicolor2css.rb +8 -8
  71. data/lib/nuggets/util/content_type.rb +8 -8
  72. data/lib/nuggets/util/dotted_decimal.rb +8 -8
  73. data/lib/nuggets/util/i18n.rb +8 -8
  74. data/lib/nuggets/util/ruby.rb +7 -7
  75. data/lib/nuggets/version.rb +1 -1
  76. data/lib/nuggets.rb +8 -8
  77. metadata +5 -5
@@ -4,23 +4,23 @@
4
4
  # A component of ruby-nuggets, some extensions to the Ruby programming #
5
5
  # language. #
6
6
  # #
7
- # Copyright (C) 2007-2008 Jens Wille #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
8
  # #
9
9
  # Authors: #
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -4,23 +4,23 @@
4
4
  # A component of ruby-nuggets, some extensions to the Ruby programming #
5
5
  # language. #
6
6
  # #
7
- # Copyright (C) 2007-2008 Jens Wille #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
8
  # #
9
9
  # Authors: #
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -4,23 +4,23 @@
4
4
  # A component of ruby-nuggets, some extensions to the Ruby programming #
5
5
  # language. #
6
6
  # #
7
- # Copyright (C) 2007-2010 Jens Wille #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
8
  # #
9
9
  # Authors: #
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -4,23 +4,23 @@
4
4
  # A component of ruby-nuggets, some extensions to the Ruby programming #
5
5
  # language. #
6
6
  # #
7
- # Copyright (C) 2007-2008 Jens Wille #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
8
  # #
9
9
  # Authors: #
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -4,23 +4,23 @@
4
4
  # A component of ruby-nuggets, some extensions to the Ruby programming #
5
5
  # language. #
6
6
  # #
7
- # Copyright (C) 2007-2009 Jens Wille #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
8
  # #
9
9
  # Authors: #
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -6,23 +6,23 @@
6
6
  # A component of ruby-nuggets, some extensions to the Ruby programming #
7
7
  # language. #
8
8
  # #
9
- # Copyright (C) 2007 Jens Wille #
9
+ # Copyright (C) 2007-2011 Jens Wille #
10
10
  # #
11
11
  # Authors: #
12
12
  # Jens Wille <jens.wille@uni-koeln.de> #
13
13
  # #
14
14
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
15
- # under the terms of the GNU General Public License as published by the Free #
16
- # Software Foundation; either version 3 of the License, or (at your option) #
17
- # any later version. #
15
+ # under the terms of the GNU Affero General Public License as published by #
16
+ # the Free Software Foundation; either version 3 of the License, or (at your #
17
+ # option) any later version. #
18
18
  # #
19
19
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
20
20
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
21
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
22
- # more details. #
21
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
22
+ # for more details. #
23
23
  # #
24
- # You should have received a copy of the GNU General Public License along #
25
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
+ # You should have received a copy of the GNU Affero General Public License #
25
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
26
26
  # #
27
27
  ###############################################################################
28
28
  #++
@@ -10,17 +10,17 @@
10
10
  # Jens Wille <jens.wille@uni-koeln.de> #
11
11
  # #
12
12
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
13
- # under the terms of the GNU General Public License as published by the Free #
14
- # Software Foundation; either version 3 of the License, or (at your option) #
15
- # any later version. #
13
+ # under the terms of the GNU Affero General Public License as published by #
14
+ # the Free Software Foundation; either version 3 of the License, or (at your #
15
+ # option) any later version. #
16
16
  # #
17
17
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
18
18
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
19
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
20
- # more details. #
19
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
20
+ # for more details. #
21
21
  # #
22
- # You should have received a copy of the GNU General Public License along #
23
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
22
+ # You should have received a copy of the GNU Affero General Public License #
23
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
24
24
  # #
25
25
  ###############################################################################
26
26
  #++
@@ -4,7 +4,7 @@ module Nuggets
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 7
7
- TINY = 1
7
+ TINY = 2
8
8
 
9
9
  class << self
10
10
 
data/lib/nuggets.rb CHANGED
@@ -3,23 +3,23 @@
3
3
  # #
4
4
  # ruby-nuggets - some extensions to the Ruby programming language. #
5
5
  # #
6
- # Copyright (C) 2007-2008 Jens Wille #
6
+ # Copyright (C) 2007-2011 Jens Wille #
7
7
  # #
8
8
  # Authors: #
9
9
  # Jens Wille <jens.wille@uni-koeln.de> #
10
10
  # #
11
11
  # ruby-nuggets is free software; you can redistribute it and/or modify it #
12
- # under the terms of the GNU General Public License as published by the Free #
13
- # Software Foundation; either version 3 of the License, or (at your option) #
14
- # any later version. #
12
+ # under the terms of the GNU Affero General Public License as published by #
13
+ # the Free Software Foundation; either version 3 of the License, or (at your #
14
+ # option) any later version. #
15
15
  # #
16
16
  # ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
17
17
  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
18
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
19
- # more details. #
18
+ # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
19
+ # for more details. #
20
20
  # #
21
- # You should have received a copy of the GNU General Public License along #
22
- # with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
21
+ # You should have received a copy of the GNU Affero General Public License #
22
+ # along with ruby-nuggets. If not, see <http://www.gnu.org/licenses/>. #
23
23
  # #
24
24
  ###############################################################################
25
25
  #++
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-nuggets
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 1
10
- version: 0.7.1
9
+ - 2
10
+ version: 0.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jens Wille
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-06 00:00:00 Z
18
+ date: 2011-04-29 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Some extensions to the Ruby programming language.
@@ -197,7 +197,7 @@ rdoc_options:
197
197
  - --charset
198
198
  - UTF-8
199
199
  - --title
200
- - ruby-nuggets Application documentation (v0.7.1)
200
+ - ruby-nuggets Application documentation (v0.7.2)
201
201
  - --all
202
202
  require_paths:
203
203
  - lib