sharkapps 0.1.10 → 0.1.11
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/lib/sharkapps.rb +3 -1
- data/sharkapps.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.11
|
data/lib/sharkapps.rb
CHANGED
|
@@ -113,7 +113,9 @@ module SharkApps
|
|
|
113
113
|
sym = ("auth_admin_" + @account.fbid + "_" + current_facebook_user.id.to_s).to_sym
|
|
114
114
|
puts "symbol: #{sym}"
|
|
115
115
|
puts "symbol value: #{session[sym]}"
|
|
116
|
-
|
|
116
|
+
puts "symbol checking for false: #{session[sym] == false}"
|
|
117
|
+
need_check = (session[sym].nil? or session[sym] == false)
|
|
118
|
+
puts "need check: = #{need_check}"
|
|
117
119
|
if need_check #need_check
|
|
118
120
|
session[sym] = AppformaAccount.check_admin_authorized(@account, current_facebook_user.id)
|
|
119
121
|
end
|
data/sharkapps.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sharkapps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
9
|
+
- 11
|
|
10
10
|
segments_generated: true
|
|
11
|
-
version: 0.1.
|
|
11
|
+
version: 0.1.11
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Eyal Kedem
|