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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b839e901bfcfeecae3425474cd97787fd9bd5f7f
|
4
|
+
data.tar.gz: e8da464d816a5e6a4a61e026344342b5b104d9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
"
|
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$/
|