bootswatch_rails 3.2.0.39 → 3.2.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41ff931aa470b93f173f9c05cc72a3fa1979df9a
4
- data.tar.gz: 4e96ab7e3889b5bc6c327310ce8f4cca0fe7d4e2
3
+ metadata.gz: ee489765557f6fcd4428e997e0a9a78eb408a997
4
+ data.tar.gz: 7ef5ee27e7329d7ff080a3ba14352da39baa1077
5
5
  SHA512:
6
- metadata.gz: 29ea5962d86598f55cecfd1a9bd55a70034e738ce8a147bacda615649d4c7cd6cbb79bb3a31d3fa31916dc5d0ba450f48987a3d68847c681ad341760aa084430
7
- data.tar.gz: 7b430a9e29c7d34d7f83f7503e7af281acd03440c0fcfd50865138918003c39bcef6e3e66f0abbffc340ff94c7ac9cc35a5f35144562b66d5155dae001276e7b
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.39"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.39
4
+ version: 3.2.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand