1
0
Fork 0

Vk accounts YAML file fix

This commit is contained in:
magnolia-fan 2011-04-09 03:13:28 +04:00
parent 253b732643
commit 9cbc3d1400
3 changed files with 40 additions and 43 deletions

View File

@ -2,7 +2,7 @@ class TrackController < ApplicationController
require 'net/http' require 'net/http'
require 'uri' require 'uri'
def listen def listen
pp VK_ACCOUNTS
end end
private private

View File

@ -0,0 +1 @@
VK_ACCOUNTS = YAML.load_file("#{RAILS_ROOT}/config/vk_accounts.yml")[RAILS_ENV]

View File

@ -26,16 +26,12 @@ Schubert: # Chez
Vivaldi: # Flint Vivaldi: # Flint
user_id: 382067 user_id: 382067
email:
password:
remixsid: 9afa6f2e6d352b01d1a3742b2c0f6c09dbefe2158f3dcb61d30fe438dbc2 remixsid: 9afa6f2e6d352b01d1a3742b2c0f6c09dbefe2158f3dcb61d30fe438dbc2
remixchk: 5 remixchk: 5
user_agent: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16" user_agent: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16"
Prokofiev: # Daddy Prokofiev: # Daddy
user_id: 24538630 user_id:24538630
email:
password:
remixsid: 832fae47c8dfc8df66551b8c72927ca26f6ee49f5754b24e9a9a317805c5 remixsid: 832fae47c8dfc8df66551b8c72927ca26f6ee49f5754b24e9a9a317805c5
remixchk: 5 remixchk: 5
user_agent: "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; WebMoney Advisor; GTB6.3; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)" user_agent: "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; WebMoney Advisor; GTB6.3; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"