wedge 0.1.54 → 0.1.55
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 +1 -1
- data/lib/wedge/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6681c0a3099e1d1c058832ed940e8316f9c62f3a
|
4
|
+
data.tar.gz: 018088e4cc351fa73a1bd77234515596f746af0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebde40c0e850efa027dac2805255f1c76a2ab974861a4726654e1f3b08826b340074d0ddc27ee392b9330f217b024f2ac207d353e9ab956c61383c1bfb400138
|
7
|
+
data.tar.gz: 4c5714f438883753e5fed0b7ce4ced8e42425ec9c638304af4b6bd1b13d6b68fa360d2fe186e30eb11e46aa3ea8064713a4d9a7ac152192673ef935624737910
|
data/lib/wedge/component.rb
CHANGED
@@ -187,7 +187,7 @@ class Wedge
|
|
187
187
|
# we want to remove the assets key from the call so we don't get
|
188
188
|
# an error if they assets_key has changed and the user hasn't
|
189
189
|
# refreshed the browser yet.
|
190
|
-
call_url = "#{Wedge.assets_url.sub("#{Wedge.config.assets_key}/",'')}/#{path_name}.call"
|
190
|
+
call_url = "#{Wedge.config.assets_key.present?? Wedge.assets_url.sub("#{Wedge.config.assets_key}/",'') : Wedge.assets_url}/#{path_name}.call"
|
191
191
|
|
192
192
|
if block_given?
|
193
193
|
HTTP.post(call_url,
|
data/lib/wedge/version.rb
CHANGED