datashake-ruby-sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e9bef7b0a5f2b6c4722b987796279e4699aa1f9e6fdf1eabf26bfde0fa65963
4
- data.tar.gz: 28126f4e94e3cde865901dbaa0dd0edd6cc71c110e1ca0f22b8ae680758ecfda
3
+ metadata.gz: c5e8658f1037418c26e29a10674219c469c76946e997c33f6ee7a4c175184ec8
4
+ data.tar.gz: b313abc0652ef1bd697f5be1e152e3be79a167f1609e24a3d8f1c226e58676f5
5
5
  SHA512:
6
- metadata.gz: f3332643deab9ec63978d325db02d3584d3de04589b12b3b442dddf6edeffd1073349edcfd6c095bf6845c63cdb6905d5e27e0e4380b0756c1c5dbbe9ce73fc2
7
- data.tar.gz: d71f31d8b30f75f22571bd47249617540b9c1a54954ba34e6cdb7da24be8583c39babaf9b39e52b09351ce40700085387595fd3ba2a81655eeac7f5117234dba
6
+ metadata.gz: 1a75cd30b5894219366ad0cf9dbc723f58b47a106b437b801afe67608dab0e2d125c5cd27afb9afb440e00843ffa84abf3550280d15d3a62edb5f9c0c2f1ea52
7
+ data.tar.gz: e311c570b0b6bb3ebea576b82815193a1a28452b0aa8b2786b8b6728b193f04200853a82ae5959e38d3a802bf39edc8973321ee3a111b451fee7af246a993782
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # datashake-ruby-sdk
1
+ # Datashake Ruby SDK ![Build status](https://github.com/reviewshake/datashake-ruby-sdk/actions/workflows/main.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/datashake-ruby-sdk.svg)](https://badge.fury.io/rb/datashake-ruby-sdk)
2
2
 
3
3
  An API wrapper written in ruby for Datashake API
4
4
  https://docs.datashake.com/
@@ -54,6 +54,10 @@ To release a new version, update the version number in `version.rb`, and then ru
54
54
 
55
55
  Bug reports and pull requests are welcome on GitHub at https://github.com/reviewshake/datashake-ruby-sdk.
56
56
 
57
+ ## Release
58
+
59
+ Bump the version number in https://github.com/reviewshake/datashake-ruby-sdk/blob/main/lib/datashake-ruby-sdk/version.rb, create a release with github and a tag from the new version number. After doing the github release, build the gem (`gem build`) from your terminal and push (`gem push`) the new version rubygems https://rubygems.org/gems/datashake-ruby-sdk. You need to be a gem owner in order to do this.
60
+
57
61
  ## License
58
62
 
59
63
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -15,13 +15,13 @@ module Datashake
15
15
  attribute :source_name, Datashake::Types::Strict::String
16
16
  attribute :place_id, Datashake::Types::Strict::String.optional
17
17
  attribute :external_identifier, Datashake::Types::Strict::String.optional
18
- attribute :meta_data, Datashake::Types::Metadata
18
+ attribute :meta_data, Datashake::Types::Metadata.optional
19
19
  attribute :unique_id, Datashake::Types::Strict::String.optional
20
- attribute :review_count, Datashake::Types::Strict::Integer
21
- attribute :average_rating, Datashake::Types::Strict::Float
22
- attribute :last_crawl, Datashake::Types::Params::Date
20
+ attribute :review_count, Datashake::Types::Strict::Integer.optional
21
+ attribute :average_rating, Datashake::Types::Strict::Float.optional
22
+ attribute :last_crawl, Datashake::Types::Params::Date.optional
23
23
  attribute :crawl_status, Datashake::Types::Strict::String
24
- attribute :percentage_complete, Datashake::Types::Strict::Integer
24
+ attribute :percentage_complete, Datashake::Types::Coercible::Integer
25
25
  attribute :result_count, Datashake::Types::Strict::Integer
26
26
  attribute :credits_used, Datashake::Types::Strict::Integer
27
27
  attribute :from_date, Datashake::Types::Params::Date.optional
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Datashake
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: datashake-ruby-sdk
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
  - Reviewshake <3 Datashake
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.2'
41
- description:
41
+ description:
42
42
  email:
43
43
  - dev@shake.io
44
44
  executables: []
@@ -79,7 +79,7 @@ licenses:
79
79
  metadata:
80
80
  homepage_uri: https://docs.datashake.com
81
81
  source_code_uri: https://github.com/reviewshake/datashake-ruby-sdk
82
- post_install_message:
82
+ post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths:
85
85
  - lib
@@ -94,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.3.7
98
- signing_key:
97
+ rubygems_version: 3.0.3
98
+ signing_key:
99
99
  specification_version: 4
100
100
  summary: An API wrapper for Datashake API
101
101
  test_files: []