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.
data/.gitignore CHANGED
@@ -3,3 +3,5 @@
3
3
  coverage
4
4
  rdoc
5
5
  pkg
6
+ .bundle
7
+ !.gitkeep
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - ree
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "http://rubygems.org"
2
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,16 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ configy (0.0.4)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ minitest (2.1.0)
10
+
11
+ PLATFORMS
12
+ ruby
13
+
14
+ DEPENDENCIES
15
+ configy!
16
+ minitest (~> 2.1.0)
data/Rakefile CHANGED
@@ -1,21 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "configy"
8
- gem.summary = %Q{simple application configuration}
9
- gem.email = "gvarela@gmail.com"
10
- gem.homepage = "http://github.com/gvarela/configy"
11
- gem.authors = ["Gabe Varela"]
12
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
13
- end
14
-
15
- rescue LoadError
16
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
17
- end
18
-
19
4
  require 'rake/testtask'
20
5
  Rake::TestTask.new(:test) do |test|
21
6
  test.libs << 'lib' << 'test'
@@ -28,15 +13,15 @@ begin
28
13
  Rcov::RcovTask.new do |test|
29
14
  test.libs << 'test'
30
15
  test.pattern = 'test/**/*_test.rb'
16
+ test.rcov_opts << '--exclude "gems/*"'
31
17
  test.verbose = true
32
18
  end
33
19
  rescue LoadError
34
20
  task :rcov do
35
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
21
+ abort "RCov is not available. In order to run rcov, you must: gem install rcov"
36
22
  end
37
23
  end
38
24
 
39
-
40
25
  task :default => :test
41
26
 
42
27
  require 'rake/rdoctask'
@@ -0,0 +1,1177 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 219
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 7
24
+ 2
25
+ 64
26
+ 47
27
+ 49
28
+ 1
29
+ 1
30
+ 15
31
+ 26
32
+ 93
33
+ 0
34
+ 15
35
+ 29
36
+ 47
37
+ 0
38
+ 5
39
+ 7
40
+ 3
41
+ 64
42
+ 47
43
+ 49
44
+ 1
45
+ 1
46
+ 15
47
+ 45
48
+ 4
49
+ 5
50
+ 43
51
+ 6
52
+ 56
53
+ 7
54
+ 50
55
+ 8
56
+ 0
57
+ 30
58
+ 8
59
+ 81
60
+ 26
61
+ 93
62
+ 1
63
+ 15
64
+ 24
65
+ 13
66
+ 45
67
+ 9
68
+ 10
69
+ 12
70
+ 49
71
+ 11
72
+ 1
73
+ 10
74
+ 64
75
+ 8
76
+ 76
77
+ 15
78
+ 5
79
+ 7
80
+ 12
81
+ 64
82
+ 47
83
+ 49
84
+ 13
85
+ 1
86
+ 25
87
+ 8
88
+ 81
89
+ 15
90
+ 92
91
+ 1
92
+ 27
93
+ 34
94
+ 92
95
+ 0
96
+ 27
97
+ 15
98
+ 5
99
+ 7
100
+ 14
101
+ 64
102
+ 47
103
+ 49
104
+ 1
105
+ 1
106
+ 15
107
+ 45
108
+ 15
109
+ 16
110
+ 43
111
+ 17
112
+ 7
113
+ 18
114
+ 56
115
+ 19
116
+ 50
117
+ 8
118
+ 1
119
+ 15
120
+ 26
121
+ 93
122
+ 2
123
+ 15
124
+ 29
125
+ 136
126
+ 0
127
+ 5
128
+ 7
129
+ 20
130
+ 64
131
+ 47
132
+ 49
133
+ 1
134
+ 1
135
+ 15
136
+ 45
137
+ 21
138
+ 22
139
+ 43
140
+ 23
141
+ 56
142
+ 24
143
+ 50
144
+ 8
145
+ 0
146
+ 30
147
+ 8
148
+ 171
149
+ 26
150
+ 93
151
+ 3
152
+ 15
153
+ 24
154
+ 13
155
+ 45
156
+ 9
157
+ 25
158
+ 12
159
+ 49
160
+ 11
161
+ 1
162
+ 10
163
+ 153
164
+ 8
165
+ 166
166
+ 15
167
+ 5
168
+ 7
169
+ 26
170
+ 56
171
+ 27
172
+ 47
173
+ 50
174
+ 28
175
+ 1
176
+ 25
177
+ 8
178
+ 171
179
+ 15
180
+ 92
181
+ 3
182
+ 27
183
+ 34
184
+ 92
185
+ 2
186
+ 27
187
+ 15
188
+ 5
189
+ 44
190
+ 43
191
+ 29
192
+ 79
193
+ 49
194
+ 30
195
+ 1
196
+ 13
197
+ 7
198
+ 31
199
+ 7
200
+ 18
201
+ 49
202
+ 32
203
+ 2
204
+ 15
205
+ 47
206
+ 49
207
+ 28
208
+ 1
209
+ 15
210
+ 5
211
+ 7
212
+ 33
213
+ 64
214
+ 47
215
+ 49
216
+ 1
217
+ 1
218
+ 15
219
+ 45
220
+ 15
221
+ 34
222
+ 43
223
+ 35
224
+ 56
225
+ 36
226
+ 50
227
+ 8
228
+ 0
229
+ 15
230
+ 2
231
+ 11
232
+ I
233
+ 9
234
+ I
235
+ 0
236
+ I
237
+ 0
238
+ I
239
+ 0
240
+ n
241
+ p
242
+ 37
243
+ s
244
+ 8
245
+ rubygems
246
+ x
247
+ 7
248
+ require
249
+ s
250
+ 4
251
+ rake
252
+ s
253
+ 7
254
+ jeweler
255
+ x
256
+ 7
257
+ Jeweler
258
+ n
259
+ x
260
+ 5
261
+ Tasks
262
+ M
263
+ 1
264
+ p
265
+ 2
266
+ x
267
+ 9
268
+ for_block
269
+ t
270
+ n
271
+ x
272
+ 9
273
+ __block__
274
+ i
275
+ 83
276
+ 57
277
+ 19
278
+ 0
279
+ 15
280
+ 20
281
+ 0
282
+ 7
283
+ 0
284
+ 64
285
+ 13
286
+ 18
287
+ 2
288
+ 49
289
+ 1
290
+ 1
291
+ 15
292
+ 15
293
+ 20
294
+ 0
295
+ 7
296
+ 2
297
+ 64
298
+ 13
299
+ 18
300
+ 2
301
+ 49
302
+ 3
303
+ 1
304
+ 15
305
+ 15
306
+ 20
307
+ 0
308
+ 7
309
+ 4
310
+ 64
311
+ 13
312
+ 18
313
+ 2
314
+ 49
315
+ 5
316
+ 1
317
+ 15
318
+ 15
319
+ 20
320
+ 0
321
+ 7
322
+ 6
323
+ 64
324
+ 13
325
+ 18
326
+ 2
327
+ 49
328
+ 7
329
+ 1
330
+ 15
331
+ 15
332
+ 20
333
+ 0
334
+ 7
335
+ 8
336
+ 64
337
+ 35
338
+ 1
339
+ 13
340
+ 18
341
+ 2
342
+ 49
343
+ 9
344
+ 1
345
+ 15
346
+ 15
347
+ 20
348
+ 0
349
+ 7
350
+ 10
351
+ 64
352
+ 7
353
+ 11
354
+ 64
355
+ 49
356
+ 12
357
+ 2
358
+ 11
359
+ I
360
+ 5
361
+ I
362
+ 1
363
+ I
364
+ 1
365
+ I
366
+ 1
367
+ n
368
+ p
369
+ 13
370
+ s
371
+ 7
372
+ configy
373
+ x
374
+ 5
375
+ name=
376
+ s
377
+ 36
378
+ Simple yaml driven configuration gem
379
+ x
380
+ 8
381
+ summary=
382
+ s
383
+ 17
384
+ gvarela@gmail.com
385
+ x
386
+ 6
387
+ email=
388
+ s
389
+ 33
390
+ http://github.com/gvarela/configy
391
+ x
392
+ 9
393
+ homepage=
394
+ s
395
+ 11
396
+ Gabe Varela
397
+ x
398
+ 8
399
+ authors=
400
+ s
401
+ 8
402
+ minitest
403
+ s
404
+ 8
405
+ ~> 2.1.0
406
+ x
407
+ 26
408
+ add_development_dependency
409
+ p
410
+ 15
411
+ I
412
+ 0
413
+ I
414
+ 6
415
+ I
416
+ 4
417
+ I
418
+ 7
419
+ I
420
+ 11
421
+ I
422
+ 8
423
+ I
424
+ 1e
425
+ I
426
+ 9
427
+ I
428
+ 2b
429
+ I
430
+ a
431
+ I
432
+ 38
433
+ I
434
+ b
435
+ I
436
+ 47
437
+ I
438
+ c
439
+ I
440
+ 53
441
+ x
442
+ 49
443
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
444
+ p
445
+ 1
446
+ x
447
+ 3
448
+ gem
449
+ x
450
+ 3
451
+ new
452
+ x
453
+ 9
454
+ LoadError
455
+ n
456
+ x
457
+ 3
458
+ ===
459
+ s
460
+ 82
461
+ Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler
462
+ x
463
+ 4
464
+ puts
465
+ s
466
+ 13
467
+ rake/testtask
468
+ x
469
+ 4
470
+ Rake
471
+ n
472
+ x
473
+ 8
474
+ TestTask
475
+ x
476
+ 4
477
+ test
478
+ M
479
+ 1
480
+ p
481
+ 2
482
+ x
483
+ 9
484
+ for_block
485
+ t
486
+ n
487
+ x
488
+ 9
489
+ __block__
490
+ i
491
+ 46
492
+ 57
493
+ 19
494
+ 0
495
+ 15
496
+ 20
497
+ 0
498
+ 49
499
+ 0
500
+ 0
501
+ 7
502
+ 1
503
+ 64
504
+ 49
505
+ 2
506
+ 1
507
+ 7
508
+ 3
509
+ 64
510
+ 49
511
+ 2
512
+ 1
513
+ 15
514
+ 20
515
+ 0
516
+ 7
517
+ 4
518
+ 64
519
+ 13
520
+ 18
521
+ 2
522
+ 49
523
+ 5
524
+ 1
525
+ 15
526
+ 15
527
+ 20
528
+ 0
529
+ 2
530
+ 13
531
+ 18
532
+ 2
533
+ 49
534
+ 6
535
+ 1
536
+ 15
537
+ 11
538
+ I
539
+ 5
540
+ I
541
+ 1
542
+ I
543
+ 1
544
+ I
545
+ 1
546
+ n
547
+ p
548
+ 7
549
+ x
550
+ 4
551
+ libs
552
+ s
553
+ 3
554
+ lib
555
+ x
556
+ 2
557
+ <<
558
+ s
559
+ 4
560
+ test
561
+ s
562
+ 17
563
+ test/**/*_test.rb
564
+ x
565
+ 8
566
+ pattern=
567
+ x
568
+ 8
569
+ verbose=
570
+ p
571
+ 9
572
+ I
573
+ 0
574
+ I
575
+ 15
576
+ I
577
+ 4
578
+ I
579
+ 16
580
+ I
581
+ 16
582
+ I
583
+ 17
584
+ I
585
+ 23
586
+ I
587
+ 18
588
+ I
589
+ 2e
590
+ x
591
+ 49
592
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
593
+ p
594
+ 1
595
+ x
596
+ 4
597
+ test
598
+ s
599
+ 13
600
+ rcov/rcovtask
601
+ x
602
+ 4
603
+ Rcov
604
+ n
605
+ x
606
+ 8
607
+ RcovTask
608
+ M
609
+ 1
610
+ p
611
+ 2
612
+ x
613
+ 9
614
+ for_block
615
+ t
616
+ n
617
+ x
618
+ 9
619
+ __block__
620
+ i
621
+ 52
622
+ 57
623
+ 19
624
+ 0
625
+ 15
626
+ 20
627
+ 0
628
+ 49
629
+ 0
630
+ 0
631
+ 7
632
+ 1
633
+ 64
634
+ 49
635
+ 2
636
+ 1
637
+ 15
638
+ 20
639
+ 0
640
+ 7
641
+ 3
642
+ 64
643
+ 13
644
+ 18
645
+ 2
646
+ 49
647
+ 4
648
+ 1
649
+ 15
650
+ 15
651
+ 20
652
+ 0
653
+ 49
654
+ 5
655
+ 0
656
+ 7
657
+ 6
658
+ 64
659
+ 49
660
+ 2
661
+ 1
662
+ 15
663
+ 20
664
+ 0
665
+ 2
666
+ 13
667
+ 18
668
+ 2
669
+ 49
670
+ 7
671
+ 1
672
+ 15
673
+ 11
674
+ I
675
+ 5
676
+ I
677
+ 1
678
+ I
679
+ 1
680
+ I
681
+ 1
682
+ n
683
+ p
684
+ 8
685
+ x
686
+ 4
687
+ libs
688
+ s
689
+ 4
690
+ test
691
+ x
692
+ 2
693
+ <<
694
+ s
695
+ 17
696
+ test/**/*_test.rb
697
+ x
698
+ 8
699
+ pattern=
700
+ x
701
+ 9
702
+ rcov_opts
703
+ s
704
+ 18
705
+ --exclude "gems/*"
706
+ x
707
+ 8
708
+ verbose=
709
+ p
710
+ 11
711
+ I
712
+ 0
713
+ I
714
+ 1d
715
+ I
716
+ 4
717
+ I
718
+ 1e
719
+ I
720
+ 10
721
+ I
722
+ 1f
723
+ I
724
+ 1d
725
+ I
726
+ 20
727
+ I
728
+ 29
729
+ I
730
+ 21
731
+ I
732
+ 34
733
+ x
734
+ 49
735
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
736
+ p
737
+ 1
738
+ x
739
+ 4
740
+ test
741
+ n
742
+ x
743
+ 4
744
+ rcov
745
+ M
746
+ 1
747
+ p
748
+ 2
749
+ x
750
+ 9
751
+ for_block
752
+ t
753
+ n
754
+ x
755
+ 9
756
+ __block__
757
+ i
758
+ 9
759
+ 5
760
+ 7
761
+ 0
762
+ 64
763
+ 47
764
+ 49
765
+ 1
766
+ 1
767
+ 11
768
+ I
769
+ 3
770
+ I
771
+ 0
772
+ I
773
+ 0
774
+ I
775
+ 0
776
+ I
777
+ -2
778
+ p
779
+ 2
780
+ s
781
+ 71
782
+ RCov is not available. In order to run rcov, you must: gem install rcov
783
+ x
784
+ 5
785
+ abort
786
+ p
787
+ 5
788
+ I
789
+ 0
790
+ I
791
+ 24
792
+ I
793
+ 0
794
+ I
795
+ 25
796
+ I
797
+ 9
798
+ x
799
+ 49
800
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
801
+ p
802
+ 0
803
+ x
804
+ 4
805
+ task
806
+ x
807
+ 4
808
+ Hash
809
+ x
810
+ 16
811
+ new_from_literal
812
+ x
813
+ 7
814
+ default
815
+ x
816
+ 3
817
+ []=
818
+ s
819
+ 13
820
+ rake/rdoctask
821
+ n
822
+ x
823
+ 8
824
+ RDocTask
825
+ M
826
+ 1
827
+ p
828
+ 2
829
+ x
830
+ 9
831
+ for_block
832
+ t
833
+ n
834
+ x
835
+ 9
836
+ __block__
837
+ i
838
+ 139
839
+ 57
840
+ 19
841
+ 0
842
+ 15
843
+ 45
844
+ 0
845
+ 1
846
+ 7
847
+ 2
848
+ 64
849
+ 49
850
+ 3
851
+ 1
852
+ 9
853
+ 76
854
+ 45
855
+ 4
856
+ 5
857
+ 45
858
+ 0
859
+ 6
860
+ 7
861
+ 2
862
+ 64
863
+ 49
864
+ 7
865
+ 1
866
+ 49
867
+ 8
868
+ 1
869
+ 19
870
+ 1
871
+ 15
872
+ 20
873
+ 1
874
+ 7
875
+ 9
876
+ 49
877
+ 10
878
+ 1
879
+ 47
880
+ 49
881
+ 11
882
+ 0
883
+ 7
884
+ 12
885
+ 20
886
+ 1
887
+ 7
888
+ 13
889
+ 49
890
+ 10
891
+ 1
892
+ 47
893
+ 49
894
+ 11
895
+ 0
896
+ 7
897
+ 12
898
+ 20
899
+ 1
900
+ 7
901
+ 14
902
+ 49
903
+ 10
904
+ 1
905
+ 47
906
+ 49
907
+ 11
908
+ 0
909
+ 63
910
+ 5
911
+ 19
912
+ 2
913
+ 8
914
+ 81
915
+ 7
916
+ 15
917
+ 64
918
+ 19
919
+ 2
920
+ 15
921
+ 20
922
+ 0
923
+ 7
924
+ 16
925
+ 64
926
+ 13
927
+ 18
928
+ 2
929
+ 49
930
+ 17
931
+ 1
932
+ 15
933
+ 15
934
+ 20
935
+ 0
936
+ 7
937
+ 18
938
+ 20
939
+ 2
940
+ 47
941
+ 49
942
+ 11
943
+ 0
944
+ 63
945
+ 2
946
+ 13
947
+ 18
948
+ 2
949
+ 49
950
+ 19
951
+ 1
952
+ 15
953
+ 15
954
+ 20
955
+ 0
956
+ 49
957
+ 20
958
+ 0
959
+ 7
960
+ 21
961
+ 64
962
+ 49
963
+ 22
964
+ 1
965
+ 15
966
+ 20
967
+ 0
968
+ 49
969
+ 20
970
+ 0
971
+ 7
972
+ 23
973
+ 64
974
+ 49
975
+ 22
976
+ 1
977
+ 11
978
+ I
979
+ a
980
+ I
981
+ 3
982
+ I
983
+ 1
984
+ I
985
+ 1
986
+ n
987
+ p
988
+ 24
989
+ x
990
+ 4
991
+ File
992
+ n
993
+ s
994
+ 11
995
+ VERSION.yml
996
+ x
997
+ 6
998
+ exist?
999
+ x
1000
+ 4
1001
+ YAML
1002
+ n
1003
+ n
1004
+ x
1005
+ 4
1006
+ read
1007
+ x
1008
+ 4
1009
+ load
1010
+ x
1011
+ 5
1012
+ major
1013
+ x
1014
+ 2
1015
+ []
1016
+ x
1017
+ 4
1018
+ to_s
1019
+ s
1020
+ 1
1021
+ .
1022
+ x
1023
+ 5
1024
+ minor
1025
+ x
1026
+ 5
1027
+ patch
1028
+ s
1029
+ 0
1030
+
1031
+ s
1032
+ 4
1033
+ rdoc
1034
+ x
1035
+ 9
1036
+ rdoc_dir=
1037
+ s
1038
+ 8
1039
+ configy
1040
+ x
1041
+ 6
1042
+ title=
1043
+ x
1044
+ 10
1045
+ rdoc_files
1046
+ s
1047
+ 7
1048
+ README*
1049
+ x
1050
+ 7
1051
+ include
1052
+ s
1053
+ 11
1054
+ lib/**/*.rb
1055
+ p
1056
+ 19
1057
+ I
1058
+ 0
1059
+ I
1060
+ 2c
1061
+ I
1062
+ 4
1063
+ I
1064
+ 2d
1065
+ I
1066
+ f
1067
+ I
1068
+ 2e
1069
+ I
1070
+ 21
1071
+ I
1072
+ 2f
1073
+ I
1074
+ 4c
1075
+ I
1076
+ 31
1077
+ I
1078
+ 52
1079
+ I
1080
+ 34
1081
+ I
1082
+ 5f
1083
+ I
1084
+ 35
1085
+ I
1086
+ 73
1087
+ I
1088
+ 36
1089
+ I
1090
+ 7f
1091
+ I
1092
+ 37
1093
+ I
1094
+ 8b
1095
+ x
1096
+ 49
1097
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
1098
+ p
1099
+ 3
1100
+ x
1101
+ 4
1102
+ rdoc
1103
+ x
1104
+ 6
1105
+ config
1106
+ x
1107
+ 7
1108
+ version
1109
+ p
1110
+ 31
1111
+ I
1112
+ 0
1113
+ I
1114
+ 1
1115
+ I
1116
+ 9
1117
+ I
1118
+ 2
1119
+ I
1120
+ 12
1121
+ I
1122
+ 5
1123
+ I
1124
+ 22
1125
+ I
1126
+ 6
1127
+ I
1128
+ 34
1129
+ I
1130
+ 10
1131
+ I
1132
+ 41
1133
+ I
1134
+ 11
1135
+ I
1136
+ 55
1137
+ I
1138
+ 14
1139
+ I
1140
+ 5e
1141
+ I
1142
+ 15
1143
+ I
1144
+ 6b
1145
+ I
1146
+ 1c
1147
+ I
1148
+ 7b
1149
+ I
1150
+ 1d
1151
+ I
1152
+ 8d
1153
+ I
1154
+ 23
1155
+ I
1156
+ 9a
1157
+ I
1158
+ 24
1159
+ I
1160
+ af
1161
+ I
1162
+ 29
1163
+ I
1164
+ c5
1165
+ I
1166
+ 2b
1167
+ I
1168
+ ce
1169
+ I
1170
+ 2c
1171
+ I
1172
+ db
1173
+ x
1174
+ 49
1175
+ /Users/gabevarela/work/ruby/gems/configy/Rakefile
1176
+ p
1177
+ 0