bootswatch_rails 3.2.0.42 → 3.2.0.43
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: 17c04c6d5d38256f8b147ba8a594f005ffa9675e
|
4
|
+
data.tar.gz: cee591c5b6b1506bdb5e48497a4829fee86b08d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3001fc7b7b1e3359cf47c40b97e62ad36682d1e237e66fc30d0f74aca10e27aa64508e73e4a58a9fcb93acd168e72c98733e3889d5116b1b085be14048062f4
|
7
|
+
data.tar.gz: 7f53cb1906d49693470dedfd663fc86eb9d99e0ac3c51cd10421f6f26f4162ad23184428c989f3d793480bf78535e5be5fea8fdde1e6b4260e6733fc5e5d51c3
|
@@ -1,8 +1,8 @@
|
|
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.43"
|
5
5
|
|
6
6
|
THEMES = [:amelia, :cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
|
7
|
-
DEFAULT =
|
7
|
+
DEFAULT = 1
|
8
8
|
end
|
@@ -6,6 +6,10 @@ class <%= class_name %> < ActiveRecord::Base
|
|
6
6
|
validates :password, confirmation: true
|
7
7
|
validates :password_confirmation, presence: true, on: :create
|
8
8
|
|
9
|
+
default_scope { order(:name) }
|
10
|
+
scope :active, -> { where(active: true) }
|
11
|
+
scope :sysadms, -> { where(sysadm: true) }
|
12
|
+
|
9
13
|
<%- if options.authorization? -%>
|
10
14
|
has_many :assignments
|
11
15
|
has_many :roles, through: :assignments
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootswatch_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.0.
|
4
|
+
version: 3.2.0.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volker Wiegand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|