g_web_font 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module GWebFont #:nodoc:
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -6,8 +6,8 @@ module GWebFont
6
6
  BASE_URL = "fonts.googleapis.com/css?family=".freeze
7
7
 
8
8
  # Generates the options for select for the Google Web Fonts
9
- def web_font_options_for_select
10
- options_for_select([''] | GWebFont::WebFont.list_fonts)
9
+ def web_font_options_for_select(selected=nil)
10
+ options_for_select([''] | GWebFont::WebFont.list_fonts, selected)
11
11
  end
12
12
 
13
13
  # From Google Webfonts Helper
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g_web_font
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-26 00:00:00.000000000 Z
12
+ date: 2012-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake