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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47c7be686c4681951cebf130667a30b707119da3
4
- data.tar.gz: 0036610c3753285bc1bc76037fb38cd1d76927cc
3
+ metadata.gz: 812504354a6d12d22d352c329bcfdc8ec487bc6f
4
+ data.tar.gz: ff931ed95f7ee892764b344361431b69264e7e0d
5
5
  SHA512:
6
- metadata.gz: ed26bd62f14327bb2ae717b453f2944f132f8adb962d80d0060bee0e1f87f9a0a7aa8b580b54d3446fef62536779808dbc015c32a3235abdacd4af6bb04c3370
7
- data.tar.gz: 3a2e40b3a3d81a2bb10e0bc90a869d72b0cc70b4948c728e8ffa9e54f52ff9a1f6441191fb537aa43e8d1c840894c07057e0a5f6937200851e9c0e64617b82a5
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
- url = options[:url_domain] + user.send(:eval, method_name)
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
@@ -1,3 +1,3 @@
1
1
  module Poodle
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poodle-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krishnaprasad Varma