pipedrive-connect 2.1.0 → 2.1.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/pipedrive/resources/deal.rb +5 -1
- data/lib/pipedrive/resources/organization.rb +8 -0
- data/lib/pipedrive/resources/person.rb +8 -0
- data/lib/pipedrive/resources/pipeline.rb +5 -1
- data/lib/pipedrive/resources/product.rb +5 -1
- data/lib/pipedrive/resources/stage.rb +5 -1
- data/lib/pipedrive/resources/user.rb +4 -0
- data/lib/pipedrive/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaf73c515815f3c167d4ae50a7df906187f6f907979b9112890aa67c37ce7ed0
|
4
|
+
data.tar.gz: ca708585ed82f05fb61a6c24f7a0daf40e927abec936532fe508049b4c1cded1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b939b3ec4aa1548549f2e81b81c2d8c93d1f9d35f40ca4076a6adfef8914c12c223c500d87f3b6d17681ec1d2713ded9fbd58ac8b54cf4a9eb811a8312713b92
|
7
|
+
data.tar.gz: 596515219b75357ef3e18312065b7764596f9959d24db958250b9142578f684e3b2e95c14f6378053345d51200e16e934be942760f3ca3e44c09e11bd4a73d79
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
|
7
7
|
|
8
|
+
## [2.1.1] - 2025-08-06
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
- Deal, Organization, Person, Pipeline, Product, Stage and User now support API **v2**.
|
12
|
+
|
8
13
|
## [2.1.0] - 2025-08-06
|
9
14
|
|
10
15
|
### Added
|
@@ -20,6 +25,7 @@ This change log follows the conventions of [keepachangelog.com](http://keepachan
|
|
20
25
|
|
21
26
|
- Fix bugs introduced with version 2 where the base URL for v1 was broken.
|
22
27
|
- Add GitHub Actions workflow
|
28
|
+
|
23
29
|
## [2.0.0] - 2025-04-11
|
24
30
|
|
25
31
|
- **BREAKING change**: Minimum ruby version updated to 2.7.
|
@@ -8,8 +8,12 @@ module Pipedrive
|
|
8
8
|
has_many :products, class_name: "Product"
|
9
9
|
has_many :participants, class_name: "Participant"
|
10
10
|
|
11
|
+
# fields are only available in v1
|
12
|
+
# https://developers.pipedrive.com/docs/api/v1/DealFields#getDealFields
|
13
|
+
use_fields_version :v1
|
14
|
+
|
11
15
|
def self.supports_v2_api?
|
12
|
-
|
16
|
+
true
|
13
17
|
end
|
14
18
|
end
|
15
19
|
end
|
@@ -8,5 +8,13 @@ module Pipedrive
|
|
8
8
|
has_many :activities, class_name: "Activity"
|
9
9
|
has_many :deals, class_name: "Deal"
|
10
10
|
has_many :persons, class_name: "Person"
|
11
|
+
|
12
|
+
# fields are only available in v1
|
13
|
+
# https://developers.pipedrive.com/docs/api/v1/OrganizationFields#getOrganizationFields
|
14
|
+
use_fields_version :v1
|
15
|
+
|
16
|
+
def self.supports_v2_api?
|
17
|
+
true
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
@@ -7,5 +7,13 @@ module Pipedrive
|
|
7
7
|
|
8
8
|
has_many :deals, class_name: "Deal"
|
9
9
|
has_many :activities, class_name: "Activity"
|
10
|
+
|
11
|
+
# fields are only available in v1
|
12
|
+
# https://developers.pipedrive.com/docs/api/v1/PersonFields#getPersonFields
|
13
|
+
use_fields_version :v1
|
14
|
+
|
15
|
+
def self.supports_v2_api?
|
16
|
+
true
|
17
|
+
end
|
10
18
|
end
|
11
19
|
end
|
@@ -4,8 +4,12 @@ module Pipedrive
|
|
4
4
|
class Product < Resource
|
5
5
|
include Fields
|
6
6
|
|
7
|
+
# fields are only available in v1
|
8
|
+
# https://developers.pipedrive.com/docs/api/v1/ProductFields#getProductFields
|
9
|
+
use_fields_version :v1
|
10
|
+
|
7
11
|
def self.supports_v2_api?
|
8
|
-
|
12
|
+
true
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|
data/lib/pipedrive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedrive-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Get on Board
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|