rack-typekit 0.2.0 → 0.3.0
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 +7 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +14 -11
- data/{LICENSE → LICENSE.md} +2 -2
- data/README.md +13 -4
- data/Rakefile +1 -1
- data/lib/rack/typekit.rb +1 -1
- data/rack-typekit-0.3.0.gem +0 -0
- data/rack-typekit.gemspec +8 -7
- metadata +61 -46
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 75af341a48ecd1f1749d9971528c6369a3b4e9d1
|
4
|
+
data.tar.gz: 21129522fc8467c6506e18a87a33944f5d917030
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 462794febc48d1a91ae92bfa5b605f375cc599fc7422743074e40025a3c0dae6059afb737760c2489ac9e518a8f6b946d8fc36a8be54269b933e74bb035381e2
|
7
|
+
data.tar.gz: 00b49c217cfad68d28a3268acfadca69a2da208a429c1ff309b400af3c9ccc87cabc9b5da8f3db31cc1bedc69c1fa315586fa7827101b9d69f49361921ee13e2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,23 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rack-typekit (0.
|
5
|
-
rack (
|
4
|
+
rack-typekit (0.3.0)
|
5
|
+
rack (~> 1.2, < 2.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
minitest (2.
|
11
|
-
rack (1.
|
12
|
-
rack-test (0.
|
13
|
-
rack (>= 1.0)
|
14
|
-
rake (0.9.
|
10
|
+
minitest (2.12.1)
|
11
|
+
rack (1.6.11)
|
12
|
+
rack-test (0.8.3)
|
13
|
+
rack (>= 1.0, < 3)
|
14
|
+
rake (0.9.6)
|
15
15
|
|
16
16
|
PLATFORMS
|
17
17
|
ruby
|
18
18
|
|
19
19
|
DEPENDENCIES
|
20
|
-
minitest (~> 2.11.4)
|
21
|
-
rack-test (~> 0
|
20
|
+
minitest (~> 2.11, >= 2.11.4)
|
21
|
+
rack-test (~> 0)
|
22
22
|
rack-typekit!
|
23
|
-
rake (~> 0
|
23
|
+
rake (~> 0)
|
24
|
+
|
25
|
+
BUNDLED WITH
|
26
|
+
2.0.1
|
data/{LICENSE → LICENSE.md}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2011 Mattt
|
1
|
+
Copyright (c) 2011 – 2019 Mattt (https://mat.tt)
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
4
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
16
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
17
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
18
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
-
THE SOFTWARE.
|
19
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -6,17 +6,26 @@ Rack middleware to automatically include your Typekit JavaScript files
|
|
6
6
|
|
7
7
|
```ruby
|
8
8
|
require "rack/typekit"
|
9
|
-
|
9
|
+
|
10
10
|
use Rack::Typekit, :kit => "lng5bpe"
|
11
11
|
```
|
12
|
-
|
12
|
+
|
13
13
|
Including this in the `config.ru` file of your Rack application will automatically inject the corresponding JavaScript into the `<head>` of your HTML:
|
14
14
|
|
15
15
|
```html
|
16
16
|
<script src="//use.typekit.com/lng5bpe.js"></script>
|
17
|
-
<script>
|
17
|
+
<script>
|
18
|
+
try {
|
19
|
+
Typekit.load();
|
20
|
+
} catch (e) {}
|
21
|
+
</script>
|
18
22
|
```
|
19
23
|
|
24
|
+
## Contact
|
25
|
+
|
26
|
+
[Mattt](https://twitter.com/mattt)
|
27
|
+
|
20
28
|
## License
|
21
29
|
|
22
|
-
rack-typekit is available under the MIT license.
|
30
|
+
rack-typekit is available under the MIT license.
|
31
|
+
See the LICENSE file for more info.
|
data/Rakefile
CHANGED
data/lib/rack/typekit.rb
CHANGED
Binary file
|
data/rack-typekit.gemspec
CHANGED
@@ -4,19 +4,20 @@ require "rack/typekit"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "rack-typekit"
|
7
|
-
s.authors = ["Mattt
|
8
|
-
s.email = "
|
9
|
-
s.
|
7
|
+
s.authors = ["Mattt"]
|
8
|
+
s.email = "mattt@me.com"
|
9
|
+
s.license = "MIT"
|
10
|
+
s.homepage = "https://github.com/mattt/rack-typekit"
|
10
11
|
s.version = Rack::Typekit::VERSION
|
11
12
|
s.platform = Gem::Platform::RUBY
|
12
13
|
s.summary = "rack-typekit"
|
13
14
|
s.description = "Rack middleware to automatically include your Typekit JavaScript files"
|
14
15
|
|
15
|
-
s.add_runtime_dependency "rack", "
|
16
|
+
s.add_runtime_dependency "rack", "~> 1.2", "< 2.0.0"
|
16
17
|
|
17
|
-
s.add_development_dependency
|
18
|
-
s.add_development_dependency "rack-test", "~> 0
|
19
|
-
s.add_development_dependency "rake", "~> 0
|
18
|
+
s.add_development_dependency 'minitest', '~> 2.11', '>= 2.11.4'
|
19
|
+
s.add_development_dependency "rack-test", "~> 0"
|
20
|
+
s.add_development_dependency "rake", "~> 0"
|
20
21
|
|
21
22
|
s.files = Dir["./**/*"].reject { |file| file =~ /\.\/(bin|log|pkg|script|spec|test|vendor)/ }
|
22
23
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
@@ -1,107 +1,122 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-typekit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
- Mattt
|
7
|
+
- Mattt
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2019-07-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rack
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.2
|
22
|
-
- -
|
19
|
+
version: '1.2'
|
20
|
+
- - "<"
|
23
21
|
- !ruby/object:Gem::Version
|
24
22
|
version: 2.0.0
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.0.0
|
28
33
|
- !ruby/object:Gem::Dependency
|
29
34
|
name: minitest
|
30
|
-
requirement:
|
31
|
-
none: false
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
32
36
|
requirements:
|
33
|
-
- - ~>
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.11'
|
40
|
+
- - ">="
|
34
41
|
- !ruby/object:Gem::Version
|
35
42
|
version: 2.11.4
|
36
43
|
type: :development
|
37
44
|
prerelease: false
|
38
|
-
version_requirements:
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.11'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.11.4
|
39
53
|
- !ruby/object:Gem::Dependency
|
40
54
|
name: rack-test
|
41
|
-
requirement:
|
42
|
-
none: false
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
43
56
|
requirements:
|
44
|
-
- - ~>
|
57
|
+
- - "~>"
|
45
58
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0
|
59
|
+
version: '0'
|
47
60
|
type: :development
|
48
61
|
prerelease: false
|
49
|
-
version_requirements:
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
50
67
|
- !ruby/object:Gem::Dependency
|
51
68
|
name: rake
|
52
|
-
requirement:
|
53
|
-
none: false
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
54
70
|
requirements:
|
55
|
-
- - ~>
|
71
|
+
- - "~>"
|
56
72
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0
|
73
|
+
version: '0'
|
58
74
|
type: :development
|
59
75
|
prerelease: false
|
60
|
-
version_requirements:
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
61
81
|
description: Rack middleware to automatically include your Typekit JavaScript files
|
62
|
-
email:
|
82
|
+
email: mattt@me.com
|
63
83
|
executables: []
|
64
84
|
extensions: []
|
65
85
|
extra_rdoc_files: []
|
66
86
|
files:
|
67
|
-
- ./Gemfile
|
68
|
-
- ./Gemfile.lock
|
69
|
-
- ./
|
70
|
-
- ./
|
71
|
-
- ./
|
72
|
-
- ./
|
73
|
-
- ./
|
87
|
+
- "./Gemfile"
|
88
|
+
- "./Gemfile.lock"
|
89
|
+
- "./LICENSE.md"
|
90
|
+
- "./README.md"
|
91
|
+
- "./Rakefile"
|
92
|
+
- "./lib/rack/typekit.rb"
|
93
|
+
- "./rack-typekit-0.3.0.gem"
|
94
|
+
- "./rack-typekit.gemspec"
|
74
95
|
- spec/fixtures/test.html
|
75
96
|
- spec/rack_typekit_spec.rb
|
76
|
-
homepage:
|
77
|
-
licenses:
|
97
|
+
homepage: https://github.com/mattt/rack-typekit
|
98
|
+
licenses:
|
99
|
+
- MIT
|
100
|
+
metadata: {}
|
78
101
|
post_install_message:
|
79
102
|
rdoc_options: []
|
80
103
|
require_paths:
|
81
104
|
- lib
|
82
105
|
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
106
|
requirements:
|
85
|
-
- -
|
107
|
+
- - ">="
|
86
108
|
- !ruby/object:Gem::Version
|
87
109
|
version: '0'
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
hash: 2753315264514289189
|
91
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
111
|
requirements:
|
94
|
-
- -
|
112
|
+
- - ">="
|
95
113
|
- !ruby/object:Gem::Version
|
96
114
|
version: '0'
|
97
|
-
segments:
|
98
|
-
- 0
|
99
|
-
hash: 2753315264514289189
|
100
115
|
requirements: []
|
101
116
|
rubyforge_project:
|
102
|
-
rubygems_version:
|
117
|
+
rubygems_version: 2.6.14
|
103
118
|
signing_key:
|
104
|
-
specification_version:
|
119
|
+
specification_version: 4
|
105
120
|
summary: rack-typekit
|
106
121
|
test_files:
|
107
122
|
- spec/fixtures/test.html
|