bootswatch_rails 3.3.1.0 → 3.3.1.1
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: 671aa6de067c9920b85342dba87cbd667c1775b9
|
4
|
+
data.tar.gz: dbfab3e4d6add9202f376271dd351e61716048a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4569fd996eac9bfde7534ae9ff23444a1a8d861623a3ea806831d13933a23d8255256ec01422905ac8bf43dfad9f28547ac0afd8c2f25f1ef0ee0cbb2702f908
|
7
|
+
data.tar.gz: 1b8c93c1f25844607394774b906435650d36f5802b474653764a26ff04b2b5b1b31a1491e8bf7245d5e909a49051f193eda2c1ce5d566a4d50c8b99fcdf4ac46
|
@@ -2,7 +2,7 @@ module BootswatchRails
|
|
2
2
|
BOOTSTRAP = "3.3.1"
|
3
3
|
BOOTSWATCH = "3.3.1"
|
4
4
|
FONT_AWESOME = "4.2.0"
|
5
|
-
VERSION = "3.3.1.
|
5
|
+
VERSION = "3.3.1.1"
|
6
6
|
|
7
7
|
THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
|
8
8
|
DEFAULT = 0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class <%= class_name %> < ActiveRecord::Base
|
2
2
|
authenticates_with_sorcery!
|
3
|
-
validates :email, presence: true, uniqueness:
|
3
|
+
validates :email, presence: true, uniqueness: { case_sensitive: false }
|
4
4
|
validates :password, presence: true, on: :create
|
5
5
|
validates :password, length: { minimum: 6 }, unless: Proc.new { |a| a.password.blank? }
|
6
6
|
validates :password, confirmation: true
|
@@ -10,7 +10,7 @@ class <%= class_name %> < ActiveRecord::Base
|
|
10
10
|
<%- end -%>
|
11
11
|
|
12
12
|
default_scope { order(:name) }
|
13
|
-
scope :active,
|
13
|
+
scope :active, -> { where(active: true) }
|
14
14
|
scope :sysadms, -> { where(sysadm: true) }
|
15
15
|
|
16
16
|
<%- if options.picture? -%>
|
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.3.1.
|
4
|
+
version: 3.3.1.1
|
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-11-
|
11
|
+
date: 2014-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|