insight_rails 0.1.3 → 0.1.4
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/app/controllers/insight_controller.rb +0 -29
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.4
|
|
@@ -1,32 +1,3 @@
|
|
|
1
1
|
class InsightController < ApplicationController
|
|
2
2
|
|
|
3
|
-
# before_filter :login_required
|
|
4
|
-
#
|
|
5
|
-
# def current_user
|
|
6
|
-
# @insight_user ||= login_from_multipass
|
|
7
|
-
# end
|
|
8
|
-
#
|
|
9
|
-
# def current_user=(multipass)
|
|
10
|
-
# session[:multipass] = multipass
|
|
11
|
-
# @insight_user = login_from_multipass
|
|
12
|
-
# end
|
|
13
|
-
#
|
|
14
|
-
# def authorized?
|
|
15
|
-
# logged_in?
|
|
16
|
-
# end
|
|
17
|
-
#
|
|
18
|
-
# def logged_in?
|
|
19
|
-
# !!current_user
|
|
20
|
-
# end
|
|
21
|
-
#
|
|
22
|
-
# protected
|
|
23
|
-
#
|
|
24
|
-
# def login_required
|
|
25
|
-
# authorized?
|
|
26
|
-
# end
|
|
27
|
-
#
|
|
28
|
-
# def login_from_multipass
|
|
29
|
-
# session[:multipass].nil? ? nil : InsightUser.new(session[:multipass])
|
|
30
|
-
# end
|
|
31
|
-
|
|
32
3
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: insight_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Kieran Johnson
|