wedge 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge/component.rb +4 -2
- data/lib/wedge/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2676bdcde4fd10da925a2913e364cb22464880
|
4
|
+
data.tar.gz: 52de2ad75c872dc63072ed9c87c1e207a16ffbd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7b765660ba7d941bc04c6e51622a6f26d2b731d5f9348a72e59417242021d7e03f2cd7918614a6ef268c5eb5bd2ec3dfd75d891b343c1b33c807884159b73d1
|
7
|
+
data.tar.gz: 268e5d3ade33214b815a1e4c60c10cb90a57838e217021a7904b0f091e2c05bdad4c09bf4a8536e42c36ad0bf34ef55e21261aa04e28eb247ca9872d3a1e3df4
|
data/lib/wedge/component.rb
CHANGED
@@ -203,7 +203,9 @@ module Wedge
|
|
203
203
|
payload[:wedge_method_called] = meth
|
204
204
|
payload[:wedge_method_args] = args
|
205
205
|
|
206
|
-
|
206
|
+
call_url = "#{Wedge.assets_url}/#{path_name}.call".gsub(%r{^(http(|s)://[^\/]*\/|\/)}, '')
|
207
|
+
|
208
|
+
HTTP.post("/#{call_url}",
|
207
209
|
headers: {
|
208
210
|
'X-CSRF-TOKEN' => Element.find('meta[name=_csrf]').attr('content'),
|
209
211
|
'X-WEDGE-METHOD-REQUEST' => true
|
@@ -298,7 +300,7 @@ module Wedge
|
|
298
300
|
block.$$s = null;
|
299
301
|
result = block.apply(self, a);
|
300
302
|
block.$$s = bs;
|
301
|
-
|
303
|
+
|
302
304
|
return result;
|
303
305
|
}
|
304
306
|
end
|
data/lib/wedge/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wedge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
218
|
version: '0'
|
219
219
|
requirements: []
|
220
220
|
rubyforge_project:
|
221
|
-
rubygems_version: 2.
|
221
|
+
rubygems_version: 2.4.3
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Components for the Browser and Server
|
@@ -235,4 +235,3 @@ test_files:
|
|
235
235
|
- test/test_basic_component.rb
|
236
236
|
- test/test_browserio.rb
|
237
237
|
- test/test_helper.rb
|
238
|
-
has_rdoc:
|