cambelt 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cambelt.rb +1 -1
- data/lib/cambelt/version.rb +1 -1
- metadata +1 -1
data/lib/cambelt.rb
CHANGED
@@ -13,7 +13,7 @@ module Cambelt
|
|
13
13
|
|
14
14
|
def placeholder(opts={})
|
15
15
|
args = opts_to_args(opts)
|
16
|
-
"//cambelt.co/#{args[:width]}x#{args[:height]}/#{args[:text].gsub(" ", "+")}?font=#{args[:font]}&font_size=#{args[:font_size]}"
|
16
|
+
"//cambelt.co/#{args[:width]}x#{args[:height]}/#{args[:text].gsub(" ", "+")}?font=#{args[:font]}&font_size=#{args[:font_size]}&color=#{args[:bg_color]},#{args[:fg_color]}"
|
17
17
|
end
|
18
18
|
|
19
19
|
|
data/lib/cambelt/version.rb
CHANGED