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: 14b1b45771ebb2f6124ef023e4ee628a36d787b7
4
- data.tar.gz: 789a73a97d0dc42cd381e6cde49fe477f49f8c8a
3
+ metadata.gz: 17c04c6d5d38256f8b147ba8a594f005ffa9675e
4
+ data.tar.gz: cee591c5b6b1506bdb5e48497a4829fee86b08d0
5
5
  SHA512:
6
- metadata.gz: 31d9b1a89b9b72b5a5f907ab50eaad530a377e6373a616b8a5dc260b1dc9e5d61b4b11230d947114c0190201a982d08f97a0ea9ec9bd364f65aaa95bea6c2590
7
- data.tar.gz: f539f69b486229a0ea23a177eefa0c5a0760a916873ba8bbd8ea574a5d881c0e09c9be9daf43e6a1c09ae633e80d233422e022f662e2681c56fd0f9e1d6d3412
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.42"
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 = 2
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.42
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-29 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties