ruby-nuggets 0.7.8 → 0.7.9

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/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to ruby-nuggets version 0.7.8
5
+ This documentation refers to ruby-nuggets version 0.7.9
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -315,12 +315,12 @@ module Util
315
315
 
316
316
  end
317
317
 
318
- def ::File.ruby; ::Util::Ruby.ruby_command; end
318
+ def File.ruby; ::Util::Ruby.ruby_command; end
319
319
 
320
320
  begin
321
321
  require 'open4'
322
322
 
323
- def ::Process.ruby(*args)
323
+ def Process.ruby(*args)
324
324
  argv = ::Util::Ruby.ruby_options_to_argv(args, ::File.ruby)
325
325
  ::Open4.popen4(*argv, &block_given? ? ::Proc.new : nil)
326
326
  end
@@ -4,7 +4,7 @@ module Nuggets
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 7
7
- TINY = 8
7
+ TINY = 9
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,234 +1,216 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-nuggets
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 8
10
- version: 0.7.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jens Wille
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-28 00:00:00 Z
12
+ date: 2011-11-01 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
14
  description: Some extensions to the Ruby programming language.
22
15
  email: jens.wille@uni-koeln.de
23
16
  executables: []
24
-
25
17
  extensions: []
26
-
27
- extra_rdoc_files:
18
+ extra_rdoc_files:
28
19
  - README
29
20
  - COPYING
30
21
  - ChangeLog
31
- files:
32
- - lib/nuggets.rb
33
- - lib/nuggets/range/quantile_mixin.rb
34
- - lib/nuggets/range/quantile.rb
35
- - lib/nuggets/hash/unroll_mixin.rb
36
- - lib/nuggets/hash/insert.rb
37
- - lib/nuggets/hash/nest.rb
38
- - lib/nuggets/hash/deep_merge_mixin.rb
39
- - lib/nuggets/hash/only.rb
40
- - lib/nuggets/hash/deep_merge.rb
41
- - lib/nuggets/hash/at.rb
42
- - lib/nuggets/hash/in_order.rb
43
- - lib/nuggets/hash/nest_mixin.rb
44
- - lib/nuggets/hash/unroll.rb
22
+ files:
23
+ - lib/nuggets/file/replace.rb
24
+ - lib/nuggets/file/which_mixin.rb
25
+ - lib/nuggets/file/sub.rb
26
+ - lib/nuggets/file/replace_mixin.rb
27
+ - lib/nuggets/file/which.rb
28
+ - lib/nuggets/file/sub_mixin.rb
29
+ - lib/nuggets/version.rb
30
+ - lib/nuggets/statistics_mixins.rb
31
+ - lib/nuggets/statistics.rb
32
+ - lib/nuggets/env/user_encoding_mixin.rb
33
+ - lib/nuggets/env/set_mixin.rb
34
+ - lib/nuggets/env/user_home_mixin.rb
45
35
  - lib/nuggets/env/user_home.rb
46
36
  - lib/nuggets/env/user_encoding.rb
47
37
  - lib/nuggets/env/set.rb
48
- - lib/nuggets/env/user_home_mixin.rb
49
- - lib/nuggets/env/set_mixin.rb
50
- - lib/nuggets/env/user_encoding_mixin.rb
51
- - lib/nuggets/net/success.rb
52
38
  - lib/nuggets/object/silence_mixin.rb
53
- - lib/nuggets/object/uniclass.rb
54
- - lib/nuggets/object/singleton_class.rb
55
- - lib/nuggets/object/msend.rb
56
- - lib/nuggets/object/virtual_class.rb
57
- - lib/nuggets/object/ghost_class.rb
58
39
  - lib/nuggets/object/boolean.rb
59
- - lib/nuggets/object/blank.rb
60
- - lib/nuggets/object/boolean_mixin.rb
61
- - lib/nuggets/object/metaclass.rb
40
+ - lib/nuggets/object/uniclass.rb
62
41
  - lib/nuggets/object/msend_mixin.rb
42
+ - lib/nuggets/object/blank_mixin.rb
63
43
  - lib/nuggets/object/singleton_class_mixin.rb
44
+ - lib/nuggets/object/singleton_class.rb
45
+ - lib/nuggets/object/metaclass.rb
46
+ - lib/nuggets/object/virtual_class.rb
64
47
  - lib/nuggets/object/eigenclass.rb
65
48
  - lib/nuggets/object/silence.rb
66
- - lib/nuggets/object/blank_mixin.rb
67
- - lib/nuggets/version.rb
68
- - lib/nuggets/statistics_mixins.rb
69
- - lib/nuggets/file/replace_mixin.rb
70
- - lib/nuggets/file/which_mixin.rb
71
- - lib/nuggets/file/which.rb
72
- - lib/nuggets/file/replace.rb
73
- - lib/nuggets/file/sub_mixin.rb
74
- - lib/nuggets/file/sub.rb
75
- - lib/nuggets/integer/map_mixin.rb
76
- - lib/nuggets/integer/to_binary_s.rb
77
- - lib/nuggets/integer/length_mixin.rb
78
- - lib/nuggets/integer/length.rb
79
- - lib/nuggets/integer/map.rb
80
- - lib/nuggets/integer/factorial.rb
81
- - lib/nuggets/tempfile/open.rb
82
- - lib/nuggets/string/word_wrap.rb
83
- - lib/nuggets/string/capitalize_first.rb
84
- - lib/nuggets/string/wc.rb
85
- - lib/nuggets/string/evaluate.rb
86
- - lib/nuggets/string/msub.rb
87
- - lib/nuggets/string/nsub.rb
88
- - lib/nuggets/string/xor.rb
89
- - lib/nuggets/string/wc_mixin.rb
90
- - lib/nuggets/string/case.rb
91
- - lib/nuggets/string/xor_mixin.rb
92
- - lib/nuggets/string/evaluate_mixin.rb
93
- - lib/nuggets/string/sub_with_md.rb
49
+ - lib/nuggets/object/boolean_mixin.rb
50
+ - lib/nuggets/object/msend.rb
51
+ - lib/nuggets/object/ghost_class.rb
52
+ - lib/nuggets/object/blank.rb
53
+ - lib/nuggets/uri/exist_mixin.rb
54
+ - lib/nuggets/uri/redirect_mixin.rb
55
+ - lib/nuggets/uri/exist.rb
56
+ - lib/nuggets/uri/content_type_mixin.rb
57
+ - lib/nuggets/uri/content_type.rb
58
+ - lib/nuggets/uri/redirect.rb
59
+ - lib/nuggets/util/cli.rb
60
+ - lib/nuggets/util/i18n.rb
61
+ - lib/nuggets/util/content_type.rb
62
+ - lib/nuggets/util/ansicolor2css.rb
63
+ - lib/nuggets/util/added_methods.rb
64
+ - lib/nuggets/util/dotted_decimal.rb
65
+ - lib/nuggets/util/ruby.rb
66
+ - lib/nuggets/util/added_methods/init.rb
67
+ - lib/nuggets/io/null.rb
68
+ - lib/nuggets/io/null_mixin.rb
69
+ - lib/nuggets/io/agrep.rb
70
+ - lib/nuggets/io/modes.rb
94
71
  - lib/nuggets/all.rb
95
- - lib/nuggets/array/correlation.rb
96
- - lib/nuggets/array/shuffle.rb
97
- - lib/nuggets/array/regression_mixin.rb
98
- - lib/nuggets/array/limit.rb
99
- - lib/nuggets/array/runiq.rb
100
- - lib/nuggets/array/variance.rb
101
- - lib/nuggets/array/histogram.rb
102
- - lib/nuggets/array/standard_deviation_mixin.rb
103
- - lib/nuggets/array/median.rb
72
+ - lib/nuggets/enumerable/agrep.rb
73
+ - lib/nuggets/enumerable/minmax.rb
74
+ - lib/nuggets/enumerable/all_any_extended.rb
75
+ - lib/nuggets/hash/nest.rb
76
+ - lib/nuggets/hash/unroll.rb
77
+ - lib/nuggets/hash/in_order.rb
78
+ - lib/nuggets/hash/insert.rb
79
+ - lib/nuggets/hash/deep_merge_mixin.rb
80
+ - lib/nuggets/hash/unroll_mixin.rb
81
+ - lib/nuggets/hash/only.rb
82
+ - lib/nuggets/hash/deep_merge.rb
83
+ - lib/nuggets/hash/nest_mixin.rb
84
+ - lib/nuggets/hash/at.rb
85
+ - lib/nuggets/tempfile/open.rb
86
+ - lib/nuggets/proc/bind_mixin.rb
87
+ - lib/nuggets/proc/bind.rb
104
88
  - lib/nuggets/array/to_hash.rb
105
- - lib/nuggets/array/combination.rb
106
- - lib/nuggets/array/monotone.rb
107
- - lib/nuggets/array/mode.rb
108
- - lib/nuggets/array/variance_mixin.rb
109
89
  - lib/nuggets/array/rand.rb
90
+ - lib/nuggets/array/flatten_once.rb
91
+ - lib/nuggets/array/format.rb
92
+ - lib/nuggets/array/median_mixin.rb
93
+ - lib/nuggets/array/mean.rb
94
+ - lib/nuggets/array/combination.rb
95
+ - lib/nuggets/array/histogram_mixin.rb
96
+ - lib/nuggets/array/mean_mixin.rb
97
+ - lib/nuggets/array/standard_deviation_mixin.rb
110
98
  - lib/nuggets/array/standard_deviation.rb
99
+ - lib/nuggets/array/in_order.rb
100
+ - lib/nuggets/array/shuffle.rb
101
+ - lib/nuggets/array/monotone.rb
102
+ - lib/nuggets/array/histogram.rb
103
+ - lib/nuggets/array/median.rb
104
+ - lib/nuggets/array/variance.rb
105
+ - lib/nuggets/array/correlation.rb
111
106
  - lib/nuggets/array/correlation_mixin.rb
107
+ - lib/nuggets/array/regression_mixin.rb
108
+ - lib/nuggets/array/limit.rb
109
+ - lib/nuggets/array/variance_mixin.rb
112
110
  - lib/nuggets/array/only.rb
113
- - lib/nuggets/array/mean_mixin.rb
114
- - lib/nuggets/array/regression.rb
115
- - lib/nuggets/array/mode_mixin.rb
111
+ - lib/nuggets/array/runiq.rb
112
+ - lib/nuggets/array/mode.rb
116
113
  - lib/nuggets/array/limit_mixin.rb
117
- - lib/nuggets/array/flatten_once.rb
118
- - lib/nuggets/array/in_order.rb
119
- - lib/nuggets/array/mean.rb
120
- - lib/nuggets/array/median_mixin.rb
121
- - lib/nuggets/array/histogram_mixin.rb
122
- - lib/nuggets/array/format.rb
114
+ - lib/nuggets/array/regression.rb
123
115
  - lib/nuggets/array/runiq_mixin.rb
124
- - lib/nuggets/numeric/limit.rb
125
- - lib/nuggets/numeric/between.rb
126
- - lib/nuggets/numeric/duration.rb
116
+ - lib/nuggets/array/mode_mixin.rb
117
+ - lib/nuggets/range/quantile_mixin.rb
118
+ - lib/nuggets/range/quantile.rb
119
+ - lib/nuggets/net/success.rb
120
+ - lib/nuggets/integer/map.rb
121
+ - lib/nuggets/integer/map_mixin.rb
122
+ - lib/nuggets/integer/factorial.rb
123
+ - lib/nuggets/integer/length.rb
124
+ - lib/nuggets/integer/length_mixin.rb
125
+ - lib/nuggets/integer/to_binary_s.rb
126
+ - lib/nuggets/all_mixins.rb
127
+ - lib/nuggets/string/msub.rb
128
+ - lib/nuggets/string/evaluate.rb
129
+ - lib/nuggets/string/evaluate_mixin.rb
130
+ - lib/nuggets/string/nsub.rb
131
+ - lib/nuggets/string/xor_mixin.rb
132
+ - lib/nuggets/string/wc.rb
133
+ - lib/nuggets/string/sub_with_md.rb
134
+ - lib/nuggets/string/wc_mixin.rb
135
+ - lib/nuggets/string/case.rb
136
+ - lib/nuggets/string/word_wrap.rb
137
+ - lib/nuggets/string/xor.rb
138
+ - lib/nuggets/string/capitalize_first.rb
127
139
  - lib/nuggets/numeric/to_multiple.rb
128
140
  - lib/nuggets/numeric/signum.rb
129
- - lib/nuggets/all_mixins.rb
130
- - lib/nuggets/util/ansicolor2css.rb
131
- - lib/nuggets/util/content_type.rb
132
- - lib/nuggets/util/dotted_decimal.rb
133
- - lib/nuggets/util/ruby.rb
134
- - lib/nuggets/util/added_methods.rb
135
- - lib/nuggets/util/cli.rb
136
- - lib/nuggets/util/i18n.rb
137
- - lib/nuggets/util/added_methods/init.rb
138
- - lib/nuggets/proc/bind_mixin.rb
139
- - lib/nuggets/proc/bind.rb
140
- - lib/nuggets/statistics.rb
141
- - lib/nuggets/io/modes.rb
142
- - lib/nuggets/io/null_mixin.rb
143
- - lib/nuggets/io/null.rb
144
- - lib/nuggets/io/agrep.rb
145
- - lib/nuggets/uri/content_type.rb
146
- - lib/nuggets/uri/redirect_mixin.rb
147
- - lib/nuggets/uri/redirect.rb
148
- - lib/nuggets/uri/exist_mixin.rb
149
- - lib/nuggets/uri/content_type_mixin.rb
150
- - lib/nuggets/uri/exist.rb
151
- - lib/nuggets/enumerable/all_any_extended.rb
152
- - lib/nuggets/enumerable/minmax.rb
153
- - lib/nuggets/enumerable/agrep.rb
141
+ - lib/nuggets/numeric/between.rb
142
+ - lib/nuggets/numeric/limit.rb
143
+ - lib/nuggets/numeric/duration.rb
144
+ - lib/nuggets.rb
145
+ - README
154
146
  - ChangeLog
155
147
  - COPYING
156
- - README
157
148
  - Rakefile
158
- - spec/nuggets/range/quantile_spec.rb
159
- - spec/nuggets/hash/nest_spec.rb
160
- - spec/nuggets/hash/unroll_spec.rb
161
- - spec/nuggets/hash/deep_merge_spec.rb
162
- - spec/nuggets/env/set_spec.rb
149
+ - spec/nuggets/file/which_spec.rb
150
+ - spec/nuggets/file/sub_spec.rb
151
+ - spec/nuggets/file/replace_spec.rb
163
152
  - spec/nuggets/env/user_home_spec.rb
164
153
  - spec/nuggets/env/user_encoding_spec.rb
154
+ - spec/nuggets/env/set_spec.rb
165
155
  - spec/nuggets/object/silence_spec.rb
166
- - spec/nuggets/object/singleton_class_spec.rb
167
156
  - spec/nuggets/object/msend_spec.rb
168
- - spec/nuggets/object/blank_spec.rb
157
+ - spec/nuggets/object/singleton_class_spec.rb
169
158
  - spec/nuggets/object/boolean_spec.rb
170
- - spec/nuggets/file/sub_spec.rb
171
- - spec/nuggets/file/replace_spec.rb
172
- - spec/nuggets/file/which_spec.rb
173
- - spec/nuggets/integer/map_spec.rb
174
- - spec/nuggets/integer/length_spec.rb
175
- - spec/nuggets/string/evaluate_spec.rb
176
- - spec/nuggets/string/xor_spec.rb
177
- - spec/nuggets/string/wc_spec.rb
178
- - spec/nuggets/array/regression_spec.rb
179
- - spec/nuggets/array/limit_spec.rb
159
+ - spec/nuggets/object/blank_spec.rb
160
+ - spec/nuggets/uri/content_type_spec.rb
161
+ - spec/nuggets/uri/exist_spec.rb
162
+ - spec/nuggets/hash/deep_merge_spec.rb
163
+ - spec/nuggets/hash/unroll_spec.rb
164
+ - spec/nuggets/hash/nest_spec.rb
165
+ - spec/nuggets/proc/bind_spec.rb
180
166
  - spec/nuggets/array/correlation_spec.rb
181
- - spec/nuggets/array/standard_deviation_spec.rb
182
167
  - spec/nuggets/array/mode_spec.rb
183
- - spec/nuggets/array/histogram_spec.rb
184
- - spec/nuggets/array/median_spec.rb
185
168
  - spec/nuggets/array/mean_spec.rb
169
+ - spec/nuggets/array/histogram_spec.rb
186
170
  - spec/nuggets/array/variance_spec.rb
171
+ - spec/nuggets/array/limit_spec.rb
172
+ - spec/nuggets/array/regression_spec.rb
173
+ - spec/nuggets/array/standard_deviation_spec.rb
174
+ - spec/nuggets/array/median_spec.rb
187
175
  - spec/nuggets/array/runiq_spec.rb
188
- - spec/nuggets/proc/bind_spec.rb
189
- - spec/nuggets/uri/content_type_spec.rb
190
- - spec/nuggets/uri/exist_spec.rb
176
+ - spec/nuggets/range/quantile_spec.rb
177
+ - spec/nuggets/integer/map_spec.rb
178
+ - spec/nuggets/integer/length_spec.rb
179
+ - spec/nuggets/string/wc_spec.rb
180
+ - spec/nuggets/string/evaluate_spec.rb
181
+ - spec/nuggets/string/xor_spec.rb
191
182
  - spec/spec_helper.rb
192
183
  - .rspec
193
- homepage: http://prometheus.rubyforge.org/ruby-nuggets
184
+ homepage: http://prometheus.rubyforge.org/
194
185
  licenses: []
195
-
196
186
  post_install_message:
197
- rdoc_options:
198
- - --main
199
- - README
187
+ rdoc_options:
200
188
  - --charset
201
189
  - UTF-8
190
+ - --line-numbers
202
191
  - --all
203
192
  - --title
204
- - ruby-nuggets Application documentation (v0.7.8)
205
- - --line-numbers
206
- require_paths:
193
+ - ruby-nuggets Application documentation (v0.7.9)
194
+ - --main
195
+ - README
196
+ require_paths:
207
197
  - lib
208
- required_ruby_version: !ruby/object:Gem::Requirement
198
+ required_ruby_version: !ruby/object:Gem::Requirement
209
199
  none: false
210
- requirements:
211
- - - ">="
212
- - !ruby/object:Gem::Version
213
- hash: 3
214
- segments:
215
- - 0
216
- version: "0"
217
- required_rubygems_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ! '>='
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
205
  none: false
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- hash: 3
223
- segments:
224
- - 0
225
- version: "0"
206
+ requirements:
207
+ - - ! '>='
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
226
210
  requirements: []
227
-
228
211
  rubyforge_project: prometheus
229
212
  rubygems_version: 1.8.11
230
213
  signing_key:
231
214
  specification_version: 3
232
215
  summary: Some extensions to the Ruby programming language.
233
216
  test_files: []
234
-