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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 9bf35bc022378b495d29e24bf6a3c08b3ef686fd04068219a9b85cdd329aa273
4
- data.tar.gz: 55cffb9d4c67f0ffd28c225248c5d38f9735fd40b09238ad48cd154fd113273d
2
+ SHA1:
3
+ metadata.gz: 0f46b6f59a3e5348c7f3af0895e3aa45e50e89c9
4
+ data.tar.gz: 17fe0cc33a0471d4532b5925291d900367c87eae
5
5
  SHA512:
6
- metadata.gz: 504a894896c3e95fdf9acb397aa951391aee56ee7d1b447e33725b94cb4e884c644686825685d4b85032a60931aeb61d5e942ba1de4066e60876335002e56b66
7
- data.tar.gz: 8445a1ff4aadab4db682b8a6a16f1fb6b204dcfcf90191104526082ecb3ee87ba7fa9faa2578e8a4e3883c18fb2dd37b54c61497b22f4d81eb7d4f1f3d466baa
6
+ metadata.gz: 3f74643ee45f64e45dcf16e5ba7b6f6cc0866b6f166aab66b327e7630134fca3239a11889561952ebb26b74de9e829233d3bfe30a56aeb4ed2f259dff6e902c6
7
+ data.tar.gz: 66904811658b8792179e9454cd56456c8c1edf1ec38e4e55143ea1cc85e8ed1148c1af614ba3da071cb610bb9ae04c19226cd1dfec679e400c6f68a658f2d1bc
@@ -4,5 +4,6 @@ language: ruby
4
4
 
5
5
  rvm:
6
6
  - 2.5.0
7
+ - 2.4.1
7
8
 
8
9
  before_install: gem install bundler -v 1.16.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google-webfonts (0.3.1)
4
+ google-webfonts (0.3.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -55,4 +55,4 @@ DEPENDENCIES
55
55
  yard (~> 0.9)
56
56
 
57
57
  BUNDLED WITH
58
- 1.16.1
58
+ 1.16.2
@@ -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.define_method(:to_s) do
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
- to_html.html_safe
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.
@@ -4,6 +4,6 @@
4
4
  module Google
5
5
  module Webfonts
6
6
  # The gem's semantic version.
7
- VERSION = '0.3.1'
7
+ VERSION = '0.3.2'
8
8
  end
9
9
  end
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.1
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-04-25 00:00:00.000000000 Z
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.7.3
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.