typekit-rails 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35b60f6dcd9447e5e50bdc0dedefeed59366fae0
4
- data.tar.gz: c62b89c393b3d87af6933f77405fa0282c4fd470
3
+ metadata.gz: 5e5059d0fd3df9160929c169e2528194de175755
4
+ data.tar.gz: b1cd3084798a69b58444dc0f935459ef79d6fc97
5
5
  SHA512:
6
- metadata.gz: c9af0cd457399356c9d157ce98aa46863b62df18dea7d4cd57826bab696504bcd335b286bc377b35cba8dcbac31cc61ecd28a2e509a5537d72531013ca558bec
7
- data.tar.gz: 2ad8b414f5997f5d9eba03c2a22cc78547fdf3c3b40de0e7d305b3e2f8a1ed37b6caca24229894471e49aeba56411d75d72ba1f3a794c91899d8990cbeef23c3
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}")
@@ -1,3 +1,3 @@
1
1
  module Typekit
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
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.2
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: 2014-07-07 00:00:00.000000000 Z
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.2.2
52
+ rubygems_version: 2.4.5
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: Adobe Typekit helper for Rails.