greenwich 2.0.0 → 2.0.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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- greenwich (2.0.0)
4
+ greenwich (2.0.1)
5
5
  activerecord (~> 3.0)
6
6
  activesupport (~> 3.0)
7
7
  tzinfo (~> 0.3)
@@ -1,6 +1,7 @@
1
1
  require 'tzinfo'
2
2
  require 'active_record'
3
3
  require 'active_support/all'
4
+ require 'greenwich/extensions/time_zone'
4
5
  require 'greenwich/conversion'
5
6
  require 'greenwich/time_zone'
6
7
  require 'greenwich/utilities'
@@ -0,0 +1,8 @@
1
+ module ActiveSupport
2
+ class TimeZone
3
+ def freeze
4
+ tzinfo; utc_offset;
5
+ super
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Greenwich
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: greenwich
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -194,6 +194,7 @@ files:
194
194
  - greenwich.gemspec
195
195
  - lib/greenwich.rb
196
196
  - lib/greenwich/conversion.rb
197
+ - lib/greenwich/extensions/time_zone.rb
197
198
  - lib/greenwich/time_zone.rb
198
199
  - lib/greenwich/utilities.rb
199
200
  - lib/greenwich/version.rb