-
Notifications
You must be signed in to change notification settings - Fork 34
/
fugit.gemspec
51 lines (39 loc) · 1.43 KB
/
fugit.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
Gem::Specification.new do |s|
s.name = 'fugit'
s.version = File.read(
File.expand_path('../lib/fugit.rb', __FILE__)
).match(/ VERSION *= *['"]([^'"]+)/)[1]
s.platform = Gem::Platform::RUBY
s.authors = [ 'John Mettraux' ]
s.email = [ '[email protected]' ]
s.homepage = 'https://github.com/floraison/fugit'
s.license = 'MIT'
s.summary = 'time tools for flor'
s.description = %{
Time tools for flor and the floraison project. Cron parsing and occurrence computing. Timestamps and more.
}.strip
s.metadata = {
'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md',
'bug_tracker_uri' => s.homepage + '/issues',
'documentation_uri' => s.homepage,
'homepage_uri' => s.homepage,
'source_code_uri' => s.homepage,
#'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison',
#'wiki_uri' => s.homepage + '/wiki',
'rubygems_mfa_required' => 'true',
}
#s.files = `git ls-files`.split("\n")
s.files = Dir[
'{README,CHANGELOG,CREDITS,LICENSE}.{md,txt}',
#'Makefile',
'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb',
"#{s.name}.gemspec",
]
#s.add_runtime_dependency 'tzinfo'
# this dependency appears in 'et-orbi'
s.add_runtime_dependency 'raabro', '~> 1.4'
s.add_runtime_dependency 'et-orbi', '~> 1', '>= 1.2.11'
s.add_development_dependency 'rspec', '~> 3.8'
s.add_development_dependency 'chronic', '~> 0.10'
s.require_path = 'lib'
end