breezy_template 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2aa1f1e064e00870f0c22cd4288772e8d585c18f
4
- data.tar.gz: d341dc70c450212d0ee875dc7254742e465a54e7
3
+ metadata.gz: da144588b56af534e34e76bb6b3485b80aea270e
4
+ data.tar.gz: 3acda36705e7044799381005fb13137993ac4c2b
5
5
  SHA512:
6
- metadata.gz: 89aea950f54c8319e92e5affbdde146e3ad289557a46015143e554cda513db6ece703947788fa0c14188089adf08f60be3a2e198fe6bbb0dd033d9aa23c425f1
7
- data.tar.gz: 1f9915333d99b86cd19dddc5919e6dcccf147341a08d3eb88c25ad55f8a9b19543b3b77bc5e1459b924e72eabc42ebe89d33d7d91761c3c84a82c9e4eb515651
6
+ metadata.gz: 03cc588d52178c4c6c2b31c2213be5c448d7cd06510575cf7135e3e6bfb89748616737d182d164fc96f04cfebd83a54c3cadb22a2402e0cef105fb37d8b98f36
7
+ data.tar.gz: 6fff2ab23c9078831fbda468e9d96a810afc5a0a70e3eda461f6e0b85a378fa20de81017229f58c9a8e5934eb967895b01622a148c8cb7b481b4caebfe8d71d5
@@ -15,7 +15,6 @@ class BreezyTemplate
15
15
  if !(__already_defined && __already_defined != "method")
16
16
  json.merge!({data: json._found! || json.empty! })
17
17
 
18
- json.set! :update_joints, true
19
18
  json.set! :screen, '#{self.template_id(template)}'
20
19
 
21
20
  if defined?(breezy) && breezy
@@ -152,7 +152,7 @@ class BreezyTemplateTest < ActionView::TestCase
152
152
  var joints={};
153
153
  var cache={};
154
154
  var defers=[];
155
- return ({"data":{"content":"hello"},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
155
+ return ({"data":{"content":"hello"},"screen":"test","joints":joints,"defers":defers});
156
156
  })()
157
157
  JS
158
158
 
@@ -176,7 +176,7 @@ class BreezyTemplateTest < ActionView::TestCase
176
176
  var joints={};
177
177
  var cache={};
178
178
  var defers=[];
179
- return ({"data":{"content":{"hit":123}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
179
+ return ({"data":{"content":{"hit":123}},"screen":"test","joints":joints,"defers":defers});
180
180
  })()
181
181
  JS
182
182
 
@@ -196,7 +196,7 @@ class BreezyTemplateTest < ActionView::TestCase
196
196
  var joints={};
197
197
  var cache={};
198
198
  var defers=[];
199
- return ({\"data\":{\"content\":[3,4]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
199
+ return ({\"data\":{\"content\":[3,4]},"screen":"test","joints":joints,"defers":defers});
200
200
  })()
201
201
  JS
202
202
 
@@ -216,7 +216,7 @@ class BreezyTemplateTest < ActionView::TestCase
216
216
  var joints={};
217
217
  var cache={};
218
218
  var defers=[];
219
- return ({"data":{"content":"hello"},"update_joints":true,"screen":"test","assets":["/test.js","/test.css","test_pack.js","test_pack.css"],"joints":joints,"defers":defers});
219
+ return ({"data":{"content":"hello"},"screen":"test","assets":["/test.js","/test.css","test_pack.js","test_pack.css"],"joints":joints,"defers":defers});
220
220
  })()
221
221
  JS
222
222
 
@@ -238,7 +238,7 @@ class BreezyTemplateTest < ActionView::TestCase
238
238
  var joints={};
239
239
  var cache={};
240
240
  var defers=[];
241
- return ({"data":{"content":"hello"},"update_joints":true,"screen":"test","csrf_token":"secret","joints":joints,"defers":defers});
241
+ return ({"data":{"content":"hello"},"screen":"test","csrf_token":"secret","joints":joints,"defers":defers});
242
242
  })()
243
243
  JS
244
244
 
@@ -258,7 +258,7 @@ class BreezyTemplateTest < ActionView::TestCase
258
258
  var joints={};
259
259
  var cache={};
260
260
  var defers=[];
261
- return ({"data":{"content":"hello"},"update_joints":true,"screen":"test","title":"this is fun","assets":["/test.js","/test.css"],"joints":joints,"defers":defers});
261
+ return ({"data":{"content":"hello"},"screen":"test","title":"this is fun","assets":["/test.js","/test.css"],"joints":joints,"defers":defers});
262
262
  })()
263
263
  JS
264
264
 
@@ -283,7 +283,7 @@ class BreezyTemplateTest < ActionView::TestCase
283
283
  "id":1,
284
284
  "body":"post body 1",
285
285
  "author":{"first_name":"David","last_name":"Heinemeier Hansson"}
286
- }},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
286
+ }},"screen":"test","joints":joints,"defers":defers});
287
287
  })()
288
288
  JS
289
289
 
@@ -301,7 +301,7 @@ class BreezyTemplateTest < ActionView::TestCase
301
301
  var cache={};
302
302
  var defers=[];
303
303
  joints['footer'] ||= []; joints['footer'].push('footer');
304
- return ({"data":{"footer":{"terms":"You agree"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
304
+ return ({"data":{"footer":{"terms":"You agree"}},"screen":"test","joints":joints,"defers":defers});
305
305
  })()
306
306
  JS
307
307
  assert_equal expected, result
@@ -318,7 +318,7 @@ class BreezyTemplateTest < ActionView::TestCase
318
318
  var cache={};
319
319
  var defers=[];
320
320
  joints['hello'] ||= []; joints['hello'].push('footer');
321
- return ({"data":{"footer":{"terms":"You agree"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
321
+ return ({"data":{"footer":{"terms":"You agree"}},"screen":"test","joints":joints,"defers":defers});
322
322
  })()
323
323
  JS
324
324
  assert_equal expected, result
@@ -335,7 +335,7 @@ class BreezyTemplateTest < ActionView::TestCase
335
335
  var cache={};
336
336
  var defers=[];
337
337
  joints['somefoo1'] ||= []; joints['somefoo1'].push('0');joints['somefoo2'] ||= []; joints['somefoo2'].push('1');
338
- return ({"data":[{"terms":"You agree"},{"terms":"You agree"}],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
338
+ return ({"data":[{"terms":"You agree"},{"terms":"You agree"}],"screen":"test","joints":joints,"defers":defers});
339
339
  })()
340
340
  JS
341
341
 
@@ -352,7 +352,7 @@ class BreezyTemplateTest < ActionView::TestCase
352
352
  var joints={};
353
353
  var cache={};
354
354
  var defers=[];
355
- return ({"data":{"footer":{"terms":"You agree"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
355
+ return ({"data":{"footer":{"terms":"You agree"}},"screen":"test","joints":joints,"defers":defers});
356
356
  })()
357
357
  JS
358
358
  assert_equal expected, result
@@ -368,7 +368,7 @@ class BreezyTemplateTest < ActionView::TestCase
368
368
  var joints={};
369
369
  var cache={};
370
370
  var defers=[];
371
- return ({"data":{"profile":{"email":"test@test.com"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
371
+ return ({"data":{"profile":{"email":"test@test.com"}},"screen":"test","joints":joints,"defers":defers});
372
372
  })()
373
373
  JS
374
374
  assert_equal expected, result
@@ -389,7 +389,7 @@ class BreezyTemplateTest < ActionView::TestCase
389
389
  var cache={};
390
390
  var defers=[];
391
391
  cache["#{cache_keys[0]}"]={"email":"test@test.com"};
392
- return ({"data":{"profile":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
392
+ return ({"data":{"profile":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
393
393
  })()
394
394
  JS
395
395
 
@@ -406,7 +406,7 @@ class BreezyTemplateTest < ActionView::TestCase
406
406
  var joints={};
407
407
  var cache={};
408
408
  var defers=[];
409
- return ({"data":{"profile":{"email":"test@test.com"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
409
+ return ({"data":{"profile":{"email":"test@test.com"}},"screen":"test","joints":joints,"defers":defers});
410
410
  })()
411
411
  JS
412
412
 
@@ -423,7 +423,7 @@ class BreezyTemplateTest < ActionView::TestCase
423
423
  var joints={};
424
424
  var cache={};
425
425
  var defers=[];
426
- return ({"data":[{"terms":"You agree"},{"terms":"You agree"}],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
426
+ return ({"data":[{"terms":"You agree"},{"terms":"You agree"}],"screen":"test","joints":joints,"defers":defers});
427
427
  })()
428
428
  JS
429
429
 
@@ -442,7 +442,7 @@ class BreezyTemplateTest < ActionView::TestCase
442
442
  var defers=[];
443
443
  cache["#{cache_keys[0]}"]={"terms":"You agree"};
444
444
  cache["#{cache_keys[1]}"]={"terms":"You agree"};
445
- return ({"data":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"]],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
445
+ return ({"data":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"]],"screen":"test","joints":joints,"defers":defers});
446
446
  })()
447
447
  JS
448
448
 
@@ -470,7 +470,7 @@ class BreezyTemplateTest < ActionView::TestCase
470
470
  {"id":8,"body":"post body 8","author":{"first_name":"Pavel","last_name":"Pravosud"}},
471
471
  {"id":9,"body":"post body 9","author":{"first_name":"David","last_name":"Heinemeier Hansson"}},
472
472
  {"id":10,"body":"post body 10","author":{"first_name":"Pavel","last_name":"Pravosud"}}
473
- ],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
473
+ ],"screen":"test","joints":joints,"defers":defers});
474
474
  })()
475
475
  JS
476
476
 
@@ -487,7 +487,7 @@ class BreezyTemplateTest < ActionView::TestCase
487
487
  var joints={};
488
488
  var cache={};
489
489
  var defers=[];
490
- return ({"data":[],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
490
+ return ({"data":[],"screen":"test","joints":joints,"defers":defers});
491
491
  })()
492
492
  JS
493
493
 
@@ -504,7 +504,7 @@ class BreezyTemplateTest < ActionView::TestCase
504
504
  var joints={};
505
505
  var cache={};
506
506
  var defers=[];
507
- return ({"data":{"posts":{"terms":"You agree"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
507
+ return ({"data":{"posts":{"terms":"You agree"}},"screen":"test","joints":joints,"defers":defers});
508
508
  })()
509
509
  JS
510
510
  assert_equal expected, result
@@ -520,7 +520,7 @@ class BreezyTemplateTest < ActionView::TestCase
520
520
  var joints={};
521
521
  var cache={};
522
522
  var defers=[];
523
- return ({"data":{"posts":[1,2]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
523
+ return ({"data":{"posts":[1,2]},"screen":"test","joints":joints,"defers":defers});
524
524
  })()
525
525
  JS
526
526
  assert_equal expected, result
@@ -542,7 +542,7 @@ class BreezyTemplateTest < ActionView::TestCase
542
542
  var cache={};
543
543
  var defers=[];
544
544
  cache["#{cache_keys[0]}"]=32;
545
- return ({"data":{"hello":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
545
+ return ({"data":{"hello":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
546
546
  })()
547
547
  JS
548
548
 
@@ -570,7 +570,7 @@ class BreezyTemplateTest < ActionView::TestCase
570
570
  var defers=[];
571
571
  cache["#{cache_keys[0]}"]={"top":"hello4"};
572
572
  cache["#{cache_keys[1]}"]={"top":"hello5"};
573
- return ({"data":{"hello":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"]]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
573
+ return ({"data":{"hello":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"]]},"screen":"test","joints":joints,"defers":defers});
574
574
  })()
575
575
  JS
576
576
 
@@ -599,7 +599,7 @@ class BreezyTemplateTest < ActionView::TestCase
599
599
  cache["#{cache_keys[0]}"]={"subcontent":"inner"};
600
600
  cache["#{cache_keys[1]}"]={"subcontent":"other"};
601
601
  cache["#{cache_keys[2]}"]={"content":cache["#{cache_keys[0]}"],"other":cache["#{cache_keys[1]}"]};
602
- return ({"data":{"hello":cache["#{cache_keys[2]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
602
+ return ({"data":{"hello":cache["#{cache_keys[2]}"]},"screen":"test","joints":joints,"defers":defers});
603
603
  })()
604
604
  JS
605
605
 
@@ -625,7 +625,7 @@ class BreezyTemplateTest < ActionView::TestCase
625
625
  var joints={};
626
626
  var cache={};
627
627
  var defers=[];
628
- return ({\"data\":{\"hello\":[]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
628
+ return ({\"data\":{\"hello\":[]},"screen":"test","joints":joints,"defers":defers});
629
629
  })()
630
630
  JS
631
631
 
@@ -675,7 +675,7 @@ class BreezyTemplateTest < ActionView::TestCase
675
675
  var cache={};
676
676
  var defers=[];
677
677
  cache["#{cache_keys[0]}"]={"name":"Cache"};
678
- return ({"data":{"post":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
678
+ return ({"data":{"post":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
679
679
  })()
680
680
  JS
681
681
 
@@ -697,7 +697,7 @@ class BreezyTemplateTest < ActionView::TestCase
697
697
  var cache={};
698
698
  var defers=[];
699
699
  cache["#{cache_keys[0]}"]=["a","b","c"];
700
- return ({"data":{"content":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
700
+ return ({"data":{"content":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
701
701
  })()
702
702
  JS
703
703
 
@@ -767,7 +767,7 @@ class BreezyTemplateTest < ActionView::TestCase
767
767
  var joints={};
768
768
  var cache={};
769
769
  var defers=[];
770
- return ({"data":{"content":{"name":"Cache"}},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
770
+ return ({"data":{"content":{"name":"Cache"}},"screen":"test","joints":joints,"defers":defers});
771
771
  })()
772
772
  JS
773
773
 
@@ -787,7 +787,7 @@ class BreezyTemplateTest < ActionView::TestCase
787
787
  var cache={};
788
788
  var defers=[];
789
789
  cache["#{cache_keys[0]}"]={"id":1,"body":"post body 1","author":{"first_name":"David","last_name":"Heinemeier Hansson"}};
790
- return ({"data":{"post":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
790
+ return ({"data":{"post":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
791
791
  })()
792
792
  JS
793
793
 
@@ -824,7 +824,7 @@ class BreezyTemplateTest < ActionView::TestCase
824
824
  var cache={};
825
825
  var defers=[];
826
826
  cache["#{cache_keys[0]}"]={"id":1,"body":"hit","author":{"first_name":"John","last_name":"Smith"}};
827
- return ({"data":{"post":cache["#{cache_keys[0]}"]},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
827
+ return ({"data":{"post":cache["#{cache_keys[0]}"]},"screen":"test","joints":joints,"defers":defers});
828
828
  })()
829
829
  JS
830
830
 
@@ -857,7 +857,7 @@ class BreezyTemplateTest < ActionView::TestCase
857
857
  cache["#{cache_keys[7]}"]={"id":8,"body":"post body 8","author":{"first_name":"Pavel","last_name":"Pravosud"}};
858
858
  cache["#{cache_keys[8]}"]={"id":9,"body":"post body 9","author":{"first_name":"David","last_name":"Heinemeier Hansson"}};
859
859
  cache["#{cache_keys[9]}"]={"id":10,"body":"post body 10","author":{"first_name":"Pavel","last_name":"Pravosud"}};
860
- return ({"data":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"],cache["#{cache_keys[2]}"],cache["#{cache_keys[3]}"],cache["#{cache_keys[4]}"],cache["#{cache_keys[5]}"],cache["#{cache_keys[6]}"],cache["#{cache_keys[7]}"],cache["#{cache_keys[8]}"],cache["#{cache_keys[9]}"]],"update_joints":true,"screen":"test","joints":joints,"defers":defers});
860
+ return ({"data":[cache["#{cache_keys[0]}"],cache["#{cache_keys[1]}"],cache["#{cache_keys[2]}"],cache["#{cache_keys[3]}"],cache["#{cache_keys[4]}"],cache["#{cache_keys[5]}"],cache["#{cache_keys[6]}"],cache["#{cache_keys[7]}"],cache["#{cache_keys[8]}"],cache["#{cache_keys[9]}"]],"screen":"test","joints":joints,"defers":defers});
861
861
  })()
862
862
  JS
863
863
  assert_equal expected, result
@@ -887,7 +887,7 @@ class BreezyTemplateTest < ActionView::TestCase
887
887
  var cache={};
888
888
  var defers=[];
889
889
  return (
890
- {"data":{"greeting":"hello world"},"update_joints":true,"screen":"test","joints":joints,"defers":defers}
890
+ {"data":{"greeting":"hello world"},"screen":"test","joints":joints,"defers":defers}
891
891
  );
892
892
  })()
893
893
  JS
@@ -933,7 +933,7 @@ class BreezyTemplateTest < ActionView::TestCase
933
933
  var cache={};
934
934
  var defers=[];
935
935
  return (
936
- {"data":23,"update_joints":true,"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers}
936
+ {"data":23,"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers}
937
937
  );
938
938
  })()
939
939
  JS
@@ -954,7 +954,7 @@ class BreezyTemplateTest < ActionView::TestCase
954
954
  var cache={};
955
955
  var defers=[];
956
956
  return (
957
- {"data":"You agree","update_joints":true,"screen":"test","action":"graft","path":"hit.hit2.terms","joints":joints,"defers":defers}
957
+ {"data":"You agree","screen":"test","action":"graft","path":"hit.hit2.terms","joints":joints,"defers":defers}
958
958
  );
959
959
  })()
960
960
  JS
@@ -984,7 +984,7 @@ class BreezyTemplateTest < ActionView::TestCase
984
984
  var cache={};
985
985
  var defers=[];
986
986
  return (
987
- {"data":{"greeting":"hello world"},"update_joints":true,"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers}
987
+ {"data":{"greeting":"hello world"},"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers}
988
988
  );
989
989
  })()
990
990
  JS
@@ -1009,7 +1009,7 @@ class BreezyTemplateTest < ActionView::TestCase
1009
1009
  var cache={};
1010
1010
  var defers=[];
1011
1011
  cache["#{cache_keys[0]}"]={"greeting":"hello world"};
1012
- return ({"data":cache["#{cache_keys[0]}"],"update_joints":true,"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers});
1012
+ return ({"data":cache["#{cache_keys[0]}"],"screen":"test","action":"graft","path":"hit.hit2","joints":joints,"defers":defers});
1013
1013
  })()
1014
1014
 
1015
1015
 
@@ -1038,7 +1038,7 @@ class BreezyTemplateTest < ActionView::TestCase
1038
1038
  var cache={};
1039
1039
  var defers=[];
1040
1040
  return (
1041
- {"data":{"name":"hit"},"update_joints":true,"screen":"test","action":"graft","path":"hit.hit2.id=1","joints":joints,"defers":defers}
1041
+ {"data":{"name":"hit"},"screen":"test","action":"graft","path":"hit.hit2.id=1","joints":joints,"defers":defers}
1042
1042
  );
1043
1043
  })()
1044
1044
  JS
@@ -1066,7 +1066,7 @@ class BreezyTemplateTest < ActionView::TestCase
1066
1066
  var cache={};
1067
1067
  var defers=[];
1068
1068
  return (
1069
- {"data":{"name":"hit"},"update_joints":true,"screen":"test","action":"graft","path":"hit.hit2.0","joints":joints,"defers":defers}
1069
+ {"data":{"name":"hit"},"screen":"test","action":"graft","path":"hit.hit2.0","joints":joints,"defers":defers}
1070
1070
  );
1071
1071
  })()
1072
1072
  JS
@@ -1096,7 +1096,7 @@ class BreezyTemplateTest < ActionView::TestCase
1096
1096
  var defers=[];
1097
1097
  defers.push({url:'/some_url?_bz=hit.hit2'});
1098
1098
  return (
1099
- {"data":{"hit":{"hit2":undefined}},"update_joints":true,"screen":"test","joints":joints,"defers":defers}
1099
+ {"data":{"hit":{"hit2":undefined}},"screen":"test","joints":joints,"defers":defers}
1100
1100
  );
1101
1101
  })()
1102
1102
  JS
@@ -1125,7 +1125,7 @@ class BreezyTemplateTest < ActionView::TestCase
1125
1125
  var cache={};
1126
1126
  var defers=[];
1127
1127
  return (
1128
- {"data":{"hit":{"hit2":undefined}},"update_joints":true,"screen":"test","joints":joints,"defers":defers}
1128
+ {"data":{"hit":{"hit2":undefined}},"screen":"test","joints":joints,"defers":defers}
1129
1129
  );
1130
1130
  })()
1131
1131
  JS
@@ -1159,7 +1159,7 @@ class BreezyTemplateTest < ActionView::TestCase
1159
1159
  defers.push({url:'/some_url?_bz=hit.hit2.id%3D1.greeting'});
1160
1160
  defers.push({url:'/some_url?_bz=hit.hit2.id%3D2.greeting'});
1161
1161
  return (
1162
- {"data":{"hit":{"hit2":[{"greeting":undefined},{"greeting":undefined}]}},"update_joints":true,"screen":"test","joints":joints,"defers":defers}
1162
+ {"data":{"hit":{"hit2":[{"greeting":undefined},{"greeting":undefined}]}},"screen":"test","joints":joints,"defers":defers}
1163
1163
  );
1164
1164
  })()
1165
1165
  JS
@@ -1179,7 +1179,7 @@ class BreezyTemplateTest < ActionView::TestCase
1179
1179
  var joints={};
1180
1180
  var cache={};
1181
1181
  var defers=[];
1182
- return ({"data":{"hello":32},"update_joints":true,"screen":"test","joints":joints,"defers":defers});
1182
+ return ({"data":{"hello":32},"screen":"test","joints":joints,"defers":defers});
1183
1183
  })()
1184
1184
  JS
1185
1185
 
@@ -1199,7 +1199,7 @@ class BreezyTemplateTest < ActionView::TestCase
1199
1199
  var joints={};
1200
1200
  var cache={};
1201
1201
  var defers=[];
1202
- return ({"data":32,"update_joints":true,"screen":"test","action":"graft","path":"hello.world","joints":joints,"defers":defers});
1202
+ return ({"data":32,"screen":"test","action":"graft","path":"hello.world","joints":joints,"defers":defers});
1203
1203
  })()
1204
1204
  JS
1205
1205
 
@@ -1223,7 +1223,7 @@ class BreezyTemplateTest < ActionView::TestCase
1223
1223
  var cache={};
1224
1224
  var defers=[];
1225
1225
  defers.push({url:'?_bz=hello.content'});
1226
- return ({"data":{"content":undefined},"update_joints":true,"screen":"test","action":"graft","path":"hello","joints":joints,"defers":defers});
1226
+ return ({"data":{"content":undefined},"screen":"test","action":"graft","path":"hello","joints":joints,"defers":defers});
1227
1227
  })()
1228
1228
  JS
1229
1229
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breezy_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johny Ho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-16 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack