ruby-nuggets 0.8.9 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +3 -3
- data/Rakefile +1 -1
- data/lib/nuggets/all.rb +1 -1
- data/lib/nuggets/all_mixins.rb +1 -1
- data/lib/nuggets/array/boost.rb +5 -0
- data/lib/nuggets/array/boost_mixin.rb +78 -0
- data/lib/nuggets/array/combination.rb +1 -1
- data/lib/nuggets/array/correlation_mixin.rb +2 -2
- data/lib/nuggets/array/flatten_once.rb +1 -1
- data/lib/nuggets/array/format.rb +1 -1
- data/lib/nuggets/array/histogram_mixin.rb +1 -1
- data/lib/nuggets/array/in_order.rb +1 -1
- data/lib/nuggets/array/limit_mixin.rb +1 -1
- data/lib/nuggets/array/mean_mixin.rb +1 -1
- data/lib/nuggets/array/median_mixin.rb +1 -1
- data/lib/nuggets/array/mode_mixin.rb +1 -1
- data/lib/nuggets/array/monotone.rb +1 -1
- data/lib/nuggets/array/only.rb +1 -1
- data/lib/nuggets/array/rand.rb +1 -1
- data/lib/nuggets/array/regression_mixin.rb +100 -20
- data/lib/nuggets/array/runiq_mixin.rb +1 -1
- data/lib/nuggets/array/shuffle.rb +1 -1
- data/lib/nuggets/array/standard_deviation_mixin.rb +1 -1
- data/lib/nuggets/array/to_hash.rb +1 -1
- data/lib/nuggets/array/variance_mixin.rb +2 -2
- data/lib/nuggets/enumerable/agrep.rb +1 -1
- data/lib/nuggets/enumerable/all_any_extended.rb +1 -1
- data/lib/nuggets/enumerable/minmax.rb +1 -1
- data/lib/nuggets/env/set_mixin.rb +1 -1
- data/lib/nuggets/env/user_encoding_mixin.rb +1 -1
- data/lib/nuggets/env/user_home_mixin.rb +1 -1
- data/lib/nuggets/file/ext_mixin.rb +1 -1
- data/lib/nuggets/file/replace_mixin.rb +1 -1
- data/lib/nuggets/file/sub_mixin.rb +1 -1
- data/lib/nuggets/file/which_mixin.rb +1 -1
- data/lib/nuggets/hash/at.rb +1 -1
- data/lib/nuggets/hash/deep_merge_mixin.rb +1 -1
- data/lib/nuggets/hash/in_order.rb +1 -1
- data/lib/nuggets/hash/insert.rb +1 -1
- data/lib/nuggets/hash/nest_mixin.rb +1 -1
- data/lib/nuggets/hash/only.rb +1 -1
- data/lib/nuggets/hash/seen.rb +5 -0
- data/lib/nuggets/hash/seen_mixin.rb +59 -0
- data/lib/nuggets/hash/unroll_mixin.rb +1 -1
- data/lib/nuggets/integer/factorial.rb +1 -1
- data/lib/nuggets/integer/length_mixin.rb +1 -1
- data/lib/nuggets/integer/map_mixin.rb +1 -1
- data/lib/nuggets/integer/to_binary_s.rb +1 -1
- data/lib/nuggets/io/agrep.rb +1 -1
- data/lib/nuggets/io/interact_mixin.rb +1 -1
- data/lib/nuggets/io/modes.rb +1 -1
- data/lib/nuggets/io/null_mixin.rb +1 -1
- data/lib/nuggets/io/redirect_mixin.rb +1 -1
- data/lib/nuggets/net/success.rb +1 -1
- data/lib/nuggets/numeric/duration.rb +1 -1
- data/lib/nuggets/numeric/limit.rb +1 -1
- data/lib/nuggets/numeric/signum.rb +1 -1
- data/lib/nuggets/numeric/to_multiple.rb +1 -1
- data/lib/nuggets/object/blank_mixin.rb +1 -1
- data/lib/nuggets/object/boolean_mixin.rb +1 -1
- data/lib/nuggets/object/msend_mixin.rb +1 -1
- data/lib/nuggets/object/silence_mixin.rb +1 -1
- data/lib/nuggets/object/singleton_class_mixin.rb +1 -1
- data/lib/nuggets/proc/bind_mixin.rb +1 -1
- data/lib/nuggets/range/quantile_mixin.rb +1 -1
- data/lib/nuggets/statistics.rb +1 -0
- data/lib/nuggets/statistics_mixins.rb +1 -0
- data/lib/nuggets/string/camelscore_mixin.rb +1 -1
- data/lib/nuggets/string/capitalize_first.rb +1 -1
- data/lib/nuggets/string/case.rb +1 -1
- data/lib/nuggets/string/evaluate_mixin.rb +1 -1
- data/lib/nuggets/string/msub.rb +1 -1
- data/lib/nuggets/string/nsub.rb +1 -1
- data/lib/nuggets/string/sub_with_md.rb +1 -1
- data/lib/nuggets/string/wc_mixin.rb +1 -1
- data/lib/nuggets/string/word_wrap.rb +1 -1
- data/lib/nuggets/string/xor_mixin.rb +1 -1
- data/lib/nuggets/tempfile/open.rb +1 -1
- data/lib/nuggets/uri/content_type_mixin.rb +1 -1
- data/lib/nuggets/uri/exist_mixin.rb +1 -1
- data/lib/nuggets/uri/redirect_mixin.rb +1 -1
- data/lib/nuggets/util/ansicolor2css.rb +1 -1
- data/lib/nuggets/util/cli.rb +1 -1
- data/lib/nuggets/util/content_type.rb +1 -1
- data/lib/nuggets/util/dotted_decimal.rb +1 -1
- data/lib/nuggets/util/i18n.rb +1 -1
- data/lib/nuggets/util/lazy_attr.rb +1 -1
- data/lib/nuggets/util/log_parser/apache.rb +1 -1
- data/lib/nuggets/util/log_parser/rails.rb +1 -1
- data/lib/nuggets/util/log_parser.rb +1 -1
- data/lib/nuggets/util/mysql.rb +209 -0
- data/lib/nuggets/util/pluggable.rb +1 -1
- data/lib/nuggets/util/ruby.rb +1 -1
- data/lib/nuggets/version.rb +2 -2
- data/lib/nuggets.rb +1 -1
- data/spec/nuggets/array/boost_spec.rb +52 -0
- data/spec/nuggets/array/regression_spec.rb +16 -0
- data/spec/nuggets/hash/seen_spec.rb +38 -0
- data/spec/spec_helper.rb +3 -0
- metadata +155 -150
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/hash/insert.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/hash/only.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -0,0 +1,59 @@
|
|
1
|
+
#--
|
2
|
+
###############################################################################
|
3
|
+
# #
|
4
|
+
# A component of ruby-nuggets, some extensions to the Ruby programming #
|
5
|
+
# language. #
|
6
|
+
# #
|
7
|
+
# Copyright (C) 2007-2012 Jens Wille #
|
8
|
+
# #
|
9
|
+
# Authors: #
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
|
+
# #
|
12
|
+
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
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
|
+
# #
|
17
|
+
# ruby-nuggets is distributed in the hope that it will be useful, but WITHOUT #
|
18
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
|
19
|
+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License #
|
20
|
+
# for more details. #
|
21
|
+
# #
|
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
|
+
# #
|
25
|
+
###############################################################################
|
26
|
+
#++
|
27
|
+
|
28
|
+
module Nuggets
|
29
|
+
class Hash
|
30
|
+
module SeenMixin
|
31
|
+
|
32
|
+
# call-seq:
|
33
|
+
# Hash.seen([seen[, unseen]]) => aHash
|
34
|
+
#
|
35
|
+
# Returns a hash that returns +unseen+ as the default value for a key that
|
36
|
+
# wasn't seen before and +seen+ for a key that was.
|
37
|
+
#
|
38
|
+
# Examples:
|
39
|
+
#
|
40
|
+
# hash = Hash.seen
|
41
|
+
# hash[:foo] #=> false
|
42
|
+
# hash[:foo] #=> true
|
43
|
+
# hash[:foo] #=> true
|
44
|
+
# hash[:bar] #=> false
|
45
|
+
# hash[:bar] #=> true
|
46
|
+
#
|
47
|
+
# hash = Hash.seen(42, 23)
|
48
|
+
# hash[:foo] #=> 23
|
49
|
+
# hash[:foo] #=> 42
|
50
|
+
# hash[:foo] #=> 42
|
51
|
+
# hash[:bar] #=> 23
|
52
|
+
# hash[:bar] #=> 42
|
53
|
+
def seen(seen = true, unseen = false)
|
54
|
+
new { |hash, key| hash[key] = seen; unseen }
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/io/agrep.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/io/modes.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/net/success.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/statistics.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/string/case.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/string/msub.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/string/nsub.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/util/cli.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2011 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
data/lib/nuggets/util/i18n.rb
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
# Copyright (C) 2007-2011 Jens Wille #
|
10
10
|
# #
|
11
11
|
# Authors: #
|
12
|
-
# Jens Wille <jens.wille@
|
12
|
+
# Jens Wille <jens.wille@gmail.com> #
|
13
13
|
# #
|
14
14
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
15
15
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Copyright (C) 2007-2012 Jens Wille #
|
8
8
|
# #
|
9
9
|
# Authors: #
|
10
|
-
# Jens Wille <jens.wille@
|
10
|
+
# Jens Wille <jens.wille@gmail.com> #
|
11
11
|
# #
|
12
12
|
# ruby-nuggets is free software; you can redistribute it and/or modify it #
|
13
13
|
# under the terms of the GNU Affero General Public License as published by #
|