提交 9d664b18 编写于 作者: E Erik Michaels-Ober

Update tzinfo dependency to ~> 1.1

Include the tzinfo-data in the generated Gemfile on Windows.
上级 281f488f
......@@ -22,7 +22,7 @@
s.add_dependency('i18n', '~> 0.6', '>= 0.6.4')
s.add_dependency 'json', '~> 1.7'
s.add_dependency 'tzinfo', '~> 0.3.37'
s.add_dependency 'tzinfo', '~> 1.1'
s.add_dependency 'minitest', '~> 5.0'
s.add_dependency 'thread_safe','~> 0.1'
end
......@@ -28,3 +28,8 @@ source 'https://rubygems.org'
# Use debugger
# gem 'debugger', group: [:development, :test]
<% end -%>
<% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince/) -%>
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin]
<% end -%>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册