authenticates_rpi 0.0.1 → 0.0.2
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.
- data/VERSION +1 -1
- data/authenticates_rpi.gemspec +1 -1
- data/lib/authenticates_rpi.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
data/authenticates_rpi.gemspec
CHANGED
data/lib/authenticates_rpi.rb
CHANGED
|
@@ -157,8 +157,8 @@ module AuthenticatesRpi
|
|
|
157
157
|
|
|
158
158
|
# Preparation for authenticates_access plugin
|
|
159
159
|
def set_up_accessor
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
#TODO: is this good enought of a check?
|
|
161
|
+
if (Module.constants.include? 'AuthenticatesAccess'
|
|
162
162
|
ActiveRecord::Base.accessor = current_user
|
|
163
163
|
end
|
|
164
164
|
end
|