easy_broker 1.0.1 → 1.0.3
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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +3 -0
- data/easy_broker.gemspec +1 -1
- data/lib/easy_broker/api_client.rb +3 -2
- data/lib/easy_broker/configuration.rb +2 -1
- data/lib/easy_broker/constants.rb +1 -0
- data/lib/easy_broker/errors.rb +2 -2
- data/lib/easy_broker/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2f84f22e90d4f7314cde19e7cb255f85524d793c7446abb6cff4266b4ee4b85
|
4
|
+
data.tar.gz: c9389b86e64570e9580f3bb006eedcdfcc3fc5fb3940da72e7142122ae01584b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121360e24da0f94a1844d283c6f5804fb7ae9a370ccc567aa63d1e013916bc761d8244aa571949f25a363b2d2ebc3ed81712875cbe35ccfddbd2bf8a14ccf13d
|
7
|
+
data.tar.gz: 647ee5039a59627191607abe3312909ede624130e25883219f552724bb93565d7ae7ded22c8e39e39c2f2d5107d93cf9becd1f0181c974656759098b3118aaea
|
data/CHANGELOG.md
CHANGED
@@ -19,5 +19,11 @@
|
|
19
19
|
* **Breaking change**: `limit`, `page`, and `search` params should be at the root level requests instead of in the `query` hash.
|
20
20
|
* Updated endpoints to use the `api` subdomain; `api.easybroker.com/v1` instead of `www.easybroker.com/api/v1`.
|
21
21
|
|
22
|
-
|
22
|
+
## 1.0.1
|
23
23
|
* Added support for agencies, agents, properties and property_integrations endpoints for integration partners.
|
24
|
+
|
25
|
+
## 1.0.2
|
26
|
+
* Added support to configure the country code header for integration partners endpoints.
|
27
|
+
|
28
|
+
## 1.0.3
|
29
|
+
* Update httparty dependency from 0.18 to 0.21
|
data/README.md
CHANGED
data/easy_broker.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
|
-
spec.add_dependency "httparty", "~> 0.
|
31
|
+
spec.add_dependency "httparty", "~> 0.21"
|
32
32
|
|
33
33
|
spec.add_development_dependency "bundler", "~> 2.2"
|
34
34
|
spec.add_development_dependency "rake", "~> 13.0"
|
@@ -10,8 +10,9 @@ class EasyBroker::ApiClient
|
|
10
10
|
def initialize(logger: nil)
|
11
11
|
self.class.base_uri EasyBroker.configuration.api_root_url
|
12
12
|
self.class.headers EasyBroker::DEFAULT_HEADERS.merge(
|
13
|
-
EasyBroker::AUTHORIZATION_HEADER => EasyBroker.configuration.api_key
|
14
|
-
|
13
|
+
EasyBroker::AUTHORIZATION_HEADER => EasyBroker.configuration.api_key,
|
14
|
+
EasyBroker::COUNTRY_CODE_HEADER => EasyBroker.configuration.country_code
|
15
|
+
).compact
|
15
16
|
@logger = logger
|
16
17
|
end
|
17
18
|
|
data/lib/easy_broker/errors.rb
CHANGED
data/lib/easy_broker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_broker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Northam
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.21'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.21'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- eric@northam.us
|
114
114
|
executables: []
|
@@ -149,7 +149,7 @@ licenses:
|
|
149
149
|
- MIT
|
150
150
|
metadata:
|
151
151
|
homepage_uri: https://github.com/easybroker/easybroker_gem/
|
152
|
-
post_install_message:
|
152
|
+
post_install_message:
|
153
153
|
rdoc_options: []
|
154
154
|
require_paths:
|
155
155
|
- lib
|
@@ -164,8 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
168
|
-
signing_key:
|
167
|
+
rubygems_version: 3.1.6
|
168
|
+
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: A gem to work with EasyBroker's API
|
171
171
|
test_files: []
|