bootswatch_rails 3.2.0.40 → 3.2.0.41

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: ee489765557f6fcd4428e997e0a9a78eb408a997
4
- data.tar.gz: 7ef5ee27e7329d7ff080a3ba14352da39baa1077
3
+ metadata.gz: b839e901bfcfeecae3425474cd97787fd9bd5f7f
4
+ data.tar.gz: e8da464d816a5e6a4a61e026344342b5b104d9fe
5
5
  SHA512:
6
- metadata.gz: a4d436b95aa2f92b2fffe1d8a8e704ebea27b9dcce1aa401b497b323c8a1e9a429c2540dd4fd0b0b373693c624ec7139271e8f3f2e58316a71d5f4dd86edbf9d
7
- data.tar.gz: 40f2baf835ecff83b1ae30c614868d54b80f7c5dbf42758bd75f33ced9c4cc697f5ab1d5ae488996ab719fdc0350d4edb7dc2bfc12c406471420adc3615b665e
6
+ metadata.gz: 25b73ff09c3c6c65b5d28f5f2a785820bed83b81ba2a0783638c6f2ec07d1d538d37a4b3e79d9f8a2e806edb7d0c03be9033547dbf98c59deb28f995b12246fc
7
+ data.tar.gz: 398e410778ea994406d29eaef6b7c8f351f2a5bfaa361377e136f60241ee78cd8889c4d367792411757327cb0ffca28076744de1b9c674445ac5351c89ae8b88
@@ -1,7 +1,7 @@
1
1
  module BootswatchRails
2
2
  BOOTSTRAP = "3.2.0"
3
3
  FONT_AWESOME = "4.2.0"
4
- VERSION = "3.2.0.40"
4
+ VERSION = "3.2.0.41"
5
5
 
6
6
  THEMES = [:amelia, :cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
7
7
  DEFAULT = 1
@@ -141,8 +141,9 @@ module BootswatchRails
141
141
  " end",
142
142
  "",
143
143
  " def current_sysadm?",
144
- " current_user and current_user.sysadm",
144
+ " current_#{name}.present? and current_#{name}.sysadm",
145
145
  " end",
146
+ " helper_method :current_sysadm?",
146
147
  ""
147
148
  ]
148
149
  inject_into_file file, lines.join("\n"), before: /^end$/
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.2.0.40
4
+ version: 3.2.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand