google-seller-rating 1.0.4 → 1.0.5

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: 738d460a1d00901b57b47991ed1cbcb16a8da19e
4
- data.tar.gz: 4dbc5a09c13ea0c489937ad228fe2fa6242f4203
3
+ metadata.gz: aba8cc5d8c88e0b56207a59f0cdc00dcb86316f2
4
+ data.tar.gz: 7fbff4b5a1048f6823d305ca516f79af9979b131
5
5
  SHA512:
6
- metadata.gz: 3aecd7f5848d3189efe6c19ff7ac1dbfd942d317e29c8448293baa22279851b1a671b1e47bb675899089c36ffbc18611c07a62b0016f0244affc752d12c81ac6
7
- data.tar.gz: 3896004667bb8298deaedcf0a9cc51e062809e73cf8bdec422683c38c611b92edc9be7868d4a19aa07bb27a545038798773ee5b9917a8162e18186b58c30ec21
6
+ metadata.gz: d99d4fa342b469fdb9ba44c278e70b74791db4aa04b2c78a32f22d6f462c26e6b25b3c51e9f8f85e4496845147069a9c50a5aca66a0946490d3e9e269187756b
7
+ data.tar.gz: 6bbdf095126a7d1c9c1af0c30a883c5998e78b045a8b7ab470486969bffd3b229d1f63d16b7d005152bf909d862ea6d305dc32087249d0b2c065aad0b0154124
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Google Seller Rating
2
2
 
3
- Fetching Google Seller Ratings.
3
+ Fetching Google Seller Ratings, e.g. amazon.com -> rating: 4.2, reviews: 56312.
4
4
 
5
5
  ## Installation
6
6
 
@@ -26,10 +26,10 @@ require 'google_seller_rating'
26
26
 
27
27
  merchant = GoogleSellerRating::Api.new
28
28
 
29
- merchant.domain = "http://www.amazon.com/" # Valid Domain
29
+ merchant.domain = "http://www.amazon.com/"
30
30
  merchant.timeout = 2 # Set Timeout in seconds || Default: 5sec
31
- merchant.format = "hash" # Format: hash || json
32
- merchant.tld = "com" # e.g. google.com
31
+ merchant.format = "hash" # Format: hash || json Default: json
32
+ merchant.tld = "com" # e.g. google.com Default: com
33
33
 
34
34
  merchant.rating # Show ratings
35
35
 
@@ -48,7 +48,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
48
48
 
49
49
  ## Contributing
50
50
 
51
- 1. Fork it ( https://github.com/axcr/google_seller_rating/fork )
51
+ 1. Fork it ( https://github.com/axcr/google-seller-rating/fork )
52
52
  2. Create your feature branch (`git checkout -b my-new-feature`)
53
53
  3. Commit your changes (`git commit -am 'Add some feature'`)
54
54
  4. Push to the branch (`git push origin my-new-feature`)
@@ -36,9 +36,9 @@ module GoogleSellerRating
36
36
  end
37
37
  case @format
38
38
  when "hash"
39
- puts rating
39
+ rating
40
40
  else
41
- puts rating.to_json
41
+ rating.to_json
42
42
  end
43
43
  rescue Exception => e
44
44
  puts "Error: #{e}"
@@ -1,3 +1,3 @@
1
1
  module GoogleSellerRating
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-seller-rating
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Cremer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2015-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.4.5
164
+ rubygems_version: 2.4.7
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Fetch Google Seller Rating