applicious_utils 0.1.19 → 0.1.20
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.
@@ -6,18 +6,18 @@ class AppliciousCore
|
|
6
6
|
|
7
7
|
constructor: () ->
|
8
8
|
if root.DEBUG
|
9
|
-
@
|
9
|
+
@DEBUG_FLAG = true
|
10
10
|
else
|
11
|
-
@
|
12
|
-
@log "Applicious [Core] Loaded"
|
11
|
+
@DEBUG_FLAG = false
|
12
|
+
@log "Applicious [Core] Loaded :: Debug ", @DEBUG_FLAG
|
13
13
|
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
setDebug: (flag) ->
|
16
|
+
@DEBUG_FLAG = flag
|
17
17
|
|
18
18
|
|
19
19
|
getDebug: ->
|
20
|
-
|
20
|
+
@DEBUG_FLAG
|
21
21
|
|
22
22
|
|
23
23
|
log: (debug_data...) ->
|
@@ -1,18 +1,18 @@
|
|
1
1
|
#= require ./applicious_class.js.coffee
|
2
2
|
|
3
3
|
class AppliciousFacebook extends AppliciousCore
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
FB_APP_ID: ''
|
5
|
+
FB_UID: ''
|
6
|
+
FB_SESSION: ''
|
7
|
+
FB_STATUS: ''
|
8
8
|
|
9
9
|
constructor: ->
|
10
10
|
AP.log 'Applicious [AP::FB] Loaded'
|
11
11
|
|
12
12
|
|
13
|
-
init: (
|
14
|
-
|
15
|
-
|
13
|
+
init: (APP_ID) ->
|
14
|
+
@FB_APP_ID = APP_ID
|
15
|
+
AP.log 'Initialised [AP::FB]', @FB_APP_ID
|
16
16
|
|
17
17
|
login: (permissions = '', callback) ->
|
18
18
|
responseHandler = (response) ->
|
data/applicious_utils.gemspec
CHANGED
@@ -18,7 +18,9 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.files = Dir['**/*'].reject {|fn| File.directory?(fn) }
|
19
19
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
20
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
|
-
s.require_paths = ["lib"]
|
22
|
-
s.add_dependency("koala", "~> 1.1.0rc2") # 1.1 release candidate
|
23
|
-
|
21
|
+
s.require_paths = ["lib"]
|
24
22
|
end
|
23
|
+
|
24
|
+
# Usage
|
25
|
+
# $ gem build applicious_utils.gemspec
|
26
|
+
# $ gem push applicious_utils
|
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.
|
4
|
+
version: 0.1.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-06-
|
13
|
-
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: koala
|
16
|
-
requirement: &2152427840 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.1.0rc2
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *2152427840
|
12
|
+
date: 2011-06-29 00:00:00.000000000Z
|
13
|
+
dependencies: []
|
25
14
|
description: Helper JS & Ruby Functions
|
26
15
|
email:
|
27
16
|
- mail@appliciousagency.com
|