hrt_bus 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "http://rubygems.org"
2
+
3
+ group :test do
4
+ gem 'vcr', :git => 'https://github.com/myronmarston/vcr.git', :tag => 'v2.0.0.rc2'
5
+ end
6
+
7
+ # Specify your gem's dependencies in hrt_bus.gemspec
8
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/hrt_bus.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "hrt_bus/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "hrt_bus"
7
+ s.version = HrtBus::VERSION
8
+ s.authors = ["Brian Douglas Smith"]
9
+ s.email = ["m.b1205@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{Ruby gem for public HRT bus location data}
12
+ s.description = %q{Ruby gem for public HRT bus location data}
13
+
14
+ s.rubyforge_project = "hrt_bus"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency "activemodel"
22
+ s.add_dependency "activesupport"
23
+ s.add_dependency "yajl-ruby"
24
+ s.add_dependency "curb"
25
+ s.add_dependency "googlestaticmap"
26
+ s.add_development_dependency "webmock"
27
+ s.add_development_dependency "rspec"
28
+ s.add_development_dependency "interactive_editor"
29
+ s.add_development_dependency "awesome_print"
30
+ s.add_development_dependency "shoulda"
31
+ s.add_development_dependency "factory_girl"
32
+ s.add_development_dependency "forgery"
33
+ end
@@ -0,0 +1,79 @@
1
+ module HrtBus
2
+ class Bus
3
+ include ActiveModel::Validations
4
+ include ActiveModel::Serializers::JSON
5
+
6
+ ATTRIBUTES = [ :id, :time, :lat, :lon, :route_id ]
7
+
8
+ attr_accessor *ATTRIBUTES
9
+
10
+ validates_numericality_of :route_id, greater_than: 0
11
+ validates_numericality_of :lat, greater_than: 0
12
+ validates_numericality_of :lon, less_than: 0
13
+
14
+ validates :time, :lat, :lon, :route_id, :presence => true
15
+
16
+ def initialize(attributes={})
17
+ self.attributes = attributes
18
+ end
19
+
20
+ def attributes
21
+ ATTRIBUTES.inject(ActiveSupport::HashWithIndifferentAccess.new) do |result, key|
22
+ result[key] = read_attribute_for_validation(key)
23
+ result
24
+ end
25
+ end
26
+
27
+ def attributes=(attrs)
28
+ attrs.each_pair do |k, v|
29
+ send("#{k}=", v)
30
+ end
31
+ end
32
+
33
+ def read_attribute_for_validation(key)
34
+ send(key)
35
+ end
36
+
37
+ def static_map
38
+ map = GoogleStaticMap.new(:width => 960, :height => 640)
39
+ map.markers << MapMarker.new(:color => "blue",
40
+ :location => MapLocation.new(:latitude => self.lat,
41
+ :longitude => self.lon))
42
+
43
+ map.get_map
44
+ end
45
+
46
+ def self.active_buses
47
+ buses = []
48
+ curl = ::Curl::Easy.perform(HrtBus::Config.buses_uri) do |c|
49
+ c.follow_location = true
50
+ end
51
+
52
+ unless curl.response_code == 226
53
+ raise curl.response_code
54
+ end
55
+
56
+ parsed = ::CSV.new(curl.body_str, { :headers => true })
57
+
58
+ parsed.each do |row|
59
+ time, date, id, lat_lon, valid, route_id = row[0],
60
+ row[1],
61
+ row[2],
62
+ row[3],
63
+ row[4],
64
+ row[7]
65
+
66
+ time = HrtBus::Parse.time([time, date].join(""))
67
+ lat, lon = HrtBus::Parse.geo(lat_lon)
68
+
69
+ if valid == "V"
70
+ buses << new(:id => id, :time => time, :route_id => route_id, :lat => lat, :lon => lon)
71
+ end
72
+ end
73
+ buses
74
+ end
75
+
76
+ end
77
+
78
+ end
79
+
@@ -0,0 +1,8 @@
1
+ class HrtBus::Config
2
+ class << self
3
+ attr_accessor :timeout, :buses_uri
4
+ end
5
+ def self.configure(&block)
6
+ yield self
7
+ end
8
+ end
@@ -0,0 +1,22 @@
1
+ module HrtBus
2
+
3
+ class Parse
4
+
5
+ def self.time(data)
6
+ DateTime.strptime(data, '%H:%M:%S %m/%d')
7
+ end
8
+
9
+ def self.geo(data)
10
+ return if data.nil?
11
+
12
+ lat, lon = data.split("/")
13
+ lat = lat.insert(2, ".")
14
+ lon = lon.insert(3, ".")
15
+
16
+ [lat, lon]
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
@@ -0,0 +1,3 @@
1
+ module HrtBus
2
+ VERSION = "0.0.1"
3
+ end
data/lib/hrt_bus.rb ADDED
@@ -0,0 +1,17 @@
1
+ require 'active_model'
2
+ require 'yajl/json_gem'
3
+ require 'active_support/core_ext/hash'
4
+ require 'active_support/core_ext/object'
5
+ require 'csv'
6
+ require 'curb'
7
+ require 'googlestaticmap'
8
+
9
+ require "hrt_bus/version"
10
+ require "hrt_bus/config"
11
+ require "hrt_bus/parse"
12
+ require "hrt_bus/bus"
13
+
14
+ HrtBus::Config.configure do |config|
15
+ config.buses_uri = "ftp://216.54.15.3/Anrd/hrtrtf.txt"
16
+ config.timeout = 10
17
+ end
data/spec/bus_spec.rb ADDED
File without changes
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ FactoryGirl.define do
4
+ factory :bus, :class => HrtBus::Bus do
5
+ time { Time.now }
6
+ lat { 36.8642501 }
7
+ lon { -76.2818951 }
8
+ route_id { SecureRandom.random_number(1e9.to_i) }
9
+ end
10
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe HrtBus::Bus do
4
+ it { should respond_to(:id) }
5
+ it { should respond_to(:route_id) }
6
+ it { should respond_to(:time) }
7
+ it { should respond_to(:lat) }
8
+ it { should respond_to(:lon) }
9
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+ require 'factories/bus'
3
+ require 'tempfile'
4
+
5
+ describe HrtBus::Bus do
6
+
7
+ describe "active_buses" do
8
+ use_vcr_cassette
9
+
10
+ context "when the server responds with 226" do
11
+ let(:buses) { HrtBus::Bus.active_buses }
12
+
13
+ it "should return a collection of buses" do
14
+ buses.should be_a_kind_of(Enumerable)
15
+ buses.first.should be_a_kind_of(HrtBus::Bus)
16
+ end
17
+
18
+ end
19
+
20
+ end
21
+
22
+ describe "static_map" do
23
+ use_vcr_cassette
24
+ let(:bus) { Factory.build(:bus) }
25
+
26
+ it "should return a string of bytes" do
27
+ bus.static_map.should be_a_kind_of(String)
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+ require 'factories/bus'
3
+
4
+ describe HrtBus::Bus do
5
+ describe "validations" do
6
+
7
+ let(:bus) { Factory.build(:bus) }
8
+
9
+ it "should validate_presence_of :time" do
10
+ bus.should be_valid
11
+ bus.time = nil
12
+ bus.should_not be_valid
13
+ bus.errors.messages[:time].first.should match(/can't be blank/)
14
+ end
15
+
16
+ it "should validate_presence_of :lat" do
17
+ bus.should be_valid
18
+ bus.lat = nil
19
+ bus.should_not be_valid
20
+ bus.errors.messages[:lat].first.should match(/is not a number/)
21
+ end
22
+
23
+ it "should validate_presence_of :lon" do
24
+ bus.should be_valid
25
+ bus.lon = nil
26
+ bus.should_not be_valid
27
+ bus.errors.messages[:lon].first.should match(/is not a number/)
28
+ end
29
+
30
+ it "should validate_presence_of :route_id" do
31
+ bus.should be_valid
32
+ bus.route_id = nil
33
+ bus.should_not be_valid
34
+ bus.errors.messages[:route_id].first.should match(/is not a number/)
35
+ end
36
+
37
+ end
38
+
39
+ end
@@ -0,0 +1,12 @@
1
+ require 'hrt_bus'
2
+ require 'factory_girl'
3
+ require 'ap'
4
+ require 'forgery'
5
+ require 'support/vcr_setup'
6
+ require 'tempfile'
7
+
8
+ RSpec.configure do |config|
9
+ config.treat_symbols_as_metadata_keys_with_true_values = true
10
+ config.run_all_when_everything_filtered = true
11
+ config.filter_run :focus
12
+ end
@@ -0,0 +1,13 @@
1
+ require 'vcr'
2
+
3
+ uri_without_auth_token = VCR.request_matchers.uri_without_param(:auth_token)
4
+
5
+ VCR.configure do |c|
6
+ c.cassette_library_dir = 'vcr_cassettes'
7
+ c.hook_into :webmock
8
+ c.default_cassette_options = { :match_requests_on => [:method, uri_without_auth_token] }
9
+ end
10
+
11
+ RSpec.configure do |c|
12
+ c.extend VCR::RSpec::Macros
13
+ end
@@ -0,0 +1,346 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://ftp//216.54.15.3/Anrd/hrtrtf.txt
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers: {}
10
+
11
+ response:
12
+ status:
13
+ code: 226
14
+ message:
15
+ headers:
16
+ 220 microsoft ftp service:
17
+ - ""
18
+ 331 anonymous access allowed, send identity (e-Mail name) as password.:
19
+ - ""
20
+ 230-Hampton roads transit:
21
+ - ""
22
+ 230 anonymous user logged in.:
23
+ - ""
24
+ 257 "/" is current directory.:
25
+ - ""
26
+ 250 cwd command successful.:
27
+ - ""
28
+ 500 'epsv':
29
+ - command not understood
30
+ 227 entering passive mode (216,54,15,3,8,108).:
31
+ - ""
32
+ 200 type set to i.:
33
+ - ""
34
+ 213 14690:
35
+ - ""
36
+ 125 data connection already open; transfer starting.:
37
+ - ""
38
+ 226 transfer complete.:
39
+ - ""
40
+ body:
41
+ encoding: ASCII-8BIT
42
+ string: |
43
+ Time,Date,RID,Lat/Lon,Location Valid/Invalid,Adherence,Adherence Valid/Invalid[,Route,Direction,StopID]
44
+ 21:15:00,03/01,2136,368641395/-762817038,V,0,I
45
+ 21:15:00,03/01,2308,368475701/-762882223,V,-3,V
46
+ 21:15:00,03/01,2056,370127871/-763640132,I,0,I
47
+ 21:15:00,03/01,2306,368901466/-762378662,V,-5,V
48
+ 21:15:01,03/01,3254,368641481/-762822916,V,0,I
49
+ 21:15:01,03/01,2131,368643578/-762815869,V,0,I
50
+ 21:15:02,03/01,3301,368641475/-762819840,V,0,I
51
+ 21:15:03,03/01,3515,370171588/-764364230,V,-8,V
52
+ 21:15:03,03/01,3415,368641338/-762823644,V,0,I
53
+ 21:15:04,03/01,3014,368641515/-762818803,V,0,I
54
+ 21:15:04,03/01,2228,368644030/-762815411,V,0,I
55
+ 21:15:05,03/01,2133,368641819/-762814293,V,0,I
56
+ 21:15:05,03/01,3259,368640186/-762821455,V,0,I
57
+ 21:15:06,03/01,2901,368642885/-762813371,V,0,I
58
+ 21:15:06,03/01,2227,368644025/-762817170,V,0,I
59
+ 21:15:06,03/01,3706,368489561/-762090545,V,0,I
60
+ 21:15:08,03/01,3707,368643956/-762825689,V,0,I
61
+ 21:15:09,03/01,3803,368455172/-761310359,V,-7,V
62
+ 21:15:09,03/01,2218,368639109/-762816029,V,0,I
63
+ 21:15:10,03/01,2102,368871300/-762951070,V,-5,V
64
+ 21:15:11,03/01,3005,368645406/-762813984,V,0,I
65
+ 21:15:11,03/01,2223,368537145/-762800342,V,0,I
66
+ 21:15:11,03/01,3901,369830666/-764350198,V,0,V,14,2,1332
67
+ 21:15:12,03/01,2113,368646328/-762815336,V,0,I
68
+ 21:15:12,03/01,3605,368588883/-762844081,V,10,V
69
+ 21:15:12,03/01,3904,370854863/-764977335,V,1,V
70
+ 21:15:13,03/01,2212,368641796/-762815892,V,0,I
71
+ 21:15:13,03/01,3506,368643710/-762822532,V,0,I
72
+ 21:15:13,03/01,3901,369833239/-764343827,V,0,V
73
+ 21:15:13,03/01,4003,368433360/-762909290,V,0,I
74
+ 21:15:13,03/01,2126,368640845/-762821255,V,0,I
75
+ 21:15:13,03/01,2238,370287165/-763594278,V,0,I
76
+ 21:15:14,03/01,3809,-912699/-1063185401,I,0,I
77
+ 21:15:14,03/01,3602,370128799/-763651677,V,0,I
78
+ 21:15:14,03/01,3016,368643475/-762817347,V,0,I
79
+ 21:15:14,03/01,3702,368544513/-762613821,V,0,V
80
+ 21:15:14,03/01,2239,369837215/-764350708,V,0,I
81
+ 21:15:14,03/01,2241,368641074/-759805583,V,-11,V
82
+ 21:15:15,03/01,3509,370127808/-763650823,V,0,I
83
+ 21:15:16,03/01,3710,368645411/-762829219,V,0,I
84
+ 21:15:16,03/01,3031,369440952/-763143738,V,-5,V
85
+ 21:15:16,03/01,3250,368644071/-762823157,V,0,I
86
+ 21:15:16,03/01,3508,371278003/-765356622,V,0,V,49,2,742
87
+ 21:15:16,03/01,3030,368642014/-762852200,V,0,I,60,1,104
88
+ 21:15:17,03/01,3209,370386968/-764012480,V,2,V
89
+ 21:15:17,03/01,2127,368643297/-762811543,V,0,I
90
+ 21:15:17,03/01,2207,368643423/-762811217,V,0,I
91
+ 21:15:17,03/01,3609,370128616/-763650634,V,0,I
92
+ 21:15:17,03/01,3241,369137989/-762459610,V,-5,V
93
+ 21:15:17,03/01,3202,370128260/-763650388,V,0,I
94
+ 21:15:18,03/01,3908,369836854/-764348353,V,-1,V
95
+ 21:15:18,03/01,3303,368641962/-762823163,V,0,I
96
+ 21:15:18,03/01,2219,368643652/-762817370,V,0,I
97
+ 21:15:18,03/01,3508,371275076/-765352674,V,0,V
98
+ 21:15:18,03/01,2224,368647113/-762837704,V,0,I
99
+ 21:15:19,03/01,3213,370427310/-763895350,V,0,V,8,2,1106
100
+ 21:15:19,03/01,3030,368648734/-762849129,V,0,I
101
+ 21:15:19,03/01,3902,371492473/-765049998,V,-5,V,30,1,1204
102
+ 21:15:19,03/01,3711,368643692/-762818487,V,0,I
103
+ 21:15:19,03/01,2231,370847804/-764983363,V,-1,V
104
+ 21:15:19,03/01,3263,368640593/-762815416,V,0,I
105
+ 21:15:19,03/01,3612,370128421/-763655355,V,0,I
106
+ 21:15:20,03/01,2213,368587164/-762844460,V,11,V
107
+ 21:15:20,03/01,3217,370125722/-763649889,V,0,I
108
+ 21:15:20,03/01,3613,371694326/-765632169,V,4,V
109
+ 21:15:21,03/01,3213,370424617/-763893786,V,0,V
110
+ 21:15:21,03/01,3902,371493756/-765049602,V,-1,V
111
+ 21:15:21,03/01,2129,367861502/-761062051,V,0,V
112
+ 21:15:22,03/01,2251,370305900/-763465236,V,0,V
113
+ 21:15:23,03/01,3701,368592653/-762844603,V,-1,V
114
+ 21:15:23,03/01,3009,368847144/-762815393,V,3,V
115
+ 21:15:24,03/01,2304,367972014/-762348324,V,-1,V
116
+ 21:15:24,03/01,3304,368642249/-762816408,V,0,I
117
+ 21:15:24,03/01,2117,368576496/-762904488,V,0,I
118
+ 21:15:25,03/01,3507,370238710/-763747899,V,-2,V
119
+ 21:15:26,03/01,3511,370800369/-764787365,V,-1,V
120
+ 21:15:26,03/01,3227,368644036/-762824687,V,0,I
121
+ 21:15:27,03/01,2247,370310450/-763468204,V,0,V
122
+ 21:15:27,03/01,3249,368644002/-762811635,V,0,I
123
+ 21:15:28,03/01,3810,369138390/-762435631,V,0,V
124
+ 21:15:29,03/01,3801,369180995/-761960254,V,-10,V
125
+ 21:15:31,03/01,2206,368643635/-762815273,V,0,I
126
+ 21:15:31,03/01,3709,368637424/-762807916,V,0,I
127
+ 21:15:31,03/01,3510,370819356/-764796280,V,6,V
128
+ 21:15:32,03/01,3208,370088600/-763797265,V,-3,V
129
+ 21:15:32,03/01,3010,368594573/-762841996,V,-5,V
130
+ 21:15:32,03/01,3800,368644380/-762812569,V,-96,V
131
+ 21:15:33,03/01,3802,368644036/-762821484,V,0,I
132
+ 21:15:33,03/01,3614,368640484/-762818029,V,0,I
133
+ 21:15:35,03/01,3255,368643670/-762818797,V,0,I
134
+ 21:15:35,03/01,3705,369391116/-762454103,V,-8,V
135
+ 21:15:36,03/01,2225,368643578/-762815376,V,0,I
136
+ 21:15:36,03/01,3001,368644540/-762828629,V,0,I
137
+ 21:15:37,03/01,3035,368639579/-762816545,V,0,I
138
+ 21:15:37,03/01,3715,368642157/-762812208,V,0,I
139
+ 21:15:37,03/01,2245,368642879/-762826440,V,0,I
140
+ 21:15:38,03/01,2124,368643349/-762818780,V,0,I
141
+ 21:15:38,03/01,2300,368643011/-762819565,V,0,I
142
+ 21:15:39,03/01,3218,370127401/-763649735,V,0,I
143
+ 21:15:39,03/01,3241,369135961/-762436399,V,-5,V,52,1,811
144
+ 21:15:39,03/01,3909,370129097/-763647821,V,0,I
145
+ 21:15:39,03/01,4013,368644546/-762812511,V,0,I
146
+ 21:15:40,03/01,2103,368643652/-762826967,V,0,I
147
+ 21:15:40,03/01,2249,370429590/-764590056,V,-4,V
148
+ 21:15:40,03/01,3247,368579962/-762864003,V,-4,V
149
+ 21:15:41,03/01,2223,368526958/-762794939,V,0,I
150
+ 21:15:41,03/01,3222,370126983/-763650153,V,0,I
151
+ 21:15:41,03/01,3221,369976719/-764058775,V,0,V
152
+ 21:15:42,03/01,2135,368414681/-761898787,V,0,V
153
+ 21:15:42,03/01,3601,368641710/-762817313,V,0,I
154
+ 21:15:42,03/01,2221,368640066/-762820195,V,0,I
155
+ 21:15:42,03/01,3908,369836854/-764348353,V,-1,V
156
+ 21:15:42,03/01,2112,368646580/-762813027,V,0,I
157
+ 21:15:43,03/01,3015,368458237/-761573307,V,0,I
158
+ 21:15:43,03/01,3604,368643521/-762820115,V,0,I
159
+ 21:15:43,03/01,2200,368809123/-762184636,V,-12,V,25,1,30
160
+ 21:15:44,03/01,3241,369136740/-762434583,V,0,V
161
+ 21:15:45,03/01,3245,368644094/-762819862,V,0,I
162
+ 21:15:46,03/01,2132,368423442/-761872001,V,7,V
163
+ 21:15:47,03/01,3230,368639000/-762817450,V,0,I
164
+ 21:15:47,03/01,2214,368155022/-763426590,V,0,V
165
+ 21:15:47,03/01,3221,369977206/-764058202,V,0,V,29,2,1071
166
+ 21:15:47,03/01,3704,368497084/-762844236,V,-6,V
167
+ 21:15:48,03/01,2118,368641928/-762813033,V,0,I
168
+ 21:15:48,03/01,2302,368642575/-762817496,V,0,I
169
+ 21:15:48,03/01,3211,370129126/-763649322,V,0,I
170
+ 21:15:49,03/01,2104,368643016/-762823151,V,0,I
171
+ 21:15:49,03/01,3221,369981366/-764053538,V,0,V
172
+ 21:15:50,03/01,2237,370467979/-763919752,V,-4,V
173
+ 21:15:51,03/01,3701,368596360/-762845628,V,-1,V,3,1,647
174
+ 21:15:51,03/01,3029,369832488/-764350599,V,-10,V
175
+ 21:15:51,03/01,3204,370308410/-763467299,V,0,I
176
+ 21:15:51,03/01,2234,370354825/-764547279,V,0,V
177
+ 21:15:53,03/01,2120,368642088/-762815199,V,0,I
178
+ 21:15:53,03/01,2232,370125596/-763645741,V,0,I
179
+ 21:15:53,03/01,3701,368597340/-762846007,V,-2,V
180
+ 21:15:53,03/01,3512,370228179/-764376824,V,-4,V
181
+ 21:15:54,03/01,2940,368580610/-762867578,V,0,V
182
+ 21:15:54,03/01,2235,370744843/-763506489,V,0,I
183
+ 21:15:54,03/01,3902,371503290/-765048107,V,-1,V,30,2,1205
184
+ 21:15:55,03/01,3253,368600469/-762848986,V,-9,V
185
+ 21:15:55,03/01,2115,368639074/-762815216,V,0,I
186
+ 21:15:55,03/01,2114,368646466/-762814099,V,0,I
187
+ 21:15:56,03/01,2220,368645646/-762817720,V,0,I
188
+ 21:15:57,03/01,3221,369985124/-764049333,V,0,V,29,2,1072
189
+ 21:15:57,03/01,2243,369535112/-762517633,V,0,V
190
+ 21:15:57,03/01,3610,370125407/-763655785,I,0,I
191
+ 21:15:57,03/01,3500,368642180/-762825300,V,0,I
192
+ 21:15:58,03/01,2111,368664709/-762513594,V,0,V
193
+ 21:15:59,03/01,3246,368642357/-762821856,V,0,I
194
+ 21:15:59,03/01,2210,368595363/-762844368,V,0,V
195
+ 21:16:00,03/01,3221,369987645/-764046496,V,0,V
196
+ 21:16:00,03/01,2136,368641395/-762817038,V,0,I
197
+ 21:16:00,03/01,2308,368469794/-762857070,V,-3,V
198
+ 21:16:00,03/01,2056,370127871/-763640132,I,0,I
199
+ 21:16:00,03/01,3908,369836854/-764348353,V,-1,V
200
+ 21:16:01,03/01,3254,368641481/-762822916,V,0,I
201
+ 21:16:01,03/01,2131,368643578/-762815869,V,0,I
202
+ 21:16:01,03/01,3902,371507989/-765048846,V,0,V
203
+ 21:16:02,03/01,3301,368641475/-762819840,V,0,I
204
+ 21:16:03,03/01,3515,370198941/-764351900,V,-7,V
205
+ 21:16:03,03/01,2244,369215418/-763146477,V,-3,V
206
+ 21:16:04,03/01,3415,368641338/-762823644,V,0,I
207
+ 21:16:04,03/01,3014,368641515/-762818803,V,0,I
208
+ 21:16:04,03/01,2228,368644030/-762815411,V,0,I
209
+ 21:16:04,03/01,2223,368512038/-762773762,V,0,I
210
+ 21:16:05,03/01,2133,368641819/-762814293,V,0,I
211
+ 21:16:05,03/01,3259,368640186/-762821455,V,0,I
212
+ 21:16:05,03/01,2305,368554787/-763034275,V,-4,V
213
+ 21:16:06,03/01,2901,368642885/-762813371,V,0,I
214
+ 21:16:06,03/01,2227,368644025/-762817170,V,0,I
215
+ 21:16:06,03/01,3706,368489561/-762090545,V,0,I
216
+ 21:16:08,03/01,2200,368797514/-762230833,V,-12,V
217
+ 21:16:08,03/01,3707,368643956/-762825689,V,0,I
218
+ 21:16:09,03/01,3803,368479666/-761300745,V,-7,V
219
+ 21:16:09,03/01,3805,368164133/-761146207,V,-3,V
220
+ 21:16:09,03/01,2218,368639109/-762816029,V,0,I
221
+ 21:16:10,03/01,2251,370316494/-763459169,V,-1,V,48,1,1320
222
+ 21:16:11,03/01,3005,368645406/-762813984,V,0,I
223
+ 21:16:11,03/01,2102,368830523/-762949122,V,-4,V
224
+ 21:16:11,03/01,2239,369837215/-764350708,V,0,I
225
+ 21:16:12,03/01,2113,368646328/-762815336,V,0,I
226
+ 21:16:12,03/01,3605,368588883/-762844081,V,9,V
227
+ 21:16:12,03/01,3904,370905346/-764958175,V,1,V
228
+ 21:16:13,03/01,2212,368641796/-762815892,V,0,I
229
+ 21:16:13,03/01,3510,370836030/-764806141,V,5,V
230
+ 21:16:13,03/01,3506,368643710/-762822532,V,0,I
231
+ 21:16:13,03/01,4003,368433360/-762909290,V,0,I
232
+ 21:16:13,03/01,3226,368643337/-762817502,V,0,I
233
+ 21:16:13,03/01,2126,368640845/-762821255,V,0,I
234
+ 21:16:13,03/01,3809,-4829037/-1061691058,I,0,I
235
+ 21:16:13,03/01,2238,370257050/-763632844,V,0,I
236
+ 21:16:14,03/01,3016,368643475/-762817347,V,0,I
237
+ 21:16:14,03/01,3602,370128799/-763651677,V,0,I
238
+ 21:16:14,03/01,3702,368539420/-762644623,V,0,V
239
+ 21:16:14,03/01,3901,369785042/-764308951,V,1,V
240
+ 21:16:14,03/01,2241,368672867/-759814126,V,-11,V
241
+ 21:16:15,03/01,3509,370127808/-763650823,V,0,I
242
+ 21:16:15,03/01,3508,371244394/-765312372,V,1,V
243
+ 21:16:16,03/01,3710,368645411/-762829219,V,0,I
244
+ 21:16:16,03/01,3031,369430054/-763150706,V,-5,V
245
+ 21:16:16,03/01,3250,368644071/-762823157,V,0,I
246
+ 21:16:16,03/01,2239,369837215/-764350708,V,-2,V
247
+ 21:16:17,03/01,2127,368643297/-762811543,V,0,I
248
+ 21:16:17,03/01,2207,368643423/-762811217,V,0,I
249
+ 21:16:17,03/01,3508,371242543/-765309943,V,1,V
250
+ 21:16:17,03/01,3609,370128616/-763650634,V,0,I
251
+ 21:16:17,03/01,3202,370128260/-763650388,V,0,I
252
+ 21:16:18,03/01,3209,370386968/-764012480,V,1,V
253
+ 21:16:18,03/01,3303,368641962/-762823163,V,0,I
254
+ 21:16:18,03/01,2219,368643652/-762817370,V,0,I
255
+ 21:16:18,03/01,2239,369837215/-764350708,V,-2,V
256
+ 21:16:18,03/01,2224,368639338/-762822172,V,0,I
257
+ 21:16:18,03/01,3510,370836030/-764806141,V,5,V
258
+ 21:16:19,03/01,3030,368645560/-762809647,V,0,I
259
+ 21:16:19,03/01,3711,368643692/-762818487,V,0,I
260
+ 21:16:19,03/01,2231,370832471/-764981804,V,-2,V
261
+ 21:16:19,03/01,3263,368640593/-762815416,V,0,I
262
+ 21:16:20,03/01,3612,370128421/-763655355,V,0,I
263
+ 21:16:20,03/01,2213,368587164/-762844460,V,10,V
264
+ 21:16:20,03/01,3613,371755650/-765695595,V,5,V
265
+ 21:16:21,03/01,3510,370836030/-764806141,V,5,V
266
+ 21:16:21,03/01,2129,367873546/-761014232,V,0,V
267
+ 21:16:22,03/01,3213,370402444/-763954227,V,1,V
268
+ 21:16:22,03/01,2251,370329621/-763462813,V,-1,V
269
+ 21:16:23,03/01,3009,368807793/-762821833,V,3,V
270
+ 21:16:24,03/01,2304,367910765/-762337741,V,0,V
271
+ 21:16:24,03/01,3304,368642249/-762816408,V,0,I
272
+ 21:16:24,03/01,2117,368576496/-762904488,V,0,I
273
+ 21:16:25,03/01,3507,370260184/-763829489,V,-1,V
274
+ 21:16:26,03/01,3511,370747135/-764753566,V,0,V
275
+ 21:16:26,03/01,3227,368644036/-762824687,V,0,I
276
+ 21:16:27,03/01,2247,370310450/-763468204,V,-1,V
277
+ 21:16:29,03/01,3801,369163812/-762072462,V,-8,V
278
+ 21:16:31,03/01,2206,368643635/-762815273,V,0,I
279
+ 21:16:31,03/01,3709,368637424/-762807916,V,0,I
280
+ 21:16:31,03/01,3208,370085082/-763802840,V,-4,V
281
+ 21:16:32,03/01,3010,368581292/-762869017,V,-6,V
282
+ 21:16:32,03/01,3800,368644380/-762812569,V,-97,V
283
+ 21:16:33,03/01,3802,368644036/-762821484,V,0,I
284
+ 21:16:33,03/01,2222,369141066/-762434726,V,0,V
285
+ 21:16:33,03/01,3614,368640484/-762818029,V,0,I
286
+ 21:16:35,03/01,3255,368643670/-762818797,V,0,I
287
+ 21:16:35,03/01,2306,368898682/-762413653,V,-6,V,51,2,446
288
+ 21:16:35,03/01,3705,369341137/-762446517,V,-8,V
289
+ 21:16:36,03/01,2225,368643578/-762815376,V,0,I
290
+ 21:16:36,03/01,3001,368639080/-762818780,V,0,I
291
+ 21:16:37,03/01,3035,368639579/-762816545,V,0,I
292
+ 21:16:37,03/01,3715,368642157/-762812208,V,0,I
293
+ 21:16:37,03/01,2245,368642879/-762826440,V,0,I
294
+ 21:16:38,03/01,2124,368643349/-762818780,V,0,I
295
+ 21:16:38,03/01,2300,368643011/-762819565,V,0,I
296
+ 21:16:39,03/01,3218,370127401/-763649735,V,0,I
297
+ 21:16:39,03/01,3909,370129097/-763647821,V,0,I
298
+ 21:16:39,03/01,2306,368898997/-762421382,V,-6,V
299
+ 21:16:39,03/01,3210,369801314/-764262668,V,-7,V
300
+ 21:16:40,03/01,4013,368645039/-762815766,V,0,I
301
+ 21:16:40,03/01,2103,368643652/-762826967,V,0,I
302
+ 21:16:40,03/01,3247,368580014/-762869423,V,-5,V
303
+ 21:16:41,03/01,2109,368646122/-762816557,V,0,I
304
+ 21:16:41,03/01,3222,370126983/-763650153,V,0,I
305
+ 21:16:41,03/01,2249,370499050/-764601962,V,-3,V
306
+ 21:16:42,03/01,2135,368414681/-761898787,V,0,V
307
+ 21:16:42,03/01,2122,368598520/-762869876,V,1,V
308
+ 21:16:42,03/01,3601,368641710/-762817313,V,0,I
309
+ 21:16:42,03/01,2112,368646580/-762813027,V,0,I
310
+ 21:16:43,03/01,3604,368643521/-762820115,V,0,I
311
+ 21:16:43,03/01,3015,368436540/-761510677,V,0,I
312
+ 21:16:46,03/01,3245,368644094/-762819862,V,0,I
313
+ 21:16:46,03/01,2132,368415008/-761895974,V,7,V
314
+ 21:16:47,03/01,3230,368639000/-762817450,V,0,I
315
+ 21:16:47,03/01,2214,368157727/-763379327,V,0,V
316
+ 21:16:47,03/01,3704,368536801/-762853146,V,-6,V
317
+ 21:16:48,03/01,2118,368641928/-762813033,V,0,I
318
+ 21:16:48,03/01,2302,368642575/-762817496,V,0,I
319
+ 21:16:48,03/01,3211,370129126/-763649322,V,0,I
320
+ 21:16:49,03/01,3241,369139536/-762434789,V,0,V
321
+ 21:16:50,03/01,2237,370461733/-763955253,V,-4,V
322
+ 21:16:51,03/01,2233,369939007/-763970906,V,-2,V,8,1,1105
323
+ 21:16:51,03/01,3204,370308410/-763467299,V,0,I
324
+ 21:16:51,03/01,2234,370315933/-764523180,V,0,V
325
+ 21:16:52,03/01,3208,370082338/-763807407,V,-4,V,29,1,1022
326
+ 21:16:53,03/01,2120,368642088/-762815199,V,0,I
327
+ 21:16:53,03/01,3512,370219980/-764392643,V,-5,V
328
+ 21:16:54,03/01,2233,369945779/-763962885,V,-1,V
329
+ 21:16:54,03/01,2940,368581372/-762878505,V,-1,V
330
+ 21:16:54,03/01,3701,368584672/-762794005,V,-1,V
331
+ 21:16:54,03/01,2235,370744843/-763506489,V,0,I
332
+ 21:16:54,03/01,3803,368468448/-761281310,V,-6,V,20,2,790
333
+ 21:16:55,03/01,3208,370077376/-763815468,V,-4,V
334
+ 21:16:55,03/01,2115,368639074/-762815216,V,0,I
335
+ 21:16:55,03/01,2114,368646466/-762814099,V,0,I
336
+ 21:16:55,03/01,2220,368645646/-762817720,V,0,I
337
+ 21:16:56,03/01,3253,368579716/-762858285,V,-8,V
338
+ 21:16:56,03/01,3803,368469742/-761288352,V,-3,V
339
+ 21:16:57,03/01,2243,369530115/-762501922,V,0,V
340
+ 21:16:57,03/01,3610,370124015/-763657263,V,0,I
341
+ 21:16:58,03/01,3500,368642180/-762825300,V,0,I
342
+ 21:16:58,03/01,2111,368609510/-762500043,V,1,V
343
+
344
+ http_version:
345
+ recorded_at: Fri, 02 Mar 2012 02:17:42 GMT
346
+ recorded_with: VCR 2.0.0.rc2