applicious_utils 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ class AppliciousCore
9
9
  @debug true
10
10
  else
11
11
  @debug false
12
- @log "Applicious [Core] Loaded"
12
+ AP.log "Applicious [Core] Loaded"
13
13
 
14
14
 
15
15
  debug: (flag) ->
@@ -7,11 +7,11 @@ class AppliciousFacebook extends AppliciousCore
7
7
  @FB_STATUS
8
8
 
9
9
  constructor: ->
10
- @log 'Applicious [AP::FB] Loaded'
10
+ AP.log 'Applicious [AP::FB] Loaded'
11
11
 
12
12
 
13
13
  init: (@APP_ID) ->
14
- @log 'Initialised [AP::FB]', @APP_ID
14
+ AP.log 'Initialised [AP::FB]', @APP_ID
15
15
 
16
16
 
17
17
  login: (permissions = '', callback) ->
@@ -22,21 +22,21 @@ class AppliciousFacebook extends AppliciousCore
22
22
  @FB_SESSION = response.session
23
23
  @FB_UID = response.session.uid
24
24
  catch error
25
- @log 'Error', error
25
+ AP.log 'Error', error
26
26
 
27
27
  if response.session
28
28
  if permissions && permissions != ''
29
29
  if permissions == response.perms
30
- @log 'Login accepted - Permissions Accepted', response
30
+ AP.log 'Login accepted - Permissions Accepted', response
31
31
  callback true, response
32
32
  else
33
- @log 'Login rejected - Permissions Rejected', response
33
+ AP.log 'Login rejected - Permissions Rejected', response
34
34
  callback false, response
35
35
  else
36
- @log 'Login accepted - No Permissions', response
36
+ AP.log 'Login accepted - No Permissions', response
37
37
  callback true, response
38
38
  else
39
- @log 'Login rejected', response
39
+ AP.log 'Login rejected', response
40
40
  callback false, response
41
41
  return
42
42
 
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: applicious_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: