configy 0.0.4 → 1.0.0

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.
@@ -0,0 +1,52 @@
1
+ require 'test_helper'
2
+
3
+ class ConfigStoreTest < MiniTest::Unit::TestCase
4
+ def test_should_initialize_with_a_hash
5
+ hash = {'common' => {'a' => 1, 'b' => 2} }
6
+ config = Configy::ConfigStore.new(hash)
7
+ assert_equal hash, config.to_hash
8
+ end
9
+
10
+ def test_should_compile_a_selected_section_with_the_common_section
11
+ hash1 = {
12
+ 'common' => { 'a' => "A", 'b' => "B" },
13
+ 'development' => { 'a' => "A*", 'c' => "C" }
14
+ }
15
+
16
+ config = Configy::ConfigStore.new(hash1).compile('development')
17
+
18
+ assert_equal "A*", config['a']
19
+ assert_equal "B", config['b']
20
+ assert_equal "C", config['c']
21
+ end
22
+
23
+ def test_should_merge_two_configs_together
24
+ hash1 = {
25
+ 'common' => { 'a' => "A", 'b' => "B", 'c' => "C" },
26
+ 'development' => { 'a' => "A*", 'c' => "C*", 'd' => "D", 'e' => "E" }
27
+ }
28
+
29
+ hash2 = {
30
+ 'common' => { 'c' => "C**", 'f' => "F" },
31
+ 'development' => { 'e' => "E*" }
32
+ }
33
+
34
+ config1 = Configy::ConfigStore.new(hash1).compile('development')
35
+ config2 = Configy::ConfigStore.new(hash2).compile('development')
36
+ config = config1.merge(config2)
37
+
38
+ assert_equal "A*", config['a']
39
+ assert_equal "B", config['b']
40
+ assert_equal "C**", config['c']
41
+ assert_equal "D", config['d']
42
+ assert_equal "E*", config['e']
43
+ assert_equal "F", config['f']
44
+ end
45
+
46
+ def test_should_raise_an_exception_if_config_is_missing
47
+ assert_raises Configy::ConfigParamNotFound do
48
+ Configy::ConfigStore.new({})['oops']
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,1483 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 44
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 45
26
+ 3
27
+ 4
28
+ 43
29
+ 5
30
+ 43
31
+ 6
32
+ 65
33
+ 49
34
+ 7
35
+ 3
36
+ 13
37
+ 99
38
+ 12
39
+ 7
40
+ 8
41
+ 12
42
+ 7
43
+ 9
44
+ 12
45
+ 65
46
+ 12
47
+ 49
48
+ 10
49
+ 4
50
+ 15
51
+ 49
52
+ 8
53
+ 0
54
+ 15
55
+ 2
56
+ 11
57
+ I
58
+ 6
59
+ I
60
+ 0
61
+ I
62
+ 0
63
+ I
64
+ 0
65
+ n
66
+ p
67
+ 11
68
+ s
69
+ 11
70
+ test_helper
71
+ x
72
+ 7
73
+ require
74
+ x
75
+ 15
76
+ ConfigStoreTest
77
+ x
78
+ 8
79
+ MiniTest
80
+ n
81
+ x
82
+ 4
83
+ Unit
84
+ x
85
+ 8
86
+ TestCase
87
+ x
88
+ 10
89
+ open_class
90
+ x
91
+ 14
92
+ __class_init__
93
+ M
94
+ 1
95
+ n
96
+ n
97
+ x
98
+ 15
99
+ ConfigStoreTest
100
+ i
101
+ 58
102
+ 5
103
+ 66
104
+ 99
105
+ 7
106
+ 0
107
+ 7
108
+ 1
109
+ 65
110
+ 67
111
+ 49
112
+ 2
113
+ 0
114
+ 49
115
+ 3
116
+ 4
117
+ 15
118
+ 99
119
+ 7
120
+ 4
121
+ 7
122
+ 5
123
+ 65
124
+ 67
125
+ 49
126
+ 2
127
+ 0
128
+ 49
129
+ 3
130
+ 4
131
+ 15
132
+ 99
133
+ 7
134
+ 6
135
+ 7
136
+ 7
137
+ 65
138
+ 67
139
+ 49
140
+ 2
141
+ 0
142
+ 49
143
+ 3
144
+ 4
145
+ 15
146
+ 99
147
+ 7
148
+ 8
149
+ 7
150
+ 9
151
+ 65
152
+ 67
153
+ 49
154
+ 2
155
+ 0
156
+ 49
157
+ 3
158
+ 4
159
+ 11
160
+ I
161
+ 5
162
+ I
163
+ 0
164
+ I
165
+ 0
166
+ I
167
+ 0
168
+ n
169
+ p
170
+ 10
171
+ x
172
+ 34
173
+ test_should_initialize_with_a_hash
174
+ M
175
+ 1
176
+ n
177
+ n
178
+ x
179
+ 34
180
+ test_should_initialize_with_a_hash
181
+ i
182
+ 89
183
+ 44
184
+ 43
185
+ 0
186
+ 79
187
+ 49
188
+ 1
189
+ 1
190
+ 13
191
+ 7
192
+ 2
193
+ 64
194
+ 44
195
+ 43
196
+ 0
197
+ 80
198
+ 49
199
+ 1
200
+ 1
201
+ 13
202
+ 7
203
+ 3
204
+ 64
205
+ 79
206
+ 49
207
+ 4
208
+ 2
209
+ 15
210
+ 13
211
+ 7
212
+ 5
213
+ 64
214
+ 80
215
+ 49
216
+ 4
217
+ 2
218
+ 15
219
+ 49
220
+ 4
221
+ 2
222
+ 15
223
+ 19
224
+ 0
225
+ 15
226
+ 45
227
+ 6
228
+ 7
229
+ 43
230
+ 8
231
+ 13
232
+ 71
233
+ 9
234
+ 47
235
+ 9
236
+ 68
237
+ 47
238
+ 49
239
+ 10
240
+ 0
241
+ 13
242
+ 20
243
+ 0
244
+ 47
245
+ 49
246
+ 11
247
+ 1
248
+ 15
249
+ 8
250
+ 73
251
+ 20
252
+ 0
253
+ 49
254
+ 9
255
+ 1
256
+ 19
257
+ 1
258
+ 15
259
+ 5
260
+ 20
261
+ 0
262
+ 20
263
+ 1
264
+ 49
265
+ 12
266
+ 0
267
+ 47
268
+ 49
269
+ 13
270
+ 2
271
+ 11
272
+ I
273
+ 9
274
+ I
275
+ 2
276
+ I
277
+ 0
278
+ I
279
+ 0
280
+ n
281
+ p
282
+ 14
283
+ x
284
+ 4
285
+ Hash
286
+ x
287
+ 16
288
+ new_from_literal
289
+ s
290
+ 6
291
+ common
292
+ s
293
+ 1
294
+ a
295
+ x
296
+ 3
297
+ []=
298
+ s
299
+ 1
300
+ b
301
+ x
302
+ 7
303
+ Configy
304
+ n
305
+ x
306
+ 11
307
+ ConfigStore
308
+ x
309
+ 3
310
+ new
311
+ x
312
+ 8
313
+ allocate
314
+ x
315
+ 10
316
+ initialize
317
+ x
318
+ 7
319
+ to_hash
320
+ x
321
+ 12
322
+ assert_equal
323
+ p
324
+ 9
325
+ I
326
+ 0
327
+ I
328
+ 4
329
+ I
330
+ 0
331
+ I
332
+ 5
333
+ I
334
+ 2b
335
+ I
336
+ 6
337
+ I
338
+ 4c
339
+ I
340
+ 7
341
+ I
342
+ 59
343
+ x
344
+ 66
345
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
346
+ p
347
+ 2
348
+ x
349
+ 4
350
+ hash
351
+ x
352
+ 6
353
+ config
354
+ x
355
+ 17
356
+ method_visibility
357
+ x
358
+ 15
359
+ add_defn_method
360
+ x
361
+ 62
362
+ test_should_compile_a_selected_section_with_the_common_section
363
+ M
364
+ 1
365
+ n
366
+ n
367
+ x
368
+ 62
369
+ test_should_compile_a_selected_section_with_the_common_section
370
+ i
371
+ 174
372
+ 44
373
+ 43
374
+ 0
375
+ 80
376
+ 49
377
+ 1
378
+ 1
379
+ 13
380
+ 7
381
+ 2
382
+ 64
383
+ 44
384
+ 43
385
+ 0
386
+ 80
387
+ 49
388
+ 1
389
+ 1
390
+ 13
391
+ 7
392
+ 3
393
+ 64
394
+ 7
395
+ 4
396
+ 64
397
+ 49
398
+ 5
399
+ 2
400
+ 15
401
+ 13
402
+ 7
403
+ 6
404
+ 64
405
+ 7
406
+ 7
407
+ 64
408
+ 49
409
+ 5
410
+ 2
411
+ 15
412
+ 49
413
+ 5
414
+ 2
415
+ 15
416
+ 13
417
+ 7
418
+ 8
419
+ 64
420
+ 44
421
+ 43
422
+ 0
423
+ 80
424
+ 49
425
+ 1
426
+ 1
427
+ 13
428
+ 7
429
+ 3
430
+ 64
431
+ 7
432
+ 9
433
+ 64
434
+ 49
435
+ 5
436
+ 2
437
+ 15
438
+ 13
439
+ 7
440
+ 10
441
+ 64
442
+ 7
443
+ 11
444
+ 64
445
+ 49
446
+ 5
447
+ 2
448
+ 15
449
+ 49
450
+ 5
451
+ 2
452
+ 15
453
+ 19
454
+ 0
455
+ 15
456
+ 45
457
+ 12
458
+ 13
459
+ 43
460
+ 14
461
+ 13
462
+ 71
463
+ 15
464
+ 47
465
+ 9
466
+ 109
467
+ 47
468
+ 49
469
+ 16
470
+ 0
471
+ 13
472
+ 20
473
+ 0
474
+ 47
475
+ 49
476
+ 17
477
+ 1
478
+ 15
479
+ 8
480
+ 114
481
+ 20
482
+ 0
483
+ 49
484
+ 15
485
+ 1
486
+ 7
487
+ 8
488
+ 64
489
+ 49
490
+ 18
491
+ 1
492
+ 19
493
+ 1
494
+ 15
495
+ 5
496
+ 7
497
+ 9
498
+ 64
499
+ 20
500
+ 1
501
+ 7
502
+ 3
503
+ 64
504
+ 49
505
+ 19
506
+ 1
507
+ 47
508
+ 49
509
+ 20
510
+ 2
511
+ 15
512
+ 5
513
+ 7
514
+ 7
515
+ 64
516
+ 20
517
+ 1
518
+ 7
519
+ 6
520
+ 64
521
+ 49
522
+ 19
523
+ 1
524
+ 47
525
+ 49
526
+ 20
527
+ 2
528
+ 15
529
+ 5
530
+ 7
531
+ 11
532
+ 64
533
+ 20
534
+ 1
535
+ 7
536
+ 10
537
+ 64
538
+ 49
539
+ 19
540
+ 1
541
+ 47
542
+ 49
543
+ 20
544
+ 2
545
+ 11
546
+ I
547
+ 9
548
+ I
549
+ 2
550
+ I
551
+ 0
552
+ I
553
+ 0
554
+ n
555
+ p
556
+ 21
557
+ x
558
+ 4
559
+ Hash
560
+ x
561
+ 16
562
+ new_from_literal
563
+ s
564
+ 6
565
+ common
566
+ s
567
+ 1
568
+ a
569
+ s
570
+ 1
571
+ A
572
+ x
573
+ 3
574
+ []=
575
+ s
576
+ 1
577
+ b
578
+ s
579
+ 1
580
+ B
581
+ s
582
+ 11
583
+ development
584
+ s
585
+ 2
586
+ A*
587
+ s
588
+ 1
589
+ c
590
+ s
591
+ 1
592
+ C
593
+ x
594
+ 7
595
+ Configy
596
+ n
597
+ x
598
+ 11
599
+ ConfigStore
600
+ x
601
+ 3
602
+ new
603
+ x
604
+ 8
605
+ allocate
606
+ x
607
+ 10
608
+ initialize
609
+ x
610
+ 7
611
+ compile
612
+ x
613
+ 2
614
+ []
615
+ x
616
+ 12
617
+ assert_equal
618
+ p
619
+ 19
620
+ I
621
+ 0
622
+ I
623
+ a
624
+ I
625
+ 0
626
+ I
627
+ b
628
+ I
629
+ 0
630
+ I
631
+ e
632
+ I
633
+ 8
634
+ I
635
+ c
636
+ I
637
+ 2d
638
+ I
639
+ d
640
+ I
641
+ 54
642
+ I
643
+ 10
644
+ I
645
+ 7b
646
+ I
647
+ 12
648
+ I
649
+ 8c
650
+ I
651
+ 13
652
+ I
653
+ 9d
654
+ I
655
+ 14
656
+ I
657
+ ae
658
+ x
659
+ 66
660
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
661
+ p
662
+ 2
663
+ x
664
+ 5
665
+ hash1
666
+ x
667
+ 6
668
+ config
669
+ x
670
+ 38
671
+ test_should_merge_two_configs_together
672
+ M
673
+ 1
674
+ n
675
+ n
676
+ x
677
+ 38
678
+ test_should_merge_two_configs_together
679
+ i
680
+ 382
681
+ 44
682
+ 43
683
+ 0
684
+ 80
685
+ 49
686
+ 1
687
+ 1
688
+ 13
689
+ 7
690
+ 2
691
+ 64
692
+ 44
693
+ 43
694
+ 0
695
+ 4
696
+ 3
697
+ 49
698
+ 1
699
+ 1
700
+ 13
701
+ 7
702
+ 3
703
+ 64
704
+ 7
705
+ 4
706
+ 64
707
+ 49
708
+ 5
709
+ 2
710
+ 15
711
+ 13
712
+ 7
713
+ 6
714
+ 64
715
+ 7
716
+ 7
717
+ 64
718
+ 49
719
+ 5
720
+ 2
721
+ 15
722
+ 13
723
+ 7
724
+ 8
725
+ 64
726
+ 7
727
+ 9
728
+ 64
729
+ 49
730
+ 5
731
+ 2
732
+ 15
733
+ 49
734
+ 5
735
+ 2
736
+ 15
737
+ 13
738
+ 7
739
+ 10
740
+ 64
741
+ 44
742
+ 43
743
+ 0
744
+ 4
745
+ 4
746
+ 49
747
+ 1
748
+ 1
749
+ 13
750
+ 7
751
+ 3
752
+ 64
753
+ 7
754
+ 11
755
+ 64
756
+ 49
757
+ 5
758
+ 2
759
+ 15
760
+ 13
761
+ 7
762
+ 8
763
+ 64
764
+ 7
765
+ 12
766
+ 64
767
+ 49
768
+ 5
769
+ 2
770
+ 15
771
+ 13
772
+ 7
773
+ 13
774
+ 64
775
+ 7
776
+ 14
777
+ 64
778
+ 49
779
+ 5
780
+ 2
781
+ 15
782
+ 13
783
+ 7
784
+ 15
785
+ 64
786
+ 7
787
+ 16
788
+ 64
789
+ 49
790
+ 5
791
+ 2
792
+ 15
793
+ 49
794
+ 5
795
+ 2
796
+ 15
797
+ 19
798
+ 0
799
+ 15
800
+ 44
801
+ 43
802
+ 0
803
+ 80
804
+ 49
805
+ 1
806
+ 1
807
+ 13
808
+ 7
809
+ 2
810
+ 64
811
+ 44
812
+ 43
813
+ 0
814
+ 80
815
+ 49
816
+ 1
817
+ 1
818
+ 13
819
+ 7
820
+ 8
821
+ 64
822
+ 7
823
+ 17
824
+ 64
825
+ 49
826
+ 5
827
+ 2
828
+ 15
829
+ 13
830
+ 7
831
+ 18
832
+ 64
833
+ 7
834
+ 19
835
+ 64
836
+ 49
837
+ 5
838
+ 2
839
+ 15
840
+ 49
841
+ 5
842
+ 2
843
+ 15
844
+ 13
845
+ 7
846
+ 10
847
+ 64
848
+ 44
849
+ 43
850
+ 0
851
+ 79
852
+ 49
853
+ 1
854
+ 1
855
+ 13
856
+ 7
857
+ 15
858
+ 64
859
+ 7
860
+ 20
861
+ 64
862
+ 49
863
+ 5
864
+ 2
865
+ 15
866
+ 49
867
+ 5
868
+ 2
869
+ 15
870
+ 19
871
+ 1
872
+ 15
873
+ 45
874
+ 21
875
+ 22
876
+ 43
877
+ 23
878
+ 13
879
+ 71
880
+ 24
881
+ 47
882
+ 9
883
+ 217
884
+ 47
885
+ 49
886
+ 25
887
+ 0
888
+ 13
889
+ 20
890
+ 0
891
+ 47
892
+ 49
893
+ 26
894
+ 1
895
+ 15
896
+ 8
897
+ 222
898
+ 20
899
+ 0
900
+ 49
901
+ 24
902
+ 1
903
+ 7
904
+ 10
905
+ 64
906
+ 49
907
+ 27
908
+ 1
909
+ 19
910
+ 2
911
+ 15
912
+ 45
913
+ 21
914
+ 28
915
+ 43
916
+ 23
917
+ 13
918
+ 71
919
+ 24
920
+ 47
921
+ 9
922
+ 256
923
+ 47
924
+ 49
925
+ 25
926
+ 0
927
+ 13
928
+ 20
929
+ 1
930
+ 47
931
+ 49
932
+ 26
933
+ 1
934
+ 15
935
+ 8
936
+ 261
937
+ 20
938
+ 1
939
+ 49
940
+ 24
941
+ 1
942
+ 7
943
+ 10
944
+ 64
945
+ 49
946
+ 27
947
+ 1
948
+ 19
949
+ 3
950
+ 15
951
+ 20
952
+ 2
953
+ 20
954
+ 3
955
+ 49
956
+ 29
957
+ 1
958
+ 19
959
+ 4
960
+ 15
961
+ 5
962
+ 7
963
+ 11
964
+ 64
965
+ 20
966
+ 4
967
+ 7
968
+ 3
969
+ 64
970
+ 49
971
+ 30
972
+ 1
973
+ 47
974
+ 49
975
+ 31
976
+ 2
977
+ 15
978
+ 5
979
+ 7
980
+ 7
981
+ 64
982
+ 20
983
+ 4
984
+ 7
985
+ 6
986
+ 64
987
+ 49
988
+ 30
989
+ 1
990
+ 47
991
+ 49
992
+ 31
993
+ 2
994
+ 15
995
+ 5
996
+ 7
997
+ 17
998
+ 64
999
+ 20
1000
+ 4
1001
+ 7
1002
+ 8
1003
+ 64
1004
+ 49
1005
+ 30
1006
+ 1
1007
+ 47
1008
+ 49
1009
+ 31
1010
+ 2
1011
+ 15
1012
+ 5
1013
+ 7
1014
+ 14
1015
+ 64
1016
+ 20
1017
+ 4
1018
+ 7
1019
+ 13
1020
+ 64
1021
+ 49
1022
+ 30
1023
+ 1
1024
+ 47
1025
+ 49
1026
+ 31
1027
+ 2
1028
+ 15
1029
+ 5
1030
+ 7
1031
+ 20
1032
+ 64
1033
+ 20
1034
+ 4
1035
+ 7
1036
+ 15
1037
+ 64
1038
+ 49
1039
+ 30
1040
+ 1
1041
+ 47
1042
+ 49
1043
+ 31
1044
+ 2
1045
+ 15
1046
+ 5
1047
+ 7
1048
+ 19
1049
+ 64
1050
+ 20
1051
+ 4
1052
+ 7
1053
+ 18
1054
+ 64
1055
+ 49
1056
+ 30
1057
+ 1
1058
+ 47
1059
+ 49
1060
+ 31
1061
+ 2
1062
+ 11
1063
+ I
1064
+ c
1065
+ I
1066
+ 5
1067
+ I
1068
+ 0
1069
+ I
1070
+ 0
1071
+ n
1072
+ p
1073
+ 32
1074
+ x
1075
+ 4
1076
+ Hash
1077
+ x
1078
+ 16
1079
+ new_from_literal
1080
+ s
1081
+ 6
1082
+ common
1083
+ s
1084
+ 1
1085
+ a
1086
+ s
1087
+ 1
1088
+ A
1089
+ x
1090
+ 3
1091
+ []=
1092
+ s
1093
+ 1
1094
+ b
1095
+ s
1096
+ 1
1097
+ B
1098
+ s
1099
+ 1
1100
+ c
1101
+ s
1102
+ 1
1103
+ C
1104
+ s
1105
+ 11
1106
+ development
1107
+ s
1108
+ 2
1109
+ A*
1110
+ s
1111
+ 2
1112
+ C*
1113
+ s
1114
+ 1
1115
+ d
1116
+ s
1117
+ 1
1118
+ D
1119
+ s
1120
+ 1
1121
+ e
1122
+ s
1123
+ 1
1124
+ E
1125
+ s
1126
+ 3
1127
+ C**
1128
+ s
1129
+ 1
1130
+ f
1131
+ s
1132
+ 1
1133
+ F
1134
+ s
1135
+ 2
1136
+ E*
1137
+ x
1138
+ 7
1139
+ Configy
1140
+ n
1141
+ x
1142
+ 11
1143
+ ConfigStore
1144
+ x
1145
+ 3
1146
+ new
1147
+ x
1148
+ 8
1149
+ allocate
1150
+ x
1151
+ 10
1152
+ initialize
1153
+ x
1154
+ 7
1155
+ compile
1156
+ n
1157
+ x
1158
+ 5
1159
+ merge
1160
+ x
1161
+ 2
1162
+ []
1163
+ x
1164
+ 12
1165
+ assert_equal
1166
+ p
1167
+ 35
1168
+ I
1169
+ 0
1170
+ I
1171
+ 17
1172
+ I
1173
+ 0
1174
+ I
1175
+ 18
1176
+ I
1177
+ 0
1178
+ I
1179
+ 1b
1180
+ I
1181
+ 8
1182
+ I
1183
+ 19
1184
+ I
1185
+ 39
1186
+ I
1187
+ 1a
1188
+ I
1189
+ 77
1190
+ I
1191
+ 20
1192
+ I
1193
+ 7f
1194
+ I
1195
+ 1e
1196
+ I
1197
+ a4
1198
+ I
1199
+ 1f
1200
+ I
1201
+ c0
1202
+ I
1203
+ 22
1204
+ I
1205
+ e7
1206
+ I
1207
+ 23
1208
+ I
1209
+ 10e
1210
+ I
1211
+ 24
1212
+ I
1213
+ 118
1214
+ I
1215
+ 26
1216
+ I
1217
+ 129
1218
+ I
1219
+ 27
1220
+ I
1221
+ 13a
1222
+ I
1223
+ 28
1224
+ I
1225
+ 14b
1226
+ I
1227
+ 29
1228
+ I
1229
+ 15c
1230
+ I
1231
+ 2a
1232
+ I
1233
+ 16d
1234
+ I
1235
+ 2b
1236
+ I
1237
+ 17e
1238
+ x
1239
+ 66
1240
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
1241
+ p
1242
+ 5
1243
+ x
1244
+ 5
1245
+ hash1
1246
+ x
1247
+ 5
1248
+ hash2
1249
+ x
1250
+ 7
1251
+ config1
1252
+ x
1253
+ 7
1254
+ config2
1255
+ x
1256
+ 6
1257
+ config
1258
+ x
1259
+ 51
1260
+ test_should_raise_an_exception_if_config_is_missing
1261
+ M
1262
+ 1
1263
+ n
1264
+ n
1265
+ x
1266
+ 51
1267
+ test_should_raise_an_exception_if_config_is_missing
1268
+ i
1269
+ 13
1270
+ 5
1271
+ 45
1272
+ 0
1273
+ 1
1274
+ 43
1275
+ 2
1276
+ 56
1277
+ 3
1278
+ 47
1279
+ 50
1280
+ 4
1281
+ 1
1282
+ 11
1283
+ I
1284
+ 3
1285
+ I
1286
+ 0
1287
+ I
1288
+ 0
1289
+ I
1290
+ 0
1291
+ n
1292
+ p
1293
+ 5
1294
+ x
1295
+ 7
1296
+ Configy
1297
+ n
1298
+ x
1299
+ 19
1300
+ ConfigParamNotFound
1301
+ M
1302
+ 1
1303
+ p
1304
+ 2
1305
+ x
1306
+ 9
1307
+ for_block
1308
+ t
1309
+ n
1310
+ x
1311
+ 51
1312
+ test_should_raise_an_exception_if_config_is_missing
1313
+ i
1314
+ 47
1315
+ 45
1316
+ 0
1317
+ 1
1318
+ 43
1319
+ 2
1320
+ 13
1321
+ 71
1322
+ 3
1323
+ 47
1324
+ 9
1325
+ 30
1326
+ 47
1327
+ 49
1328
+ 4
1329
+ 0
1330
+ 13
1331
+ 44
1332
+ 43
1333
+ 5
1334
+ 78
1335
+ 49
1336
+ 6
1337
+ 1
1338
+ 47
1339
+ 49
1340
+ 7
1341
+ 1
1342
+ 15
1343
+ 8
1344
+ 40
1345
+ 44
1346
+ 43
1347
+ 5
1348
+ 78
1349
+ 49
1350
+ 6
1351
+ 1
1352
+ 49
1353
+ 3
1354
+ 1
1355
+ 7
1356
+ 8
1357
+ 64
1358
+ 49
1359
+ 9
1360
+ 1
1361
+ 11
1362
+ I
1363
+ 5
1364
+ I
1365
+ 0
1366
+ I
1367
+ 0
1368
+ I
1369
+ 0
1370
+ I
1371
+ -2
1372
+ p
1373
+ 10
1374
+ x
1375
+ 7
1376
+ Configy
1377
+ n
1378
+ x
1379
+ 11
1380
+ ConfigStore
1381
+ x
1382
+ 3
1383
+ new
1384
+ x
1385
+ 8
1386
+ allocate
1387
+ x
1388
+ 4
1389
+ Hash
1390
+ x
1391
+ 16
1392
+ new_from_literal
1393
+ x
1394
+ 10
1395
+ initialize
1396
+ s
1397
+ 4
1398
+ oops
1399
+ x
1400
+ 2
1401
+ []
1402
+ p
1403
+ 5
1404
+ I
1405
+ 0
1406
+ I
1407
+ 2f
1408
+ I
1409
+ 0
1410
+ I
1411
+ 30
1412
+ I
1413
+ 2f
1414
+ x
1415
+ 66
1416
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
1417
+ p
1418
+ 0
1419
+ x
1420
+ 13
1421
+ assert_raises
1422
+ p
1423
+ 5
1424
+ I
1425
+ 0
1426
+ I
1427
+ 2e
1428
+ I
1429
+ 0
1430
+ I
1431
+ 2f
1432
+ I
1433
+ d
1434
+ x
1435
+ 66
1436
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
1437
+ p
1438
+ 0
1439
+ p
1440
+ 9
1441
+ I
1442
+ 2
1443
+ I
1444
+ 4
1445
+ I
1446
+ 10
1447
+ I
1448
+ a
1449
+ I
1450
+ 1e
1451
+ I
1452
+ 17
1453
+ I
1454
+ 2c
1455
+ I
1456
+ 2e
1457
+ I
1458
+ 3a
1459
+ x
1460
+ 66
1461
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
1462
+ p
1463
+ 0
1464
+ x
1465
+ 13
1466
+ attach_method
1467
+ p
1468
+ 5
1469
+ I
1470
+ 0
1471
+ I
1472
+ 1
1473
+ I
1474
+ 9
1475
+ I
1476
+ 3
1477
+ I
1478
+ 2c
1479
+ x
1480
+ 66
1481
+ /Users/gabevarela/work/ruby/gems/configy/test/config_store_test.rb
1482
+ p
1483
+ 0