ruby-nuggets 0.7.9 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to ruby-nuggets version 0.7.9
5
+ This documentation refers to ruby-nuggets version 0.8.0
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -0,0 +1,5 @@
1
+ require 'nuggets/io/interact_mixin'
2
+
3
+ class IO
4
+ extend Nuggets::IO::InteractMixin
5
+ end
@@ -0,0 +1,150 @@
1
+ #--
2
+ ###############################################################################
3
+ # #
4
+ # A component of ruby-nuggets, some extensions to the Ruby programming #
5
+ # language. #
6
+ # #
7
+ # Copyright (C) 2007-2011 Jens Wille #
8
+ # #
9
+ # Authors: #
10
+ # Jens Wille <jens.wille@uni-koeln.de> #
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 IO
30
+ module InteractMixin
31
+
32
+ # call-seq:
33
+ # IO.interact(input, output[, timeout[, maxlen]]) -> anArray | nil
34
+ #
35
+ # Interact with both ends of a pipe in a non-blocking manner.
36
+ #
37
+ # +input+ represents the sending end and is a mapping from the actual
38
+ # input IO (to send into the pipe) to the pipe's input handle (_stdin_).
39
+ # The input IO must support +read_nonblock+. If it's a StringIO it will
40
+ # be extended appropriately. If it's a String it will be converted to
41
+ # a StringIO.
42
+ #
43
+ # +output+ represents the receiving end and is a mapping from the pipe's
44
+ # output handle (_stdout_) to the designated output IO (to receive data
45
+ # from the pipe), and, optionally, from the pipe's error handle (_stderr_)
46
+ # to the designated error IO. The output and error IO must support <tt><<</tt>
47
+ # with a string argument. If either of them is a Proc it will be extended such
48
+ # that <tt><<</tt> delegates to +call+.
49
+ #
50
+ # +timeout+, if given, will be passed to IO::select and +nil+ is returned
51
+ # if the select call times out; in all other cases an empty array is returned.
52
+ #
53
+ # +maxlen+ is the chunk size for +read_nonblock+.
54
+ #
55
+ # Examples:
56
+ #
57
+ # require 'open3'
58
+ #
59
+ # # simply prints 'input string' on STDOUT, ignores +stderr+
60
+ # Open3.popen3('cat') { |stdin, stdout, stderr|
61
+ # IO.interact({ "input string\n" => stdin }, { stdout => STDOUT })
62
+ # }
63
+ #
64
+ # # prints lines you type in reverse order to a string
65
+ # str = ''
66
+ # Open3.popen3('tac') { |stdin, stdout, stderr|
67
+ # IO.interact({ STDIN => stdin }, { stdout => str })
68
+ # }
69
+ # puts str
70
+ #
71
+ # # prints the IP adresses from /etc/hosts on STDOUT and their lengths
72
+ # # on STDERR
73
+ # cmd = %q{ruby -ne 'i = $_.split.first or next; warn i.length; puts i'}
74
+ # Open3.popen3(cmd) { |stdin, stdout, stderr|
75
+ # File.open('/etc/hosts') { |f|
76
+ # IO.interact({ f => stdin }, { stdout => STDOUT, stderr => STDERR })
77
+ # }
78
+ # }
79
+ def interact(input, output, timeout = nil, maxlen = 2 ** 16)
80
+ readers, writers = {}, {}
81
+
82
+ output.each { |key, val|
83
+ if val.is_a?(::Proc) && !val.respond_to?(:<<)
84
+ class << val; alias_method :<<, :call; end
85
+ end
86
+
87
+ readers[key] = val
88
+ }
89
+
90
+ input.each { |key, val|
91
+ if key.is_a?(::String)
92
+ require 'stringio'
93
+ key = ::StringIO.new(key)
94
+ end
95
+
96
+ unless key.respond_to?(:read_nonblock)
97
+ def key.read_nonblock(*args)
98
+ read(*args) or raise ::EOFError, 'end of string reached'
99
+ end
100
+ end
101
+
102
+ writers[val] = [key, '']
103
+ }
104
+
105
+ close = lambda { |*args|
106
+ container, item, read = args
107
+
108
+ container.delete(item)
109
+ read ? item.close_read : item.close_write
110
+ }
111
+
112
+ read = lambda { |*args|
113
+ reader, buffer, writer = args
114
+
115
+ container = writer ? writers : readers
116
+ buffer ||= container[reader]
117
+
118
+ begin
119
+ buffer << reader.read_nonblock(maxlen)
120
+ rescue ::Errno::EAGAIN
121
+ rescue ::EOFError
122
+ close[container, writer || reader, !writer]
123
+ end
124
+ }
125
+
126
+ until readers.empty? && writers.empty?
127
+ fhs = select(readers.keys, writers.keys, nil, timeout) or return
128
+
129
+ fhs[0].each { |reader| read[reader] }
130
+
131
+ fhs[1].each { |writer|
132
+ reader, buffer = writers[writer]
133
+ read[reader, buffer, writer] or next if buffer.empty?
134
+
135
+ begin
136
+ written = writer.write_nonblock(buffer)
137
+ rescue ::Errno::EPIPE
138
+ close[writers, writer]
139
+ end
140
+
141
+ buffer.slice!(0, written) if written
142
+ }
143
+ end
144
+
145
+ []
146
+ end
147
+
148
+ end
149
+ end
150
+ end
@@ -324,5 +324,14 @@ begin
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
327
+
328
+ require 'nuggets/io/interact'
329
+
330
+ def Process.interact_ruby(input, *args)
331
+ ruby(*args) { |p, i, o, e|
332
+ ::IO.interact({ input => i }, { o => $stdout, e => $stderr })
333
+ p
334
+ }
335
+ end
327
336
  rescue ::LoadError
328
337
  end
@@ -3,8 +3,8 @@ module Nuggets
3
3
  module Version
4
4
 
5
5
  MAJOR = 0
6
- MINOR = 7
7
- TINY = 9
6
+ MINOR = 8
7
+ TINY = 0
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,216 +1,236 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-nuggets
3
- version: !ruby/object:Gem::Version
4
- version: 0.7.9
3
+ version: !ruby/object:Gem::Version
4
+ hash: 63
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 8
9
+ - 0
10
+ version: 0.8.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jens Wille
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-11-01 00:00:00.000000000 Z
17
+
18
+ date: 2011-12-13 00:00:00 Z
13
19
  dependencies: []
20
+
14
21
  description: Some extensions to the Ruby programming language.
15
22
  email: jens.wille@uni-koeln.de
16
23
  executables: []
24
+
17
25
  extensions: []
18
- extra_rdoc_files:
26
+
27
+ extra_rdoc_files:
19
28
  - README
20
29
  - COPYING
21
30
  - ChangeLog
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
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
35
45
  - lib/nuggets/env/user_home.rb
36
46
  - lib/nuggets/env/user_encoding.rb
37
47
  - 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
38
52
  - lib/nuggets/object/silence_mixin.rb
39
- - lib/nuggets/object/boolean.rb
40
53
  - lib/nuggets/object/uniclass.rb
41
- - lib/nuggets/object/msend_mixin.rb
42
- - lib/nuggets/object/blank_mixin.rb
43
- - lib/nuggets/object/singleton_class_mixin.rb
44
54
  - lib/nuggets/object/singleton_class.rb
45
- - lib/nuggets/object/metaclass.rb
46
- - lib/nuggets/object/virtual_class.rb
47
- - lib/nuggets/object/eigenclass.rb
48
- - lib/nuggets/object/silence.rb
49
- - lib/nuggets/object/boolean_mixin.rb
50
55
  - lib/nuggets/object/msend.rb
56
+ - lib/nuggets/object/virtual_class.rb
51
57
  - lib/nuggets/object/ghost_class.rb
58
+ - lib/nuggets/object/boolean.rb
52
59
  - 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
71
- - lib/nuggets/all.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
60
+ - lib/nuggets/object/boolean_mixin.rb
61
+ - lib/nuggets/object/metaclass.rb
62
+ - lib/nuggets/object/msend_mixin.rb
63
+ - lib/nuggets/object/singleton_class_mixin.rb
64
+ - lib/nuggets/object/eigenclass.rb
65
+ - 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
85
81
  - lib/nuggets/tempfile/open.rb
86
- - lib/nuggets/proc/bind_mixin.rb
87
- - lib/nuggets/proc/bind.rb
88
- - lib/nuggets/array/to_hash.rb
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
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
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
94
+ - lib/nuggets/all.rb
105
95
  - lib/nuggets/array/correlation.rb
106
- - lib/nuggets/array/correlation_mixin.rb
96
+ - lib/nuggets/array/shuffle.rb
107
97
  - lib/nuggets/array/regression_mixin.rb
108
98
  - lib/nuggets/array/limit.rb
109
- - lib/nuggets/array/variance_mixin.rb
110
- - lib/nuggets/array/only.rb
111
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
104
+ - lib/nuggets/array/to_hash.rb
105
+ - lib/nuggets/array/combination.rb
106
+ - lib/nuggets/array/monotone.rb
112
107
  - lib/nuggets/array/mode.rb
113
- - lib/nuggets/array/limit_mixin.rb
108
+ - lib/nuggets/array/variance_mixin.rb
109
+ - lib/nuggets/array/rand.rb
110
+ - lib/nuggets/array/standard_deviation.rb
111
+ - lib/nuggets/array/correlation_mixin.rb
112
+ - lib/nuggets/array/only.rb
113
+ - lib/nuggets/array/mean_mixin.rb
114
114
  - lib/nuggets/array/regression.rb
115
- - lib/nuggets/array/runiq_mixin.rb
116
115
  - 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
139
- - lib/nuggets/numeric/to_multiple.rb
140
- - lib/nuggets/numeric/signum.rb
141
- - lib/nuggets/numeric/between.rb
116
+ - 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
123
+ - lib/nuggets/array/runiq_mixin.rb
142
124
  - lib/nuggets/numeric/limit.rb
125
+ - lib/nuggets/numeric/between.rb
143
126
  - lib/nuggets/numeric/duration.rb
144
- - lib/nuggets.rb
145
- - README
127
+ - lib/nuggets/numeric/to_multiple.rb
128
+ - 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/interact.rb
143
+ - lib/nuggets/io/null_mixin.rb
144
+ - lib/nuggets/io/null.rb
145
+ - lib/nuggets/io/agrep.rb
146
+ - lib/nuggets/io/interact_mixin.rb
147
+ - lib/nuggets/uri/content_type.rb
148
+ - lib/nuggets/uri/redirect_mixin.rb
149
+ - lib/nuggets/uri/redirect.rb
150
+ - lib/nuggets/uri/exist_mixin.rb
151
+ - lib/nuggets/uri/content_type_mixin.rb
152
+ - lib/nuggets/uri/exist.rb
153
+ - lib/nuggets/enumerable/all_any_extended.rb
154
+ - lib/nuggets/enumerable/minmax.rb
155
+ - lib/nuggets/enumerable/agrep.rb
146
156
  - ChangeLog
147
157
  - COPYING
158
+ - README
148
159
  - Rakefile
149
- - spec/nuggets/file/which_spec.rb
150
- - spec/nuggets/file/sub_spec.rb
151
- - spec/nuggets/file/replace_spec.rb
160
+ - spec/nuggets/range/quantile_spec.rb
161
+ - spec/nuggets/hash/nest_spec.rb
162
+ - spec/nuggets/hash/unroll_spec.rb
163
+ - spec/nuggets/hash/deep_merge_spec.rb
164
+ - spec/nuggets/env/set_spec.rb
152
165
  - spec/nuggets/env/user_home_spec.rb
153
166
  - spec/nuggets/env/user_encoding_spec.rb
154
- - spec/nuggets/env/set_spec.rb
155
167
  - spec/nuggets/object/silence_spec.rb
156
- - spec/nuggets/object/msend_spec.rb
157
168
  - spec/nuggets/object/singleton_class_spec.rb
158
- - spec/nuggets/object/boolean_spec.rb
169
+ - spec/nuggets/object/msend_spec.rb
159
170
  - 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
171
+ - spec/nuggets/object/boolean_spec.rb
172
+ - spec/nuggets/file/sub_spec.rb
173
+ - spec/nuggets/file/replace_spec.rb
174
+ - spec/nuggets/file/which_spec.rb
175
+ - spec/nuggets/integer/map_spec.rb
176
+ - spec/nuggets/integer/length_spec.rb
177
+ - spec/nuggets/string/evaluate_spec.rb
178
+ - spec/nuggets/string/xor_spec.rb
179
+ - spec/nuggets/string/wc_spec.rb
180
+ - spec/nuggets/array/regression_spec.rb
181
+ - spec/nuggets/array/limit_spec.rb
166
182
  - spec/nuggets/array/correlation_spec.rb
183
+ - spec/nuggets/array/standard_deviation_spec.rb
167
184
  - spec/nuggets/array/mode_spec.rb
168
- - spec/nuggets/array/mean_spec.rb
169
185
  - spec/nuggets/array/histogram_spec.rb
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
186
  - spec/nuggets/array/median_spec.rb
187
+ - spec/nuggets/array/mean_spec.rb
188
+ - spec/nuggets/array/variance_spec.rb
175
189
  - spec/nuggets/array/runiq_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
190
+ - spec/nuggets/proc/bind_spec.rb
191
+ - spec/nuggets/uri/content_type_spec.rb
192
+ - spec/nuggets/uri/exist_spec.rb
182
193
  - spec/spec_helper.rb
183
194
  - .rspec
184
- homepage: http://prometheus.rubyforge.org/
195
+ homepage: http://prometheus.rubyforge.org/ruby-nuggets
185
196
  licenses: []
197
+
186
198
  post_install_message:
187
- rdoc_options:
188
- - --charset
189
- - UTF-8
190
- - --line-numbers
199
+ rdoc_options:
191
200
  - --all
192
- - --title
193
- - ruby-nuggets Application documentation (v0.7.9)
194
201
  - --main
195
202
  - README
196
- require_paths:
203
+ - --charset
204
+ - UTF-8
205
+ - --title
206
+ - ruby-nuggets Application documentation (v0.8.0)
207
+ - --line-numbers
208
+ require_paths:
197
209
  - lib
198
- required_ruby_version: !ruby/object:Gem::Requirement
210
+ required_ruby_version: !ruby/object:Gem::Requirement
199
211
  none: false
200
- requirements:
201
- - - ! '>='
202
- - !ruby/object:Gem::Version
203
- version: '0'
204
- required_rubygems_version: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ hash: 3
216
+ segments:
217
+ - 0
218
+ version: "0"
219
+ required_rubygems_version: !ruby/object:Gem::Requirement
205
220
  none: false
206
- requirements:
207
- - - ! '>='
208
- - !ruby/object:Gem::Version
209
- version: '0'
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ hash: 3
225
+ segments:
226
+ - 0
227
+ version: "0"
210
228
  requirements: []
229
+
211
230
  rubyforge_project: prometheus
212
- rubygems_version: 1.8.11
231
+ rubygems_version: 1.8.12
213
232
  signing_key:
214
233
  specification_version: 3
215
234
  summary: Some extensions to the Ruby programming language.
216
235
  test_files: []
236
+