bootswatch_rails 3.2.0.39 → 3.2.0.40
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: ee489765557f6fcd4428e997e0a9a78eb408a997
|
4
|
+
data.tar.gz: 7ef5ee27e7329d7ff080a3ba14352da39baa1077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d436b95aa2f92b2fffe1d8a8e704ebea27b9dcce1aa401b497b323c8a1e9a429c2540dd4fd0b0b373693c624ec7139271e8f3f2e58316a71d5f4dd86edbf9d
|
7
|
+
data.tar.gz: 40f2baf835ecff83b1ae30c614868d54b80f7c5dbf42758bd75f33ced9c4cc697f5ab1d5ae488996ab719fdc0350d4edb7dc2bfc12c406471420adc3615b665e
|
@@ -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.40"
|
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
|
@@ -6,10 +6,12 @@ class <%= class_name %> < ActiveRecord::Base
|
|
6
6
|
validates :password, confirmation: true
|
7
7
|
validates :password_confirmation, presence: true, on: :create
|
8
8
|
|
9
|
+
<%- if options.authorization? -%>
|
9
10
|
has_many :assignments
|
10
11
|
has_many :roles, through: :assignments
|
11
12
|
has_many :abilities, through: :roles
|
12
13
|
|
14
|
+
<%- end -%>
|
13
15
|
<%- if options.picture? -%>
|
14
16
|
mount_uploader :picture, PictureUploader
|
15
17
|
|