krl 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/krl-connect +2 -2
- data/lib/user.rb +2 -2
- metadata +3 -3
data/bin/krl-connect
CHANGED
@@ -51,8 +51,8 @@ class KRLConnect < Sinatra::Base
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def setup_api(opts={})
|
54
|
-
KynetxAmApi::Oauth.api_server_url = "http://
|
55
|
-
KynetxAmApi::Oauth.accounts_server_url = "https://
|
54
|
+
KynetxAmApi::Oauth.api_server_url = "http://apps.kynetx.com"
|
55
|
+
KynetxAmApi::Oauth.accounts_server_url = "https://apps.kynetx.com"
|
56
56
|
KynetxAmApi::Oauth.consumer_key = "1j54YDLUcLW9ERBKalNm"
|
57
57
|
KynetxAmApi::Oauth.consumer_secret = "QiWCbvTpCAejoceV3f6dD8ycifEkSumFAW1VSmwC"
|
58
58
|
return KynetxAmApi::DirectApi.new(opts)
|
data/lib/user.rb
CHANGED
@@ -6,8 +6,8 @@ module KRL_CMD
|
|
6
6
|
class User < KynetxAmApi::User
|
7
7
|
|
8
8
|
def initialize(opts={})
|
9
|
-
KynetxAmApi::Oauth.api_server_url = "http://
|
10
|
-
KynetxAmApi::Oauth.accounts_server_url = "https://
|
9
|
+
KynetxAmApi::Oauth.api_server_url = "http://apps.kynetx.com"
|
10
|
+
KynetxAmApi::Oauth.accounts_server_url = "https://apps.kynetx.com"
|
11
11
|
KynetxAmApi::Oauth.consumer_key = "1j54YDLUcLW9ERBKalNm"
|
12
12
|
KynetxAmApi::Oauth.consumer_secret = "QiWCbvTpCAejoceV3f6dD8ycifEkSumFAW1VSmwC"
|
13
13
|
raise "Unable to authenticate. You need to run krl-connect." unless File.exists? CONFIG_FILE
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: krl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Farmer, Cid Dennis
|