caboose-cms 0.1.91 → 0.1.92

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.
@@ -51,7 +51,7 @@ class Caboose::Role < ActiveRecord::Base
51
51
  def is_ancestor_of?(role)
52
52
  if (role.is_a?(Integer) || role.is_a?(String))
53
53
  role_id = role.to_i
54
- return false if role_id = -1
54
+ return false if role_id == -1
55
55
  role = Caboose::Role.find(role)
56
56
  end
57
57
  return false if role.parent_id == -1
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.1.91'
2
+ VERSION = '0.1.92'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.91
4
+ version: 0.1.92
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: