timezone 0.99.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.markdown +6 -0
  3. data/README.markdown +1 -11
  4. data/Rakefile +3 -1
  5. data/data/America/Caracas +2 -1
  6. data/data/Asia/Almaty +51 -48
  7. data/data/Asia/Anadyr +3 -3
  8. data/data/Asia/Aqtau +50 -50
  9. data/data/Asia/Aqtobe +51 -49
  10. data/data/Asia/Baku +2 -2
  11. data/data/Asia/Barnaul +3 -3
  12. data/data/Asia/Chita +3 -3
  13. data/data/Asia/Irkutsk +3 -3
  14. data/data/Asia/Kamchatka +3 -3
  15. data/data/Asia/Khandyga +3 -3
  16. data/data/Asia/Krasnoyarsk +3 -3
  17. data/data/Asia/Magadan +5 -4
  18. data/data/Asia/Novokuznetsk +3 -3
  19. data/data/Asia/Novosibirsk +3 -3
  20. data/data/Asia/Omsk +3 -3
  21. data/data/Asia/Oral +51 -50
  22. data/data/Asia/Qyzylorda +51 -50
  23. data/data/Asia/Sakhalin +3 -3
  24. data/data/Asia/Srednekolymsk +3 -3
  25. data/data/Asia/Tomsk +68 -0
  26. data/data/Asia/Ust-Nera +3 -3
  27. data/data/Asia/Vladivostok +3 -3
  28. data/data/Asia/Yakutsk +3 -3
  29. data/data/Asia/Yekaterinburg +3 -3
  30. data/data/Asia/Yerevan +3 -3
  31. data/data/Europe/Astrakhan +2 -2
  32. data/data/Europe/Kaliningrad +3 -3
  33. data/data/Europe/Kirov +64 -0
  34. data/data/Europe/Minsk +2 -2
  35. data/data/Europe/Moscow +3 -3
  36. data/data/Europe/Samara +3 -3
  37. data/data/Europe/Ulyanovsk +3 -3
  38. data/data/Europe/Volgograd +2 -2
  39. data/data/W-SU +3 -3
  40. data/lib/timezone/error.rb +0 -4
  41. data/lib/timezone/lookup/basic.rb +1 -7
  42. data/lib/timezone/lookup/geonames.rb +7 -6
  43. data/lib/timezone/lookup/google.rb +2 -1
  44. data/lib/timezone/net_http_client.rb +1 -10
  45. data/lib/timezone/version.rb +1 -1
  46. data/lib/timezone/zone.rb +1 -122
  47. data/test/http_test_client.rb +1 -2
  48. data/test/mocks/{api_limit_reached.txt → api_limit_reached.json} +0 -0
  49. data/test/mocks/invalid_latlong.json +1 -0
  50. data/test/mocks/invalid_parameter.json +1 -0
  51. data/test/{basic_lookup_test.rb → timezone/lookup/test_basic.rb} +3 -1
  52. data/test/timezone/lookup/test_geonames.rb +33 -4
  53. data/test/timezone/test_zone.rb +211 -3
  54. data/timezone.gemspec +14 -13
  55. metadata +22 -26
  56. data/lib/timezone/active_support.rb +0 -156
  57. data/lib/timezone/configure.rb +0 -258
  58. data/test/geonames_lookup_test.rb +0 -56
  59. data/test/google_lookup_test.rb +0 -81
  60. data/test/test_lookup_test.rb +0 -41
  61. data/test/timezone_test.rb +0 -297
@@ -35,13 +35,42 @@ class TestGeonames < ::Minitest::Test
35
35
  assert_equal 'Australia/Adelaide', mine.lookup(*coordinates)
36
36
  end
37
37
 
38
+ def assert_exception(lookup, message)
39
+ exception = false
40
+
41
+ begin
42
+ lookup.lookup(*coordinates)
43
+ rescue Timezone::Error::GeoNames => e
44
+ exception = true
45
+ assert_equal message, e.message
46
+ end
47
+
48
+ assert(exception)
49
+ end
50
+
38
51
  def test_api_limit
39
52
  mine = lookup
40
- mine.client.body = File.open(mock_path + '/api_limit_reached.txt').read
53
+ mine.client.body = File.open(mock_path + '/api_limit_reached.json').read
41
54
 
42
- assert_raises Timezone::Error::GeoNames, 'api limit reached' do
43
- mine.lookup(*coordinates)
44
- end
55
+ assert_exception(
56
+ mine,
57
+ 'the daily limit of 30000 credits for XXXXX has been exceeded. ' \
58
+ 'Please throttle your requests or use the commercial service.'
59
+ )
60
+ end
61
+
62
+ def test_invalid_latlong
63
+ mine = lookup
64
+ mine.client.body = File.open(mock_path + '/invalid_latlong.json').read
65
+
66
+ assert_exception(mine, 'invalid lat/lng')
67
+ end
68
+
69
+ def test_invalid_parameter
70
+ mine = lookup
71
+ mine.client.body = File.open(mock_path + '/invalid_parameter.json').read
72
+
73
+ assert_exception(mine, 'error parsing parameter')
45
74
  end
46
75
 
47
76
  private
@@ -1,15 +1,28 @@
1
+ require 'timecop'
1
2
  require 'timezone/zone'
2
3
  require 'minitest/autorun'
3
4
 
4
5
  class TestZone < ::Minitest::Test
5
6
  parallelize_me!
6
7
 
8
+ def zone(name)
9
+ Timezone::Zone.new(name)
10
+ end
11
+
12
+ def utc_offset(name, year, month, day)
13
+ zone(name).utc_offset(Time.new(year, month, day))
14
+ end
15
+
16
+ def dst?(name, year, month, day)
17
+ zone(name).dst?(Time.new(year, month, day))
18
+ end
19
+
7
20
  def la
8
- @la ||= Timezone::Zone.new('America/Los_Angeles')
21
+ @la ||= zone('America/Los_Angeles')
9
22
  end
10
23
 
11
24
  def paris
12
- @paris ||= Timezone::Zone.new('Europe/Paris')
25
+ @paris ||= zone('Europe/Paris')
13
26
  end
14
27
 
15
28
  def test_name
@@ -42,8 +55,203 @@ class TestZone < ::Minitest::Test
42
55
  def test_comparable
43
56
  assert paris > la
44
57
  assert la < paris
45
- assert la == Timezone::Zone.new('America/Los_Angeles')
58
+ assert la == zone('America/Los_Angeles')
46
59
 
47
60
  assert_equal nil, paris <=> 8
48
61
  end
62
+
63
+ def test_est5edt_dst_now
64
+ Timecop.freeze(Time.new(2012, 2, 2, 0, 0, 0)) do
65
+ refute zone('EST5EDT').dst?(Time.now)
66
+ end
67
+ Timecop.freeze(Time.new(2013, 6, 6, 0, 0, 0)) do
68
+ assert zone('EST5EDT').dst?(Time.now)
69
+ end
70
+ end
71
+
72
+ def test_utc_offsets
73
+ assert_equal(36_000, utc_offset('Australia/Sydney', 2011, 06, 05))
74
+ assert_equal(-25_200, utc_offset('America/Los_Angeles', 2011, 06, 05))
75
+ assert_equal(20_700, utc_offset('Asia/Kathmandu', 2011, 06, 05))
76
+ assert_equal(-18_000, utc_offset('America/New_York', 2011, 01, 11))
77
+ assert_equal(-14_400, utc_offset('America/New_York', 2011, 06, 11))
78
+ end
79
+
80
+ def test_dst
81
+ refute dst?('Australia/Sydney', 2011, 06, 05)
82
+ assert dst?('America/Los_Angeles', 2011, 06, 05)
83
+ refute dst?('Asia/Kathmandu', 2011, 06, 05)
84
+
85
+ refute dst?('America/New_York', 2011, 01, 11)
86
+ assert dst?('America/New_York', 2011, 06, 11)
87
+ end
88
+
89
+ def test_gmt_timezone
90
+ assert_equal Time.now.utc.to_i, zone('GMT').utc_to_local(Time.now).to_i
91
+ end
92
+
93
+ def test_historical_time
94
+ timezone = zone('America/Los_Angeles')
95
+ local = Time.strptime('2011-02-11T13:20:00Z', '%Y-%m-%dT%H:%M:%SZ')
96
+ utc = Time.strptime('2011-02-11T21:20:00Z', '%Y-%m-%dT%H:%M:%SZ')
97
+
98
+ assert_equal local.to_i, timezone.utc_to_local(utc).to_i
99
+ end
100
+
101
+ # http://www.timeanddate.com/worldclock/clockchange.html?n=137&year=2011
102
+ def test_historical_time_change_in_la_forward
103
+ local = Time.strptime('2011-03-13T01:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
104
+ utc = Time.strptime('2011-03-13T09:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
105
+ assert_equal local.to_i, zone('America/Los_Angeles').utc_to_local(utc).to_i
106
+
107
+ local = Time.strptime('2011-03-13T03:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
108
+ utc = Time.strptime('2011-03-13T10:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
109
+ assert_equal local.to_i, zone('America/Los_Angeles').time(utc).to_i
110
+ end
111
+
112
+ # http://www.timeanddate.com/worldclock/clockchange.html?n=137&year=2011
113
+ def test_historical_time_change_in_la_backward
114
+ local = Time.strptime('2011-11-06T01:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
115
+ utc = Time.strptime('2011-11-06T08:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
116
+ assert_equal local.to_i, zone('America/Los_Angeles').time(utc).to_i
117
+
118
+ local = Time.strptime('2011-11-06T01:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
119
+ utc = Time.strptime('2011-11-06T09:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
120
+ assert_equal local.to_i, zone('America/Los_Angeles').time(utc).to_i
121
+ end
122
+
123
+ # http://www.timeanddate.com/worldclock/clockchange.html?n=2364&year=1940
124
+ def test_historical_time_change_in_hebron
125
+ local = Time.strptime('1940-05-31T23:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
126
+ utc = Time.strptime('1940-05-31T21:59:59 UTC', '%Y-%m-%dT%H:%M:%S %Z')
127
+ assert_equal local.to_i, zone('Asia/Hebron').time(utc).to_i
128
+
129
+ local = Time.strptime('1940-06-01T01:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
130
+ utc = Time.strptime('1940-05-31T22:00:00 UTC', '%Y-%m-%dT%H:%M:%S %Z')
131
+ assert_equal local.to_i, zone('Asia/Hebron').time(utc).to_i
132
+ end
133
+
134
+ def test_half_hour_timezone
135
+ utc = Time.utc(2011, 1, 4, 3, 51, 29)
136
+ local = Time.utc(2011, 1, 4, 9, 36, 29)
137
+ assert_equal local.to_i, zone('Asia/Kathmandu').time(utc).to_i
138
+ end
139
+
140
+ # Testing is done with strings since two times can be equivalent even if
141
+ # their offsets do not match, and we want to test that the time and offsets
142
+ # are equivalent.
143
+ def test_time_with_offset
144
+ utc = Time.utc(2011, 1, 4, 3, 51, 29)
145
+ local = Time.new(2011, 1, 4, 9, 36, 29, 20_700)
146
+ assert_equal local.to_s, zone('Asia/Kathmandu').time_with_offset(utc).to_s
147
+
148
+ utc = Time.utc(2014, 12, 15, 22, 00, 00)
149
+ local = Time.new(2014, 12, 15, 14, 00, 00, '-08:00')
150
+ assert_equal(
151
+ local.to_s,
152
+ zone('America/Los_Angeles').time_with_offset(utc).to_s
153
+ )
154
+
155
+ utc = Time.utc(2014, 4, 5, 22, 00, 00)
156
+ local = Time.new(2014, 4, 5, 15, 00, 00, '-07:00')
157
+ assert_equal(
158
+ local.to_s,
159
+ zone('America/Los_Angeles').time_with_offset(utc).to_s
160
+ )
161
+ end
162
+
163
+ def test_australian_timezone_with_dst
164
+ utc = Time.utc(2010, 12, 23, 19, 37, 15)
165
+ local = Time.utc(2010, 12, 24, 6, 7, 15)
166
+ assert_equal local.to_i, zone('Australia/Adelaide').time(utc).to_i
167
+ end
168
+
169
+ def test_local_to_utc
170
+ timezone = zone('America/Los_Angeles')
171
+
172
+ # Time maps to two rules - we pick the first
173
+ local = Time.utc(2015, 11, 1, 1, 50, 0)
174
+ utc = Time.utc(2015, 11, 1, 8, 50, 0)
175
+ assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
176
+
177
+ # Time is above the maximum - we pick the last rule
178
+ local = Time.utc(3000, 1, 1, 0, 0, 0)
179
+ utc = Time.utc(3000, 1, 1, 8, 0, 0)
180
+ assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
181
+
182
+ # Time maps to a single rule - we pick that rule
183
+ local = Time.utc(2015, 11, 1, 0, 1, 0)
184
+ utc = Time.utc(2015, 11, 1, 7, 1, 0)
185
+ assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
186
+
187
+ # Time is missing - we pick the first closest rule
188
+ local = Time.utc(2015, 3, 8, 2, 50, 0)
189
+ utc = Time.utc(2015, 3, 8, 9, 50, 0)
190
+ assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
191
+ end
192
+
193
+ def test_utc_offset_without_dst
194
+ timezone = zone('Europe/Helsinki')
195
+
196
+ # just before DST starts
197
+ utc = Time.utc(2012, 3, 25, 0, 59, 59)
198
+ assert_equal 7200, timezone.utc_offset(utc)
199
+
200
+ # on the second DST ends
201
+ utc = Time.utc(2012, 10, 28, 1, 0, 0)
202
+ assert_equal 7200, timezone.utc_offset(utc)
203
+ end
204
+
205
+ def test_utc_offset_with_dst
206
+ timezone = zone('Europe/Helsinki')
207
+ # on the second DST starts
208
+ utc = Time.utc(2012, 3, 25, 1, 0, 0)
209
+ assert_equal timezone.utc_offset(utc), 10_800
210
+
211
+ # right before DST end
212
+ utc = Time.utc(2012, 10, 28, 0, 59, 59)
213
+ assert_equal timezone.utc_offset(utc), 10_800
214
+ end
215
+
216
+ EQUIVALENCE_METHODS = [
217
+ :time,
218
+ :local_to_utc,
219
+ :time_with_offset,
220
+ :dst?,
221
+ :utc_offset
222
+ ].freeze
223
+
224
+ def check_equivalence(name, time, other)
225
+ tz = zone(name)
226
+
227
+ EQUIVALENCE_METHODS.each do |m|
228
+ assert_equal(tz.public_send(m, time), tz.public_send(m, other))
229
+ end
230
+ end
231
+
232
+ def test_date_equivalence
233
+ time = Time.new(2011, 2, 3, 0, 0, 0)
234
+ date = Date.new(2011, 2, 3)
235
+
236
+ check_equivalence('America/Los_Angeles', time, date)
237
+
238
+ time = Time.new(2011, 6, 3, 0, 0, 0)
239
+ date = Date.new(2011, 6, 3)
240
+
241
+ check_equivalence('America/Los_Angeles', time, date)
242
+ end
243
+
244
+ def test_datetime_equivalence
245
+ assert_equal 'UTC', Time.now.zone, 'This test must be run in UTC'
246
+
247
+ time = Time.new(2011, 2, 3, 13, 5, 0)
248
+ datetime = DateTime.new(2011, 2, 3, 13, 5, 0, 0)
249
+
250
+ check_equivalence('America/Los_Angeles', time, datetime)
251
+
252
+ time = Time.new(2011, 6, 3, 13, 5, 0)
253
+ datetime = DateTime.new(2011, 6, 3, 13, 5, 0, 0)
254
+
255
+ check_equivalence('America/Los_Angeles', time, datetime)
256
+ end
49
257
  end
@@ -3,29 +3,30 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
  require 'timezone/version'
4
4
 
5
5
  Gem::Specification.new do |s|
6
- s.name = 'timezone'
7
- s.version = Timezone::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ['Pan Thomakos']
10
- s.email = ['pan.thomakos@gmail.com']
11
- s.homepage = 'http://github.com/panthomakos/timezone'
12
- s.summary = "timezone-#{Timezone::VERSION}"
13
- s.license = 'MIT'
6
+ s.name = 'timezone'
7
+ s.version = Timezone::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['Pan Thomakos']
10
+ s.email = ['pan.thomakos@gmail.com']
11
+ s.homepage =
12
+ "http://github.com/panthomakos/timezone/tree/#{Timezone::VERSION}"
13
+ s.summary = "timezone-#{Timezone::VERSION}"
14
+ s.license = 'MIT'
14
15
  s.description = 'Accurate current and historical timezones for Ruby with ' \
15
16
  'support for Geonames and Google latitude - longitude lookups.'
16
17
 
17
18
  s.rubyforge_project = 'timezone'
18
19
 
19
- s.files = `git ls-files`.split("\n")
20
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
- s.executables = `git ls-files -- bin/*`
20
+ s.files = `git ls-files`.split("\n")
21
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
+ s.executables = `git ls-files -- bin/*`
22
23
  .split("\n").map { |f| File.basename(f) }
23
24
  s.extra_rdoc_files = ['README.markdown', 'License.txt']
24
25
  s.rdoc_options = ['--charset=UTF-8']
25
26
  s.require_paths = ['lib']
26
27
 
27
- s.add_development_dependency('rake', '~> 10.5')
28
+ s.add_development_dependency('rake')
28
29
  s.add_development_dependency('minitest', '~> 5.8')
29
- s.add_development_dependency('rubocop', '~> 0.37')
30
+ s.add_development_dependency('rubocop', '= 0.40')
30
31
  s.add_development_dependency('timecop', '~> 0.8')
31
32
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timezone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Thomakos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-31 00:00:00.000000000 Z
11
+ date: 2016-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '10.5'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '10.5'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0.37'
47
+ version: '0.40'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0.37'
54
+ version: '0.40'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: timecop
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -402,6 +402,7 @@ files:
402
402
  - data/Asia/Thimbu
403
403
  - data/Asia/Thimphu
404
404
  - data/Asia/Tokyo
405
+ - data/Asia/Tomsk
405
406
  - data/Asia/Ujung_Pandang
406
407
  - data/Asia/Ulaanbaatar
407
408
  - data/Asia/Ulan_Bator
@@ -528,6 +529,7 @@ files:
528
529
  - data/Europe/Jersey
529
530
  - data/Europe/Kaliningrad
530
531
  - data/Europe/Kiev
532
+ - data/Europe/Kirov
531
533
  - data/Europe/Lisbon
532
534
  - data/Europe/Ljubljana
533
535
  - data/Europe/London
@@ -674,8 +676,6 @@ files:
674
676
  - data/WET
675
677
  - data/Zulu
676
678
  - lib/timezone.rb
677
- - lib/timezone/active_support.rb
678
- - lib/timezone/configure.rb
679
679
  - lib/timezone/deprecate.rb
680
680
  - lib/timezone/error.rb
681
681
  - lib/timezone/loader.rb
@@ -689,18 +689,17 @@ files:
689
689
  - lib/timezone/parser.rb
690
690
  - lib/timezone/version.rb
691
691
  - lib/timezone/zone.rb
692
- - test/basic_lookup_test.rb
693
692
  - test/data/Helsinki_rules_without_timestamps.json
694
693
  - test/data/asia
695
- - test/geonames_lookup_test.rb
696
- - test/google_lookup_test.rb
697
694
  - test/http_test_client.rb
698
- - test/mocks/api_limit_reached.txt
695
+ - test/mocks/api_limit_reached.json
699
696
  - test/mocks/google_lat_lon_coords.txt
700
697
  - test/mocks/google_request_denied.txt
698
+ - test/mocks/invalid_latlong.json
699
+ - test/mocks/invalid_parameter.json
701
700
  - test/mocks/lat_lon_coords.txt
702
- - test/test_lookup_test.rb
703
701
  - test/test_timezone.rb
702
+ - test/timezone/lookup/test_basic.rb
704
703
  - test/timezone/lookup/test_geonames.rb
705
704
  - test/timezone/lookup/test_google.rb
706
705
  - test/timezone/lookup/test_test.rb
@@ -709,9 +708,8 @@ files:
709
708
  - test/timezone/test_lookup.rb
710
709
  - test/timezone/test_nil_zone.rb
711
710
  - test/timezone/test_zone.rb
712
- - test/timezone_test.rb
713
711
  - timezone.gemspec
714
- homepage: http://github.com/panthomakos/timezone
712
+ homepage: http://github.com/panthomakos/timezone/tree/1.0.0
715
713
  licenses:
716
714
  - MIT
717
715
  metadata: {}
@@ -735,20 +733,19 @@ rubyforge_project: timezone
735
733
  rubygems_version: 2.4.5.1
736
734
  signing_key:
737
735
  specification_version: 4
738
- summary: timezone-0.99.2
736
+ summary: timezone-1.0.0
739
737
  test_files:
740
- - test/basic_lookup_test.rb
741
738
  - test/data/Helsinki_rules_without_timestamps.json
742
739
  - test/data/asia
743
- - test/geonames_lookup_test.rb
744
- - test/google_lookup_test.rb
745
740
  - test/http_test_client.rb
746
- - test/mocks/api_limit_reached.txt
741
+ - test/mocks/api_limit_reached.json
747
742
  - test/mocks/google_lat_lon_coords.txt
748
743
  - test/mocks/google_request_denied.txt
744
+ - test/mocks/invalid_latlong.json
745
+ - test/mocks/invalid_parameter.json
749
746
  - test/mocks/lat_lon_coords.txt
750
- - test/test_lookup_test.rb
751
747
  - test/test_timezone.rb
748
+ - test/timezone/lookup/test_basic.rb
752
749
  - test/timezone/lookup/test_geonames.rb
753
750
  - test/timezone/lookup/test_google.rb
754
751
  - test/timezone/lookup/test_test.rb
@@ -757,5 +754,4 @@ test_files:
757
754
  - test/timezone/test_lookup.rb
758
755
  - test/timezone/test_nil_zone.rb
759
756
  - test/timezone/test_zone.rb
760
- - test/timezone_test.rb
761
757
  has_rdoc: