untappd 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +2 -1
- data/Gemfile.lock +3 -3
- data/README.md +1 -0
- data/lib/untappd/checkin.rb +1 -1
- data/lib/untappd/config.rb +2 -2
- data/lib/untappd/version.rb +1 -1
- data/spec/beer_spec.rb +2 -2
- data/spec/brewery_spec.rb +7 -7
- data/spec/checkin_spec.rb +6 -4
- data/spec/user_spec.rb +7 -7
- data/spec/vcr/Beer/get_feed.yml +230 -206
- data/spec/vcr/Beer/get_info.yml +237 -153
- data/spec/vcr/Beer/get_search.yml +359 -271
- data/spec/vcr/Beer/get_trending_beers.yml +92 -75
- data/spec/vcr/Brewery/get_feed.yml +208 -186
- data/spec/vcr/Brewery/get_info.yml +326 -283
- data/spec/vcr/Brewery/get_search.yml +22 -18
- data/spec/vcr/Checkin/get/gets_info.yml +22 -16
- data/spec/vcr/Checkin/get/gets_thepub_feed.yml +212 -207
- data/spec/vcr/Checkin/get/gets_thepub_local_feed.yml +307 -206
- data/spec/vcr/Checkin/post/add_comment.yml +18 -12
- data/spec/vcr/Checkin/post/adds_toast.yml +17 -11
- data/spec/vcr/Checkin/post/creates_checkin.yml +28 -16
- data/spec/vcr/Checkin/post/removes_comment.yml +70 -12
- data/spec/vcr/Checkin/post/removes_toast.yml +16 -10
- data/spec/vcr/User/get_badges.yml +65 -11
- data/spec/vcr/User/get_distinct_beers.yml +212 -33
- data/spec/vcr/User/get_feed.yml +217 -39
- data/spec/vcr/User/get_friend_feed.yml +321 -427
- data/spec/vcr/User/get_friends.yml +18 -11
- data/spec/vcr/User/get_info.yml +280 -74
- data/spec/vcr/User/get_wish_list.yml +25 -15
- data/spec/vcr/Venue/gets_foursquare_lookup.yml +26 -24
- data/spec/vcr/Venue/gets_info.yml +151 -36
- data/spec/vcr/Venue/gets_the_feed.yml +127 -34
- data/spec/venue_spec.rb +2 -2
- metadata +5 -23
data/spec/venue_spec.rb
CHANGED
@@ -7,8 +7,8 @@ describe "Venue" do
|
|
7
7
|
|
8
8
|
it "gets the feed", :vcr do
|
9
9
|
feed = Untappd::Venue.feed(18099)
|
10
|
-
feed.checkins.items.first.beer.beer_name.should == "
|
11
|
-
feed.checkins.items.first.brewery.brewery_name.should == "
|
10
|
+
feed.checkins.items.first.beer.beer_name.should == "Big Bad Baptist (Release #15)"
|
11
|
+
feed.checkins.items.first.brewery.brewery_name.should == "Epic Brewing Co. (Utah, Colorado)"
|
12
12
|
end
|
13
13
|
|
14
14
|
it "gets info", :vcr do
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: untappd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- cmar
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-09-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: httparty
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: hashie
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: vcr
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: fakeweb
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -152,33 +141,26 @@ files:
|
|
152
141
|
- untappd.gemspec
|
153
142
|
homepage: http://cmar.me
|
154
143
|
licenses: []
|
144
|
+
metadata: {}
|
155
145
|
post_install_message:
|
156
146
|
rdoc_options: []
|
157
147
|
require_paths:
|
158
148
|
- lib
|
159
149
|
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
150
|
requirements:
|
162
151
|
- - ! '>='
|
163
152
|
- !ruby/object:Gem::Version
|
164
153
|
version: '0'
|
165
|
-
segments:
|
166
|
-
- 0
|
167
|
-
hash: -3455726710526196103
|
168
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
155
|
requirements:
|
171
156
|
- - ! '>='
|
172
157
|
- !ruby/object:Gem::Version
|
173
158
|
version: '0'
|
174
|
-
segments:
|
175
|
-
- 0
|
176
|
-
hash: -3455726710526196103
|
177
159
|
requirements: []
|
178
160
|
rubyforge_project: untappd
|
179
|
-
rubygems_version:
|
161
|
+
rubygems_version: 2.2.2
|
180
162
|
signing_key:
|
181
|
-
specification_version:
|
163
|
+
specification_version: 4
|
182
164
|
summary: Wrapper around the untappd.com API
|
183
165
|
test_files:
|
184
166
|
- spec/beer_spec.rb
|