forked from typekit/webfontloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webfontloader.gemspec
191 lines (179 loc) · 7.47 KB
/
webfontloader.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
## This is the rakegem gemspec template. Make sure you read and understand
## all of the comments. Some sections require modification, and others can
## be deleted if you don't need them. Once you understand the contents of
## this file, feel free to delete any comments that begin with two hash marks.
## You can find comprehensive Gem::Specification documentation, at
## http://docs.rubygems.org/read/chapter/20
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.rubygems_version = '1.3.5'
## Leave these as is they will be modified for you by the rake gemspec task.
## If your rubyforge_project name is different, then edit it and comment out
## the sub! line in the Rakefile
s.name = 'webfontloader'
s.version = '1.6.28'
s.date = '2017-05-27'
## Make sure your summary is short. The description may be as long
## as you like.
s.summary = "WebFont Loader gives you added control when using linked fonts via @font-face."
s.description = <<-DESC
WebFont Loader gives you added control when using linked fonts via
`@font-face`. It provides a common interface to loading fonts regardless of
the source, then adds a standard set of events you may use to control the
loading experience.
DESC
## List the primary authors. If there are a bunch of authors, it's probably
## better to set the email to an email list or something. If you don't have
## a custom homepage, consider using your GitHub URL or the like.
s.authors = ["Ryan Carver", "Jeremie Lenfant-engelmann"]
s.email = '[email protected]'
s.homepage = 'http://github.com/typekit/webfontloader'
## License
s.license = "Apache-2.0"
## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
s.require_paths = %w[lib]
## This sections is only necessary if you have C extensions.
# s.require_paths << 'ext'
# s.extensions = %w[ext/extconf.rb]
## If your gem includes any executables, list them here.
# s.executables = []
# s.default_executable = 'name'
## Specify any RDoc options here. You'll want to add your README and
## LICENSE files to the extra_rdoc_files list.
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md] + Dir["docs/*.md"]
## List your runtime dependencies here. Runtime dependencies are those
## that are needed for an end user to actually USE your code.
# s.add_dependency('DEPNAME', [">= 1.1.0", "< 2.0.0"])
## List your development dependencies here. Development dependencies are
## those that are only needed during development
s.add_development_dependency('rake', '~>0')
s.add_development_dependency('rack', '~>1.5', '>=1.5.1')
s.add_development_dependency('sinatra', '~>1.3', '>=1.3.4')
s.add_development_dependency('vegas', '~>0.1.11')
## Leave this section as-is. It will be automatically generated from the
## contents of your Git repository via the gemspec task. DO NOT REMOVE
## THE MANIFEST COMMENTS, they are used as delimiters by the task.
# = MANIFEST =
s.files = %w[
CHANGELOG
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
bin/webfontloader-demos
bower.json
browsers.json
externs.js
lib/webfontloader.rb
lib/webfontloader/demo/public/basic.css
lib/webfontloader/demo/public/blank.html
lib/webfontloader/demo/public/custom-iframe.html
lib/webfontloader/demo/public/custom.html
lib/webfontloader/demo/public/event-css-active-multiple.html
lib/webfontloader/demo/public/event-css-active.html
lib/webfontloader/demo/public/event-css-inactive.html
lib/webfontloader/demo/public/event-css-loading.html
lib/webfontloader/demo/public/event-js-active.html
lib/webfontloader/demo/public/event-js-font-active.html
lib/webfontloader/demo/public/event-js-loading.html
lib/webfontloader/demo/public/events-variations.html
lib/webfontloader/demo/public/events.html
lib/webfontloader/demo/public/fontdeck.html
lib/webfontloader/demo/public/fontwatchrunner-default-fonts.html
lib/webfontloader/demo/public/google-css.html
lib/webfontloader/demo/public/google-iframe.html
lib/webfontloader/demo/public/google.html
lib/webfontloader/demo/public/ie-fast-js.html
lib/webfontloader/demo/public/ie-slow-js.html
lib/webfontloader/demo/public/ie-slow-link.html
lib/webfontloader/demo/public/index.html
lib/webfontloader/demo/public/jquery.min.js
lib/webfontloader/demo/public/monotype-iframe.html
lib/webfontloader/demo/public/monotype.html
lib/webfontloader/demo/public/typekit-iframe.html
lib/webfontloader/demo/public/typekit-variations.html
lib/webfontloader/demo/public/typekit.html
lib/webfontloader/demo/server.rb
lib/webfontloader/modules.rb
package.json
spec/core/cssclassname_spec.js
spec/core/domhelper_spec.js
spec/core/eventdispatcher_spec.js
spec/core/font_spec.js
spec/core/fontmoduleloader_spec.js
spec/core/fontruler_spec.js
spec/core/fontwatcher_spec.js
spec/core/fontwatchrunner_spec.js
spec/core/nativefontwatchrunner_spec.js
spec/core/size_spec.js
spec/core/webfont_spec.js
spec/deps.js
spec/fixtures/external_script.js
spec/fixtures/external_stylesheet.css
spec/fixtures/fonts/LICENSE.txt
spec/fixtures/fonts/nullfont.css
spec/fixtures/fonts/nullfont1.css
spec/fixtures/fonts/nullfont2.css
spec/fixtures/fonts/nullfont3.css
spec/fixtures/fonts/sourcesans.eot
spec/fixtures/fonts/sourcesans.otf
spec/fixtures/fonts/sourcesans.svg
spec/fixtures/fonts/sourcesans.ttf
spec/fixtures/fonts/sourcesans.woff
spec/fixtures/fonts/sourcesansa.css
spec/fixtures/fonts/sourcesansb.css
spec/fixtures/fonts/sourcesansc.css
spec/fixtures/fonts/sourcesansd.css
spec/fixtures/fonts/sourcesansdup1.css
spec/fixtures/fonts/sourcesansdup2.css
spec/index.html
spec/modules/custom_spec.js
spec/modules/fontdeck_spec.js
spec/modules/google/fontapiparser_spec.js
spec/modules/google/fontapiurlbuilder_spec.js
spec/modules/google/googlefontapi_spec.js
spec/modules/monotype_spec.js
spec/modules/typekit_spec.js
src/closure.js
src/core/cssclassname.js
src/core/domhelper.js
src/core/eventdispatcher.js
src/core/font.js
src/core/fontmodule.js
src/core/fontmoduleloader.js
src/core/fontruler.js
src/core/fontwatcher.js
src/core/fontwatchrunner.js
src/core/initialize.js
src/core/nativefontwatchrunner.js
src/core/stylesheetwaiter.js
src/core/webfont.js
src/modules.yml
src/modules/custom.js
src/modules/fontdeck.js
src/modules/google/fontapiparser.js
src/modules/google/fontapiurlbuilder.js
src/modules/google/googlefontapi.js
src/modules/monotype.js
src/modules/typekit.js
tools/compiler/base.js
tools/compiler/compiler.jar
tools/jasmine-browserstack/jasmine-browserstack.js
tools/jasmine-phantomjs/jasmine-phantomjs.js
tools/jasmine-phantomjs/terminal-reporter.js
tools/jasmine/MIT.LICENSE
tools/jasmine/jasmine-html.js
tools/jasmine/jasmine.css
tools/jasmine/jasmine.js
webfontloader.gemspec
webfontloader.js
]
# = MANIFEST =
## Test files will be grabbed from the file list. Make sure the path glob
## matches what you actually use.
s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
end