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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: da26b1bc32199b5ba9948c66d0a7117c7e927e1f
4
- data.tar.gz: c1b8f554817d2065be124aedc069a9cf6ad70d69
2
+ SHA256:
3
+ metadata.gz: f33c9dca578ddcf79bba118a40f9edb8ca40cae23849bd20c49a0a6f6b632c68
4
+ data.tar.gz: e02f1a50ae2ce9e64e7e808e211298ddc24e83557e47563bd4495b71c3bbdcd3
5
5
  SHA512:
6
- metadata.gz: 181eb65d9f7ea964ea31cf05fc3e2bdf488c99b45ea95c2cc9eadf922fa5f2a02fe7a601dddec98beb162f8aa593a07261c28d5a601d32dc7c8e13e5de2a6afa
7
- data.tar.gz: a9fc8e7bdb8ea2e16a34b24fb6cf4cc317f004316ed67e2dfd96993f4f26e5facd03b44dd407928e7d724b8ac31023c7640113a0ce063dec7825a911595149f3
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
- include BrowserTimezoneRails::TimezoneControllerSetup
26
+ if self == ActionController::Base
27
+ include BrowserTimezoneRails::TimezoneControllerSetup
28
+ end
27
29
  end
28
30
  end
29
31
  end
@@ -1,3 +1,3 @@
1
1
  module BrowserTimezoneRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  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.1
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: 2016-08-23 00:00:00.000000000 Z
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.4.8
146
+ rubygems_version: 2.7.6
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Sets the browser timezone within rails