timezone_local 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -15,10 +15,12 @@ module TimeZone
15
15
 
16
16
  def self.get
17
17
 
18
+ return @tz if not @tz.nil?
19
+
18
20
  self.METHODS.each do |m|
19
21
  begin
20
- tz = self.send(m)
21
- return tz if not tz.nil?
22
+ @tz = self.send(m)
23
+ return @tz if not @tz.nil?
22
24
  rescue Exception => ex
23
25
  end
24
26
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{timezone_local}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Chetan Sarva"]
12
- s.date = %q{2011-03-28}
12
+ s.date = %q{2011-04-01}
13
13
  s.description = %q{}
14
14
  s.email = %q{chetan@evidon.com}
15
15
  s.files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Chetan Sarva
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-28 00:00:00 -04:00
17
+ date: 2011-04-01 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency