conjoin 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conjoin/version.rb +1 -1
- data/lib/conjoin/widgets.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d627a6815d37ad26ddf1116cbcfa4a9d80bc2686
|
4
|
+
data.tar.gz: aebbe30dc4b8629b3c5e6a1ef34dd396db73c505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d77c26866b08f5e4fa6bb7e3fdafaa07a04ddf162ec3933e9b04a493dceb48a2cd51a47e787b5f47d3bd21fd8a0f7bee992e4842c275110fcea7140c4976e4
|
7
|
+
data.tar.gz: d2cc0d0836b2cb9897cafc7ca96f9e79c576b64aace688e81bac53bf1664a25a31ccd8cdec291a37f90545d0e873d5d4df2d0cc4b3c5939f07a41c55cd16560c
|
data/lib/conjoin/version.rb
CHANGED
data/lib/conjoin/widgets.rb
CHANGED
@@ -73,7 +73,7 @@ module Conjoin
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def url_for_event event, options = {}
|
76
|
-
widget_name = req.env[:widget_name]
|
76
|
+
widget_name = options.delete(:widget_name) || req.env[:widget_name]
|
77
77
|
"#{Conjoin.env.mounted?? settings[:mounted_url] : ''}/widgets?widget_event=#{event}&widget_name=#{widget_name}" + (options.any?? '&' + URI.encode_www_form(options) : '')
|
78
78
|
end
|
79
79
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjoin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cuba
|