poodle-rb 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/poodle/image_helper.rb +6 -1
- data/lib/poodle/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: 812504354a6d12d22d352c329bcfdc8ec487bc6f
|
4
|
+
data.tar.gz: ff931ed95f7ee892764b344361431b69264e7e0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90aeb6b5f22ab32449061e10e65dae10ae3723317c007b4bc3ddb21ddea4681cbdb0ad9bec016baf4dd4e0d2ce9d186e79cdfbd26ea9dcdbf5ca60600a593789
|
7
|
+
data.tar.gz: a26c056575d86264a2ed3cfd507a89cb51010730cfd669d9a0c0c6d862253004a9c66191694142348e195e5e05d9f4fe2a1eaa445adc3d4bf7d3d62ef15bd0fc
|
@@ -122,7 +122,12 @@ module Poodle
|
|
122
122
|
) if options[:popover]
|
123
123
|
|
124
124
|
begin
|
125
|
-
|
125
|
+
image_path = user.send(:eval, method_name)
|
126
|
+
if image_path && image_path.starts_with?("http")
|
127
|
+
url = image_path
|
128
|
+
else
|
129
|
+
url = options[:url_domain] + image_path
|
130
|
+
end
|
126
131
|
rescue
|
127
132
|
url = placeholdit(**options[:place_holder])
|
128
133
|
end
|
data/lib/poodle/version.rb
CHANGED