breezy 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 +4 -4
- data/test/render_test.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd43b7f1b0d29427aa03dc2ba8602072a208ae9
|
4
|
+
data.tar.gz: 8e5b735ee64a73a2ce2e327b4a917cadc79800ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3712cc47cec6d73de6d61d6f5adc655e28c7e58e7c02795d8e6eef45ddeab6f05dd7eb24b6791259d5e04d2c0e419379ce685a94251cbce2fe1838ecbd4607a
|
7
|
+
data.tar.gz: adce7cc2ca1af9d817b1d53b0f890507d1208935ea7908dac8134799dbe5ecabbd93edfdb4ffcad4df27ff4087a22606a82757059459336a6ebcec23b672385c
|
data/test/render_test.rb
CHANGED
@@ -108,7 +108,7 @@ class RenderTest < ActionController::TestCase
|
|
108
108
|
rendered = <<~HTML
|
109
109
|
<html>
|
110
110
|
<head>
|
111
|
-
<script>(function(){var joints={};var cache={};var defers=[];return ({"data":#{content.to_json},"
|
111
|
+
<script>(function(){var joints={};var cache={};var defers=[];return ({"data":#{content.to_json},"screen":"#{opts[:screen]}","csrf_token":"secret","assets":["/app.js"],"joints":joints,"defers":defers});})();</script>
|
112
112
|
</head>
|
113
113
|
<body></body>
|
114
114
|
</html>
|
@@ -120,7 +120,7 @@ class RenderTest < ActionController::TestCase
|
|
120
120
|
|
121
121
|
def assert_breezy_js(content)
|
122
122
|
assert_response 200
|
123
|
-
assert_equal '(function(){var joints={};var cache={};var defers=[];return ({"data":' + content.to_json + ',"
|
123
|
+
assert_equal '(function(){var joints={};var cache={};var defers=[];return ({"data":' + content.to_json + ',"screen":"render/action","csrf_token":"secret","assets":["/app.js"],"joints":joints,"defers":defers});})()', @response.body
|
124
124
|
assert_equal 'text/javascript', @response.content_type
|
125
125
|
end
|
126
126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breezy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
11
|
+
date: 2018-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.9.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.9.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webpacker
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|