noe 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/Gemfile +1 -2
  3. data/Gemfile.lock +3 -2
  4. data/lib/noe.rbc +393 -0
  5. data/lib/noe/commons.rbc +1012 -0
  6. data/lib/noe/config.rbc +1534 -0
  7. data/lib/noe/ext/array.rbc +330 -0
  8. data/lib/noe/ext/hash.rbc +1193 -0
  9. data/lib/noe/go.rbc +5618 -0
  10. data/lib/noe/help.rbc +473 -0
  11. data/lib/noe/install.rbc +1521 -0
  12. data/lib/noe/list.rbc +1692 -0
  13. data/lib/noe/loader.rb +1 -1
  14. data/lib/noe/loader.rbc +85 -0
  15. data/lib/noe/main.rbc +1323 -0
  16. data/lib/noe/prepare.rb +14 -7
  17. data/lib/noe/prepare.rbc +1622 -0
  18. data/lib/noe/show_spec.rbc +627 -0
  19. data/lib/noe/template.rbc +4256 -0
  20. data/lib/noe/version.rb +5 -5
  21. data/lib/noe/version.rbc +350 -0
  22. data/noe.gemspec +25 -25
  23. data/noe.noespec +3 -3
  24. data/spec/fixtures/test.noespec +19 -0
  25. data/spec/integration/go/go_spec.rbc +236 -0
  26. data/spec/integration/spaces_spec.rb +30 -0
  27. data/spec/integration/spaces_spec.rbc +996 -0
  28. data/spec/integration/spec_helper.rbc +143 -0
  29. data/spec/unit/config/new_spec.rbc +1590 -0
  30. data/spec/unit/config/templates_dir_spec.rbc +1398 -0
  31. data/spec/unit/ext/hash/methodize_spec.rbc +851 -0
  32. data/spec/unit/ext/hash/noe_merge_spec.rbc +1544 -0
  33. data/spec/unit/noe_spec.rbc +309 -0
  34. data/spec/unit/spec_helper.rbc +143 -0
  35. data/spec/unit/template/entry/infer_wlang_dialect_spec.rbc +1236 -0
  36. data/spec/unit/template/entry/relocate_spec.rbc +1584 -0
  37. data/spec/unit/template/entry/rename_one_spec.rbc +1114 -0
  38. data/tasks/debug_mail.rake +13 -13
  39. data/tasks/gem.rake +13 -13
  40. data/tasks/spec_test.rake +10 -10
  41. data/tasks/unit_test.rake +9 -10
  42. data/tasks/yard.rake +13 -13
  43. data/templates/ruby/CHANGELOG.md +5 -0
  44. data/templates/ruby/README.md +13 -13
  45. data/templates/ruby/noespec.yaml +48 -48
  46. data/templates/ruby/short.yaml +10 -10
  47. data/templates/ruby/src/Gemfile +1 -2
  48. data/templates/ruby/src/Manifest.txt +1 -1
  49. data/templates/ruby/src/README.md +0 -1
  50. data/templates/ruby/src/__lower__.gemspec +24 -24
  51. data/templates/ruby/src/lib/__lower__.rb +1 -1
  52. data/templates/ruby/src/lib/__lower__/loader.rb +1 -1
  53. data/templates/ruby/src/lib/__lower__/version.rb +4 -4
  54. data/templates/ruby/src/spec/test___lower__.rb +2 -2
  55. data/templates/ruby/src/tasks/debug_mail.rake +13 -13
  56. data/templates/ruby/src/tasks/gem.rake +13 -13
  57. data/templates/ruby/src/tasks/spec_test.rake +9 -9
  58. data/templates/ruby/src/tasks/unit_test.rake +9 -10
  59. data/templates/ruby/src/tasks/yard.rake +13 -13
  60. metadata +125 -75
@@ -0,0 +1,1114 @@
1
+ !RBIX
2
+ 11817445442317083511
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 47
13
+ 5
14
+ 45
15
+ 0
16
+ 1
17
+ 7
18
+ 2
19
+ 64
20
+ 65
21
+ 49
22
+ 3
23
+ 0
24
+ 49
25
+ 4
26
+ 2
27
+ 47
28
+ 49
29
+ 5
30
+ 1
31
+ 15
32
+ 99
33
+ 7
34
+ 6
35
+ 65
36
+ 49
37
+ 7
38
+ 2
39
+ 13
40
+ 99
41
+ 12
42
+ 7
43
+ 8
44
+ 12
45
+ 7
46
+ 9
47
+ 12
48
+ 65
49
+ 12
50
+ 49
51
+ 10
52
+ 4
53
+ 15
54
+ 49
55
+ 8
56
+ 0
57
+ 15
58
+ 2
59
+ 11
60
+ I
61
+ 6
62
+ I
63
+ 0
64
+ I
65
+ 0
66
+ I
67
+ 0
68
+ n
69
+ p
70
+ 11
71
+ x
72
+ 4
73
+ File
74
+ n
75
+ s
76
+ 20
77
+ ../../../spec_helper
78
+ x
79
+ 11
80
+ active_path
81
+ x
82
+ 11
83
+ expand_path
84
+ x
85
+ 7
86
+ require
87
+ x
88
+ 3
89
+ Noe
90
+ x
91
+ 11
92
+ open_module
93
+ x
94
+ 15
95
+ __module_init__
96
+ M
97
+ 1
98
+ n
99
+ n
100
+ x
101
+ 3
102
+ Noe
103
+ i
104
+ 13
105
+ 5
106
+ 66
107
+ 5
108
+ 7
109
+ 0
110
+ 64
111
+ 56
112
+ 1
113
+ 47
114
+ 50
115
+ 2
116
+ 1
117
+ 11
118
+ I
119
+ 3
120
+ I
121
+ 0
122
+ I
123
+ 0
124
+ I
125
+ 0
126
+ n
127
+ p
128
+ 3
129
+ s
130
+ 26
131
+ Template::Entry#rename_one
132
+ M
133
+ 1
134
+ p
135
+ 2
136
+ x
137
+ 9
138
+ for_block
139
+ t
140
+ n
141
+ x
142
+ 3
143
+ Noe
144
+ i
145
+ 61
146
+ 5
147
+ 7
148
+ 0
149
+ 56
150
+ 1
151
+ 47
152
+ 50
153
+ 2
154
+ 1
155
+ 15
156
+ 5
157
+ 7
158
+ 3
159
+ 56
160
+ 4
161
+ 47
162
+ 50
163
+ 2
164
+ 1
165
+ 15
166
+ 5
167
+ 56
168
+ 5
169
+ 47
170
+ 50
171
+ 6
172
+ 0
173
+ 15
174
+ 5
175
+ 7
176
+ 7
177
+ 64
178
+ 56
179
+ 8
180
+ 47
181
+ 50
182
+ 9
183
+ 1
184
+ 15
185
+ 5
186
+ 7
187
+ 10
188
+ 64
189
+ 56
190
+ 11
191
+ 47
192
+ 50
193
+ 9
194
+ 1
195
+ 15
196
+ 5
197
+ 7
198
+ 12
199
+ 64
200
+ 56
201
+ 13
202
+ 47
203
+ 50
204
+ 9
205
+ 1
206
+ 11
207
+ I
208
+ 4
209
+ I
210
+ 0
211
+ I
212
+ 0
213
+ I
214
+ 0
215
+ I
216
+ -2
217
+ p
218
+ 14
219
+ x
220
+ 8
221
+ template
222
+ M
223
+ 1
224
+ p
225
+ 2
226
+ x
227
+ 9
228
+ for_block
229
+ t
230
+ n
231
+ x
232
+ 3
233
+ Noe
234
+ i
235
+ 51
236
+ 45
237
+ 0
238
+ 1
239
+ 13
240
+ 71
241
+ 2
242
+ 47
243
+ 9
244
+ 34
245
+ 47
246
+ 49
247
+ 3
248
+ 0
249
+ 13
250
+ 45
251
+ 4
252
+ 5
253
+ 7
254
+ 6
255
+ 64
256
+ 65
257
+ 49
258
+ 7
259
+ 0
260
+ 49
261
+ 8
262
+ 2
263
+ 47
264
+ 49
265
+ 9
266
+ 1
267
+ 15
268
+ 8
269
+ 50
270
+ 45
271
+ 4
272
+ 10
273
+ 7
274
+ 6
275
+ 64
276
+ 65
277
+ 49
278
+ 7
279
+ 0
280
+ 49
281
+ 8
282
+ 2
283
+ 49
284
+ 2
285
+ 1
286
+ 11
287
+ I
288
+ 6
289
+ I
290
+ 0
291
+ I
292
+ 0
293
+ I
294
+ 0
295
+ I
296
+ -2
297
+ p
298
+ 11
299
+ x
300
+ 8
301
+ Template
302
+ n
303
+ x
304
+ 3
305
+ new
306
+ x
307
+ 8
308
+ allocate
309
+ x
310
+ 4
311
+ File
312
+ n
313
+ s
314
+ 29
315
+ ../../../../../templates/ruby
316
+ x
317
+ 11
318
+ active_path
319
+ x
320
+ 11
321
+ expand_path
322
+ x
323
+ 10
324
+ initialize
325
+ n
326
+ p
327
+ 3
328
+ I
329
+ 0
330
+ I
331
+ 6
332
+ I
333
+ 33
334
+ x
335
+ 73
336
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
337
+ p
338
+ 0
339
+ x
340
+ 3
341
+ let
342
+ x
343
+ 4
344
+ vars
345
+ M
346
+ 1
347
+ p
348
+ 2
349
+ x
350
+ 9
351
+ for_block
352
+ t
353
+ n
354
+ x
355
+ 3
356
+ Noe
357
+ i
358
+ 19
359
+ 44
360
+ 43
361
+ 0
362
+ 79
363
+ 49
364
+ 1
365
+ 1
366
+ 13
367
+ 7
368
+ 2
369
+ 64
370
+ 7
371
+ 3
372
+ 64
373
+ 49
374
+ 4
375
+ 2
376
+ 15
377
+ 11
378
+ I
379
+ 5
380
+ I
381
+ 0
382
+ I
383
+ 0
384
+ I
385
+ 0
386
+ I
387
+ -2
388
+ p
389
+ 5
390
+ x
391
+ 4
392
+ Hash
393
+ x
394
+ 16
395
+ new_from_literal
396
+ s
397
+ 5
398
+ lower
399
+ s
400
+ 7
401
+ project
402
+ x
403
+ 3
404
+ []=
405
+ p
406
+ 3
407
+ I
408
+ 0
409
+ I
410
+ 9
411
+ I
412
+ 13
413
+ x
414
+ 73
415
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
416
+ p
417
+ 0
418
+ M
419
+ 1
420
+ p
421
+ 2
422
+ x
423
+ 9
424
+ for_block
425
+ t
426
+ n
427
+ x
428
+ 3
429
+ Noe
430
+ i
431
+ 10
432
+ 5
433
+ 48
434
+ 0
435
+ 5
436
+ 48
437
+ 1
438
+ 49
439
+ 2
440
+ 1
441
+ 11
442
+ I
443
+ 3
444
+ I
445
+ 0
446
+ I
447
+ 0
448
+ I
449
+ 0
450
+ I
451
+ -2
452
+ p
453
+ 3
454
+ x
455
+ 5
456
+ entry
457
+ x
458
+ 4
459
+ vars
460
+ x
461
+ 10
462
+ rename_one
463
+ p
464
+ 3
465
+ I
466
+ 0
467
+ I
468
+ c
469
+ I
470
+ a
471
+ x
472
+ 73
473
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
474
+ p
475
+ 0
476
+ x
477
+ 7
478
+ subject
479
+ s
480
+ 26
481
+ when nothing has to change
482
+ M
483
+ 1
484
+ p
485
+ 2
486
+ x
487
+ 9
488
+ for_block
489
+ t
490
+ n
491
+ x
492
+ 3
493
+ Noe
494
+ i
495
+ 18
496
+ 5
497
+ 7
498
+ 0
499
+ 56
500
+ 1
501
+ 47
502
+ 50
503
+ 2
504
+ 1
505
+ 15
506
+ 5
507
+ 56
508
+ 3
509
+ 47
510
+ 50
511
+ 4
512
+ 0
513
+ 11
514
+ I
515
+ 4
516
+ I
517
+ 0
518
+ I
519
+ 0
520
+ I
521
+ 0
522
+ I
523
+ -2
524
+ p
525
+ 5
526
+ x
527
+ 5
528
+ entry
529
+ M
530
+ 1
531
+ p
532
+ 2
533
+ x
534
+ 9
535
+ for_block
536
+ t
537
+ n
538
+ x
539
+ 3
540
+ Noe
541
+ i
542
+ 10
543
+ 5
544
+ 48
545
+ 0
546
+ 7
547
+ 1
548
+ 64
549
+ 49
550
+ 2
551
+ 1
552
+ 11
553
+ I
554
+ 3
555
+ I
556
+ 0
557
+ I
558
+ 0
559
+ I
560
+ 0
561
+ I
562
+ -2
563
+ p
564
+ 3
565
+ x
566
+ 8
567
+ template
568
+ s
569
+ 7
570
+ project
571
+ x
572
+ 5
573
+ entry
574
+ p
575
+ 3
576
+ I
577
+ 0
578
+ I
579
+ 10
580
+ I
581
+ a
582
+ x
583
+ 73
584
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
585
+ p
586
+ 0
587
+ x
588
+ 3
589
+ let
590
+ M
591
+ 1
592
+ p
593
+ 2
594
+ x
595
+ 9
596
+ for_block
597
+ t
598
+ n
599
+ x
600
+ 3
601
+ Noe
602
+ i
603
+ 9
604
+ 5
605
+ 48
606
+ 0
607
+ 7
608
+ 1
609
+ 64
610
+ 83
611
+ 2
612
+ 11
613
+ I
614
+ 3
615
+ I
616
+ 0
617
+ I
618
+ 0
619
+ I
620
+ 0
621
+ I
622
+ -2
623
+ p
624
+ 3
625
+ x
626
+ 6
627
+ should
628
+ s
629
+ 7
630
+ project
631
+ x
632
+ 2
633
+ ==
634
+ p
635
+ 3
636
+ I
637
+ 0
638
+ I
639
+ 11
640
+ I
641
+ 9
642
+ x
643
+ 73
644
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
645
+ p
646
+ 0
647
+ x
648
+ 2
649
+ it
650
+ p
651
+ 5
652
+ I
653
+ 0
654
+ I
655
+ 10
656
+ I
657
+ a
658
+ I
659
+ 11
660
+ I
661
+ 12
662
+ x
663
+ 73
664
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
665
+ p
666
+ 0
667
+ x
668
+ 8
669
+ describe
670
+ s
671
+ 26
672
+ when exactly a replacement
673
+ M
674
+ 1
675
+ p
676
+ 2
677
+ x
678
+ 9
679
+ for_block
680
+ t
681
+ n
682
+ x
683
+ 3
684
+ Noe
685
+ i
686
+ 18
687
+ 5
688
+ 7
689
+ 0
690
+ 56
691
+ 1
692
+ 47
693
+ 50
694
+ 2
695
+ 1
696
+ 15
697
+ 5
698
+ 56
699
+ 3
700
+ 47
701
+ 50
702
+ 4
703
+ 0
704
+ 11
705
+ I
706
+ 4
707
+ I
708
+ 0
709
+ I
710
+ 0
711
+ I
712
+ 0
713
+ I
714
+ -2
715
+ p
716
+ 5
717
+ x
718
+ 5
719
+ entry
720
+ M
721
+ 1
722
+ p
723
+ 2
724
+ x
725
+ 9
726
+ for_block
727
+ t
728
+ n
729
+ x
730
+ 3
731
+ Noe
732
+ i
733
+ 10
734
+ 5
735
+ 48
736
+ 0
737
+ 7
738
+ 1
739
+ 64
740
+ 49
741
+ 2
742
+ 1
743
+ 11
744
+ I
745
+ 3
746
+ I
747
+ 0
748
+ I
749
+ 0
750
+ I
751
+ 0
752
+ I
753
+ -2
754
+ p
755
+ 3
756
+ x
757
+ 8
758
+ template
759
+ s
760
+ 9
761
+ __lower__
762
+ x
763
+ 5
764
+ entry
765
+ p
766
+ 3
767
+ I
768
+ 0
769
+ I
770
+ 15
771
+ I
772
+ a
773
+ x
774
+ 73
775
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
776
+ p
777
+ 0
778
+ x
779
+ 3
780
+ let
781
+ M
782
+ 1
783
+ p
784
+ 2
785
+ x
786
+ 9
787
+ for_block
788
+ t
789
+ n
790
+ x
791
+ 3
792
+ Noe
793
+ i
794
+ 9
795
+ 5
796
+ 48
797
+ 0
798
+ 7
799
+ 1
800
+ 64
801
+ 83
802
+ 2
803
+ 11
804
+ I
805
+ 3
806
+ I
807
+ 0
808
+ I
809
+ 0
810
+ I
811
+ 0
812
+ I
813
+ -2
814
+ p
815
+ 3
816
+ x
817
+ 6
818
+ should
819
+ s
820
+ 7
821
+ project
822
+ x
823
+ 2
824
+ ==
825
+ p
826
+ 3
827
+ I
828
+ 0
829
+ I
830
+ 16
831
+ I
832
+ 9
833
+ x
834
+ 73
835
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
836
+ p
837
+ 0
838
+ x
839
+ 2
840
+ it
841
+ p
842
+ 5
843
+ I
844
+ 0
845
+ I
846
+ 15
847
+ I
848
+ a
849
+ I
850
+ 16
851
+ I
852
+ 12
853
+ x
854
+ 73
855
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
856
+ p
857
+ 0
858
+ s
859
+ 40
860
+ when a replacement inside something else
861
+ M
862
+ 1
863
+ p
864
+ 2
865
+ x
866
+ 9
867
+ for_block
868
+ t
869
+ n
870
+ x
871
+ 3
872
+ Noe
873
+ i
874
+ 18
875
+ 5
876
+ 7
877
+ 0
878
+ 56
879
+ 1
880
+ 47
881
+ 50
882
+ 2
883
+ 1
884
+ 15
885
+ 5
886
+ 56
887
+ 3
888
+ 47
889
+ 50
890
+ 4
891
+ 0
892
+ 11
893
+ I
894
+ 4
895
+ I
896
+ 0
897
+ I
898
+ 0
899
+ I
900
+ 0
901
+ I
902
+ -2
903
+ p
904
+ 5
905
+ x
906
+ 5
907
+ entry
908
+ M
909
+ 1
910
+ p
911
+ 2
912
+ x
913
+ 9
914
+ for_block
915
+ t
916
+ n
917
+ x
918
+ 3
919
+ Noe
920
+ i
921
+ 10
922
+ 5
923
+ 48
924
+ 0
925
+ 7
926
+ 1
927
+ 64
928
+ 49
929
+ 2
930
+ 1
931
+ 11
932
+ I
933
+ 3
934
+ I
935
+ 0
936
+ I
937
+ 0
938
+ I
939
+ 0
940
+ I
941
+ -2
942
+ p
943
+ 3
944
+ x
945
+ 8
946
+ template
947
+ s
948
+ 17
949
+ __lower___spec.rb
950
+ x
951
+ 5
952
+ entry
953
+ p
954
+ 3
955
+ I
956
+ 0
957
+ I
958
+ 1a
959
+ I
960
+ a
961
+ x
962
+ 73
963
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
964
+ p
965
+ 0
966
+ x
967
+ 3
968
+ let
969
+ M
970
+ 1
971
+ p
972
+ 2
973
+ x
974
+ 9
975
+ for_block
976
+ t
977
+ n
978
+ x
979
+ 3
980
+ Noe
981
+ i
982
+ 9
983
+ 5
984
+ 48
985
+ 0
986
+ 7
987
+ 1
988
+ 64
989
+ 83
990
+ 2
991
+ 11
992
+ I
993
+ 3
994
+ I
995
+ 0
996
+ I
997
+ 0
998
+ I
999
+ 0
1000
+ I
1001
+ -2
1002
+ p
1003
+ 3
1004
+ x
1005
+ 6
1006
+ should
1007
+ s
1008
+ 15
1009
+ project_spec.rb
1010
+ x
1011
+ 2
1012
+ ==
1013
+ p
1014
+ 3
1015
+ I
1016
+ 0
1017
+ I
1018
+ 1b
1019
+ I
1020
+ 9
1021
+ x
1022
+ 73
1023
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
1024
+ p
1025
+ 0
1026
+ x
1027
+ 2
1028
+ it
1029
+ p
1030
+ 5
1031
+ I
1032
+ 0
1033
+ I
1034
+ 1a
1035
+ I
1036
+ a
1037
+ I
1038
+ 1b
1039
+ I
1040
+ 12
1041
+ x
1042
+ 73
1043
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
1044
+ p
1045
+ 0
1046
+ p
1047
+ 13
1048
+ I
1049
+ 0
1050
+ I
1051
+ 5
1052
+ I
1053
+ a
1054
+ I
1055
+ 8
1056
+ I
1057
+ 14
1058
+ I
1059
+ b
1060
+ I
1061
+ 1c
1062
+ I
1063
+ f
1064
+ I
1065
+ 27
1066
+ I
1067
+ 14
1068
+ I
1069
+ 32
1070
+ I
1071
+ 19
1072
+ I
1073
+ 3d
1074
+ x
1075
+ 73
1076
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
1077
+ p
1078
+ 0
1079
+ x
1080
+ 8
1081
+ describe
1082
+ p
1083
+ 3
1084
+ I
1085
+ 2
1086
+ I
1087
+ 3
1088
+ I
1089
+ d
1090
+ x
1091
+ 73
1092
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
1093
+ p
1094
+ 0
1095
+ x
1096
+ 13
1097
+ attach_method
1098
+ p
1099
+ 5
1100
+ I
1101
+ 0
1102
+ I
1103
+ 1
1104
+ I
1105
+ 13
1106
+ I
1107
+ 2
1108
+ I
1109
+ 2f
1110
+ x
1111
+ 73
1112
+ /home/blambeau/work/devel/noe/spec/unit/template/entry/rename_one_spec.rb
1113
+ p
1114
+ 0