bootswatch_rails 3.3.7.3 → 3.3.7.4

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: a6477104b44dc5aa18a5983fcc1fbbe0dbd4628e
4
- data.tar.gz: 31ef513c9c95c2fbf7d7fd9e9bede5d2c0b5c93e
3
+ metadata.gz: b4b572743a1d4a3d24feb82b9ead77e2f529f9bf
4
+ data.tar.gz: 7d52efecdd75bef25cc5b58bbd79a3d858cf3146
5
5
  SHA512:
6
- metadata.gz: 8607783eab538f7decf44868980d4f93235a0666463a0fc20707076bfe742f008585d2285406d942caaff672f6a8b0cdf5f3d15e579aa530e0eb688bf68ed1aa
7
- data.tar.gz: 14cf4ead90c0c16c9123dfbc89c74317268b1b9f48ec5969806c9df1687f144042f57c65c93b53d4af628ef8f0578073fd3733d64cdfe9fec316448d00458db1
6
+ metadata.gz: 8133266cf893a0136cbe64349c249634cace36110b2439cbc3704660f8813064cdf49a49d33ca80a2936d929c583015f83aa8042d0f5dbd448461c8b48392d07
7
+ data.tar.gz: 84ae085f1c1f5924d08ecf35e2869457e937741c8dbd106494c1d687b602f7eb10dbf38bf7a3e3bf175337a60a3010a05969506e0c1a8442fdce7a54fb01826f
@@ -4,7 +4,7 @@ module BootswatchRails
4
4
  FONT_AWESOME = "4.6.2"
5
5
  DATATABLES = "1.10.12"
6
6
  RESPONSIVE = "2.1.0"
7
- VERSION = "3.3.7.3"
7
+ VERSION = "3.3.7.4"
8
8
 
9
9
  THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
10
10
  DEFAULT = 0
@@ -22,7 +22,6 @@ module BootswatchRails
22
22
  file = "app/controllers/application_controller.rb"
23
23
  inject_into_file file, "\n\n private", after: /protect_from_forgery.*$/
24
24
 
25
- xline = " ?@current_theme = current_user.theme if #{auth_check}"
26
25
  lines = [
27
26
  "",
28
27
  " def default_theme",
@@ -31,8 +30,7 @@ module BootswatchRails
31
30
  " helper_method :default_theme",
32
31
  "",
33
32
  " def current_theme",
34
- " !@current_theme = current_user.theme if #{auth_check}",
35
- xline,
33
+ " @current_theme = current_user.theme if #{auth_check}",
36
34
  " @current_theme ||= default_theme",
37
35
  " end",
38
36
  " helper_method :current_theme",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7.3
4
+ version: 3.3.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand