breezy_template 0.4.0 → 0.4.1

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: 389577cd7a952f1dc9c01fa549bd9fb4328dc7da
4
- data.tar.gz: fc00b911792bcbba351e458a1cdb763cebc1c80d
3
+ metadata.gz: 9c2b857cf1d23307564ac5087d3326f0aded20ff
4
+ data.tar.gz: b2f0dfda63e22e889463d4a54aa5d7adf907a4b7
5
5
  SHA512:
6
- metadata.gz: f26770f783bed26af579db8b0bcdb2b87907a968d826e0bfd10705781f42b884a26d2fcf19eabc78bad4b2da21eb8661d766a2bbfd6ba81cdd9bcd0264d115e8
7
- data.tar.gz: 88d00aa5d417488e872ea0b3a91d50c4dd7f1eb750616ae44333ea47a3fc2f17d53da5e7b0ecf4dfaf87ad5c866ead0be12dd7d93a101fc3cffa4c56aacdf362
6
+ metadata.gz: 592aec8e09ed01ae5f7396c9aa7ef31c078564a2f0137a250cefcf0cb1d6469f2fcc281cf5df56e8a7e1ecdc7a3701b24885b985e3e386ae07e7af475b8cb995
7
+ data.tar.gz: b5e854fd1f4e205cf1e9c88be3159fe5d74030b5e1feefa2220084e1187bedabe9720593af629e2f94c31d3aef0ea254a4a1a7d57349a792d8b60a8d9a396118
@@ -36,7 +36,7 @@ class BreezyTemplate
36
36
 
37
37
  def _breezy_visit_current(path)
38
38
  uri = ::URI.parse(@request_path)
39
- qry = ::URI.decode_www_form(uri.query || '') << ["_breezy_filter", path.join('.')]
39
+ qry = ::URI.decode_www_form(uri.query || '') << ["_bz", path.join('.')]
40
40
  uri.query = ::URI.encode_www_form(qry)
41
41
  "defers.push({url:'#{uri}'});"
42
42
  end
@@ -1154,7 +1154,7 @@ class BreezyTemplateTest < ActionView::TestCase
1154
1154
  var joints={};
1155
1155
  var cache={};
1156
1156
  var defers=[];
1157
- defers.push({url:'/some_url?_breezy_filter=hit.hit2'});
1157
+ defers.push({url:'/some_url?_bz=hit.hit2'});
1158
1158
  return (
1159
1159
  {"data":{"hit":{"hit2":undefined}},"joints":joints,"defers":defers}
1160
1160
  );
@@ -1216,8 +1216,8 @@ class BreezyTemplateTest < ActionView::TestCase
1216
1216
  var joints={};
1217
1217
  var cache={};
1218
1218
  var defers=[];
1219
- defers.push({url:'/some_url?_breezy_filter=hit.hit2.id%3D1.greeting'});
1220
- defers.push({url:'/some_url?_breezy_filter=hit.hit2.id%3D2.greeting'});
1219
+ defers.push({url:'/some_url?_bz=hit.hit2.id%3D1.greeting'});
1220
+ defers.push({url:'/some_url?_bz=hit.hit2.id%3D2.greeting'});
1221
1221
  return (
1222
1222
  {"data":{"hit":{"hit2":[{"greeting":undefined},{"greeting":undefined}]}},"joints":joints,"defers":defers}
1223
1223
  );
@@ -1282,7 +1282,7 @@ class BreezyTemplateTest < ActionView::TestCase
1282
1282
  var joints={};
1283
1283
  var cache={};
1284
1284
  var defers=[];
1285
- defers.push({url:'?_breezy_filter=hello.content'});
1285
+ defers.push({url:'?_bz=hello.content'});
1286
1286
  return ({"data":{"content":undefined},"action":"graft","path":"hello","joints":joints,"defers":defers});
1287
1287
  })()
1288
1288
  JS
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.4.0
4
+ version: 0.4.1
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-02-03 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack