browser-timezone-rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/browser-timezone-rails.rb +3 -1
- data/lib/browser-timezone-rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f33c9dca578ddcf79bba118a40f9edb8ca40cae23849bd20c49a0a6f6b632c68
|
4
|
+
data.tar.gz: e02f1a50ae2ce9e64e7e808e211298ddc24e83557e47563bd4495b71c3bbdcd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb319b5db5029d0ccf38760aaacbef7c1f38ad0d15fa9208fc9c85bc5610a2032ce57fb79353d1b094ea94c19613c899f085c178b3fbc9ed0b5bdc90b2996275
|
7
|
+
data.tar.gz: db1996c089653809403cdf593902458eb6c25e3f2e40132cb225bf447f31680a650939c005d7b58f5a705acb79508f52e97c04a221e83cdfc390c5850b20f882
|
@@ -23,7 +23,9 @@ module BrowserTimezoneRails
|
|
23
23
|
class Railtie < Rails::Engine
|
24
24
|
initializer "browser_timezone_rails.controller" do
|
25
25
|
ActiveSupport.on_load(:action_controller) do
|
26
|
-
|
26
|
+
if self == ActionController::Base
|
27
|
+
include BrowserTimezoneRails::TimezoneControllerSetup
|
28
|
+
end
|
27
29
|
end
|
28
30
|
end
|
29
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browser-timezone-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kbaum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.7.6
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Sets the browser timezone within rails
|