krl 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/krl-connect +3 -2
  2. metadata +2 -2
data/bin/krl-connect CHANGED
@@ -5,14 +5,15 @@ require "sinatra/base"
5
5
  require "yaml"
6
6
  require "kynetx_am_api"
7
7
 
8
-
8
+ CONFIG_FILE = ENV["HOME"] + "/.krl/credentials.yml"
9
9
  class KRLConnect < Sinatra::Base
10
10
  set :environment, :production
11
11
  set :sessions, :false
12
12
  set :logging, :false
13
13
  set :port, 3009
14
+ set :views, Proc.new { File.join(File.dirname(__FILE__), "views") }
14
15
 
15
- CONFIG_FILE = ENV["HOME"] + "/.krl/credentials.yml"
16
+
16
17
 
17
18
  puts "#{"\n"*10}Go to the following url to authorize. Press ctrl+c when finished.\n http://localhost:3009#{"\n"*10}"
18
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Farmer, Cid Dennis