krl 0.2.4 → 0.2.5

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.
Files changed (3) hide show
  1. data/bin/krl-connect +2 -2
  2. data/lib/user.rb +2 -2
  3. metadata +3 -3
@@ -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://amapi.kynetx.com"
55
- KynetxAmApi::Oauth.accounts_server_url = "https://accounts.kynetx.com"
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)
@@ -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://amapi.kynetx.com"
10
- KynetxAmApi::Oauth.accounts_server_url = "https://accounts.kynetx.com"
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Farmer, Cid Dennis