typekit 0.2.0 → 0.2.1
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.
- data/README.md +16 -2
- data/VERSION +1 -1
- data/typekit.gemspec +71 -0
- metadata +3 -2
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
Typekit API Client
|
2
2
|
==================
|
3
3
|
|
4
|
-
This is a Ruby client for the [Typekit API](http://typekit.com/docs/api).
|
5
|
-
|
4
|
+
This is a Ruby client for the [Typekit API](http://typekit.com/docs/api).
|
5
|
+
|
6
|
+
There aren't any tests as of yet. Help writing tests would be great, as would feedback on the overall architecture of the
|
7
|
+
client. Any suggestions on how to improve it are welcome, and pull requests for improvements are more than welcome.
|
6
8
|
|
7
9
|
You can get in touch with me at `corey.atx.at.gmail.com`.
|
8
10
|
|
@@ -36,6 +38,18 @@ There are two ways you can work with the Typekit API client: directly through th
|
|
36
38
|
instance of the `Typekit::Client` object. Either way, beware that the token you provide will be assigned to
|
37
39
|
a class variable (ie. it'll be shared across instances of Typekit::Client). This is due to the way HTTParty works.
|
38
40
|
|
41
|
+
### Install
|
42
|
+
|
43
|
+
Quick and simple...
|
44
|
+
|
45
|
+
$ gem install typekit
|
46
|
+
|
47
|
+
...add the gem to your Gemfile...
|
48
|
+
|
49
|
+
gem 'typekit'
|
50
|
+
|
51
|
+
...and done!
|
52
|
+
|
39
53
|
### Getting Started
|
40
54
|
|
41
55
|
# Getting down to business...
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/typekit.gemspec
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{typekit}
|
8
|
+
s.version = "0.2.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Corey Ward"]
|
12
|
+
s.date = %q{2011-02-12}
|
13
|
+
s.description = %q{Ruby library for accessing the Typekit REST API.}
|
14
|
+
s.email = %q{corey.atx@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/typekit.rb",
|
28
|
+
"lib/typekit/base.rb",
|
29
|
+
"lib/typekit/client.rb",
|
30
|
+
"lib/typekit/family.rb",
|
31
|
+
"lib/typekit/kit.rb",
|
32
|
+
"lib/typekit/variation.rb",
|
33
|
+
"test/helper.rb",
|
34
|
+
"test/test_typekit.rb",
|
35
|
+
"typekit.gemspec"
|
36
|
+
]
|
37
|
+
s.homepage = %q{http://github.com/coreyward/typekit}
|
38
|
+
s.licenses = ["MIT"]
|
39
|
+
s.require_paths = ["lib"]
|
40
|
+
s.rubygems_version = %q{1.5.2}
|
41
|
+
s.summary = %q{Ruby library for accessing the Typekit REST API.}
|
42
|
+
s.test_files = [
|
43
|
+
"test/helper.rb",
|
44
|
+
"test/test_typekit.rb"
|
45
|
+
]
|
46
|
+
|
47
|
+
if s.respond_to? :specification_version then
|
48
|
+
s.specification_version = 3
|
49
|
+
|
50
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
53
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
54
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
55
|
+
s.add_runtime_dependency(%q<httparty>, ["~> 0.7.3"])
|
56
|
+
else
|
57
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
58
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
60
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
61
|
+
s.add_dependency(%q<httparty>, ["~> 0.7.3"])
|
62
|
+
end
|
63
|
+
else
|
64
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
65
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
66
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
67
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
68
|
+
s.add_dependency(%q<httparty>, ["~> 0.7.3"])
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: typekit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Corey Ward
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/typekit/variation.rb
|
94
94
|
- test/helper.rb
|
95
95
|
- test/test_typekit.rb
|
96
|
+
- typekit.gemspec
|
96
97
|
has_rdoc: true
|
97
98
|
homepage: http://github.com/coreyward/typekit
|
98
99
|
licenses:
|
@@ -107,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
108
|
requirements:
|
108
109
|
- - ">="
|
109
110
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
111
|
+
hash: -3914596963457867157
|
111
112
|
segments:
|
112
113
|
- 0
|
113
114
|
version: "0"
|