angel_list 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/angel_list/version.rb +1 -1
- data/lib/angel_list.rb +1 -1
- metadata +1 -1
data/lib/angel_list/version.rb
CHANGED
data/lib/angel_list.rb
CHANGED
@@ -21,7 +21,7 @@ require 'angel_list/tag'
|
|
21
21
|
require 'angel_list/response'
|
22
22
|
|
23
23
|
if File.exists?('config/angel_list.yml')
|
24
|
-
oauth_config = YAML.load_file('config/
|
24
|
+
oauth_config = YAML.load_file('config/angel_list.yml')[ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"]
|
25
25
|
puts oauth_config.inspect
|
26
26
|
AngelList::Config.options = oauth_config
|
27
27
|
|