typekit-rails 0.0.3 → 0.0.4

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
2
  SHA1:
3
- metadata.gz: 5e5059d0fd3df9160929c169e2528194de175755
4
- data.tar.gz: b1cd3084798a69b58444dc0f935459ef79d6fc97
3
+ metadata.gz: aedccc8dbe304c754a08a7e978977c708a8f4d65
4
+ data.tar.gz: 58820bbe5d97bc7a4dabb727a93db3d8c9e0edfb
5
5
  SHA512:
6
- metadata.gz: 5236d69764bd5d15897d812f3a84c27fea696f3f8400c7d1a2fae349291bbf43e94b0e8a68482af3a1778794a7d9bf53995c56abe97a2a4c4ee58171aed93e04
7
- data.tar.gz: 70b029727debcddbc0026718dd7451bdc60041ff3788e50107f3612f7e0aad0c59b6818bb4d6b70b35fd6e268012fbd55b82392b837df952e90145a227e66d45
6
+ metadata.gz: d45441be83422b5d21fb8382bfccf17fb211afef95bd7306d6b7c4cfbf0f52884e76f06346ded63242fa3651ba20192da7cbb27707753b2d75be0d890af92dab
7
+ data.tar.gz: 0dd9d79297f5d03e908dd84f4f8b0db2344dc890ddbbb8b39a0b2f60c20feb277d2b2a77eac68a4faf50c652d6433fc9ee5768e3705c7bf19d01996366b0e4ee
@@ -3,6 +3,7 @@ module Typekit
3
3
  def typekit(kit_id)
4
4
  return if kit_id == '- YOUR KIT ID HERE -'
5
5
  content_tag :script, nil, src: "//use.typekit.com/#{kit_id}.js", async: true
6
+ content_tag :script, "try{Typekit.load({ async: true });}catch(e){}"
6
7
  end
7
8
  end
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module Typekit
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typekit-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Bielinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Adobe Typekit helper for Rails.
14
14
  email:
@@ -17,7 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - ".gitignore"
20
+ - .gitignore
21
21
  - LICENSE
22
22
  - README.md
23
23
  - app/assets/javascripts/typekit.js.coffee
@@ -39,17 +39,17 @@ require_paths:
39
39
  - lib
40
40
  required_ruby_version: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
42
+ - - '>='
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  requirements: []
51
51
  rubyforge_project:
52
- rubygems_version: 2.4.5
52
+ rubygems_version: 2.0.14
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: Adobe Typekit helper for Rails.