cambelt 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/cambelt.rb +1 -1
  2. data/lib/cambelt/version.rb +1 -1
  3. 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
 
@@ -1,3 +1,3 @@
1
1
  module Cambelt
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cambelt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: