ruby-nuggets 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +67 -80
- data/README +14 -14
- data/lib/nuggets/all.rb +8 -8
- data/lib/nuggets/all_mixins.rb +8 -8
- data/lib/nuggets/array/combination.rb +8 -8
- data/lib/nuggets/array/correlation_mixin.rb +7 -7
- data/lib/nuggets/array/flatten_once.rb +8 -8
- data/lib/nuggets/array/format.rb +8 -8
- data/lib/nuggets/array/histogram_mixin.rb +7 -7
- data/lib/nuggets/array/in_order.rb +8 -8
- data/lib/nuggets/array/limit_mixin.rb +8 -8
- data/lib/nuggets/array/mean_mixin.rb +8 -8
- data/lib/nuggets/array/median_mixin.rb +7 -7
- data/lib/nuggets/array/mode_mixin.rb +7 -7
- data/lib/nuggets/array/monotone.rb +8 -8
- data/lib/nuggets/array/only.rb +8 -8
- data/lib/nuggets/array/rand.rb +8 -8
- data/lib/nuggets/array/regression_mixin.rb +7 -7
- data/lib/nuggets/array/runiq_mixin.rb +8 -8
- data/lib/nuggets/array/shuffle.rb +8 -8
- data/lib/nuggets/array/standard_deviation_mixin.rb +7 -7
- data/lib/nuggets/array/to_hash.rb +8 -8
- data/lib/nuggets/array/variance_mixin.rb +7 -7
- data/lib/nuggets/enumerable/agrep.rb +8 -8
- data/lib/nuggets/enumerable/all_any_extended.rb +8 -8
- data/lib/nuggets/enumerable/minmax.rb +8 -8
- data/lib/nuggets/env/set_mixin.rb +8 -8
- data/lib/nuggets/env/user_encoding_mixin.rb +8 -8
- data/lib/nuggets/env/user_home_mixin.rb +8 -8
- data/lib/nuggets/file/replace_mixin.rb +7 -7
- data/lib/nuggets/file/sub_mixin.rb +7 -7
- data/lib/nuggets/file/which_mixin.rb +7 -7
- data/lib/nuggets/hash/at.rb +8 -8
- data/lib/nuggets/hash/deep_merge_mixin.rb +7 -7
- data/lib/nuggets/hash/in_order.rb +8 -8
- data/lib/nuggets/hash/insert.rb +8 -8
- data/lib/nuggets/hash/nest_mixin.rb +8 -8
- data/lib/nuggets/hash/only.rb +8 -8
- data/lib/nuggets/hash/unroll_mixin.rb +8 -8
- data/lib/nuggets/integer/factorial.rb +8 -8
- data/lib/nuggets/integer/length_mixin.rb +8 -8
- data/lib/nuggets/integer/map_mixin.rb +8 -8
- data/lib/nuggets/integer/to_binary_s.rb +8 -8
- data/lib/nuggets/io/agrep.rb +8 -8
- data/lib/nuggets/io/modes.rb +8 -8
- data/lib/nuggets/io/null_mixin.rb +7 -7
- data/lib/nuggets/numeric/duration.rb +8 -8
- data/lib/nuggets/numeric/limit.rb +8 -8
- data/lib/nuggets/numeric/signum.rb +8 -8
- data/lib/nuggets/numeric/to_multiple.rb +8 -8
- data/lib/nuggets/object/blank_mixin.rb +8 -8
- data/lib/nuggets/object/boolean_mixin.rb +8 -8
- data/lib/nuggets/object/msend_mixin.rb +8 -8
- data/lib/nuggets/object/silence_mixin.rb +8 -8
- data/lib/nuggets/object/singleton_class_mixin.rb +8 -8
- data/lib/nuggets/proc/bind_mixin.rb +8 -8
- data/lib/nuggets/range/quantile_mixin.rb +8 -8
- data/lib/nuggets/string/capitalize_first.rb +8 -8
- data/lib/nuggets/string/case.rb +8 -8
- data/lib/nuggets/string/evaluate_mixin.rb +7 -7
- data/lib/nuggets/string/msub.rb +8 -8
- data/lib/nuggets/string/nsub.rb +8 -8
- data/lib/nuggets/string/sub_with_md.rb +8 -8
- data/lib/nuggets/string/wc_mixin.rb +8 -8
- data/lib/nuggets/string/word_wrap.rb +8 -8
- data/lib/nuggets/string/xor_mixin.rb +8 -8
- data/lib/nuggets/tempfile/open.rb +8 -8
- data/lib/nuggets/uri/content_type_mixin.rb +8 -8
- data/lib/nuggets/uri/exist_mixin.rb +8 -8
- data/lib/nuggets/util/ansicolor2css.rb +8 -8
- data/lib/nuggets/util/content_type.rb +8 -8
- data/lib/nuggets/util/dotted_decimal.rb +8 -8
- data/lib/nuggets/util/i18n.rb +8 -8
- data/lib/nuggets/util/ruby.rb +7 -7
- data/lib/nuggets/version.rb +1 -1
- data/lib/nuggets.rb +8 -8
- 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-
|
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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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-
|
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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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-
|
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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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-
|
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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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-
|
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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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
|
#++
|
data/lib/nuggets/util/i18n.rb
CHANGED
@@ -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
|
16
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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
|
#++
|
data/lib/nuggets/util/ruby.rb
CHANGED
@@ -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
|
14
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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
|
#++
|
data/lib/nuggets/version.rb
CHANGED
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-
|
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
|
13
|
-
# Software Foundation; either version 3 of the License, or (at your
|
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
|
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
|
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:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
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-
|
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.
|
200
|
+
- ruby-nuggets Application documentation (v0.7.2)
|
201
201
|
- --all
|
202
202
|
require_paths:
|
203
203
|
- lib
|