typekit-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/typekit/generators/install_generator.rb +1 -1
- data/lib/typekit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5059d0fd3df9160929c169e2528194de175755
|
4
|
+
data.tar.gz: b1cd3084798a69b58444dc0f935459ef79d6fc97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5236d69764bd5d15897d812f3a84c27fea696f3f8400c7d1a2fae349291bbf43e94b0e8a68482af3a1778794a7d9bf53995c56abe97a2a4c4ee58171aed93e04
|
7
|
+
data.tar.gz: 70b029727debcddbc0026718dd7451bdc60041ff3788e50107f3612f7e0aad0c59b6818bb4d6b70b35fd6e268012fbd55b82392b837df952e90145a227e66d45
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Typekit for Rails [![Gem Version](http://img.shields.io/gem/v/typekit.svg)](https://rubygems.org/gems/typekit-rails)
|
1
|
+
# Typekit for Rails [![Gem Version](http://img.shields.io/gem/v/typekit-rails.svg)](https://rubygems.org/gems/typekit-rails)
|
2
2
|
|
3
3
|
Adds a Typekit helper to your Rails application and uses [some best practices](http://www.hagenburger.net/BLOG/A-Better-Typekit-Integration.html) for the integration.
|
4
4
|
|
@@ -7,7 +7,7 @@ Adds a Typekit helper to your Rails application and uses [some best practices](h
|
|
7
7
|
In your `Gemfile` just add:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'typekit'
|
10
|
+
gem 'typekit-rails'
|
11
11
|
```
|
12
12
|
|
13
13
|
#### Use the Generator
|
@@ -15,7 +15,7 @@ gem 'typekit'
|
|
15
15
|
Run the generator which will prompt you for your kit ID.
|
16
16
|
|
17
17
|
```
|
18
|
-
rails g typekit:install
|
18
|
+
rails g typekit:install
|
19
19
|
```
|
20
20
|
|
21
21
|
#### Pro Usage
|
@@ -30,7 +30,7 @@ module Typekit
|
|
30
30
|
api_key = '- YOUR KIT ID HERE -' if api_key.blank?
|
31
31
|
|
32
32
|
layout_templates = { slim: { content: " = typekit '#{api_key}'", after: "head\n" }}
|
33
|
-
layout_templates[:erb] = { content: " <%#{layout_templates[:slim][:content]} %>", after: "<head>\n" }
|
33
|
+
layout_templates[:erb] = { content: " <%#{layout_templates[:slim][:content].lstrip} %>", after: "<head>\n" }
|
34
34
|
|
35
35
|
layout_templates.each_pair do |lang,options|
|
36
36
|
path = ::File.join(destination_root, "#{application_layout_path_prefix}.#{lang}")
|
data/lib/typekit/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Bielinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Adobe Typekit helper for Rails.
|
14
14
|
email:
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
51
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.
|
52
|
+
rubygems_version: 2.4.5
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: Adobe Typekit helper for Rails.
|