tzinfo 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of tzinfo might be problematic. Click here for more details.

Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/CHANGES.md +33 -0
  5. data/LICENSE +1 -1
  6. data/README.md +36 -31
  7. data/Rakefile +17 -23
  8. data/lib/tzinfo.rb +0 -22
  9. data/lib/tzinfo/country.rb +3 -22
  10. data/lib/tzinfo/country_index_definition.rb +0 -22
  11. data/lib/tzinfo/country_info.rb +0 -22
  12. data/lib/tzinfo/country_timezone.rb +46 -31
  13. data/lib/tzinfo/data_source.rb +7 -24
  14. data/lib/tzinfo/data_timezone.rb +7 -22
  15. data/lib/tzinfo/data_timezone_info.rb +0 -22
  16. data/lib/tzinfo/info_timezone.rb +0 -22
  17. data/lib/tzinfo/linked_timezone.rb +7 -22
  18. data/lib/tzinfo/linked_timezone_info.rb +0 -22
  19. data/lib/tzinfo/offset_rationals.rb +0 -22
  20. data/lib/tzinfo/ruby_core_support.rb +14 -22
  21. data/lib/tzinfo/ruby_country_info.rb +3 -25
  22. data/lib/tzinfo/ruby_data_source.rb +1 -23
  23. data/lib/tzinfo/time_or_datetime.rb +13 -27
  24. data/lib/tzinfo/timezone.rb +51 -23
  25. data/lib/tzinfo/timezone_definition.rb +0 -22
  26. data/lib/tzinfo/timezone_index_definition.rb +0 -22
  27. data/lib/tzinfo/timezone_info.rb +0 -22
  28. data/lib/tzinfo/timezone_offset.rb +0 -22
  29. data/lib/tzinfo/timezone_period.rb +1 -23
  30. data/lib/tzinfo/timezone_proxy.rb +6 -23
  31. data/lib/tzinfo/timezone_transition.rb +2 -24
  32. data/lib/tzinfo/timezone_transition_definition.rb +1 -23
  33. data/lib/tzinfo/transition_data_timezone_info.rb +0 -22
  34. data/lib/tzinfo/zoneinfo_country_info.rb +1 -23
  35. data/lib/tzinfo/zoneinfo_data_source.rb +177 -61
  36. data/lib/tzinfo/zoneinfo_timezone_info.rb +0 -22
  37. data/test/tc_country.rb +6 -24
  38. data/test/tc_country_index_definition.rb +1 -23
  39. data/test/tc_country_info.rb +1 -23
  40. data/test/tc_country_timezone.rb +82 -62
  41. data/test/tc_data_source.rb +22 -24
  42. data/test/tc_data_timezone.rb +12 -24
  43. data/test/tc_data_timezone_info.rb +1 -23
  44. data/test/tc_info_timezone.rb +1 -23
  45. data/test/tc_linked_timezone.rb +37 -24
  46. data/test/tc_linked_timezone_info.rb +1 -23
  47. data/test/tc_offset_rationals.rb +1 -23
  48. data/test/tc_ruby_core_support.rb +84 -33
  49. data/test/tc_ruby_country_info.rb +5 -27
  50. data/test/tc_ruby_data_source.rb +1 -23
  51. data/test/tc_time_or_datetime.rb +44 -36
  52. data/test/tc_timezone.rb +32 -48
  53. data/test/tc_timezone_definition.rb +1 -23
  54. data/test/tc_timezone_index_definition.rb +1 -23
  55. data/test/tc_timezone_info.rb +1 -23
  56. data/test/tc_timezone_london.rb +1 -23
  57. data/test/tc_timezone_melbourne.rb +1 -23
  58. data/test/tc_timezone_new_york.rb +1 -23
  59. data/test/tc_timezone_offset.rb +1 -23
  60. data/test/tc_timezone_period.rb +5 -27
  61. data/test/tc_timezone_proxy.rb +34 -28
  62. data/test/tc_timezone_transition.rb +1 -23
  63. data/test/tc_timezone_transition_definition.rb +1 -23
  64. data/test/tc_timezone_utc.rb +1 -23
  65. data/test/tc_transition_data_timezone_info.rb +3 -25
  66. data/test/tc_zoneinfo_country_info.rb +13 -35
  67. data/test/tc_zoneinfo_data_source.rb +358 -34
  68. data/test/tc_zoneinfo_timezone_info.rb +3 -27
  69. data/test/test_utils.rb +26 -30
  70. data/test/ts_all.rb +0 -22
  71. data/test/ts_all_ruby.rb +0 -22
  72. data/test/ts_all_zoneinfo.rb +0 -22
  73. data/test/tzinfo-data/tzinfo/data.rb +0 -22
  74. data/test/tzinfo-data/tzinfo/data/version.rb +0 -22
  75. data/tzinfo.gemspec +2 -2
  76. metadata +80 -80
  77. metadata.gz.sig +1 -3
@@ -1,35 +1,11 @@
1
1
  # encoding: UTF-8
2
2
 
3
- #--
4
- # Copyright (c) 2012-2013 Philip Ross
5
- #
6
- # Permission is hereby granted, free of charge, to any person obtaining a copy
7
- # of this software and associated documentation files (the "Software"), to deal
8
- # in the Software without restriction, including without limitation the rights
9
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- # copies of the Software, and to permit persons to whom the Software is
11
- # furnished to do so, subject to the following conditions:
12
- #
13
- # The above copyright notice and this permission notice shall be included in all
14
- # copies or substantial portions of the Software.
15
- #
16
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- # THE SOFTWARE.
23
- #++
24
-
25
-
26
-
27
3
  require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
28
4
  require 'tempfile'
29
5
 
30
6
  include TZInfo
31
7
 
32
- class TCZoneinfoTimezoneInfo < Test::Unit::TestCase
8
+ class TCZoneinfoTimezoneInfo < Minitest::Test
33
9
 
34
10
  begin
35
11
  Time.at(-2147483649)
@@ -55,14 +31,14 @@ class TCZoneinfoTimezoneInfo < Test::Unit::TestCase
55
31
  assert_equal(dst, period.dst?)
56
32
 
57
33
  if start_at
58
- assert_not_nil(period.utc_start_time)
34
+ refute_nil(period.utc_start_time)
59
35
  assert_equal(start_at, period.utc_start_time)
60
36
  else
61
37
  assert_nil(period.utc_start_time)
62
38
  end
63
39
 
64
40
  if end_at
65
- assert_not_nil(period.utc_end_time)
41
+ refute_nil(period.utc_end_time)
66
42
  assert_equal(end_at, period.utc_end_time)
67
43
  else
68
44
  assert_nil(period.utc_end_time)
@@ -1,25 +1,3 @@
1
- #--
2
- # Copyright (c) 2008-2013 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  TESTS_DIR = File.expand_path(File.dirname(__FILE__)).untaint
24
2
  TZINFO_LIB_DIR = File.expand_path(File.join(TESTS_DIR, '..', 'lib'))
25
3
  TZINFO_TEST_DATA_DIR = File.join(TESTS_DIR, 'tzinfo-data')
@@ -31,7 +9,7 @@ $:.unshift(TZINFO_LIB_DIR) unless $:.include?(TZINFO_LIB_DIR)
31
9
  # Add it to the load path.
32
10
  $:.unshift(TZINFO_TEST_DATA_DIR) unless $:.include?(TZINFO_TEST_DATA_DIR)
33
11
 
34
- require 'test/unit'
12
+ require 'minitest/autorun'
35
13
  require 'tzinfo'
36
14
  require 'fileutils'
37
15
  require 'rbconfig'
@@ -46,7 +24,7 @@ module TestUtils
46
24
  ZONEINFO_SYMLINKS.each do |file, target|
47
25
  path = File.join(TZINFO_TEST_ZONEINFO_DIR, file)
48
26
 
49
- File.delete(path) if File.exists?(path)
27
+ File.delete(path) if File.exist?(path)
50
28
 
51
29
  begin
52
30
  FileUtils.ln_s(target, path)
@@ -88,12 +66,10 @@ module Kernel
88
66
  end
89
67
  end
90
68
 
91
- def assert_array_same_items(expected, actual, message = nil)
92
- full_message = build_message(message, "<?> expected but was <?>.", expected, actual)
93
-
94
- assert_block(full_message) do
95
- (expected.size == actual.size) && (expected - actual == [])
96
- end
69
+ def assert_array_same_items(expected, actual, msg = nil)
70
+ full_message = message(msg, '') { diff(expected, actual) }
71
+ condition = (expected.size == actual.size) && (expected - actual == [])
72
+ assert(condition, full_message)
97
73
  end
98
74
 
99
75
  def assert_sub_process_returns(expected_lines, code, extra_load_path = [], required = ['tzinfo'])
@@ -133,4 +109,24 @@ module Kernel
133
109
  assert_equal(expected_lines, actual_lines)
134
110
  end
135
111
  end
112
+
113
+ def assert_nothing_raised(msg = nil)
114
+ begin
115
+ yield
116
+ rescue => e
117
+ full_message = message(msg) { exception_details(e, 'Exception raised: ') }
118
+ assert(false, full_message)
119
+ end
120
+ end
136
121
  end
122
+
123
+
124
+ # JRuby 1.7.5 to 1.7.9 consider DateTime instances that differ by less than
125
+ # 1 millisecond to be equivalent (https://github.com/jruby/jruby/issues/1311).
126
+ #
127
+ # A few test cases compare at a resolution of 1 microsecond, so this causes
128
+ # failures on JRuby 1.7.5 to 1.7.9.
129
+ #
130
+ # Determine what the platform supports and adjust the tests accordingly.
131
+ DATETIME_RESOLUTION = (0..5).collect {|i| 10**i}.find {|i| (DateTime.new(2013,1,1,0,0,0) <=> DateTime.new(2013,1,1,0,0,Rational(i,1000000))) < 0}
132
+ raise 'Unable to compare DateTimes at a resolution less than one second on this platform' unless DATETIME_RESOLUTION
@@ -1,25 +1,3 @@
1
- #--
2
- # Copyright (c) 2005-2013 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  # Force a particular timezone to be local (helps find issues when local
24
2
  # timezone isn't GMT). This won't work on Windows.
25
3
  ENV['TZ'] = 'America/Los_Angeles'
@@ -1,25 +1,3 @@
1
- #--
2
- # Copyright (c) 2012-2013 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb')
24
2
 
25
3
  TZInfo::DataSource.set(:ruby)
@@ -1,25 +1,3 @@
1
- #--
2
- # Copyright (c) 2012-2013 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb')
24
2
 
25
3
  # Use a zoneinfo directory containing files needed by the tests.
@@ -1,23 +1 @@
1
- #--
2
- # Copyright (c) 2012 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  require 'tzinfo/data/version'
@@ -1,25 +1,3 @@
1
- #--
2
- # Copyright (c) 2012-2013 Philip Ross
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining a copy
5
- # of this software and associated documentation files (the "Software"), to deal
6
- # in the Software without restriction, including without limitation the rights
7
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- # copies of the Software, and to permit persons to whom the Software is
9
- # furnished to do so, subject to the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be included in all
12
- # copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
- # THE SOFTWARE.
21
- #++
22
-
23
1
  module TZInfo
24
2
  module Data
25
3
  # TZInfo::Data version information.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'tzinfo'
3
- s.version = '1.1.0'
3
+ s.version = '1.2.0'
4
4
  s.summary = 'Daylight savings aware timezone library'
5
5
  s.description = 'TZInfo provides daylight savings aware transformations between times in different time zones.'
6
6
  s.author = 'Philip Ross'
@@ -16,6 +16,6 @@ Gem::Specification.new do |s|
16
16
  s.rdoc_options << '--title' << 'TZInfo' <<
17
17
  '--main' << 'README.md'
18
18
  s.extra_rdoc_files = ['README.md', 'CHANGES.md', 'LICENSE']
19
- s.required_ruby_version = '>= 1.8.6'
19
+ s.required_ruby_version = '>= 1.8.7'
20
20
  s.add_dependency 'thread_safe', '~> 0.1'
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tzinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Ross
@@ -30,20 +30,20 @@ cert_chain:
30
30
  fs7XSYlwQp0zY7PFSMwJeBpQFDBnShcweRQ+0QdUUS4FHrwfXex0QsXp9UROUX+4
31
31
  6BVw9ZDNFnDH4PQjZGbdwanB7kzm+TEi
32
32
  -----END CERTIFICATE-----
33
- date: 2013-09-25 00:00:00.000000000 Z
33
+ date: 2014-05-26 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: thread_safe
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0.1'
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0.1'
49
49
  description: TZInfo provides daylight savings aware transformations between times
@@ -56,135 +56,135 @@ extra_rdoc_files:
56
56
  - CHANGES.md
57
57
  - LICENSE
58
58
  files:
59
+ - ".yardopts"
59
60
  - CHANGES.md
60
61
  - LICENSE
61
- - Rakefile
62
62
  - README.md
63
- - tzinfo.gemspec
64
- - .yardopts
63
+ - Rakefile
65
64
  - lib/tzinfo.rb
66
- - lib/tzinfo/info_timezone.rb
67
- - lib/tzinfo/timezone_info.rb
68
- - lib/tzinfo/data_timezone.rb
69
- - lib/tzinfo/ruby_data_source.rb
70
- - lib/tzinfo/timezone_period.rb
71
- - lib/tzinfo/timezone_transition_definition.rb
65
+ - lib/tzinfo/country.rb
66
+ - lib/tzinfo/country_index_definition.rb
67
+ - lib/tzinfo/country_info.rb
72
68
  - lib/tzinfo/country_timezone.rb
73
- - lib/tzinfo/ruby_country_info.rb
74
- - lib/tzinfo/linked_timezone.rb
75
69
  - lib/tzinfo/data_source.rb
76
- - lib/tzinfo/country.rb
77
- - lib/tzinfo/timezone_transition.rb
70
+ - lib/tzinfo/data_timezone.rb
78
71
  - lib/tzinfo/data_timezone_info.rb
79
- - lib/tzinfo/zoneinfo_timezone_info.rb
80
- - lib/tzinfo/country_index_definition.rb
81
- - lib/tzinfo/zoneinfo_data_source.rb
82
- - lib/tzinfo/time_or_datetime.rb
72
+ - lib/tzinfo/info_timezone.rb
73
+ - lib/tzinfo/linked_timezone.rb
74
+ - lib/tzinfo/linked_timezone_info.rb
75
+ - lib/tzinfo/offset_rationals.rb
83
76
  - lib/tzinfo/ruby_core_support.rb
84
- - lib/tzinfo/timezone_definition.rb
77
+ - lib/tzinfo/ruby_country_info.rb
78
+ - lib/tzinfo/ruby_data_source.rb
79
+ - lib/tzinfo/time_or_datetime.rb
85
80
  - lib/tzinfo/timezone.rb
86
- - lib/tzinfo/transition_data_timezone_info.rb
81
+ - lib/tzinfo/timezone_definition.rb
87
82
  - lib/tzinfo/timezone_index_definition.rb
88
- - lib/tzinfo/timezone_proxy.rb
83
+ - lib/tzinfo/timezone_info.rb
89
84
  - lib/tzinfo/timezone_offset.rb
90
- - lib/tzinfo/linked_timezone_info.rb
91
- - lib/tzinfo/country_info.rb
92
- - lib/tzinfo/offset_rationals.rb
85
+ - lib/tzinfo/timezone_period.rb
86
+ - lib/tzinfo/timezone_proxy.rb
87
+ - lib/tzinfo/timezone_transition.rb
88
+ - lib/tzinfo/timezone_transition_definition.rb
89
+ - lib/tzinfo/transition_data_timezone_info.rb
93
90
  - lib/tzinfo/zoneinfo_country_info.rb
94
- - test/tc_info_timezone.rb
95
- - test/tc_timezone_transition_definition.rb
91
+ - lib/tzinfo/zoneinfo_data_source.rb
92
+ - lib/tzinfo/zoneinfo_timezone_info.rb
93
+ - test/tc_country.rb
94
+ - test/tc_country_index_definition.rb
95
+ - test/tc_country_info.rb
96
+ - test/tc_country_timezone.rb
96
97
  - test/tc_data_source.rb
97
- - test/test_utils.rb
98
- - test/tc_timezone.rb
99
- - test/tc_zoneinfo_country_info.rb
98
+ - test/tc_data_timezone.rb
100
99
  - test/tc_data_timezone_info.rb
101
- - test/tc_timezone_london.rb
102
- - test/tc_timezone_index_definition.rb
100
+ - test/tc_info_timezone.rb
101
+ - test/tc_linked_timezone.rb
103
102
  - test/tc_linked_timezone_info.rb
104
- - test/ts_all_ruby.rb
105
- - test/tc_timezone_definition.rb
106
- - test/tc_ruby_data_source.rb
107
- - test/tc_timezone_period.rb
108
- - test/tc_country_timezone.rb
109
- - test/tc_timezone_offset.rb
103
+ - test/tc_offset_rationals.rb
110
104
  - test/tc_ruby_core_support.rb
111
- - test/tc_country_index_definition.rb
105
+ - test/tc_ruby_country_info.rb
106
+ - test/tc_ruby_data_source.rb
107
+ - test/tc_time_or_datetime.rb
108
+ - test/tc_timezone.rb
109
+ - test/tc_timezone_definition.rb
110
+ - test/tc_timezone_index_definition.rb
111
+ - test/tc_timezone_info.rb
112
+ - test/tc_timezone_london.rb
112
113
  - test/tc_timezone_melbourne.rb
114
+ - test/tc_timezone_new_york.rb
115
+ - test/tc_timezone_offset.rb
116
+ - test/tc_timezone_period.rb
117
+ - test/tc_timezone_proxy.rb
118
+ - test/tc_timezone_transition.rb
119
+ - test/tc_timezone_transition_definition.rb
120
+ - test/tc_timezone_utc.rb
121
+ - test/tc_transition_data_timezone_info.rb
122
+ - test/tc_zoneinfo_country_info.rb
113
123
  - test/tc_zoneinfo_data_source.rb
124
+ - test/tc_zoneinfo_timezone_info.rb
125
+ - test/test_utils.rb
126
+ - test/ts_all.rb
127
+ - test/ts_all_ruby.rb
128
+ - test/ts_all_zoneinfo.rb
114
129
  - test/tzinfo-data/tzinfo/data.rb
130
+ - test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb
131
+ - test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb
132
+ - test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb
115
133
  - test/tzinfo-data/tzinfo/data/definitions/EST.rb
116
- - test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb
117
134
  - test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb
135
+ - test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb
118
136
  - test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb
119
- - test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb
120
- - test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb
121
137
  - test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb
122
- - test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb
123
138
  - test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb
139
+ - test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb
140
+ - test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb
124
141
  - test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb
125
- - test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb
126
- - test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb
127
142
  - test/tzinfo-data/tzinfo/data/definitions/UTC.rb
128
- - test/tzinfo-data/tzinfo/data/version.rb
129
- - test/tzinfo-data/tzinfo/data/indexes/timezones.rb
130
143
  - test/tzinfo-data/tzinfo/data/indexes/countries.rb
131
- - test/tc_time_or_datetime.rb
132
- - test/tc_country.rb
133
- - test/tc_zoneinfo_timezone_info.rb
134
- - test/tc_offset_rationals.rb
135
- - test/ts_all_zoneinfo.rb
136
- - test/tc_ruby_country_info.rb
137
- - test/tc_transition_data_timezone_info.rb
138
- - test/tc_timezone_utc.rb
139
- - test/tc_timezone_info.rb
140
- - test/ts_all.rb
141
- - test/tc_timezone_new_york.rb
142
- - test/tc_timezone_proxy.rb
143
- - test/tc_linked_timezone.rb
144
- - test/tc_timezone_transition.rb
145
- - test/tc_data_timezone.rb
146
- - test/tc_country_info.rb
147
- - test/zoneinfo/right/Europe/London
144
+ - test/tzinfo-data/tzinfo/data/indexes/timezones.rb
145
+ - test/tzinfo-data/tzinfo/data/version.rb
146
+ - test/zoneinfo/America/Argentina/Buenos_Aires
147
+ - test/zoneinfo/America/New_York
148
+ - test/zoneinfo/Australia/Melbourne
148
149
  - test/zoneinfo/EST
149
150
  - test/zoneinfo/Etc/UTC
150
- - test/zoneinfo/Australia/Melbourne
151
- - test/zoneinfo/zone.tab
152
- - test/zoneinfo/Europe/Prague
151
+ - test/zoneinfo/Europe/Amsterdam
153
152
  - test/zoneinfo/Europe/Andorra
154
- - test/zoneinfo/Europe/Paris
155
153
  - test/zoneinfo/Europe/London
156
- - test/zoneinfo/Europe/Amsterdam
154
+ - test/zoneinfo/Europe/Paris
155
+ - test/zoneinfo/Europe/Prague
157
156
  - test/zoneinfo/Factory
158
- - test/zoneinfo/America/Argentina/Buenos_Aires
159
- - test/zoneinfo/America/New_York
160
- - test/zoneinfo/posix/Europe/London
161
157
  - test/zoneinfo/iso3166.tab
158
+ - test/zoneinfo/posix/Europe/London
162
159
  - test/zoneinfo/posixrules
160
+ - test/zoneinfo/right/Europe/London
161
+ - test/zoneinfo/zone.tab
162
+ - tzinfo.gemspec
163
163
  homepage: http://tzinfo.github.io
164
164
  licenses:
165
165
  - MIT
166
166
  metadata: {}
167
167
  post_install_message:
168
168
  rdoc_options:
169
- - --title
169
+ - "--title"
170
170
  - TZInfo
171
- - --main
171
+ - "--main"
172
172
  - README.md
173
173
  require_paths:
174
174
  - lib
175
175
  required_ruby_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
- - - '>='
177
+ - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 1.8.6
179
+ version: 1.8.7
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - '>='
182
+ - - ">="
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
186
  rubyforge_project:
187
- rubygems_version: 2.1.4
187
+ rubygems_version: 2.2.2
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: Daylight savings aware timezone library