timezonify 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74ced003ca7ad8a1584e8ab112da1f2124f19b88
4
- data.tar.gz: 54bb3fb3f2c3849fbb3e71591752405dd9ca504d
3
+ metadata.gz: de8b9a1b059f771eef408d51fae1b4ba5cf89701
4
+ data.tar.gz: 9bed3ab523cefcbc948e34acde4a9ddbe30b631e
5
5
  SHA512:
6
- metadata.gz: 8b71de51c5b8600aa961cac0b1ad2529db4a9f307970c88745139acf53aa6c6f56cfddae9e259b1a44d185c25ffc3432a63c8658ae6a97b4ce5a601a9d611430
7
- data.tar.gz: 0676c5adcf056b8c3c2e06725046ae6d4c342115923f61cf880887543026e465fb23e0096b933528c904cebe6c142094247ea19128badb6ddfd28b6c21afa95e
6
+ metadata.gz: b79ed959109184e1977c8e927feac274963f1d85e281529ea8ad4be36c06edff1548181df1da75cc1cdd37546b6e2b00b38d776a08a39ff4903889002d27b460
7
+ data.tar.gz: 6f6400760aa1978e3a72b5c572682f0fe68e5f36564cdb0de1a452a037621b2463377913d4c1db615f77c08570af9effa5c6cd12dea6c25ed77986e0f4eb3685
@@ -1,2 +1,2 @@
1
1
  service_name: travis-ci
2
- repo_token: zkrjRduOvPBRRjQl3sPfbhweWZYtrFUrr bundle exec rspec spec
2
+ repo_token: RHBu5VsBZA5dqezbazv3hEez54mXO6Dw8
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
- # Timezonify [![GitHub version](https://badge.fury.io/gh/gemathon-warriors%2Fzonify.png)](http://badge.fury.io/gh/gemathon-warriors%2Fzonify) [![Build Status](https://travis-ci.org/gemathon-warriors/timezonify.png?branch=master)](https://travis-ci.org/gemathon-warriors/timezonify) [![Coverage Status](https://coveralls.io/repos/gemathon-warriors/zonify/badge.png)](https://coveralls.io/r/gemathon-warriors/zonify)
1
+ # Timezonify [![Gem Version](https://badge.fury.io/rb/timezonify.png)](http://badge.fury.io/rb/timezonify) [![Build Status](https://travis-ci.org/gemathon-warriors/timezonify.png?branch=master)](https://travis-ci.org/gemathon-warriors/timezonify)
2
+ <!-- [![Coverage Status](https://coveralls.io/repos/gemathon-warriors/timezonify/badge.png)](https://coveralls.io/r/gemathon-warriors/timezonify) -->
2
3
 
3
4
  > Wanna hold the World Clock in your hands ?? Then its about "time" you use timezonify.
4
5
 
5
6
 
6
7
  ## Supports
7
8
 
8
- Rails 1.8.7+
9
+ Ruby 1.8.7+, Rails 2.3.16+
9
10
 
10
11
  > Warning for 1.8.7 users : Use at your own risk as Ruby community has dropped support for 1.8.7
11
12
 
@@ -25,7 +26,21 @@ Or install it yourself as:
25
26
 
26
27
  ## Usage
27
28
 
28
- Timezonify::Timezone.timezone_for_time('10:00 AM')
29
+ If you want to find your `current timezone` then simply execute this
30
+
31
+ Timezonify::Timezone.local_zone #=> "GMT-05"
32
+
33
+ If you want to find the `list of all countries falling in a specific timezone` then execute this
34
+
35
+ Timezonify::Timezone.find_country_in_timezone("GMT+13") #=> ["Kiribati: Phoenix Islands", "New Zealand ('during Daylight Saving Time')", "Samoa", "South Pole ('during Daylight Saving Time')", "Tonga"]
36
+
37
+ If you want to find the `timezone for a specific time` then execute this
38
+
39
+ Timezonify::Timezone.timezone_for_time('10:00 AM') #=> "GMT+03:30"
40
+
41
+ If you want to find the `time in a specific timezone` then execute this
42
+
43
+ Timezonify::Timezone.find_time_at("GMT+5:30") #=> Fri, 21 Feb 2014 11:59:18 IST +05:30
29
44
 
30
45
  ## Contributing
31
46
 
@@ -1,3 +1,6 @@
1
+ #!/bin/env ruby
2
+ # encoding: utf-8
3
+
1
4
  require "timezonify/version"
2
5
  require 'active_support'
3
6
  require 'active_support/version'
@@ -9,6 +12,25 @@ end
9
12
  module Timezonify
10
13
  class Timezone
11
14
 
15
+ def self.find_time_at(timezone)
16
+ return (ActiveSupport::TimeZone[0].now) unless timezone.include?(":")
17
+ operation = timezone.split("GMT").last[0]
18
+ hours_n_minutes = timezone.gsub("+","").gsub("-","").split("GMT").last.split(":")
19
+ hours_to_seconds = hours_n_minutes.first.to_i * 60 * 60
20
+ minutes_to_seconds = hours_n_minutes.last.to_i * 60
21
+ total_seconds_diff = hours_to_seconds + minutes_to_seconds
22
+ total_seconds_diff = -(total_seconds_diff) unless(operation == "+")
23
+ ActiveSupport::TimeZone[total_seconds_diff].now
24
+ end
25
+
26
+ def self.find_country_in_timezone(timezone)
27
+ Mapping.timezone_country["#{timezone.gsub('+0','+').gsub(':00','')}"]
28
+ end
29
+
30
+ def self.local_zone
31
+ timezone_for_time(Time.now)
32
+ end
33
+
12
34
  def self.timezone_for_time(time='Time.now.utc')
13
35
  offset = find_offset_for_required_time(time.to_s, current_time="#{Time.now.utc.strftime("%I:%M %p UTC")}")
14
36
  ((offset < 0) ? formatted_negative_offset(offset) : formatted_positive_offset(offset))
@@ -77,4 +99,99 @@ module Timezonify
77
99
  ActiveSupport::TimeZone.all.select{|tz| tz.utc_offset == offset_in_seconds}
78
100
  end
79
101
  end
102
+
103
+ class Mapping
104
+
105
+ def self.timezone_country
106
+
107
+ {
108
+ "GMT+14" => [ "Kiribati Line Islands|Kiribati Line Islands", "Samoa ('during Daylight Saving Time')", "New Zealand: Tokelau" ],
109
+
110
+ "GMT+13:45" => [ "New Zealand: Chatham Islands ('during Daylight Saving Time')" ],
111
+
112
+ "GMT+13" => [ "Kiribati: Phoenix Islands", "New Zealand ('during Daylight Saving Time')", "Samoa", "South Pole ('during Daylight Saving Time')", "Tonga" ],
113
+
114
+ "GMT+12:45" => [ "New Zealand: Chatham Islands" ],
115
+
116
+ "GMT+12" => [ "Fiji", "Kiribati: Gilbert Islands", "Marshall Islands", "Nauru", "New Zealand", "Russia: Chukotka, Kamchatka", "South Pole", "Tuvalu", "Wake Island", "Wallis and Futuna" ],
117
+
118
+ "GMT+11:30" => [ "Australia: Norfolk Island" ],
119
+
120
+ "GMT+11" => [ "Australia: Australian Capital Territory, New South Wales (except Broken Hill), Tasmania, Victoria (state)|Victoria ('Australian Eastern Daylight Time')", "Federated States of Micronesia: Kosrae, Pohnpei ", "New Caledonia", "Russia: Sakhalin Oblast|Kuril Islands, Magadan Oblast, Yakutia|Sakha", "Solomon Islands", "Vanuatu" ],
121
+
122
+ "GMT+10:30" => [ "Australia: South Australia, Broken Hill (New South Wales) ('Australian Central Daylight Time')" ],
123
+
124
+ "GMT+10" => [ "Australia: Australian Capital Territory, New South Wales (except Broken Hill), Queensland, Tasmania, Victoria (state)|Victoria ('Australian Eastern Standard Time')", "Federated States of Micronesia: Chuuk, Yap", "Guam", "Northern Mariana Islands", "Papua New Guinea", "Russia: Primorsky Krai, Khabarovsk Krai, Yakutia, Sakhalin Oblast|Sakhalin Island" ],
125
+
126
+ "GMT+9:30" => [ "Australia: Northern Territory, South Australia, Broken Hill (New South Wales) ('Australian Central Standard Time')" ],
127
+
128
+ "GMT+9" =>
129
+ [ "East Timor", "Indonesia (eastern): Maluku, Western New Guinea", "Japan", "North Korea", "South Korea", "Palau", "Russia: Amur Oblast, Zabaykalsky Krai, Yakutia" ],
130
+
131
+ "GMT+8" => [ "Australia: Western Australia ('Australian Western Standard Time')", "Brunei", "China", "Hong Kong", "Indonesia (central): (Bali, Borneo)", "Macau", "Malaysia", "Mongolia (most of country)", "Philippines", "Singapore", "Taiwan", "Russia: Buryatia, Irkutsk Oblast" ],
132
+
133
+ "GMT+7" => [ "Bangladesh", "Cambodia", "Christmas Island (Australia)", "Indonesia (western): (Java, Sumatra)", "Laos", "Mongolia (Hovd, Uvs, and Bayan-Ölgii)", "Russia: Kemerovo, Khakassia, Krasnoyarsk Krai, Tomsk, Tuva", "Thailand", "Vietnam" ],
134
+
135
+ "GMT+6:30" => [ "Cocos Islands", "Myanmar" ],
136
+
137
+ "GMT+6" => [ "Bhutan", "British Indian Ocean Territory (CIA)", "Kazakhstan (Eastern)", "Kyrgyzstan", "Russia: Altai Krai, Altai Republic, Novosibirsk Oblast, Omsk Oblast, Tomsk Oblast" ],
138
+
139
+ "GMT+5:45" => [ "Nepal" ],
140
+
141
+ "GMT+5:30" => [ "India", "Sri Lanka" ],
142
+
143
+ "GMT+5" => [ "British Indian Ocean Territory (NAO)", "French Southern and Antarctic Lands", "Heard Island and McDonald Islands", "Kazakhstan (Western)", "Maldives", "Pakistan", "Russia: Astrakhan, Bashkortostan, Chelyabinsk, Kurgan, Orenburg, Perm, Saratov, Sverdlovsk, Tyumen, Ulyanovsk, Volgograd", "Tajikistan", "Turkmenistan", "Uzbekistan" ],
144
+
145
+ "GMT+4:30" => [ "Afghanistan" ],
146
+
147
+ "GMT+4" => [ "Armenia", "Azerbaijan", "Georgia (country)|Georgia", "Mauritius", "Oman", "Réunion", "Russia: Samara, Udmurtia", "Seychelles", "United Arab Emirates" ],
148
+
149
+ "GMT+3:30" => [ "Iran" ],
150
+
151
+ "GMT+3" => [ "Bahrain", "Comoros", "Djibouti", "Eritrea", "Ethiopia", "Iraq", "Kenya", "Kuwait", "Madagascar", "Mayotte", "Qatar", "Russia: most of European portion, including Moscow, Saint Petersburg, Rostov on Don, Novaya Zemlya, Franz Josef Land, and all railroads throughout Russia", "Saudi Arabia", "Somalia", "Sudan", "Tanzania", "Uganda", "Yemen" ],
152
+
153
+ "GMT+2" => [ "Belarus", "Botswana", "Bulgaria", "Burundi", "Democratic Republic of the Congo (eastern)", "Cyprus", "Egypt", "Estonia", "Finland", "Greece", "Israel", "Jordan", "Latvia", "Lebanon", "Lesotho", "Libya", "Lithuania", "Malawi", "Moldova", "Mozambique", "Romania", "Russia: Kaliningrad Oblast", "Rwanda", "South Africa", "Swaziland", "Syria", "Turkey", "Ukraine", "Zambia", "Zimbabwe" ],
154
+
155
+ "GMT+1" => [ "Albania", "Andorra", "Algeria", "Angola", "Austria", "Belgium", "Benin", "Bosnia and Herzegovina", "Cameroon", "Central African Republic", "Chad", "Republic of the Congo", "Democratic Republic of the Congo (western)", "Croatia", "Czech Republic", "Denmark", "Equatorial Guinea", "France", "Gabon", "Germany", "Gibraltar", "Hungary", "Italy", "Liechtenstein", "Luxembourg", "Republic of Macedonia", "Malta", "Monaco", "Montenegro", "Namibia", "Netherlands", "Niger", "Nigeria", "Norway", "Poland", "San Marino", "Serbia", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Tunisia", "Rome/Vatican|Vatican City" ],
156
+
157
+ "GMT" => [ "Burkina Faso", "Bouvet Island", "Canary Islands", "Cote d'Ivoire", "Faroe Islands", "Gambia", "Ghana", "Greenland (northeastern)", "Guernsey", "Guinea", "Guinea-Bissau", "Iceland", "Ireland", "Isle of Man", "Jersey", "Liberia", "Mali", "Mauritania", "Morocco", "Northern Ireland", "Portugal", "Saint Helena (island)|Saint Helena", "Senegal", "Sierra Leone", "Sao Tome and Principe", "Togo", "United Kingdom", "Western Sahara" ],
158
+
159
+ "GMT-1" => [ "Azores (Portugal)", "Cape Verde", "Greenland (east)" ],
160
+
161
+ "GMT-2" => [ "Fernando de Noronha (Brazil)", "South Georgia and the South Sandwich Islands", "Trindade and Martim Vaz (uninhabited islands) (Brazil)" ],
162
+
163
+ "GMT-3" => [ "Argentina", "Brazil: Brasilia, Rio de Janeiro|Rio, São Paulo, Fortaleza, Maceio, Recife, Salvador etc.", "French Guiana", "Greenland (central)", "Guyana", "Saint Pierre and Miquelon", "Suriname", "Uruguay" ],
164
+
165
+ "GMT-3:30" => [ "Canada ('Newfoundland Time'): Newfoundland and Labrador" ],
166
+
167
+ "GMT-4" => [ "Anguilla", "Antigua and Barbuda", "Aruba", "Barbados", "Bermuda", "Bolivia", "Brazil: Boa Vista, Campo Grande, Manaus", "Canada ('Atlantic Time'): Labrador, New Brunswick, Nova Scotia, Prince Edward Island, eastern Quebec", "Chile", "Dominica", "Dominican Republic", "Falkland Islands", "Greenland (west)", "Grenada", "Guadeloupe", "Guyana", "Martinique", "Montserrat", "Netherlands Antilles", "Paraguay", "Puerto Rico", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "Trinidad and Tobago", "U.S. Virgin Islands" ],
168
+
169
+ "GMT-4:30" => [ "Venezuela" ],
170
+
171
+ "GMT-5" => [ "Bahamas", "Brazil: Acre_(Brazil)|Acre", "Canada ('Eastern Time'): Nunavut, most of Ontario, most of Quebec", "Cayman Islands", "Colombia", "Cuba", "Ecuador", "Haiti", "Jamaica", "Navassa Island", "Panama", "Peru", "Turks and Caicos Islands", "United States of America ('Eastern Time'): Maine, New Hampshire, Vermont, New York (state)|New York, Massachusetts, Connecticut, Rhode Island, Michigan except extreme northwestern counties, Indiana except the southwest and northwest corners, Ohio, Pennsylvania, New Jersey, eastern Kentucky, West Virginia, Virginia, Washington, D.C., Maryland, Delaware (state)|Delaware, eastern Tennessee, North Carolina, Georgia (state)|Georgia, South Carolina, Florida except western part of panhandle." ],
172
+
173
+ "GMT-6" => [ "Belize", "Canada ('Central Time'): Manitoba, Saskatchewan except for Lloydminster, north-western Ontario", "Costa Rica", "Easter Island", "El Salvador", "Galapagos Islands", "Guatemala", "Honduras", "Mexico", "Nicaragua", "United States of America ('Central Time'): Wisconsin, Illinois, the southwest and northwest corners of Indiana, western Kentucky, western and middle Tennessee, Mississippi, Alabama, Minnesota, Iowa, Missouri, Arkansas, Louisiana, north and east North Dakota, eastern South Dakota, middle and eastern Nebraska, most of Kansas, Oklahoma, most of Texas, part of western Florida (panhandle)." ],
174
+
175
+ "GMT-7" => [ "Canada ('Mountain Time'): Alberta, small eastern portion of British Columbia, the Saskatchewan side of Lloydminster", "Mexico: Baja California Sur, Chihuahua, Nayarit, Sinaloa, Sonora", "United States of America ('Mountain Time'): southwest North Dakota, western South Dakota, western Nebraska, a sliver of Kansas, Montana, a sliver of Oregon, southern Idaho, Wyoming, Utah, Colorado, Arizona, New Mexico, the El Paso area in Texas" ],
176
+
177
+ "GMT-8" => [ "Canada ('Pacific Time'): most of British Columbia, Yukon", "Clipperton Island", "Mexico: Baja California (state)|Baja California Norte", "Pitcairn Islands", "United States of America ('Pacific Time'): Washington (state)|Washington, northern Idaho, most of Oregon, California, Nevada" ],
178
+
179
+ "GMT-9" => [ "French Polynesia: Gambier Islands", "United States of America: most of Alaska" ],
180
+
181
+ "GMT-9:30" => [ "French Polynesia: Marquesa Islands" ],
182
+
183
+ "GMT-10" => [ "Cook Islands", "French Polynesia: Society Islands, Tuamotu Islands, Austral Islands", "Johnston Atoll", "Tokelau", "United States of America: Hawaii, and Aleutian Islands in Alaska" ],
184
+
185
+ "GMT-11" => [ "American Samoa", "Jarvis Island, Kingman Reef, Palmyra Atoll", "Midway Islands", "Niue" ],
186
+
187
+ "GMT-12" => [ "Baker Island", "Howland Island" ]
188
+ }
189
+
190
+
191
+
192
+ end
193
+
194
+ end
195
+
196
+
80
197
  end
@@ -1,3 +1,3 @@
1
1
  module Timezonify
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -2,6 +2,15 @@ require 'spec_helper'
2
2
 
3
3
  describe "Find timezone where the time is" do
4
4
 
5
+ it "should give proper time for GMT" do
6
+ Timezonify::Timezone.find_time_at("GMT").to_s.should == ActiveSupport::TimeZone[0].now.to_s
7
+ end
8
+
9
+ it "should give proper time in a given timezone" do
10
+ Timezonify::Timezone.find_time_at("GMT+3:00").to_s.should == ActiveSupport::TimeZone[+3].now.to_s
11
+ Timezonify::Timezone.find_time_at("GMT-5:00").to_s.should == ActiveSupport::TimeZone[-5].now.to_s
12
+ end
13
+
5
14
  it "if time is given at GMT return current timezone should be GMT" do
6
15
  offset = Timezonify::Timezone.timezone_for_time(Time.now.utc)
7
16
  offset.should == 'GMT'
@@ -17,6 +26,11 @@ describe "Find timezone where the time is" do
17
26
  offset.should == 'GMT-05'
18
27
  end
19
28
 
29
+ it "should return local machine timezone" do
30
+ zone = Timezonify::Timezone.local_zone
31
+ zone.should == 'GMT'
32
+ end
33
+
20
34
  describe "TimeHelper" do
21
35
  it "should return time in hours when time is in complete hour" do
22
36
  time = Time.parse('8:00 AM')
@@ -37,6 +51,34 @@ describe "Find timezone where the time is" do
37
51
  end
38
52
  end
39
53
 
40
- end
54
+ describe "Mapping" do
55
+ describe "Find Countries based on timezone" do
41
56
 
57
+ it "should return India for GMT+05:30" do
58
+ country = Timezonify::Timezone.find_country_in_timezone('GMT+05:30')
59
+ country.should be_kind_of(Array)
60
+ country.include?("India")
61
+ end
42
62
 
63
+ it "should return India for GMT+5:30" do
64
+ country = Timezonify::Timezone.find_country_in_timezone('GMT+5:30')
65
+ country.should be_kind_of(Array)
66
+ country.include?("India")
67
+ end
68
+
69
+ it "should return Colombia for GMT-5:00" do
70
+ country = Timezonify::Timezone.find_country_in_timezone('GMT-5:00')
71
+ country.should be_kind_of(Array)
72
+ country.include?("Colombia")
73
+ end
74
+
75
+ it "should return Colombia for GMT-5" do
76
+ country = Timezonify::Timezone.find_country_in_timezone('GMT-5')
77
+ country.should be_kind_of(Array)
78
+ country.include?("Colombia")
79
+ end
80
+
81
+ end
82
+ end
83
+
84
+ end
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "timezonify"
8
8
  spec.version = Timezonify::VERSION
9
9
  spec.authors = ["Nikhil Nanjappa", "Ashish Upadhyay", "Ankur Gera", "Gourav Tiwari", "Hrishita Vaish"]
10
- spec.email = ["kainikhil@gmail.com", "ashish.upadhyaye@gmail.com", "ankurgera@gmail.com", "gouravtiwari21@gmail.com", "vaish.hrishita@tcs.com"]
10
+ spec.email = ["nikhil.nanjappa@tcs.com", "ashish.upadhyaye@gmail.com", "ankurgera@gmail.com", "gouravtiwari21@gmail.com", "vaish.hrishita@tcs.com"]
11
11
  spec.summary = %q{Finds timezone for a specific time eg. Where is it 8 AM now ?}
12
12
  spec.homepage = ""
13
13
  spec.license = "MIT"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timezonify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikhil Nanjappa
@@ -12,81 +12,81 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-02-19 00:00:00.000000000 Z
15
+ date: 2014-02-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ~>
21
+ - - "~>"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '1.5'
24
24
  type: :development
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - ~>
28
+ - - "~>"
29
29
  - !ruby/object:Gem::Version
30
30
  version: '1.5'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rake
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - '>='
35
+ - - ">="
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - '>='
42
+ - - ">="
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: activesupport
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - '>='
49
+ - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: 2.3.16
52
52
  type: :development
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - '>='
56
+ - - ">="
57
57
  - !ruby/object:Gem::Version
58
58
  version: 2.3.16
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rspec
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - '>='
63
+ - - ">="
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - '>='
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: coveralls
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - '>='
77
+ - - ">="
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - '>='
84
+ - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  description:
88
88
  email:
89
- - kainikhil@gmail.com
89
+ - nikhil.nanjappa@tcs.com
90
90
  - ashish.upadhyaye@gmail.com
91
91
  - ankurgera@gmail.com
92
92
  - gouravtiwari21@gmail.com
@@ -95,10 +95,10 @@ executables: []
95
95
  extensions: []
96
96
  extra_rdoc_files: []
97
97
  files:
98
- - .coveralls.yml
99
- - .gitignore
100
- - .rspec
101
- - .travis.yml
98
+ - ".coveralls.yml"
99
+ - ".gitignore"
100
+ - ".rspec"
101
+ - ".travis.yml"
102
102
  - Gemfile
103
103
  - LICENSE.txt
104
104
  - README.md
@@ -118,17 +118,17 @@ require_paths:
118
118
  - lib
119
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - '>='
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - '>='
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.0.6
131
+ rubygems_version: 2.2.2
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Finds timezone for a specific time eg. Where is it 8 AM now ?