yelp 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 076604a5f23f287ad4412e17d9c25e8666d67914
4
- data.tar.gz: 4cb7f7bb5f62861006664204307a325a4d600771
3
+ metadata.gz: aeae5cf95fec256f6f6fe64abb73bdd9481cd48d
4
+ data.tar.gz: 417d8b3fb73181fc217ad943c29e2c4d6b2eb9a6
5
5
  SHA512:
6
- metadata.gz: 524acb6c644fb10ac46fafa4d30fffd07f307bb618a4c82eef1b3057b7f58549d9fabeab6cd99e716b1bf2b534361dc408562d81d160a7fe60e517e7a903da8e
7
- data.tar.gz: 1153dc00ce890a7006a148f8496b72bd206ee29d2ae7bd152985fbf837fa7e8b4b66e2b0119e0ddf9f069d9a612065826ddf61731773070d28fd3b67f6715461
6
+ metadata.gz: 0f59d1978eceacc2f7fe8d2d15b8ec817de6c009ec4b3c84e36d9372d1b91b52127f1e352759266086cf36ed08e26b4a6ca7d3f4322532ea996619efeaac9d04
7
+ data.tar.gz: bbb74ac9bffe59a18f247cb0d2c548f8dcb14c1b7a613c6ce7905a5794e34d7ccbb19cae930f7e26939b869cc62f8456e062afb9e5e84d2377e871323b58f28b
@@ -1,5 +1,8 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
4
+ - 2.2
5
+ - 2.1
3
6
  - 2.0.0
4
7
  - 1.9.3
5
8
  - 1.9.2
@@ -14,7 +14,7 @@ module Yelp
14
14
  # Make a request to the business endpoint on the API
15
15
  #
16
16
  # @param id [String] the business id
17
- # @return [BurstStruct] the parsed response object from the API
17
+ # @return [Response::Business] the parsed response object from the API
18
18
  #
19
19
  # @example Get business
20
20
  # business = client.business('yelp-san-francisco')
@@ -14,7 +14,7 @@ module Yelp
14
14
  # Make a request to the business endpoint on the API
15
15
  #
16
16
  # @param phone_number [String] the phone number
17
- # @return [BurstStruct::Burst] a parsed object of the response. For a complete
17
+ # @return [Response::PhoneSearch] a parsed object of the response. For a complete
18
18
  # sample response visit:
19
19
  # http://www.yelp.com/developers/documentation/v2/phone_search#sampleResponse
20
20
  #
@@ -23,7 +23,7 @@ module Yelp
23
23
  # http://www.yelp.com/developers/documentation/v2/search_api#searchGP
24
24
  # @param locale [Hash] a hash that corresponds to locale on the API:
25
25
  # http://www.yelp.com/developers/documentation/v2/search_api#lParam
26
- # @return [BurstStruct::Burst] a parsed object of the response. For a complete
26
+ # @return [Response::Search] a parsed object of the response. For a complete
27
27
  # list of possible response values visit:
28
28
  # http://www.yelp.com/developers/documentation/v2/search_api#rValue
29
29
  #
@@ -59,7 +59,7 @@ module Yelp
59
59
  # http://www.yelp.com/developers/documentation/v2/search_api#searchGP
60
60
  # @param locale [Hash] a hash that corresponds to locale on the API:
61
61
  # http://www.yelp.com/developers/documentation/v2/search_api#lParam
62
- # @return [BurstStruct::Burst] a parsed object of the response. For a complete
62
+ # @return [Response::Search] a parsed object of the response. For a complete
63
63
  # list of possible response values visit:
64
64
  # http://www.yelp.com/developers/documentation/v2/search_api#rValue
65
65
  #
@@ -105,7 +105,7 @@ module Yelp
105
105
  # http://www.yelp.com/developers/documentation/v2/search_api#searchGP
106
106
  # @param locale [Hash] a hash that corresponds to locale on the API:
107
107
  # http://www.yelp.com/developers/documentation/v2/search_api#lParam
108
- # @return [BurstStruct::Burst] a parsed object of the response. For a complete
108
+ # @return [Response::Search] a parsed object of the response. For a complete
109
109
  # list of possible response values visit:
110
110
  # http://www.yelp.com/developers/documentation/v2/search_api#rValue
111
111
  #
@@ -10,7 +10,8 @@ module Yelp
10
10
  class Business < Response::Base
11
11
  attr_reader :categories, :deals, :display_phone, :distance, :eat24_url, :gift_certificates, :id, :image_url,
12
12
  :is_claimed, :is_closed, :location, :menu_provider, :menu_date_updated, :mobile_url, :name, :phone,
13
- :rating, :reviews, :reservation_url, :review_count, :snippet_image_url, :snippet_text, :url
13
+ :rating, :rating_img_url, :rating_img_url_small, :rating_img_url_large, :reviews, :reservation_url,
14
+ :review_count, :snippet_image_url, :snippet_text, :url
14
15
 
15
16
  def initialize(json)
16
17
  super(json)
@@ -1,11 +1,11 @@
1
1
  require 'yelp/responses/base'
2
- require 'yelp/responses/models/rating'
3
2
 
4
3
  module Yelp
5
4
  module Response
6
5
  module Model
7
6
  class Review < Base
8
- attr_reader :excerpt, :id, :rating, :time_created, :user
7
+ attr_reader :excerpt, :id, :rating, :rating_image_url, :rating_image_small_url,
8
+ :rating_image_large_url, :time_created, :user
9
9
  end
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Yelp
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yelp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomer Elmalem
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-26 00:00:00.000000000 Z
13
+ date: 2015-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -235,7 +235,6 @@ files:
235
235
  - lib/yelp/responses/models/gift_certificate.rb
236
236
  - lib/yelp/responses/models/gift_certificate_option.rb
237
237
  - lib/yelp/responses/models/location.rb
238
- - lib/yelp/responses/models/rating.rb
239
238
  - lib/yelp/responses/models/region.rb
240
239
  - lib/yelp/responses/models/region_center.rb
241
240
  - lib/yelp/responses/models/region_span.rb
@@ -1,11 +0,0 @@
1
- require 'yelp/responses/base'
2
-
3
- module Yelp
4
- module Response
5
- module Model
6
- class Rating < Response::Base
7
- attr_reader :rating, :img_url
8
- end
9
- end
10
- end
11
- end