forked from icalendar/icalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicalendar.gemspec
52 lines (41 loc) · 1.9 KB
/
icalendar.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
require File.join File.dirname(__FILE__), 'lib', 'icalendar', 'version'
Gem::Specification.new do |s|
s.authors = ['Ryan Ahearn']
s.email = ['[email protected]']
s.name = "icalendar"
s.version = Icalendar::VERSION
s.homepage = "https://github.com/icalendar/icalendar"
s.platform = Gem::Platform::RUBY
s.summary = "A ruby implementation of the iCalendar specification (RFC-5545)."
s.description = <<-EOD
Implements the iCalendar specification (RFC-5545) in Ruby. This allows
for the generation and parsing of .ics files, which are used by a
variety of calendaring applications.
EOD
s.post_install_message = <<-EOM
HEADS UP! iCalendar 2.0 is not backwards-compatible with 1.x. Please see the README for the new syntax
HEADS UP! icalendar 2.2.0 switches to non-strict parsing as default. Please see the README if you
rely on strict parsing for information on how to enable it.
ActiveSupport is required for TimeWithZone support, but not required for general use.
EOM
s.files = `git ls-files`.split "\n"
s.test_files = `git ls-files -- {test,spec,features}/*`.split "\n"
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename f }
s.require_paths = ['lib']
s.required_ruby_version = '>= 1.9.2'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'bundler', '~> 1.3'
# test with both groups of tzinfo dependencies
# tzinfo 1.x
s.add_development_dependency 'tzinfo', '~> 1.1'
s.add_development_dependency 'tzinfo-data', '~> 1.2014'
# tzinfo 0.x
# s.add_development_dependency 'tzinfo', '~> 0.3'
# end tzinfo
s.add_development_dependency 'activesupport', '~> 3.2'
# lock i18n to < 0.7 to maintain ruby 1.9.2 compatibility
s.add_development_dependency 'i18n', '< 0.7.0'
s.add_development_dependency 'timecop', '~> 0.7.0'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'simplecov', '~> 0.8'
end