conjoin 0.0.3 → 0.0.4

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: f4a332ddcbd254350c1c92a171f6278f730ed6c4
4
- data.tar.gz: cb81dc8d2b770868af1fcc527388447ef393487f
3
+ metadata.gz: 5ee88f214503285bd912da7c26c2e9212dc4506f
4
+ data.tar.gz: 55294fc368dcf01a1f67b09b000f73c9f2364e6b
5
5
  SHA512:
6
- metadata.gz: 7a650b7a2df525e83bab0354850696a5b0c77c5c6fd1e68d306f0ff76fd594dcae6dab09dfc441f42f0d386f06a95d84dfb66041a769d322931a9ad1a71bb621
7
- data.tar.gz: 75c4d1596225be48dd48f49a3d5201783ef30ffd5a506e6a7e776805ed93caed19088ce6573aecf285347fdaeb868eacf30201411b13e4dc220a1dd0dfe2c6aa
6
+ metadata.gz: 88b21dda0547389e6a176e81e63096ba891d3b1865aa8791bbbb88e40bebf65d813d6c58fba37b57b88d63702ae0ca2b98b618d8d81d3ff412cd1fb6020d4c46
7
+ data.tar.gz: d54d302414f432eb1e61b07422b86b6dfa2af07df7bdded141c802e08fac06baff12489fecff3e2b6cff2cb2ba919fbe7648cca739198ea845dec061b34ea02d
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -74,7 +74,7 @@ module Conjoin
74
74
 
75
75
  def url_for_event event, options = {}
76
76
  widget_name = req.env[:widget_name]
77
- "#{path_for('widgets')}?widget_event=#{event}&widget_name=#{widget_name}&" + URI.encode_www_form(options)
77
+ "#{Conjoin.env.mounted?? settings[:mounted_url] : ''}/widgets?widget_event=#{event}&widget_name=#{widget_name}&" + URI.encode_www_form(options)
78
78
  end
79
79
 
80
80
  def load_widgets
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj