wiser_timezone 0.1.7 → 0.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f450eb53067e34f7c3e7919619e8934cb01ec74
4
- data.tar.gz: 66816706dfb06e8329e4c0407afa209bde97c85f
3
+ metadata.gz: f70f5d7af5fac42f8943650f3d26010f56e5c5f4
4
+ data.tar.gz: 7d36ada228a43f2f9c137bc7f09e629aae8990a6
5
5
  SHA512:
6
- metadata.gz: d55545b46ac756dd9b7363342b2f714d07a274305e5a7af97c07dad664e0744ed4c8999b97008d4e24af7454375a16b4989fc441aaf1d225241a96312cd1557c
7
- data.tar.gz: 8eee3ec7e982aec385eaa49dcb6f1969bf3484ad96fa2ad0c5f4de7b2c31af6e2b51551bd82fe6c1cb11a2f4822c93214728b89355328607b4a2c332f0ceddc5
6
+ metadata.gz: 826e3a045ceefd4decf6de115be3744c94ef8c3a2c8fa56b4083a7faf36cecdd12b4ab25dcb24ad95697c2f0938156abee00e8f67ec0c0bc95e37ad5f1a52c3f
7
+ data.tar.gz: b515d050cef97ec817c842e3385c25e94c7d2a425b4cd307633a33f3d00d8357a73bf77945913d3e1396a3ccc07356271e62733325d18057bf1bbf2908630254
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.6'
19
+ gem 'wiser_timezone', '~> 0.1.8'
20
20
 
21
21
  Be sure to restart your application if it is already running.
22
22
 
@@ -52,7 +52,7 @@ module WiserTimezone
52
52
  auto_set_all = true
53
53
  else
54
54
  auto_set_all = false
55
- auto_set_guest = options[:auto_set_guest].present? && options[:auto_set_guest] && !current_user.present?
55
+ auto_set_guest = options[:auto_set_guest].present? && options[:auto_set_guest]
56
56
  end
57
57
 
58
58
  set_link = link_to('click here', set_timezone_path, :id => 'wiser_timezone_link')
@@ -10,7 +10,7 @@ module WiserTimezone
10
10
  argument :name, :type => :string, :default => 'add_wiser_timezone_field'
11
11
  # Create migration in project's folder
12
12
  def generate_files
13
- migration_template 'migration.rb', "db/migrate/#{name}"
13
+ migration_template 'migration.rb', "db/migrate/#{name}.rb"
14
14
  end
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module WiserTimezone
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
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.7
4
+ version: 0.1.8
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-09-12 00:00:00.000000000 Z
11
+ date: 2014-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler