rails_client_timezone 0.7.0 → 0.9.0

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.
@@ -0,0 +1,5 @@
1
+ require 'rails_client_timezone/version'
2
+ require 'rails_client_timezone/filter'
3
+ require 'rails_client_timezone/setting'
4
+ require 'rails_client_timezone/active_support_ext'
5
+ require File.expand_path(File.join(File.dirname(__FILE__),'.','geoip.rb'))
@@ -3,8 +3,6 @@ module RailsClientTimezone
3
3
  class ActiveSupportExt
4
4
  TIMEZONE_MAPPING = {
5
5
  "Pacific/Midway"=>"International Date Line West",
6
- "Pacific/Midway"=>"Midway Island",
7
- "Pacific/Pago_Pago"=>"American Samoa",
8
6
  "Pacific/Honolulu"=>"Hawaii",
9
7
  "America/Juneau"=>"Alaska",
10
8
  "America/Los_Angeles"=>"Pacific Time (US & Canada)",
@@ -88,7 +86,6 @@ module RailsClientTimezone
88
86
  "Asia/Baghdad"=>"Baghdad",
89
87
  "Asia/Tehran"=>"Tehran",
90
88
  "Asia/Muscat"=>"Abu Dhabi",
91
- "Asia/Muscat"=>"Muscat",
92
89
  "Asia/Baku"=>"Baku",
93
90
  "Asia/Tbilisi"=>"Tbilisi",
94
91
  "Asia/Yerevan"=>"Yerevan",
@@ -147,7 +144,6 @@ module RailsClientTimezone
147
144
  "Asia/Kamchatka"=>"Kamchatka",
148
145
  "Pacific/Majuro"=>"Marshall Is.",
149
146
  "Pacific/Auckland"=>"Auckland",
150
- "Pacific/Auckland"=>"Wellington",
151
147
  "Pacific/Tongatapu"=>"Nuku'alofa",
152
148
  "Pacific/Fakaofo"=>"Tokelau Is.",
153
149
  "Pacific/Chatham"=>"Chatham Is.",
@@ -1,3 +1,3 @@
1
1
  module RailsClientTimezone
2
- VERSION = "0.7.0"
2
+ VERSION = "0.9.0"
3
3
  end
@@ -16,15 +16,26 @@ Gem::Specification.new do |s|
16
16
  s.files = %w[
17
17
  Gemfile
18
18
  README.md
19
+ LICENSE.md
19
20
  lib/rails_client_timezone/filter.rb
20
21
  lib/rails_client_timezone/version.rb
21
22
  lib/rails_client_timezone/setting.rb
22
23
  lib/rails_client_timezone/active_support_ext.rb
23
24
  lib/geoip.rb
25
+ lib/rails_client_timezone.rb
26
+ data/geoip/country_code.yml
27
+ data/geoip/country_code3.yml
28
+ data/geoip/country_continent.yml
29
+ data/geoip/country_name.yml
30
+ data/geoip/GeoLiteCity.dat
31
+ data/geoip/region.yml
32
+ data/geoip/time_zone.yml
33
+ assets/set_browser_offset_cookies_jquery.js
34
+ assets/set_browser_offset_cookies_prototype.js
24
35
  rails_client_timezone.gemspec
25
36
  ]
26
37
  s.require_paths = ["lib"]
27
38
 
28
39
  s.add_runtime_dependency "activesupport", '> 2'
29
40
  s.add_runtime_dependency "geoip", '1.6.1'
30
- end
41
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_client_timezone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udaya Kiran
@@ -47,8 +47,19 @@ extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - Gemfile
50
+ - LICENSE.md
50
51
  - README.md
52
+ - assets/set_browser_offset_cookies_jquery.js
53
+ - assets/set_browser_offset_cookies_prototype.js
54
+ - data/geoip/GeoLiteCity.dat
55
+ - data/geoip/country_code.yml
56
+ - data/geoip/country_code3.yml
57
+ - data/geoip/country_continent.yml
58
+ - data/geoip/country_name.yml
59
+ - data/geoip/region.yml
60
+ - data/geoip/time_zone.yml
51
61
  - lib/geoip.rb
62
+ - lib/rails_client_timezone.rb
52
63
  - lib/rails_client_timezone/active_support_ext.rb
53
64
  - lib/rails_client_timezone/filter.rb
54
65
  - lib/rails_client_timezone/setting.rb