configy 0.0.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.travis.yml +4 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +16 -0
- data/Rakefile +2 -17
- data/Rakefile.compiled.rbc +1177 -0
- data/configy.gemspec +14 -38
- data/lib/configy.rb +57 -1
- data/lib/configy.rbc +1336 -0
- data/lib/configy/base.rb +63 -0
- data/lib/configy/base.rbc +1499 -0
- data/lib/configy/config_file.rb +28 -0
- data/lib/configy/config_file.rbc +823 -0
- data/lib/configy/config_store.rb +59 -0
- data/lib/configy/config_store.rbc +1255 -0
- data/test/base_test.rb +112 -0
- data/test/base_test.rbc +2682 -0
- data/test/config_file_test.rb +28 -0
- data/test/config_file_test.rbc +1125 -0
- data/test/config_store_test.rb +52 -0
- data/test/config_store_test.rbc +1483 -0
- data/test/configy_test.rb +28 -112
- data/test/configy_test.rbc +974 -0
- data/test/load_path_test.rb +32 -0
- data/test/load_path_test.rbc +917 -0
- data/test/scratch/.gitkeep +0 -0
- data/test/section_test.rb +37 -0
- data/test/section_test.rbc +945 -0
- data/test/test_helper.rb +38 -5
- data/test/test_helper.rbc +1061 -0
- metadata +65 -13
- data/lib/configy/configuration.rb +0 -123
data/configy.gemspec
CHANGED
@@ -1,50 +1,26 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
1
|
|
6
2
|
Gem::Specification.new do |s|
|
7
3
|
s.name = %q{configy}
|
8
|
-
s.version = "0.0
|
4
|
+
s.version = "1.0.0"
|
9
5
|
|
10
|
-
s.required_rubygems_version =
|
11
|
-
s.authors = ["Gabe Varela"]
|
12
|
-
s.date = %q{
|
6
|
+
s.required_rubygems_version = ">= 1.3.6"
|
7
|
+
s.authors = ["Gabe Varela", "Brian Marini"]
|
8
|
+
s.date = %q{2011-04-21}
|
13
9
|
s.email = %q{gvarela@gmail.com}
|
10
|
+
s.summary = %q{Simple yaml driven configuration gem}
|
11
|
+
s.homepage = %q{http://github.com/gvarela/configy}
|
12
|
+
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
16
|
+
s.require_path = 'lib'
|
17
|
+
|
18
|
+
s.add_development_dependency "bundler", ">= 1.0.0"
|
14
19
|
s.extra_rdoc_files = [
|
15
20
|
"LICENSE",
|
16
21
|
"README.rdoc"
|
17
22
|
]
|
18
|
-
s.files = [
|
19
|
-
".document",
|
20
|
-
".gitignore",
|
21
|
-
"LICENSE",
|
22
|
-
"README.rdoc",
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION",
|
25
|
-
"configy.gemspec",
|
26
|
-
"lib/configy.rb",
|
27
|
-
"lib/configy/configuration.rb",
|
28
|
-
"test/configy_test.rb",
|
29
|
-
"test/test_helper.rb"
|
30
|
-
]
|
31
|
-
s.homepage = %q{http://github.com/gvarela/configy}
|
32
23
|
s.rdoc_options = ["--charset=UTF-8"]
|
33
24
|
s.require_paths = ["lib"]
|
34
|
-
s.rubygems_version = %q{1.3.5}
|
35
|
-
s.summary = %q{simple application configuration}
|
36
|
-
s.test_files = [
|
37
|
-
"test/configy_test.rb",
|
38
|
-
"test/test_helper.rb"
|
39
|
-
]
|
40
|
-
|
41
|
-
if s.respond_to? :specification_version then
|
42
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
|
-
s.specification_version = 3
|
44
|
-
|
45
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
46
|
-
else
|
47
|
-
end
|
48
|
-
else
|
49
|
-
end
|
50
25
|
end
|
26
|
+
|
data/lib/configy.rb
CHANGED
@@ -1,2 +1,58 @@
|
|
1
|
-
|
1
|
+
module Configy
|
2
|
+
autoload :Base, 'configy/base'
|
3
|
+
autoload :ConfigFile, 'configy/config_file'
|
4
|
+
autoload :ConfigStore, 'configy/config_store'
|
2
5
|
|
6
|
+
class ConfigyError < StandardError; end
|
7
|
+
class ConfigParamNotFound < ConfigyError; end
|
8
|
+
|
9
|
+
class << self
|
10
|
+
attr_writer :load_path, :section, :cache_config
|
11
|
+
|
12
|
+
def load_path
|
13
|
+
if @load_path
|
14
|
+
@load_path
|
15
|
+
elsif defined? Rails
|
16
|
+
Rails.root.join("config")
|
17
|
+
elsif defined? RAILS_ROOT
|
18
|
+
"#{RAILS_ROOT}/config"
|
19
|
+
elsif defined? RACK_ROOT
|
20
|
+
"#{RACK_ROOT}/config"
|
21
|
+
else
|
22
|
+
'config'
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def section
|
27
|
+
if @section
|
28
|
+
@section
|
29
|
+
elsif defined? Rails
|
30
|
+
Rails.env
|
31
|
+
elsif defined? RAILS_ENV
|
32
|
+
RAILS_ENV
|
33
|
+
elsif defined? RACK_ENV
|
34
|
+
RACK_ENV
|
35
|
+
else
|
36
|
+
'development'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
def cache_config
|
41
|
+
@cache_config = false if @cache_config.nil?
|
42
|
+
@cache_config
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.camelize(phrase)
|
47
|
+
camelized = phrase.gsub(/^[a-z]|\s+[a-z]|_+[a-z]|-+[a-z]/i) { |a| a.upcase }
|
48
|
+
camelized.gsub!(/\s/, '')
|
49
|
+
camelized.gsub!(/_/, '')
|
50
|
+
camelized.gsub!(/-/, '')
|
51
|
+
return camelized
|
52
|
+
end
|
53
|
+
|
54
|
+
# The main interface for creating Configy instances
|
55
|
+
def self.create(file)
|
56
|
+
Object.const_set( camelize(file.to_s), Configy::Base.new(file, section, load_path, cache_config) )
|
57
|
+
end
|
58
|
+
end
|
data/lib/configy.rbc
ADDED
@@ -0,0 +1,1336 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
7
|
54
|
+
Configy
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
7
|
67
|
+
Configy
|
68
|
+
i
|
69
|
+
109
|
70
|
+
5
|
71
|
+
66
|
72
|
+
5
|
73
|
+
7
|
74
|
+
0
|
75
|
+
7
|
76
|
+
1
|
77
|
+
64
|
78
|
+
47
|
79
|
+
49
|
80
|
+
2
|
81
|
+
2
|
82
|
+
15
|
83
|
+
5
|
84
|
+
7
|
85
|
+
3
|
86
|
+
7
|
87
|
+
4
|
88
|
+
64
|
89
|
+
47
|
90
|
+
49
|
91
|
+
2
|
92
|
+
2
|
93
|
+
15
|
94
|
+
5
|
95
|
+
7
|
96
|
+
5
|
97
|
+
7
|
98
|
+
6
|
99
|
+
64
|
100
|
+
47
|
101
|
+
49
|
102
|
+
2
|
103
|
+
2
|
104
|
+
15
|
105
|
+
99
|
106
|
+
7
|
107
|
+
7
|
108
|
+
45
|
109
|
+
8
|
110
|
+
9
|
111
|
+
65
|
112
|
+
49
|
113
|
+
10
|
114
|
+
3
|
115
|
+
15
|
116
|
+
1
|
117
|
+
15
|
118
|
+
99
|
119
|
+
7
|
120
|
+
11
|
121
|
+
45
|
122
|
+
7
|
123
|
+
12
|
124
|
+
65
|
125
|
+
49
|
126
|
+
10
|
127
|
+
3
|
128
|
+
15
|
129
|
+
1
|
130
|
+
15
|
131
|
+
5
|
132
|
+
99
|
133
|
+
12
|
134
|
+
49
|
135
|
+
13
|
136
|
+
1
|
137
|
+
13
|
138
|
+
99
|
139
|
+
12
|
140
|
+
7
|
141
|
+
14
|
142
|
+
12
|
143
|
+
7
|
144
|
+
15
|
145
|
+
12
|
146
|
+
65
|
147
|
+
12
|
148
|
+
49
|
149
|
+
16
|
150
|
+
4
|
151
|
+
15
|
152
|
+
54
|
153
|
+
50
|
154
|
+
14
|
155
|
+
0
|
156
|
+
15
|
157
|
+
99
|
158
|
+
7
|
159
|
+
17
|
160
|
+
7
|
161
|
+
18
|
162
|
+
65
|
163
|
+
5
|
164
|
+
49
|
165
|
+
16
|
166
|
+
4
|
167
|
+
15
|
168
|
+
99
|
169
|
+
7
|
170
|
+
19
|
171
|
+
7
|
172
|
+
20
|
173
|
+
65
|
174
|
+
5
|
175
|
+
49
|
176
|
+
16
|
177
|
+
4
|
178
|
+
11
|
179
|
+
I
|
180
|
+
6
|
181
|
+
I
|
182
|
+
0
|
183
|
+
I
|
184
|
+
0
|
185
|
+
I
|
186
|
+
0
|
187
|
+
n
|
188
|
+
p
|
189
|
+
21
|
190
|
+
x
|
191
|
+
4
|
192
|
+
Base
|
193
|
+
s
|
194
|
+
12
|
195
|
+
configy/base
|
196
|
+
x
|
197
|
+
8
|
198
|
+
autoload
|
199
|
+
x
|
200
|
+
10
|
201
|
+
ConfigFile
|
202
|
+
s
|
203
|
+
19
|
204
|
+
configy/config_file
|
205
|
+
x
|
206
|
+
11
|
207
|
+
ConfigStore
|
208
|
+
s
|
209
|
+
20
|
210
|
+
configy/config_store
|
211
|
+
x
|
212
|
+
12
|
213
|
+
ConfigyError
|
214
|
+
x
|
215
|
+
13
|
216
|
+
StandardError
|
217
|
+
n
|
218
|
+
x
|
219
|
+
10
|
220
|
+
open_class
|
221
|
+
x
|
222
|
+
19
|
223
|
+
ConfigParamNotFound
|
224
|
+
n
|
225
|
+
x
|
226
|
+
16
|
227
|
+
object_metaclass
|
228
|
+
x
|
229
|
+
18
|
230
|
+
__metaclass_init__
|
231
|
+
M
|
232
|
+
1
|
233
|
+
n
|
234
|
+
n
|
235
|
+
x
|
236
|
+
18
|
237
|
+
__metaclass_init__
|
238
|
+
i
|
239
|
+
56
|
240
|
+
5
|
241
|
+
66
|
242
|
+
5
|
243
|
+
7
|
244
|
+
0
|
245
|
+
7
|
246
|
+
1
|
247
|
+
7
|
248
|
+
2
|
249
|
+
47
|
250
|
+
49
|
251
|
+
3
|
252
|
+
3
|
253
|
+
15
|
254
|
+
99
|
255
|
+
7
|
256
|
+
0
|
257
|
+
7
|
258
|
+
4
|
259
|
+
65
|
260
|
+
67
|
261
|
+
49
|
262
|
+
5
|
263
|
+
0
|
264
|
+
49
|
265
|
+
6
|
266
|
+
4
|
267
|
+
15
|
268
|
+
99
|
269
|
+
7
|
270
|
+
1
|
271
|
+
7
|
272
|
+
7
|
273
|
+
65
|
274
|
+
67
|
275
|
+
49
|
276
|
+
5
|
277
|
+
0
|
278
|
+
49
|
279
|
+
6
|
280
|
+
4
|
281
|
+
15
|
282
|
+
99
|
283
|
+
7
|
284
|
+
2
|
285
|
+
7
|
286
|
+
8
|
287
|
+
65
|
288
|
+
67
|
289
|
+
49
|
290
|
+
5
|
291
|
+
0
|
292
|
+
49
|
293
|
+
6
|
294
|
+
4
|
295
|
+
11
|
296
|
+
I
|
297
|
+
5
|
298
|
+
I
|
299
|
+
0
|
300
|
+
I
|
301
|
+
0
|
302
|
+
I
|
303
|
+
0
|
304
|
+
n
|
305
|
+
p
|
306
|
+
9
|
307
|
+
x
|
308
|
+
9
|
309
|
+
load_path
|
310
|
+
x
|
311
|
+
7
|
312
|
+
section
|
313
|
+
x
|
314
|
+
12
|
315
|
+
cache_config
|
316
|
+
x
|
317
|
+
11
|
318
|
+
attr_writer
|
319
|
+
M
|
320
|
+
1
|
321
|
+
n
|
322
|
+
n
|
323
|
+
x
|
324
|
+
9
|
325
|
+
load_path
|
326
|
+
i
|
327
|
+
139
|
328
|
+
39
|
329
|
+
0
|
330
|
+
9
|
331
|
+
8
|
332
|
+
39
|
333
|
+
0
|
334
|
+
8
|
335
|
+
138
|
336
|
+
26
|
337
|
+
93
|
338
|
+
0
|
339
|
+
15
|
340
|
+
29
|
341
|
+
23
|
342
|
+
0
|
343
|
+
7
|
344
|
+
1
|
345
|
+
98
|
346
|
+
2
|
347
|
+
1
|
348
|
+
30
|
349
|
+
8
|
350
|
+
29
|
351
|
+
25
|
352
|
+
92
|
353
|
+
0
|
354
|
+
27
|
355
|
+
8
|
356
|
+
34
|
357
|
+
15
|
358
|
+
7
|
359
|
+
3
|
360
|
+
8
|
361
|
+
35
|
362
|
+
1
|
363
|
+
9
|
364
|
+
51
|
365
|
+
45
|
366
|
+
1
|
367
|
+
4
|
368
|
+
49
|
369
|
+
5
|
370
|
+
0
|
371
|
+
7
|
372
|
+
6
|
373
|
+
64
|
374
|
+
49
|
375
|
+
7
|
376
|
+
1
|
377
|
+
8
|
378
|
+
138
|
379
|
+
26
|
380
|
+
93
|
381
|
+
1
|
382
|
+
15
|
383
|
+
29
|
384
|
+
66
|
385
|
+
0
|
386
|
+
7
|
387
|
+
8
|
388
|
+
98
|
389
|
+
2
|
390
|
+
1
|
391
|
+
30
|
392
|
+
8
|
393
|
+
72
|
394
|
+
25
|
395
|
+
92
|
396
|
+
1
|
397
|
+
27
|
398
|
+
8
|
399
|
+
77
|
400
|
+
15
|
401
|
+
7
|
402
|
+
3
|
403
|
+
8
|
404
|
+
78
|
405
|
+
1
|
406
|
+
9
|
407
|
+
93
|
408
|
+
45
|
409
|
+
8
|
410
|
+
9
|
411
|
+
47
|
412
|
+
49
|
413
|
+
10
|
414
|
+
0
|
415
|
+
7
|
416
|
+
11
|
417
|
+
63
|
418
|
+
2
|
419
|
+
8
|
420
|
+
138
|
421
|
+
26
|
422
|
+
93
|
423
|
+
2
|
424
|
+
15
|
425
|
+
29
|
426
|
+
108
|
427
|
+
0
|
428
|
+
7
|
429
|
+
12
|
430
|
+
98
|
431
|
+
2
|
432
|
+
1
|
433
|
+
30
|
434
|
+
8
|
435
|
+
114
|
436
|
+
25
|
437
|
+
92
|
438
|
+
2
|
439
|
+
27
|
440
|
+
8
|
441
|
+
119
|
442
|
+
15
|
443
|
+
7
|
444
|
+
3
|
445
|
+
8
|
446
|
+
120
|
447
|
+
1
|
448
|
+
9
|
449
|
+
135
|
450
|
+
45
|
451
|
+
12
|
452
|
+
13
|
453
|
+
47
|
454
|
+
49
|
455
|
+
10
|
456
|
+
0
|
457
|
+
7
|
458
|
+
11
|
459
|
+
63
|
460
|
+
2
|
461
|
+
8
|
462
|
+
138
|
463
|
+
7
|
464
|
+
6
|
465
|
+
64
|
466
|
+
11
|
467
|
+
I
|
468
|
+
5
|
469
|
+
I
|
470
|
+
0
|
471
|
+
I
|
472
|
+
0
|
473
|
+
I
|
474
|
+
0
|
475
|
+
n
|
476
|
+
p
|
477
|
+
14
|
478
|
+
x
|
479
|
+
10
|
480
|
+
@load_path
|
481
|
+
x
|
482
|
+
5
|
483
|
+
Rails
|
484
|
+
x
|
485
|
+
16
|
486
|
+
vm_const_defined
|
487
|
+
s
|
488
|
+
8
|
489
|
+
constant
|
490
|
+
n
|
491
|
+
x
|
492
|
+
4
|
493
|
+
root
|
494
|
+
s
|
495
|
+
6
|
496
|
+
config
|
497
|
+
x
|
498
|
+
4
|
499
|
+
join
|
500
|
+
x
|
501
|
+
10
|
502
|
+
RAILS_ROOT
|
503
|
+
n
|
504
|
+
x
|
505
|
+
4
|
506
|
+
to_s
|
507
|
+
s
|
508
|
+
7
|
509
|
+
/config
|
510
|
+
x
|
511
|
+
9
|
512
|
+
RACK_ROOT
|
513
|
+
n
|
514
|
+
p
|
515
|
+
21
|
516
|
+
I
|
517
|
+
0
|
518
|
+
I
|
519
|
+
c
|
520
|
+
I
|
521
|
+
0
|
522
|
+
I
|
523
|
+
d
|
524
|
+
I
|
525
|
+
4
|
526
|
+
I
|
527
|
+
e
|
528
|
+
I
|
529
|
+
8
|
530
|
+
I
|
531
|
+
f
|
532
|
+
I
|
533
|
+
25
|
534
|
+
I
|
535
|
+
10
|
536
|
+
I
|
537
|
+
33
|
538
|
+
I
|
539
|
+
11
|
540
|
+
I
|
541
|
+
50
|
542
|
+
I
|
543
|
+
12
|
544
|
+
I
|
545
|
+
5d
|
546
|
+
I
|
547
|
+
13
|
548
|
+
I
|
549
|
+
7a
|
550
|
+
I
|
551
|
+
14
|
552
|
+
I
|
553
|
+
87
|
554
|
+
I
|
555
|
+
16
|
556
|
+
I
|
557
|
+
8b
|
558
|
+
x
|
559
|
+
55
|
560
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
561
|
+
p
|
562
|
+
0
|
563
|
+
x
|
564
|
+
17
|
565
|
+
method_visibility
|
566
|
+
x
|
567
|
+
15
|
568
|
+
add_defn_method
|
569
|
+
M
|
570
|
+
1
|
571
|
+
n
|
572
|
+
n
|
573
|
+
x
|
574
|
+
7
|
575
|
+
section
|
576
|
+
i
|
577
|
+
117
|
578
|
+
39
|
579
|
+
0
|
580
|
+
9
|
581
|
+
8
|
582
|
+
39
|
583
|
+
0
|
584
|
+
8
|
585
|
+
116
|
586
|
+
26
|
587
|
+
93
|
588
|
+
0
|
589
|
+
15
|
590
|
+
29
|
591
|
+
23
|
592
|
+
0
|
593
|
+
7
|
594
|
+
1
|
595
|
+
98
|
596
|
+
2
|
597
|
+
1
|
598
|
+
30
|
599
|
+
8
|
600
|
+
29
|
601
|
+
25
|
602
|
+
92
|
603
|
+
0
|
604
|
+
27
|
605
|
+
8
|
606
|
+
34
|
607
|
+
15
|
608
|
+
7
|
609
|
+
3
|
610
|
+
8
|
611
|
+
35
|
612
|
+
1
|
613
|
+
9
|
614
|
+
45
|
615
|
+
45
|
616
|
+
1
|
617
|
+
4
|
618
|
+
49
|
619
|
+
5
|
620
|
+
0
|
621
|
+
8
|
622
|
+
116
|
623
|
+
26
|
624
|
+
93
|
625
|
+
1
|
626
|
+
15
|
627
|
+
29
|
628
|
+
60
|
629
|
+
0
|
630
|
+
7
|
631
|
+
6
|
632
|
+
98
|
633
|
+
2
|
634
|
+
1
|
635
|
+
30
|
636
|
+
8
|
637
|
+
66
|
638
|
+
25
|
639
|
+
92
|
640
|
+
1
|
641
|
+
27
|
642
|
+
8
|
643
|
+
71
|
644
|
+
15
|
645
|
+
7
|
646
|
+
3
|
647
|
+
8
|
648
|
+
72
|
649
|
+
1
|
650
|
+
9
|
651
|
+
79
|
652
|
+
45
|
653
|
+
6
|
654
|
+
7
|
655
|
+
8
|
656
|
+
116
|
657
|
+
26
|
658
|
+
93
|
659
|
+
2
|
660
|
+
15
|
661
|
+
29
|
662
|
+
94
|
663
|
+
0
|
664
|
+
7
|
665
|
+
8
|
666
|
+
98
|
667
|
+
2
|
668
|
+
1
|
669
|
+
30
|
670
|
+
8
|
671
|
+
100
|
672
|
+
25
|
673
|
+
92
|
674
|
+
2
|
675
|
+
27
|
676
|
+
8
|
677
|
+
105
|
678
|
+
15
|
679
|
+
7
|
680
|
+
3
|
681
|
+
8
|
682
|
+
106
|
683
|
+
1
|
684
|
+
9
|
685
|
+
113
|
686
|
+
45
|
687
|
+
8
|
688
|
+
9
|
689
|
+
8
|
690
|
+
116
|
691
|
+
7
|
692
|
+
10
|
693
|
+
64
|
694
|
+
11
|
695
|
+
I
|
696
|
+
4
|
697
|
+
I
|
698
|
+
0
|
699
|
+
I
|
700
|
+
0
|
701
|
+
I
|
702
|
+
0
|
703
|
+
n
|
704
|
+
p
|
705
|
+
11
|
706
|
+
x
|
707
|
+
8
|
708
|
+
@section
|
709
|
+
x
|
710
|
+
5
|
711
|
+
Rails
|
712
|
+
x
|
713
|
+
16
|
714
|
+
vm_const_defined
|
715
|
+
s
|
716
|
+
8
|
717
|
+
constant
|
718
|
+
n
|
719
|
+
x
|
720
|
+
3
|
721
|
+
env
|
722
|
+
x
|
723
|
+
9
|
724
|
+
RAILS_ENV
|
725
|
+
n
|
726
|
+
x
|
727
|
+
8
|
728
|
+
RACK_ENV
|
729
|
+
n
|
730
|
+
s
|
731
|
+
11
|
732
|
+
development
|
733
|
+
p
|
734
|
+
21
|
735
|
+
I
|
736
|
+
0
|
737
|
+
I
|
738
|
+
1a
|
739
|
+
I
|
740
|
+
0
|
741
|
+
I
|
742
|
+
1b
|
743
|
+
I
|
744
|
+
4
|
745
|
+
I
|
746
|
+
1c
|
747
|
+
I
|
748
|
+
8
|
749
|
+
I
|
750
|
+
1d
|
751
|
+
I
|
752
|
+
25
|
753
|
+
I
|
754
|
+
1e
|
755
|
+
I
|
756
|
+
2d
|
757
|
+
I
|
758
|
+
1f
|
759
|
+
I
|
760
|
+
4a
|
761
|
+
I
|
762
|
+
20
|
763
|
+
I
|
764
|
+
4f
|
765
|
+
I
|
766
|
+
21
|
767
|
+
I
|
768
|
+
6c
|
769
|
+
I
|
770
|
+
22
|
771
|
+
I
|
772
|
+
71
|
773
|
+
I
|
774
|
+
24
|
775
|
+
I
|
776
|
+
75
|
777
|
+
x
|
778
|
+
55
|
779
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
780
|
+
p
|
781
|
+
0
|
782
|
+
M
|
783
|
+
1
|
784
|
+
n
|
785
|
+
n
|
786
|
+
x
|
787
|
+
12
|
788
|
+
cache_config
|
789
|
+
i
|
790
|
+
17
|
791
|
+
39
|
792
|
+
0
|
793
|
+
49
|
794
|
+
1
|
795
|
+
0
|
796
|
+
9
|
797
|
+
12
|
798
|
+
3
|
799
|
+
38
|
800
|
+
0
|
801
|
+
8
|
802
|
+
13
|
803
|
+
1
|
804
|
+
15
|
805
|
+
39
|
806
|
+
0
|
807
|
+
11
|
808
|
+
I
|
809
|
+
1
|
810
|
+
I
|
811
|
+
0
|
812
|
+
I
|
813
|
+
0
|
814
|
+
I
|
815
|
+
0
|
816
|
+
n
|
817
|
+
p
|
818
|
+
2
|
819
|
+
x
|
820
|
+
13
|
821
|
+
@cache_config
|
822
|
+
x
|
823
|
+
4
|
824
|
+
nil?
|
825
|
+
p
|
826
|
+
7
|
827
|
+
I
|
828
|
+
0
|
829
|
+
I
|
830
|
+
28
|
831
|
+
I
|
832
|
+
0
|
833
|
+
I
|
834
|
+
29
|
835
|
+
I
|
836
|
+
e
|
837
|
+
I
|
838
|
+
2a
|
839
|
+
I
|
840
|
+
11
|
841
|
+
x
|
842
|
+
55
|
843
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
844
|
+
p
|
845
|
+
0
|
846
|
+
p
|
847
|
+
9
|
848
|
+
I
|
849
|
+
2
|
850
|
+
I
|
851
|
+
a
|
852
|
+
I
|
853
|
+
e
|
854
|
+
I
|
855
|
+
c
|
856
|
+
I
|
857
|
+
1c
|
858
|
+
I
|
859
|
+
1a
|
860
|
+
I
|
861
|
+
2a
|
862
|
+
I
|
863
|
+
28
|
864
|
+
I
|
865
|
+
38
|
866
|
+
x
|
867
|
+
55
|
868
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
869
|
+
p
|
870
|
+
0
|
871
|
+
x
|
872
|
+
13
|
873
|
+
attach_method
|
874
|
+
x
|
875
|
+
8
|
876
|
+
camelize
|
877
|
+
M
|
878
|
+
1
|
879
|
+
n
|
880
|
+
n
|
881
|
+
x
|
882
|
+
8
|
883
|
+
camelize
|
884
|
+
i
|
885
|
+
113
|
886
|
+
20
|
887
|
+
0
|
888
|
+
7
|
889
|
+
0
|
890
|
+
13
|
891
|
+
70
|
892
|
+
9
|
893
|
+
20
|
894
|
+
15
|
895
|
+
44
|
896
|
+
43
|
897
|
+
1
|
898
|
+
7
|
899
|
+
2
|
900
|
+
79
|
901
|
+
49
|
902
|
+
3
|
903
|
+
2
|
904
|
+
6
|
905
|
+
0
|
906
|
+
56
|
907
|
+
4
|
908
|
+
50
|
909
|
+
5
|
910
|
+
1
|
911
|
+
19
|
912
|
+
1
|
913
|
+
15
|
914
|
+
20
|
915
|
+
1
|
916
|
+
7
|
917
|
+
6
|
918
|
+
13
|
919
|
+
70
|
920
|
+
9
|
921
|
+
48
|
922
|
+
15
|
923
|
+
44
|
924
|
+
43
|
925
|
+
1
|
926
|
+
7
|
927
|
+
7
|
928
|
+
78
|
929
|
+
49
|
930
|
+
3
|
931
|
+
2
|
932
|
+
6
|
933
|
+
6
|
934
|
+
7
|
935
|
+
8
|
936
|
+
64
|
937
|
+
49
|
938
|
+
9
|
939
|
+
2
|
940
|
+
15
|
941
|
+
20
|
942
|
+
1
|
943
|
+
7
|
944
|
+
10
|
945
|
+
13
|
946
|
+
70
|
947
|
+
9
|
948
|
+
75
|
949
|
+
15
|
950
|
+
44
|
951
|
+
43
|
952
|
+
1
|
953
|
+
7
|
954
|
+
11
|
955
|
+
78
|
956
|
+
49
|
957
|
+
3
|
958
|
+
2
|
959
|
+
6
|
960
|
+
10
|
961
|
+
7
|
962
|
+
8
|
963
|
+
64
|
964
|
+
49
|
965
|
+
9
|
966
|
+
2
|
967
|
+
15
|
968
|
+
20
|
969
|
+
1
|
970
|
+
7
|
971
|
+
12
|
972
|
+
13
|
973
|
+
70
|
974
|
+
9
|
975
|
+
102
|
976
|
+
15
|
977
|
+
44
|
978
|
+
43
|
979
|
+
1
|
980
|
+
7
|
981
|
+
13
|
982
|
+
78
|
983
|
+
49
|
984
|
+
3
|
985
|
+
2
|
986
|
+
6
|
987
|
+
12
|
988
|
+
7
|
989
|
+
8
|
990
|
+
64
|
991
|
+
49
|
992
|
+
9
|
993
|
+
2
|
994
|
+
15
|
995
|
+
20
|
996
|
+
1
|
997
|
+
11
|
998
|
+
11
|
999
|
+
I
|
1000
|
+
6
|
1001
|
+
I
|
1002
|
+
2
|
1003
|
+
I
|
1004
|
+
1
|
1005
|
+
I
|
1006
|
+
1
|
1007
|
+
n
|
1008
|
+
p
|
1009
|
+
14
|
1010
|
+
n
|
1011
|
+
x
|
1012
|
+
6
|
1013
|
+
Regexp
|
1014
|
+
s
|
1015
|
+
31
|
1016
|
+
^[a-z]|\s+[a-z]|_+[a-z]|-+[a-z]
|
1017
|
+
x
|
1018
|
+
3
|
1019
|
+
new
|
1020
|
+
M
|
1021
|
+
1
|
1022
|
+
p
|
1023
|
+
2
|
1024
|
+
x
|
1025
|
+
9
|
1026
|
+
for_block
|
1027
|
+
t
|
1028
|
+
n
|
1029
|
+
x
|
1030
|
+
8
|
1031
|
+
camelize
|
1032
|
+
i
|
1033
|
+
10
|
1034
|
+
57
|
1035
|
+
19
|
1036
|
+
0
|
1037
|
+
15
|
1038
|
+
20
|
1039
|
+
0
|
1040
|
+
49
|
1041
|
+
0
|
1042
|
+
0
|
1043
|
+
11
|
1044
|
+
I
|
1045
|
+
3
|
1046
|
+
I
|
1047
|
+
1
|
1048
|
+
I
|
1049
|
+
1
|
1050
|
+
I
|
1051
|
+
1
|
1052
|
+
n
|
1053
|
+
p
|
1054
|
+
1
|
1055
|
+
x
|
1056
|
+
6
|
1057
|
+
upcase
|
1058
|
+
p
|
1059
|
+
3
|
1060
|
+
I
|
1061
|
+
0
|
1062
|
+
I
|
1063
|
+
2f
|
1064
|
+
I
|
1065
|
+
a
|
1066
|
+
x
|
1067
|
+
55
|
1068
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
1069
|
+
p
|
1070
|
+
1
|
1071
|
+
x
|
1072
|
+
1
|
1073
|
+
a
|
1074
|
+
x
|
1075
|
+
4
|
1076
|
+
gsub
|
1077
|
+
n
|
1078
|
+
s
|
1079
|
+
2
|
1080
|
+
\s
|
1081
|
+
s
|
1082
|
+
0
|
1083
|
+
|
1084
|
+
x
|
1085
|
+
5
|
1086
|
+
gsub!
|
1087
|
+
n
|
1088
|
+
s
|
1089
|
+
1
|
1090
|
+
_
|
1091
|
+
n
|
1092
|
+
s
|
1093
|
+
1
|
1094
|
+
-
|
1095
|
+
p
|
1096
|
+
13
|
1097
|
+
I
|
1098
|
+
0
|
1099
|
+
I
|
1100
|
+
2e
|
1101
|
+
I
|
1102
|
+
0
|
1103
|
+
I
|
1104
|
+
2f
|
1105
|
+
I
|
1106
|
+
1c
|
1107
|
+
I
|
1108
|
+
30
|
1109
|
+
I
|
1110
|
+
37
|
1111
|
+
I
|
1112
|
+
31
|
1113
|
+
I
|
1114
|
+
52
|
1115
|
+
I
|
1116
|
+
32
|
1117
|
+
I
|
1118
|
+
6d
|
1119
|
+
I
|
1120
|
+
33
|
1121
|
+
I
|
1122
|
+
71
|
1123
|
+
x
|
1124
|
+
55
|
1125
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
1126
|
+
p
|
1127
|
+
2
|
1128
|
+
x
|
1129
|
+
6
|
1130
|
+
phrase
|
1131
|
+
x
|
1132
|
+
9
|
1133
|
+
camelized
|
1134
|
+
x
|
1135
|
+
6
|
1136
|
+
create
|
1137
|
+
M
|
1138
|
+
1
|
1139
|
+
n
|
1140
|
+
n
|
1141
|
+
x
|
1142
|
+
6
|
1143
|
+
create
|
1144
|
+
i
|
1145
|
+
65
|
1146
|
+
45
|
1147
|
+
0
|
1148
|
+
1
|
1149
|
+
5
|
1150
|
+
20
|
1151
|
+
0
|
1152
|
+
49
|
1153
|
+
2
|
1154
|
+
0
|
1155
|
+
47
|
1156
|
+
49
|
1157
|
+
3
|
1158
|
+
1
|
1159
|
+
45
|
1160
|
+
4
|
1161
|
+
5
|
1162
|
+
43
|
1163
|
+
6
|
1164
|
+
13
|
1165
|
+
71
|
1166
|
+
7
|
1167
|
+
47
|
1168
|
+
9
|
1169
|
+
47
|
1170
|
+
47
|
1171
|
+
49
|
1172
|
+
8
|
1173
|
+
0
|
1174
|
+
13
|
1175
|
+
20
|
1176
|
+
0
|
1177
|
+
5
|
1178
|
+
48
|
1179
|
+
9
|
1180
|
+
5
|
1181
|
+
48
|
1182
|
+
10
|
1183
|
+
5
|
1184
|
+
48
|
1185
|
+
11
|
1186
|
+
47
|
1187
|
+
49
|
1188
|
+
12
|
1189
|
+
4
|
1190
|
+
15
|
1191
|
+
8
|
1192
|
+
61
|
1193
|
+
20
|
1194
|
+
0
|
1195
|
+
5
|
1196
|
+
48
|
1197
|
+
9
|
1198
|
+
5
|
1199
|
+
48
|
1200
|
+
10
|
1201
|
+
5
|
1202
|
+
48
|
1203
|
+
11
|
1204
|
+
49
|
1205
|
+
7
|
1206
|
+
4
|
1207
|
+
49
|
1208
|
+
13
|
1209
|
+
2
|
1210
|
+
11
|
1211
|
+
I
|
1212
|
+
9
|
1213
|
+
I
|
1214
|
+
1
|
1215
|
+
I
|
1216
|
+
1
|
1217
|
+
I
|
1218
|
+
1
|
1219
|
+
n
|
1220
|
+
p
|
1221
|
+
14
|
1222
|
+
x
|
1223
|
+
6
|
1224
|
+
Object
|
1225
|
+
n
|
1226
|
+
x
|
1227
|
+
4
|
1228
|
+
to_s
|
1229
|
+
x
|
1230
|
+
8
|
1231
|
+
camelize
|
1232
|
+
x
|
1233
|
+
7
|
1234
|
+
Configy
|
1235
|
+
n
|
1236
|
+
x
|
1237
|
+
4
|
1238
|
+
Base
|
1239
|
+
x
|
1240
|
+
3
|
1241
|
+
new
|
1242
|
+
x
|
1243
|
+
8
|
1244
|
+
allocate
|
1245
|
+
x
|
1246
|
+
7
|
1247
|
+
section
|
1248
|
+
x
|
1249
|
+
9
|
1250
|
+
load_path
|
1251
|
+
x
|
1252
|
+
12
|
1253
|
+
cache_config
|
1254
|
+
x
|
1255
|
+
10
|
1256
|
+
initialize
|
1257
|
+
x
|
1258
|
+
9
|
1259
|
+
const_set
|
1260
|
+
p
|
1261
|
+
5
|
1262
|
+
I
|
1263
|
+
0
|
1264
|
+
I
|
1265
|
+
37
|
1266
|
+
I
|
1267
|
+
0
|
1268
|
+
I
|
1269
|
+
38
|
1270
|
+
I
|
1271
|
+
41
|
1272
|
+
x
|
1273
|
+
55
|
1274
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
1275
|
+
p
|
1276
|
+
1
|
1277
|
+
x
|
1278
|
+
4
|
1279
|
+
file
|
1280
|
+
p
|
1281
|
+
17
|
1282
|
+
I
|
1283
|
+
2
|
1284
|
+
I
|
1285
|
+
2
|
1286
|
+
I
|
1287
|
+
d
|
1288
|
+
I
|
1289
|
+
3
|
1290
|
+
I
|
1291
|
+
18
|
1292
|
+
I
|
1293
|
+
4
|
1294
|
+
I
|
1295
|
+
23
|
1296
|
+
I
|
1297
|
+
6
|
1298
|
+
I
|
1299
|
+
30
|
1300
|
+
I
|
1301
|
+
7
|
1302
|
+
I
|
1303
|
+
3d
|
1304
|
+
I
|
1305
|
+
9
|
1306
|
+
I
|
1307
|
+
57
|
1308
|
+
I
|
1309
|
+
2e
|
1310
|
+
I
|
1311
|
+
62
|
1312
|
+
I
|
1313
|
+
37
|
1314
|
+
I
|
1315
|
+
6d
|
1316
|
+
x
|
1317
|
+
55
|
1318
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
1319
|
+
p
|
1320
|
+
0
|
1321
|
+
x
|
1322
|
+
13
|
1323
|
+
attach_method
|
1324
|
+
p
|
1325
|
+
3
|
1326
|
+
I
|
1327
|
+
0
|
1328
|
+
I
|
1329
|
+
1
|
1330
|
+
I
|
1331
|
+
1c
|
1332
|
+
x
|
1333
|
+
55
|
1334
|
+
/Users/gabevarela/work/ruby/gems/configy/lib/configy.rb
|
1335
|
+
p
|
1336
|
+
0
|