google_reviews 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 231e90d72dc86d146d4984725b9860fa6fe711a981cab4b1243c71e4ef432b93
4
- data.tar.gz: d1bbf7d14bd4e7cfc696b259df887846fe4307a7c699542271045e8764c80979
3
+ metadata.gz: 7a2390398990045326e6bb2fb15d1554cc4584828cb7eaa9c718f15cf4bc5963
4
+ data.tar.gz: 18c7d38928b7e37b0e42496459460e6c8fcef006afb7269eac28e31ab52c05e2
5
5
  SHA512:
6
- metadata.gz: 2f0ec4a36b6fbfd5ede619e3ec9d1720d69f3a95f7df799533a4953cde8a3d265e8d3437d5782816e5e4307e04f25d74d1f79d53ad42bb73901062d1a0c18065
7
- data.tar.gz: 37b030b38eacee137834924955f92616b13db1f903269e471d55c725ee684d174f16c26ee655d8926f8741c7f3db99b7bacbafb27c6e176ad6d5932760f3b67f
6
+ metadata.gz: 55110b305862e5b54dd11298cfaa1828353de938cedb9eed84faf959d02343c497a811082911914d9cc0ff7ed816a374131fc9ae50bb04f73ec33bcd1d897638
7
+ data.tar.gz: c88bbdb138bda9198b0ecbdaff8e4399d15be666510eb2ed17cacdb7007f4f733321f728cde5470f1b3f67d313fa42fa8f031103362bdf8169468025dff0898b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.0] - 2023-07-03
3
+ ## [1.0.0] - 2023-07-03
4
4
 
5
5
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_reviews (0.1.0)
4
+ google_reviews (1.0.0)
5
5
  i18n
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -54,9 +54,13 @@ You can rescue and handle these errors to provide appropriate error handling in
54
54
  ## Configuration
55
55
  The gem doesn't require any additional configuration. However, it's recommended to configure the locale for translations. By default, the gem uses English (`:en`) as the locale. If you want to use a different locale, you can modify the `lib/google_reviews/translations.rb file`.
56
56
 
57
- ## License
58
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
57
+ ## Submitting a Pull Request
59
58
 
60
- ## Contributing
59
+ [Fork](https://help.github.com/articles/fork-a-repo/) the [official repository](https://github.com/TheArtOfCoding/google_reviews).
60
+ [Create a topic branch.](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/)
61
+ Implement your feature or bug fix.
62
+ Add, commit, and push your changes.
63
+ [Submit a pull request.](https://help.github.com/articles/using-pull-requests/)
61
64
 
62
- Bug reports and pull requests are welcome on GitHub at https://github.com/gullariz12/google_reviews. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/gullariz12/google_reviews/blob/master/CODE_OF_CONDUCT.md).
65
+ ## License
66
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -15,9 +15,16 @@ module GoogleReviews
15
15
  def formatted_reviews_data(reviews)
16
16
  reviews.map do |review|
17
17
  {
18
- author_name: review["author_name"],
18
+ text: review["text"],
19
+ time: review["time"],
19
20
  rating: review["rating"],
20
- text: review["text"]
21
+ language: review["language"],
22
+ author_url: review["author_url"],
23
+ translated: review["translated"],
24
+ author_name: review["author_name"],
25
+ original_language: review["original_language"],
26
+ profile_photo_url: review["profile_photo_url"],
27
+ relative_time_description: review["relative_time_description"],
21
28
  }
22
29
  end
23
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoogleReviews
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_reviews
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gullariz12
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n