stratify-gowalla 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +49 -71
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/app/assets/images/gowalla-icon-16.png +0 -0
- data/app/assets/images/gowalla-icon-24.png +0 -0
- data/lib/stratify-gowalla/collector.rb +9 -7
- data/lib/stratify-gowalla/version.rb +1 -1
- data/spec/spec_helper.rb +0 -2
- data/spec/stratify-gowalla/activity_spec.rb +1 -1
- data/spec/stratify-gowalla/integration_spec.rb +4 -17
- data/stratify-gowalla.gemspec +5 -7
- metadata +18 -46
- data/lib/stratify-gowalla/query.rb +0 -42
- data/spec/stratify-gowalla/query_spec.rb +0 -58
- data/spec/support/vcr_setup.rb +0 -7
- data/vcr_cassettes/gowalla.yml +0 -51
data/Gemfile.lock
CHANGED
@@ -1,111 +1,89 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stratify-gowalla (0.1.
|
5
|
-
|
6
|
-
|
7
|
-
stratify-base (~> 0.1.2)
|
4
|
+
stratify-gowalla (0.1.4)
|
5
|
+
railties (~> 3.2.0)
|
6
|
+
stratify-base (~> 0.1.4)
|
8
7
|
|
9
8
|
GEM
|
10
9
|
remote: http://rubygems.org/
|
11
10
|
specs:
|
12
|
-
actionpack (3.
|
13
|
-
activemodel (= 3.
|
14
|
-
activesupport (= 3.
|
11
|
+
actionpack (3.2.3)
|
12
|
+
activemodel (= 3.2.3)
|
13
|
+
activesupport (= 3.2.3)
|
15
14
|
builder (~> 3.0.0)
|
16
15
|
erubis (~> 2.7.0)
|
17
|
-
|
18
|
-
rack (~> 1.
|
19
|
-
rack-cache (~> 1.
|
20
|
-
rack-mount (~> 0.8.2)
|
16
|
+
journey (~> 1.0.1)
|
17
|
+
rack (~> 1.4.0)
|
18
|
+
rack-cache (~> 1.2)
|
21
19
|
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.
|
23
|
-
activemodel (3.
|
24
|
-
activesupport (= 3.
|
25
|
-
bcrypt-ruby (~> 3.0.0)
|
20
|
+
sprockets (~> 2.1.2)
|
21
|
+
activemodel (3.2.3)
|
22
|
+
activesupport (= 3.2.3)
|
26
23
|
builder (~> 3.0.0)
|
24
|
+
activesupport (3.2.3)
|
27
25
|
i18n (~> 0.6)
|
28
|
-
activesupport (3.1.0)
|
29
26
|
multi_json (~> 1.0)
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
bson_ext (1.3.1)
|
27
|
+
bson (1.6.2)
|
28
|
+
bson_ext (1.6.2)
|
29
|
+
bson (~> 1.6.2)
|
34
30
|
builder (3.0.0)
|
35
|
-
database_cleaner (0.
|
36
|
-
diff-lcs (1.1.
|
31
|
+
database_cleaner (0.7.2)
|
32
|
+
diff-lcs (1.1.3)
|
37
33
|
erubis (2.7.0)
|
38
|
-
fakeweb (1.3.0)
|
39
|
-
faraday (0.6.1)
|
40
|
-
addressable (~> 2.2.4)
|
41
|
-
multipart-post (~> 1.1.0)
|
42
|
-
rack (< 2, >= 1.1.0)
|
43
|
-
faraday_middleware (0.6.5)
|
44
|
-
faraday (~> 0.6.0)
|
45
|
-
gowalla (0.5.7)
|
46
|
-
faraday (~> 0.6)
|
47
|
-
faraday_middleware (~> 0.6)
|
48
|
-
hashie (~> 1.0.0)
|
49
|
-
oauth2 (~> 0.4)
|
50
|
-
hashie (1.0.0)
|
51
34
|
hike (1.2.1)
|
52
35
|
i18n (0.6.0)
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
36
|
+
journey (1.0.3)
|
37
|
+
json (1.7.0)
|
38
|
+
mongo (1.6.2)
|
39
|
+
bson (~> 1.6.2)
|
40
|
+
mongoid (2.4.9)
|
41
|
+
activemodel (~> 3.1)
|
57
42
|
mongo (~> 1.3)
|
58
43
|
tzinfo (~> 0.3.22)
|
59
|
-
multi_json (1.
|
60
|
-
|
61
|
-
|
62
|
-
faraday (< 0.8, >= 0.6.1)
|
63
|
-
multi_json (~> 1.0.0)
|
64
|
-
rack (1.3.2)
|
65
|
-
rack-cache (1.0.3)
|
44
|
+
multi_json (1.3.2)
|
45
|
+
rack (1.4.1)
|
46
|
+
rack-cache (1.2)
|
66
47
|
rack (>= 0.4)
|
67
|
-
rack-mount (0.8.3)
|
68
|
-
rack (>= 1.0.0)
|
69
48
|
rack-ssl (1.3.2)
|
70
49
|
rack
|
71
50
|
rack-test (0.6.1)
|
72
51
|
rack (>= 1.0)
|
73
|
-
railties (3.
|
74
|
-
actionpack (= 3.
|
75
|
-
activesupport (= 3.
|
52
|
+
railties (3.2.3)
|
53
|
+
actionpack (= 3.2.3)
|
54
|
+
activesupport (= 3.2.3)
|
76
55
|
rack-ssl (~> 1.3.2)
|
77
56
|
rake (>= 0.8.7)
|
78
57
|
rdoc (~> 3.4)
|
79
58
|
thor (~> 0.14.6)
|
80
59
|
rake (0.9.2)
|
81
|
-
rdoc (3.
|
82
|
-
|
83
|
-
|
84
|
-
rspec-
|
85
|
-
rspec-
|
86
|
-
|
87
|
-
rspec-
|
88
|
-
|
89
|
-
|
90
|
-
|
60
|
+
rdoc (3.12)
|
61
|
+
json (~> 1.4)
|
62
|
+
rspec (2.9.0)
|
63
|
+
rspec-core (~> 2.9.0)
|
64
|
+
rspec-expectations (~> 2.9.0)
|
65
|
+
rspec-mocks (~> 2.9.0)
|
66
|
+
rspec-core (2.9.0)
|
67
|
+
rspec-expectations (2.9.1)
|
68
|
+
diff-lcs (~> 1.1.3)
|
69
|
+
rspec-mocks (2.9.0)
|
70
|
+
sprockets (2.1.3)
|
91
71
|
hike (~> 1.2)
|
92
72
|
rack (~> 1.0)
|
93
|
-
tilt (
|
94
|
-
stratify-base (0.1.
|
95
|
-
bson_ext (~> 1.
|
96
|
-
mongoid (~> 2.0
|
73
|
+
tilt (~> 1.1, != 1.3.0)
|
74
|
+
stratify-base (0.1.4)
|
75
|
+
bson_ext (~> 1.6.0)
|
76
|
+
mongoid (~> 2.4.0)
|
97
77
|
tilt (~> 1.3.2)
|
98
78
|
thor (0.14.6)
|
99
79
|
tilt (1.3.3)
|
100
|
-
tzinfo (0.3.
|
101
|
-
vcr (1.10.0)
|
80
|
+
tzinfo (0.3.33)
|
102
81
|
|
103
82
|
PLATFORMS
|
104
83
|
ruby
|
105
84
|
|
106
85
|
DEPENDENCIES
|
107
|
-
database_cleaner (~> 0.
|
108
|
-
|
109
|
-
rspec (~> 2.
|
86
|
+
database_cleaner (~> 0.7.2)
|
87
|
+
rake (~> 0.9.2)
|
88
|
+
rspec (~> 2.9.0)
|
110
89
|
stratify-gowalla!
|
111
|
-
vcr (~> 1.10.0)
|
data/LICENSE
CHANGED
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
17
17
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
18
18
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
19
19
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
20
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
data/Rakefile
CHANGED
Binary file
|
Binary file
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'stratify-gowalla/query'
|
2
|
-
|
3
1
|
module Stratify
|
4
2
|
module Gowalla
|
5
3
|
class Collector < Stratify::Collector
|
@@ -8,12 +6,16 @@ module Stratify
|
|
8
6
|
configuration_fields :username => {:type => :string},
|
9
7
|
:password => {:type => :password}
|
10
8
|
|
11
|
-
|
12
|
-
|
13
|
-
end
|
9
|
+
configuration_instructions %q[
|
10
|
+
Gowalla shut down on March 11, 2012. As such, there is longer any checkin data to be collected.
|
14
11
|
|
15
|
-
|
16
|
-
|
12
|
+
This collector remains a part of Stratify soley for the purpose of accessing historical checkins collected while Gowalla was still active.
|
13
|
+
|
14
|
+
If you're a Foursquare user, be sure to take a look at the Foursquare collector for capturing your checkin data.
|
15
|
+
]
|
16
|
+
|
17
|
+
def activities
|
18
|
+
[]
|
17
19
|
end
|
18
20
|
end
|
19
21
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -18,8 +18,6 @@ RSpec.configure do |config|
|
|
18
18
|
config.run_all_when_everything_filtered = true
|
19
19
|
config.alias_example_to :fit, :focused => true
|
20
20
|
|
21
|
-
config.extend VCR::RSpec::Macros
|
22
|
-
|
23
21
|
# Configure RSpec to truncate the database before any spec tagged with ":database => true"
|
24
22
|
DatabaseCleaner.strategy = :truncation
|
25
23
|
DatabaseCleaner.orm = "mongoid"
|
@@ -1,24 +1,11 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe "stratify-gowalla" do
|
4
|
-
|
5
|
-
|
6
|
-
it "collects and stores data from Gowalla", :database => true do
|
4
|
+
it "provides a no-op collector", :database => true do
|
7
5
|
collector = Stratify::Gowalla::Collector.create!(:username => "jasonrudolph", :password => "secret")
|
8
|
-
collector.run
|
9
|
-
|
10
|
-
Stratify::Gowalla::Activity.where(
|
11
|
-
:checkin_id => 27147302,
|
12
|
-
:spot_name => "Dick's Sporting Goods",
|
13
|
-
:spot_city_state => "Morrisville, NC",
|
14
|
-
:message => "Final prep for Breckenridge trip!",
|
15
|
-
:created_at => Time.parse("2011-01-22T17:47:33Z")
|
16
|
-
).should exist
|
17
6
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
:created_at => Time.parse("2011-01-20T21:35:25Z")
|
22
|
-
).should exist
|
7
|
+
lambda do
|
8
|
+
collector.run
|
9
|
+
end.should_not change(Stratify::Gowalla::Activity, :count)
|
23
10
|
end
|
24
11
|
end
|
data/stratify-gowalla.gemspec
CHANGED
@@ -19,12 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_runtime_dependency "
|
23
|
-
s.add_runtime_dependency "
|
24
|
-
s.add_runtime_dependency "stratify-base", "~> 0.1.3"
|
22
|
+
s.add_runtime_dependency "railties", "~> 3.2.0"
|
23
|
+
s.add_runtime_dependency "stratify-base", "~> 0.1.4"
|
25
24
|
|
26
|
-
s.add_development_dependency "database_cleaner", "~> 0.
|
27
|
-
s.add_development_dependency "
|
28
|
-
s.add_development_dependency "rspec", "~> 2.
|
29
|
-
s.add_development_dependency "vcr", "~> 1.10.0"
|
25
|
+
s.add_development_dependency "database_cleaner", "~> 0.7.2"
|
26
|
+
s.add_development_dependency "rake", "~> 0.9.2"
|
27
|
+
s.add_development_dependency "rspec", "~> 2.9.0"
|
30
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stratify-gowalla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,85 +9,63 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-04-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: gowalla
|
16
|
-
requirement: &70305225924120 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 0.5.6
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *70305225924120
|
25
14
|
- !ruby/object:Gem::Dependency
|
26
15
|
name: railties
|
27
|
-
requirement: &
|
16
|
+
requirement: &70254076210100 !ruby/object:Gem::Requirement
|
28
17
|
none: false
|
29
18
|
requirements:
|
30
19
|
- - ~>
|
31
20
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
21
|
+
version: 3.2.0
|
33
22
|
type: :runtime
|
34
23
|
prerelease: false
|
35
|
-
version_requirements: *
|
24
|
+
version_requirements: *70254076210100
|
36
25
|
- !ruby/object:Gem::Dependency
|
37
26
|
name: stratify-base
|
38
|
-
requirement: &
|
27
|
+
requirement: &70254076208960 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
29
|
requirements:
|
41
30
|
- - ~>
|
42
31
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.1.
|
32
|
+
version: 0.1.4
|
44
33
|
type: :runtime
|
45
34
|
prerelease: false
|
46
|
-
version_requirements: *
|
35
|
+
version_requirements: *70254076208960
|
47
36
|
- !ruby/object:Gem::Dependency
|
48
37
|
name: database_cleaner
|
49
|
-
requirement: &
|
38
|
+
requirement: &70254076199280 !ruby/object:Gem::Requirement
|
50
39
|
none: false
|
51
40
|
requirements:
|
52
41
|
- - ~>
|
53
42
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
43
|
+
version: 0.7.2
|
55
44
|
type: :development
|
56
45
|
prerelease: false
|
57
|
-
version_requirements: *
|
46
|
+
version_requirements: *70254076199280
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
60
|
-
requirement: &
|
48
|
+
name: rake
|
49
|
+
requirement: &70254076186100 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ~>
|
64
53
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
54
|
+
version: 0.9.2
|
66
55
|
type: :development
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *70254076186100
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: rspec
|
71
|
-
requirement: &
|
72
|
-
none: false
|
73
|
-
requirements:
|
74
|
-
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 2.6.0
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: *70305238382360
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: vcr
|
82
|
-
requirement: &70305238543380 !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70254076179240 !ruby/object:Gem::Requirement
|
83
61
|
none: false
|
84
62
|
requirements:
|
85
63
|
- - ~>
|
86
64
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
65
|
+
version: 2.9.0
|
88
66
|
type: :development
|
89
67
|
prerelease: false
|
90
|
-
version_requirements: *
|
68
|
+
version_requirements: *70254076179240
|
91
69
|
description: Gowalla plugin for Stratify
|
92
70
|
email:
|
93
71
|
- jason@jasonrudolph.com
|
@@ -108,16 +86,12 @@ files:
|
|
108
86
|
- lib/stratify-gowalla/activity.rb
|
109
87
|
- lib/stratify-gowalla/collector.rb
|
110
88
|
- lib/stratify-gowalla/engine.rb
|
111
|
-
- lib/stratify-gowalla/query.rb
|
112
89
|
- lib/stratify-gowalla/version.rb
|
113
90
|
- spec/mongoid.yml
|
114
91
|
- spec/spec_helper.rb
|
115
92
|
- spec/stratify-gowalla/activity_spec.rb
|
116
93
|
- spec/stratify-gowalla/integration_spec.rb
|
117
|
-
- spec/stratify-gowalla/query_spec.rb
|
118
|
-
- spec/support/vcr_setup.rb
|
119
94
|
- stratify-gowalla.gemspec
|
120
|
-
- vcr_cassettes/gowalla.yml
|
121
95
|
homepage: http://github.com/jasonrudolph/stratify/
|
122
96
|
licenses: []
|
123
97
|
post_install_message:
|
@@ -147,5 +121,3 @@ test_files:
|
|
147
121
|
- spec/spec_helper.rb
|
148
122
|
- spec/stratify-gowalla/activity_spec.rb
|
149
123
|
- spec/stratify-gowalla/integration_spec.rb
|
150
|
-
- spec/stratify-gowalla/query_spec.rb
|
151
|
-
- spec/support/vcr_setup.rb
|
@@ -1,42 +0,0 @@
|
|
1
|
-
require 'gowalla'
|
2
|
-
|
3
|
-
module Stratify
|
4
|
-
module Gowalla
|
5
|
-
class Query
|
6
|
-
attr_reader :username, :password
|
7
|
-
|
8
|
-
def initialize(username, password)
|
9
|
-
@username = username
|
10
|
-
@password = password
|
11
|
-
end
|
12
|
-
|
13
|
-
def activities
|
14
|
-
raw_activities.map {|raw_activity| build_activity_from_raw_data(raw_activity)}
|
15
|
-
end
|
16
|
-
|
17
|
-
private
|
18
|
-
|
19
|
-
def raw_activities
|
20
|
-
gowalla = ::Gowalla::Client.new(:username => username, :password => password, :api_key => 'fa574894bddc43aa96c556eb457b4009')
|
21
|
-
gowalla.user_events
|
22
|
-
end
|
23
|
-
|
24
|
-
def build_activity_from_raw_data(data)
|
25
|
-
Stratify::Gowalla::Activity.new({
|
26
|
-
:checkin_id => extract_id_from_checkin_url(data.url),
|
27
|
-
:spot_name => data.spot.name,
|
28
|
-
:spot_city_state => data.spot.city_state,
|
29
|
-
:spot_latitude => data.spot.lat,
|
30
|
-
:spot_longitude => data.spot.lng,
|
31
|
-
:message => data.message,
|
32
|
-
:created_at => data.created_at
|
33
|
-
})
|
34
|
-
end
|
35
|
-
|
36
|
-
def extract_id_from_checkin_url(url)
|
37
|
-
return unless url
|
38
|
-
url.slice(/\d*$/) # parse the checkin_id out of the url "/checkins/18805305"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'hashie'
|
3
|
-
|
4
|
-
SampleCheckinHash = {
|
5
|
-
"type" => "checkin",
|
6
|
-
"_photos_count" => 0,
|
7
|
-
"message" => "True Grit",
|
8
|
-
"item" => nil,
|
9
|
-
"url" => "/checkins/26106798",
|
10
|
-
"photo_thumbnail_urls" => [],
|
11
|
-
"activity_url" => "/checkins/26106798/activity",
|
12
|
-
"spot" => {
|
13
|
-
"lat" => "35.9040261833",
|
14
|
-
"lng" => "-78.7846096333",
|
15
|
-
"image_url" => "http://static.gowalla.com/categories/30-c21e752b813cd8873603a18e06431675-100.png",
|
16
|
-
"city_state" => "Raleigh, NC",
|
17
|
-
"description" => "",
|
18
|
-
"url" => "/spots/122718",
|
19
|
-
"name" => "Regal Cinemas Brier Creek"
|
20
|
-
},
|
21
|
-
"created_at" => "2011-01-08T21:08:16Z",
|
22
|
-
"_comments_count" => 0
|
23
|
-
}
|
24
|
-
|
25
|
-
describe Stratify::Gowalla::Query do
|
26
|
-
|
27
|
-
describe "building a Stratify::Gowalla::Activity from the hash returned by the Gowalla API" do
|
28
|
-
before do
|
29
|
-
query = Stratify::Gowalla::Query.new('johndoe', 'password')
|
30
|
-
@checkin = query.send :build_activity_from_raw_data, Hashie::Mash.new(SampleCheckinHash)
|
31
|
-
end
|
32
|
-
|
33
|
-
it "sets the checkin ID" do
|
34
|
-
@checkin.checkin_id.should == 26106798
|
35
|
-
end
|
36
|
-
|
37
|
-
it "sets the name of the checkin spot" do
|
38
|
-
@checkin.spot_name.should == "Regal Cinemas Brier Creek"
|
39
|
-
end
|
40
|
-
|
41
|
-
it "sets the city and state of the checkin spot" do
|
42
|
-
@checkin.spot_city_state.should == "Raleigh, NC"
|
43
|
-
end
|
44
|
-
|
45
|
-
it "sets the latitude of the checkin spot" do
|
46
|
-
@checkin.spot_latitude.should == 35.9040261833
|
47
|
-
end
|
48
|
-
|
49
|
-
it "sets the longitude of the checkin spot" do
|
50
|
-
@checkin.spot_longitude.should == -78.7846096333
|
51
|
-
end
|
52
|
-
|
53
|
-
it "sets the message" do
|
54
|
-
@checkin.message.should == "True Grit"
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
data/spec/support/vcr_setup.rb
DELETED
data/vcr_cassettes/gowalla.yml
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
4
|
-
method: :get
|
5
|
-
uri: https://jasonrudolph:secret@api.gowalla.com:443/users/jasonrudolph/events
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
accept:
|
9
|
-
- application/json
|
10
|
-
user-agent:
|
11
|
-
- Ruby gem
|
12
|
-
x-gowalla-api-key:
|
13
|
-
- fa574894bddc43aa96c556eb457b4009
|
14
|
-
authorization:
|
15
|
-
- Basic amFzb25ydWRvbHBoOmh1cC1tYWctdWotdHlnLXVybC11cy1lcg==
|
16
|
-
response: !ruby/struct:VCR::Response
|
17
|
-
status: !ruby/struct:VCR::ResponseStatus
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
server:
|
22
|
-
- nginx/0.8.53
|
23
|
-
date:
|
24
|
-
- Mon, 24 Jan 2011 01:01:31 GMT
|
25
|
-
content-type:
|
26
|
-
- application/json; charset=utf-8
|
27
|
-
vary:
|
28
|
-
- Accept-Encoding
|
29
|
-
status:
|
30
|
-
- 200 OK
|
31
|
-
etag:
|
32
|
-
- "\"0d80c627c9a4a107ea3d46887576bfe2\""
|
33
|
-
x-ua-compatible:
|
34
|
-
- IE=Edge,chrome=1
|
35
|
-
x-runtime:
|
36
|
-
- "0.595277"
|
37
|
-
set-cookie:
|
38
|
-
- _gowalla_session=BAh7CCIbX2dvd2FsbGFfcmVtZW1iZXJzX3lvdSIBgGRhYmYxN2U2NDJlZTk0Y2YzNjc0MTczZjAyZTcxMjI0MmNlNTZhZjI5ZTE0YjBlNGZkNTg2ODZjMzJjNzAyNjNjMDE3N2UwYTVhNzM5MDQzMGI5OWE3OThhZjBiZDdmYTUyYTNmMzU0MmFjNDk2MDYxNmIyY2JkOGE5YTNiMzE2Ig9zZXNzaW9uX2lkIiU1ZjA4M2NjZWMxZjJmM2RhNzNmNjgzMjRkYWVlOWNmOSIeX2dvd2FsbGFfcmVtZW1iZXJzX3lvdV9pZGkDIS4B--07ed312345b3ad3bea49a5f1a2dcd8caaf354a4d; path=/; HttpOnly
|
39
|
-
- gowalla_user_id=77345; path=/; expires=Tue, 24-Jan-2012 01:01:30 GMT
|
40
|
-
- _gowalla_remembers_you=dabf17e642ee94cf3674173f02e712242ce56af29e14b0e4fd58686c32c70263c0177e0a5a7390430b99a798af0bd7fa52a3f3542ac4960616b2cbd8a9a3b316%3A%3A77345; path=/; expires=Thu, 24-Feb-2011 01:01:30 GMT
|
41
|
-
- ref_uid=bdb8868fc792dbb8e30478728551ec60; path=/
|
42
|
-
content-length:
|
43
|
-
- "4592"
|
44
|
-
x-varnish:
|
45
|
-
- "941200194"
|
46
|
-
age:
|
47
|
-
- "0"
|
48
|
-
via:
|
49
|
-
- 1.1 varnish
|
50
|
-
body: " {\"activity\":[{\"type\":\"checkin\",\"activity_url\":\"/checkins/27234147/activity\",\"created_at\":\"2011-01-23T18:42:31Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27234147\",\"spot\":{\"lat\":\"35.8526521829\",\"description\":\"\",\"lng\":\"-78.5812478138\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/19-b02c459d08a9c55dd71fc6aeea651809-100.png\",\"url\":\"/spots/54462\",\"name\":\"Carrabba's Italian Grill\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27224039/activity\",\"created_at\":\"2011-01-23T16:12:54Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27224039\",\"spot\":{\"lat\":\"35.8969029174\",\"description\":\"\",\"lng\":\"-78.7256643176\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/360-1c9df5e1eee528230201480fa1007dde-100.png\",\"url\":\"/spots/579182\",\"name\":\"Fitness 19\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27148218/activity\",\"created_at\":\"2011-01-22T17:57:34Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27148218\",\"spot\":{\"lat\":\"35.9089305468\",\"description\":\"\",\"lng\":\"-78.7845093012\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/1-796238e72df55251e61c52fb50801321-100.png\",\"url\":\"/spots/28680\",\"name\":\"Caribou Coffee\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27147302/activity\",\"created_at\":\"2011-01-22T17:47:33Z\",\"_photos_count\":0,\"message\":\"Final prep for Breckenridge trip!\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27147302\",\"spot\":{\"lat\":\"35.9103217333\",\"description\":\"\",\"lng\":\"-78.7808441667\",\"city_state\":\"Morrisville, NC\",\"image_url\":\"http://static.gowalla.com/categories/61-0da3338d3b6f6fcaaba1cbc9be3791c5-100.png\",\"url\":\"/spots/759108\",\"name\":\"Dick's Sporting Goods\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27083730/activity\",\"created_at\":\"2011-01-21T23:13:47Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27083730\",\"spot\":{\"lat\":\"35.884818254\",\"description\":null,\"lng\":\"-78.737595356\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/155-73fa5150a3deec69dfa8b3b0085754ef-100.png\",\"url\":\"/spots/1401805\",\"name\":\"Tony's Pizza\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27032449/activity\",\"created_at\":\"2011-01-21T10:47:24Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27032449\",\"spot\":{\"lat\":\"35.8969029174\",\"description\":\"\",\"lng\":\"-78.7256643176\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/360-1c9df5e1eee528230201480fa1007dde-100.png\",\"url\":\"/spots/579182\",\"name\":\"Fitness 19\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/27002151/activity\",\"created_at\":\"2011-01-20T22:29:28Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/27002151\",\"spot\":{\"lat\":\"35.7666975167\",\"description\":null,\"lng\":\"-78.783311\",\"city_state\":\"Cary, NC\",\"image_url\":\"http://static.gowalla.com/categories/24-1ce1ad9e41ae85d468b71e483daac930-100.png\",\"url\":\"/spots/536999\",\"name\":\"Hibernian\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/26999668/activity\",\"created_at\":\"2011-01-20T21:35:25Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/26999668\",\"spot\":{\"lat\":\"35.763899489\",\"description\":\"\",\"lng\":\"-78.783082366\",\"city_state\":\"Cary, NC\",\"image_url\":\"http://static.gowalla.com/categories/1-796238e72df55251e61c52fb50801321-100.png\",\"url\":\"/spots/47772\",\"name\":\"Starbucks\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/26959514/activity\",\"created_at\":\"2011-01-20T11:00:32Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/26959514\",\"spot\":{\"lat\":\"35.8969029174\",\"description\":\"\",\"lng\":\"-78.7256643176\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/360-1c9df5e1eee528230201480fa1007dde-100.png\",\"url\":\"/spots/579182\",\"name\":\"Fitness 19\"}},{\"type\":\"checkin\",\"activity_url\":\"/checkins/26931297/activity\",\"created_at\":\"2011-01-19T23:10:45Z\",\"_photos_count\":0,\"message\":\"\",\"item\":null,\"photo_thumbnail_urls\":[],\"_comments_count\":0,\"url\":\"/checkins/26931297\",\"spot\":{\"lat\":\"35.8388136333\",\"description\":null,\"lng\":\"-78.6775086667\",\"city_state\":\"Raleigh, NC\",\"image_url\":\"http://static.gowalla.com/categories/19-b02c459d08a9c55dd71fc6aeea651809-100.png\",\"url\":\"/spots/30068\",\"name\":\"Brio Tuscan Grille\"}}]}\n"
|
51
|
-
http_version: "1.1"
|