h2o 0.3.0 → 0.3.1

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/Rakefile CHANGED
@@ -15,8 +15,6 @@ begin
15
15
  s.email = "subjective@gmail.com"
16
16
  s.homepage = "http://www.h2o-template.org"
17
17
  s.authors = ["Taylor luk"]
18
- s.add_dependency 'schacon-git'
19
-
20
18
  end
21
19
  rescue LoadError
22
20
  puts "Jeweler not available. Install it with: gem install jeweler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{h2o}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Taylor luk"]
12
- s.date = %q{2010-08-30}
12
+ s.date = %q{2010-09-14}
13
13
  s.description = %q{h2o is a django inspired template that offers natural template syntax and easy to integrate.}
14
14
  s.email = %q{subjective@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -45,6 +45,7 @@ Gem::Specification.new do |s|
45
45
  "lib/h2o/context.rb",
46
46
  "lib/h2o/datatype.rb",
47
47
  "lib/h2o/error.rb",
48
+ "lib/h2o/file_loader.rb",
48
49
  "lib/h2o/filters.rb",
49
50
  "lib/h2o/filters/default.rb",
50
51
  "lib/h2o/nodes.rb",
@@ -63,6 +64,7 @@ Gem::Specification.new do |s|
63
64
  "spec/h2o/context_spec.rb",
64
65
  "spec/h2o/default.html",
65
66
  "spec/h2o/file_loader_spec.rb",
67
+ "spec/h2o/file_loader_spec.rbc",
66
68
  "spec/h2o/filters_spec.rb",
67
69
  "spec/h2o/parser_spec.rb",
68
70
  "spec/h2o/tags/block_spec.rb",
@@ -92,12 +94,9 @@ Gem::Specification.new do |s|
92
94
  s.specification_version = 3
93
95
 
94
96
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
95
- s.add_runtime_dependency(%q<schacon-git>, [">= 0"])
96
97
  else
97
- s.add_dependency(%q<schacon-git>, [">= 0"])
98
98
  end
99
99
  else
100
- s.add_dependency(%q<schacon-git>, [">= 0"])
101
100
  end
102
101
  end
103
102
 
@@ -111,7 +111,7 @@ module H2o
111
111
 
112
112
  class DataObject
113
113
  INTERNAL_METHOD = /^__/
114
- @@required_methods = [:__send__, :__id__, :object_id, :respond_to?, :extend, :methods, :class, :nil?, :is_a?, :to_h2o]
114
+ @@required_methods = [:__send__, :__id__, :object_id, :respond_to?, :extend, :methods, :class, :nil?, :is_a?, :to_h2o, :respond_to_missing?]
115
115
 
116
116
  def respond_to?(method)
117
117
  method_name = method.to_s
@@ -0,0 +1,20 @@
1
+ module H2o
2
+ class FileLoader
3
+ attr_accessor :path
4
+
5
+ def initialize(path)
6
+ raise "Search path not found" unless File.exist?(path)
7
+
8
+ self.path = Pathname.new(path)
9
+ end
10
+
11
+ def read(file)
12
+ raise "Template not found" unless exist?(file)
13
+ File.read(self.path + file)
14
+ end
15
+
16
+ def exist?(file)
17
+ File.exist?(self.path + file)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1 @@
1
+ hello
@@ -2,8 +2,8 @@ require 'spec_helper'
2
2
 
3
3
  describe H2o::FileLoader do
4
4
  before do
5
- path = File.expand_path("../../fixtures", __FILE__)
6
- @loader = H2o::FileLoader.new(path)
5
+ @path = File.expand_path("../../fixtures", __FILE__)
6
+ @loader = H2o::FileLoader.new(@path)
7
7
  end
8
8
 
9
9
  it "search for template on a search path on file system" do
@@ -19,9 +19,13 @@ describe H2o::FileLoader do
19
19
  it "raises error when template doesn't exist" do
20
20
  expect { @loader.read('non-existence.html') }.should raise_error
21
21
  end
22
+
23
+ it "should be able to it from template class" do
24
+ H2o::Template.load('deep/folder/c.html', :searchpath => @path).render.should == 'hello'
25
+ end
22
26
  end
23
27
 
24
- describe "H2o::HashLoader" do
28
+ describe H2o::HashLoader do
25
29
  it "read file on the same namespace in a hash" do
26
30
  H2o.loader = H2o::HashLoader.new(
27
31
  'base.html' => '{% block content %}test{% endblock %}',
@@ -0,0 +1,1051 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 35
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 45
24
+ 2
25
+ 3
26
+ 43
27
+ 4
28
+ 56
29
+ 5
30
+ 47
31
+ 50
32
+ 6
33
+ 1
34
+ 15
35
+ 5
36
+ 7
37
+ 7
38
+ 64
39
+ 56
40
+ 8
41
+ 47
42
+ 50
43
+ 6
44
+ 1
45
+ 15
46
+ 2
47
+ 11
48
+ I
49
+ 3
50
+ I
51
+ 0
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ n
57
+ p
58
+ 9
59
+ s
60
+ 11
61
+ spec_helper
62
+ x
63
+ 7
64
+ require
65
+ x
66
+ 3
67
+ H2o
68
+ n
69
+ x
70
+ 10
71
+ FileLoader
72
+ M
73
+ 1
74
+ p
75
+ 2
76
+ x
77
+ 9
78
+ for_block
79
+ t
80
+ n
81
+ x
82
+ 9
83
+ __block__
84
+ i
85
+ 41
86
+ 5
87
+ 56
88
+ 0
89
+ 47
90
+ 50
91
+ 1
92
+ 0
93
+ 15
94
+ 5
95
+ 7
96
+ 2
97
+ 64
98
+ 56
99
+ 3
100
+ 47
101
+ 50
102
+ 4
103
+ 1
104
+ 15
105
+ 5
106
+ 7
107
+ 5
108
+ 64
109
+ 56
110
+ 6
111
+ 47
112
+ 50
113
+ 4
114
+ 1
115
+ 15
116
+ 5
117
+ 7
118
+ 7
119
+ 64
120
+ 56
121
+ 8
122
+ 47
123
+ 50
124
+ 4
125
+ 1
126
+ 11
127
+ I
128
+ 4
129
+ I
130
+ 0
131
+ I
132
+ 0
133
+ I
134
+ 0
135
+ I
136
+ -2
137
+ p
138
+ 9
139
+ M
140
+ 1
141
+ p
142
+ 2
143
+ x
144
+ 9
145
+ for_block
146
+ t
147
+ n
148
+ x
149
+ 9
150
+ __block__
151
+ i
152
+ 47
153
+ 45
154
+ 0
155
+ 1
156
+ 7
157
+ 2
158
+ 64
159
+ 65
160
+ 48
161
+ 3
162
+ 49
163
+ 4
164
+ 2
165
+ 19
166
+ 0
167
+ 15
168
+ 45
169
+ 5
170
+ 6
171
+ 43
172
+ 7
173
+ 13
174
+ 71
175
+ 8
176
+ 47
177
+ 9
178
+ 39
179
+ 47
180
+ 48
181
+ 9
182
+ 13
183
+ 20
184
+ 0
185
+ 47
186
+ 49
187
+ 10
188
+ 1
189
+ 15
190
+ 8
191
+ 44
192
+ 20
193
+ 0
194
+ 49
195
+ 8
196
+ 1
197
+ 38
198
+ 11
199
+ 11
200
+ I
201
+ 5
202
+ I
203
+ 1
204
+ I
205
+ 0
206
+ I
207
+ 0
208
+ I
209
+ -2
210
+ p
211
+ 12
212
+ x
213
+ 4
214
+ File
215
+ n
216
+ s
217
+ 14
218
+ ../../fixtures
219
+ x
220
+ 11
221
+ active_path
222
+ x
223
+ 11
224
+ expand_path
225
+ x
226
+ 3
227
+ H2o
228
+ n
229
+ x
230
+ 10
231
+ FileLoader
232
+ x
233
+ 3
234
+ new
235
+ x
236
+ 8
237
+ allocate
238
+ x
239
+ 10
240
+ initialize
241
+ x
242
+ 7
243
+ @loader
244
+ p
245
+ 7
246
+ I
247
+ 0
248
+ I
249
+ 4
250
+ I
251
+ 0
252
+ I
253
+ 5
254
+ I
255
+ f
256
+ I
257
+ 6
258
+ I
259
+ 2f
260
+ x
261
+ 43
262
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
263
+ p
264
+ 1
265
+ x
266
+ 4
267
+ path
268
+ x
269
+ 6
270
+ before
271
+ s
272
+ 51
273
+ search for template on a search path on file system
274
+ M
275
+ 1
276
+ p
277
+ 2
278
+ x
279
+ 9
280
+ for_block
281
+ t
282
+ n
283
+ x
284
+ 9
285
+ __block__
286
+ i
287
+ 42
288
+ 39
289
+ 0
290
+ 7
291
+ 1
292
+ 64
293
+ 49
294
+ 2
295
+ 1
296
+ 48
297
+ 3
298
+ 2
299
+ 83
300
+ 4
301
+ 15
302
+ 39
303
+ 0
304
+ 7
305
+ 5
306
+ 64
307
+ 49
308
+ 2
309
+ 1
310
+ 48
311
+ 3
312
+ 2
313
+ 83
314
+ 4
315
+ 15
316
+ 39
317
+ 0
318
+ 7
319
+ 6
320
+ 64
321
+ 49
322
+ 2
323
+ 1
324
+ 48
325
+ 3
326
+ 3
327
+ 83
328
+ 4
329
+ 11
330
+ I
331
+ 3
332
+ I
333
+ 0
334
+ I
335
+ 0
336
+ I
337
+ 0
338
+ I
339
+ -2
340
+ p
341
+ 7
342
+ x
343
+ 7
344
+ @loader
345
+ s
346
+ 6
347
+ a.html
348
+ x
349
+ 6
350
+ exist?
351
+ x
352
+ 6
353
+ should
354
+ x
355
+ 2
356
+ ==
357
+ s
358
+ 18
359
+ deep/folder/c.html
360
+ s
361
+ 18
362
+ non-existence.html
363
+ p
364
+ 9
365
+ I
366
+ 0
367
+ I
368
+ 9
369
+ I
370
+ 0
371
+ I
372
+ a
373
+ I
374
+ e
375
+ I
376
+ b
377
+ I
378
+ 1c
379
+ I
380
+ c
381
+ I
382
+ 2a
383
+ x
384
+ 43
385
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
386
+ p
387
+ 0
388
+ x
389
+ 2
390
+ it
391
+ s
392
+ 32
393
+ read for files on the searchpath
394
+ M
395
+ 1
396
+ p
397
+ 2
398
+ x
399
+ 9
400
+ for_block
401
+ t
402
+ n
403
+ x
404
+ 9
405
+ __block__
406
+ i
407
+ 16
408
+ 39
409
+ 0
410
+ 7
411
+ 1
412
+ 64
413
+ 49
414
+ 2
415
+ 1
416
+ 48
417
+ 3
418
+ 7
419
+ 4
420
+ 64
421
+ 83
422
+ 5
423
+ 11
424
+ I
425
+ 3
426
+ I
427
+ 0
428
+ I
429
+ 0
430
+ I
431
+ 0
432
+ I
433
+ -2
434
+ p
435
+ 6
436
+ x
437
+ 7
438
+ @loader
439
+ s
440
+ 6
441
+ a.html
442
+ x
443
+ 4
444
+ read
445
+ x
446
+ 6
447
+ should
448
+ s
449
+ 11
450
+ {{ hello }}
451
+ x
452
+ 2
453
+ ==
454
+ p
455
+ 5
456
+ I
457
+ 0
458
+ I
459
+ f
460
+ I
461
+ 0
462
+ I
463
+ 10
464
+ I
465
+ 10
466
+ x
467
+ 43
468
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
469
+ p
470
+ 0
471
+ s
472
+ 40
473
+ raises error when template doesn't exist
474
+ M
475
+ 1
476
+ p
477
+ 2
478
+ x
479
+ 9
480
+ for_block
481
+ t
482
+ n
483
+ x
484
+ 9
485
+ __block__
486
+ i
487
+ 15
488
+ 5
489
+ 56
490
+ 0
491
+ 47
492
+ 50
493
+ 1
494
+ 0
495
+ 5
496
+ 47
497
+ 48
498
+ 2
499
+ 49
500
+ 3
501
+ 1
502
+ 11
503
+ I
504
+ 3
505
+ I
506
+ 0
507
+ I
508
+ 0
509
+ I
510
+ 0
511
+ I
512
+ -2
513
+ p
514
+ 4
515
+ M
516
+ 1
517
+ p
518
+ 2
519
+ x
520
+ 9
521
+ for_block
522
+ t
523
+ n
524
+ x
525
+ 9
526
+ __block__
527
+ i
528
+ 9
529
+ 39
530
+ 0
531
+ 7
532
+ 1
533
+ 64
534
+ 49
535
+ 2
536
+ 1
537
+ 11
538
+ I
539
+ 3
540
+ I
541
+ 0
542
+ I
543
+ 0
544
+ I
545
+ 0
546
+ I
547
+ -2
548
+ p
549
+ 3
550
+ x
551
+ 7
552
+ @loader
553
+ s
554
+ 18
555
+ non-existence.html
556
+ x
557
+ 4
558
+ read
559
+ p
560
+ 3
561
+ I
562
+ 0
563
+ I
564
+ 14
565
+ I
566
+ 9
567
+ x
568
+ 43
569
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
570
+ p
571
+ 0
572
+ x
573
+ 6
574
+ expect
575
+ x
576
+ 11
577
+ raise_error
578
+ x
579
+ 6
580
+ should
581
+ p
582
+ 5
583
+ I
584
+ 0
585
+ I
586
+ 13
587
+ I
588
+ 0
589
+ I
590
+ 14
591
+ I
592
+ f
593
+ x
594
+ 43
595
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
596
+ p
597
+ 0
598
+ p
599
+ 11
600
+ I
601
+ 0
602
+ I
603
+ 3
604
+ I
605
+ 0
606
+ I
607
+ 4
608
+ I
609
+ 8
610
+ I
611
+ 9
612
+ I
613
+ 13
614
+ I
615
+ f
616
+ I
617
+ 1e
618
+ I
619
+ 13
620
+ I
621
+ 29
622
+ x
623
+ 43
624
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
625
+ p
626
+ 0
627
+ x
628
+ 8
629
+ describe
630
+ s
631
+ 15
632
+ H2o::HashLoader
633
+ M
634
+ 1
635
+ p
636
+ 2
637
+ x
638
+ 9
639
+ for_block
640
+ t
641
+ n
642
+ x
643
+ 9
644
+ __block__
645
+ i
646
+ 11
647
+ 5
648
+ 7
649
+ 0
650
+ 64
651
+ 56
652
+ 1
653
+ 47
654
+ 50
655
+ 2
656
+ 1
657
+ 11
658
+ I
659
+ 4
660
+ I
661
+ 0
662
+ I
663
+ 0
664
+ I
665
+ 0
666
+ I
667
+ -2
668
+ p
669
+ 3
670
+ s
671
+ 41
672
+ read file on the same namespace in a hash
673
+ M
674
+ 1
675
+ p
676
+ 2
677
+ x
678
+ 9
679
+ for_block
680
+ t
681
+ n
682
+ x
683
+ 9
684
+ __block__
685
+ i
686
+ 195
687
+ 45
688
+ 0
689
+ 1
690
+ 45
691
+ 0
692
+ 2
693
+ 43
694
+ 3
695
+ 13
696
+ 71
697
+ 4
698
+ 47
699
+ 9
700
+ 54
701
+ 47
702
+ 48
703
+ 5
704
+ 13
705
+ 44
706
+ 43
707
+ 6
708
+ 80
709
+ 49
710
+ 7
711
+ 1
712
+ 13
713
+ 7
714
+ 8
715
+ 64
716
+ 7
717
+ 9
718
+ 64
719
+ 49
720
+ 10
721
+ 2
722
+ 15
723
+ 13
724
+ 7
725
+ 11
726
+ 64
727
+ 7
728
+ 12
729
+ 64
730
+ 49
731
+ 10
732
+ 2
733
+ 15
734
+ 47
735
+ 49
736
+ 13
737
+ 1
738
+ 15
739
+ 8
740
+ 86
741
+ 44
742
+ 43
743
+ 6
744
+ 80
745
+ 49
746
+ 7
747
+ 1
748
+ 13
749
+ 7
750
+ 8
751
+ 64
752
+ 7
753
+ 9
754
+ 64
755
+ 49
756
+ 10
757
+ 2
758
+ 15
759
+ 13
760
+ 7
761
+ 11
762
+ 64
763
+ 7
764
+ 12
765
+ 64
766
+ 49
767
+ 10
768
+ 2
769
+ 15
770
+ 49
771
+ 4
772
+ 1
773
+ 13
774
+ 18
775
+ 2
776
+ 49
777
+ 14
778
+ 1
779
+ 15
780
+ 15
781
+ 45
782
+ 0
783
+ 15
784
+ 48
785
+ 16
786
+ 7
787
+ 8
788
+ 64
789
+ 49
790
+ 17
791
+ 1
792
+ 48
793
+ 18
794
+ 7
795
+ 9
796
+ 64
797
+ 83
798
+ 19
799
+ 15
800
+ 45
801
+ 0
802
+ 20
803
+ 43
804
+ 21
805
+ 13
806
+ 71
807
+ 4
808
+ 47
809
+ 9
810
+ 138
811
+ 47
812
+ 48
813
+ 5
814
+ 13
815
+ 7
816
+ 8
817
+ 64
818
+ 47
819
+ 49
820
+ 13
821
+ 1
822
+ 15
823
+ 8
824
+ 144
825
+ 7
826
+ 8
827
+ 64
828
+ 49
829
+ 4
830
+ 1
831
+ 48
832
+ 22
833
+ 48
834
+ 18
835
+ 7
836
+ 23
837
+ 64
838
+ 83
839
+ 19
840
+ 15
841
+ 45
842
+ 0
843
+ 24
844
+ 43
845
+ 21
846
+ 13
847
+ 71
848
+ 4
849
+ 47
850
+ 9
851
+ 179
852
+ 47
853
+ 48
854
+ 5
855
+ 13
856
+ 7
857
+ 11
858
+ 64
859
+ 47
860
+ 49
861
+ 13
862
+ 1
863
+ 15
864
+ 8
865
+ 185
866
+ 7
867
+ 11
868
+ 64
869
+ 49
870
+ 4
871
+ 1
872
+ 48
873
+ 22
874
+ 48
875
+ 18
876
+ 7
877
+ 25
878
+ 64
879
+ 83
880
+ 19
881
+ 11
882
+ I
883
+ 8
884
+ I
885
+ 0
886
+ I
887
+ 0
888
+ I
889
+ 0
890
+ I
891
+ -2
892
+ p
893
+ 26
894
+ x
895
+ 3
896
+ H2o
897
+ n
898
+ n
899
+ x
900
+ 10
901
+ HashLoader
902
+ x
903
+ 3
904
+ new
905
+ x
906
+ 8
907
+ allocate
908
+ x
909
+ 4
910
+ Hash
911
+ x
912
+ 16
913
+ new_from_literal
914
+ s
915
+ 9
916
+ base.html
917
+ s
918
+ 37
919
+ {% block content %}test{% endblock %}
920
+ x
921
+ 3
922
+ []=
923
+ s
924
+ 6
925
+ a.html
926
+ s
927
+ 63
928
+ {% extends 'base.html' %}{% block content %}test2{% endblock %}
929
+ x
930
+ 10
931
+ initialize
932
+ x
933
+ 7
934
+ loader=
935
+ n
936
+ x
937
+ 6
938
+ loader
939
+ x
940
+ 4
941
+ read
942
+ x
943
+ 6
944
+ should
945
+ x
946
+ 2
947
+ ==
948
+ n
949
+ x
950
+ 8
951
+ Template
952
+ x
953
+ 6
954
+ render
955
+ s
956
+ 4
957
+ test
958
+ n
959
+ s
960
+ 5
961
+ test2
962
+ p
963
+ 21
964
+ I
965
+ 0
966
+ I
967
+ 19
968
+ I
969
+ 0
970
+ I
971
+ 1a
972
+ I
973
+ 12
974
+ I
975
+ 1c
976
+ I
977
+ 1a
978
+ I
979
+ 1b
980
+ I
981
+ 25
982
+ I
983
+ 1c
984
+ I
985
+ 3e
986
+ I
987
+ 1b
988
+ I
989
+ 49
990
+ I
991
+ 1c
992
+ I
993
+ 5e
994
+ I
995
+ 1e
996
+ I
997
+ 71
998
+ I
999
+ 20
1000
+ I
1001
+ 9a
1002
+ I
1003
+ 21
1004
+ I
1005
+ c3
1006
+ x
1007
+ 43
1008
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
1009
+ p
1010
+ 0
1011
+ x
1012
+ 2
1013
+ it
1014
+ p
1015
+ 5
1016
+ I
1017
+ 0
1018
+ I
1019
+ 18
1020
+ I
1021
+ 0
1022
+ I
1023
+ 19
1024
+ I
1025
+ b
1026
+ x
1027
+ 43
1028
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
1029
+ p
1030
+ 0
1031
+ p
1032
+ 7
1033
+ I
1034
+ 0
1035
+ I
1036
+ 1
1037
+ I
1038
+ 9
1039
+ I
1040
+ 3
1041
+ I
1042
+ 16
1043
+ I
1044
+ 18
1045
+ I
1046
+ 23
1047
+ x
1048
+ 43
1049
+ /workspace/h2o/spec/h2o/file_loader_spec.rb
1050
+ p
1051
+ 0
@@ -7,7 +7,7 @@ describe H2o::Tags::Block do
7
7
  end
8
8
 
9
9
 
10
- context "block variable" do
10
+ describe "block variable" do
11
11
  it "should return block name" do
12
12
  parse(block(:something, '{{ block.name }}')).render.should == 'something'
13
13
  end
@@ -17,7 +17,8 @@ describe H2o::Tags::Block do
17
17
  parse(source).render.should == "1"
18
18
  end
19
19
 
20
- it "should return parent block content"
20
+ it "should return parent block content" do
21
+ end
21
22
  end
22
23
 
23
24
  def block(name, content)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Taylor luk
@@ -14,22 +14,10 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-30 00:00:00 +10:00
17
+ date: 2010-09-14 00:00:00 +10:00
18
18
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: schacon-git
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
31
- type: :runtime
32
- version_requirements: *id001
19
+ dependencies: []
20
+
33
21
  description: h2o is a django inspired template that offers natural template syntax and easy to integrate.
34
22
  email: subjective@gmail.com
35
23
  executables: []
@@ -68,6 +56,7 @@ files:
68
56
  - lib/h2o/context.rb
69
57
  - lib/h2o/datatype.rb
70
58
  - lib/h2o/error.rb
59
+ - lib/h2o/file_loader.rb
71
60
  - lib/h2o/filters.rb
72
61
  - lib/h2o/filters/default.rb
73
62
  - lib/h2o/nodes.rb
@@ -86,6 +75,7 @@ files:
86
75
  - spec/h2o/context_spec.rb
87
76
  - spec/h2o/default.html
88
77
  - spec/h2o/file_loader_spec.rb
78
+ - spec/h2o/file_loader_spec.rbc
89
79
  - spec/h2o/filters_spec.rb
90
80
  - spec/h2o/parser_spec.rb
91
81
  - spec/h2o/tags/block_spec.rb