google-webfonts 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -0
- data/Gemfile.lock +2 -2
- data/lib/google/webfonts/rails.rb +4 -3
- data/lib/google/webfonts/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0f46b6f59a3e5348c7f3af0895e3aa45e50e89c9
|
4
|
+
data.tar.gz: 17fe0cc33a0471d4532b5925291d900367c87eae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f74643ee45f64e45dcf16e5ba7b6f6cc0866b6f166aab66b327e7630134fca3239a11889561952ebb26b74de9e829233d3bfe30a56aeb4ed2f259dff6e902c6
|
7
|
+
data.tar.gz: 66904811658b8792179e9454cd56456c8c1edf1ec38e4e55143ea1cc85e8ed1148c1af614ba3da071cb610bb9ae04c19226cd1dfec679e400c6f68a658f2d1bc
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,13 +3,14 @@
|
|
3
3
|
|
4
4
|
# Load the library.
|
5
5
|
require 'google/webfonts'
|
6
|
-
require 'google/webfonts/link_tag'
|
7
6
|
|
8
|
-
Google::Webfonts::LinkTag
|
7
|
+
class Google::Webfonts::LinkTag
|
9
8
|
# The default implmentation will escape the HTML when used with Rails.
|
10
9
|
# This override ensures that the HTML is actually included document
|
11
10
|
# rather than displayed as text in the browser.
|
12
|
-
|
11
|
+
def to_s
|
12
|
+
to_html.html_safe
|
13
|
+
end
|
13
14
|
end
|
14
15
|
|
15
16
|
# Include the webfonts helper methods in the Rails view helpers.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-webfonts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Haynes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.6.14
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Simplifies creating link tags for Google Webfonts.
|