wiser_timezone 0.1.9 → 0.2.0

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
2
  SHA1:
3
- metadata.gz: 0a8d9ac693edd3a2bbbdb49d2bd46c4056f5fe06
4
- data.tar.gz: 8c4ae7a3c1e30732154c820c63fc2440bdcc3539
3
+ metadata.gz: 7c64706af35f66bde42d5d584904dee593fec102
4
+ data.tar.gz: 40c6ca93f3fd9ac3e3c1771fdb3cd85334b0a44b
5
5
  SHA512:
6
- metadata.gz: 81903cdc97b5cffc9d0b23ad73c0b765566827afac1a6239b7f66224633dbdfca4a0fe80bf4477665ee686b35201f105c10cc4ece134bf8c43401fc5fedc053c
7
- data.tar.gz: ab80b6ac327d835cb280a7438e96f843353804b693274dc7dbc7d87034d605559b79efa643114cfbf9816930a88ee89a912cf080a4d13cd158168cc1794cb380
6
+ metadata.gz: 711996af4ef5458fa7b6d775e09e72c23e07e3c81cd3459295db4e68490d44edd2efa09f52caa3926d97f4fdb28f76c5dcf42cc6eee2fa58fb45e7609072a069
7
+ data.tar.gz: fde8e048f6dfa29919b63287f767bba29cbfd0048f04997b96d160e39222087ec9eeae822e028993c18169715771d445af18476f87f7135c221352344a6b04df
data/README.md CHANGED
@@ -16,7 +16,7 @@ You can do normal gem installation for `wiser_timezone` from your terminal:
16
16
 
17
17
  or add this line in your Gemfile:
18
18
 
19
- gem 'wiser_timezone', '~> 0.1.8'
19
+ gem 'wiser_timezone', '~> 0.1.9'
20
20
 
21
21
  Be sure to restart your application if it is already running.
22
22
 
@@ -26,7 +26,11 @@ module WiserTimezone
26
26
  end
27
27
  end
28
28
  end
29
- redirect_to :back
29
+ if request.env["HTTP_REFERER"].present?
30
+ redirect_to :back
31
+ else
32
+ redirect_to root_path
33
+ end
30
34
  end
31
35
  end
32
36
  end
@@ -1,3 +1,3 @@
1
1
  module WiserTimezone
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wiser_timezone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth John Balgos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-25 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler