pipedrive_api_rb 1.0.0
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 +7 -0
- data/.cane +5 -0
- data/.gitignore +23 -0
- data/.rspec +2 -0
- data/.rubocop.yml +105 -0
- data/.travis.yml +14 -0
- data/Gemfile +6 -0
- data/HISTORY.md +43 -0
- data/LICENSE.txt +22 -0
- data/README.md +98 -0
- data/Rakefile +12 -0
- data/defaults.reek +11 -0
- data/lib/pipedrive/activity.rb +10 -0
- data/lib/pipedrive/activity_type.rb +14 -0
- data/lib/pipedrive/base.rb +93 -0
- data/lib/pipedrive/deal.rb +10 -0
- data/lib/pipedrive/deal_field.rb +13 -0
- data/lib/pipedrive/file.rb +10 -0
- data/lib/pipedrive/filter.rb +8 -0
- data/lib/pipedrive/goal.rb +10 -0
- data/lib/pipedrive/lead.rb +8 -0
- data/lib/pipedrive/lead_label.rb +12 -0
- data/lib/pipedrive/note.rb +10 -0
- data/lib/pipedrive/operations/create.rb +13 -0
- data/lib/pipedrive/operations/delete.rb +17 -0
- data/lib/pipedrive/operations/read.rb +32 -0
- data/lib/pipedrive/operations/update.rb +18 -0
- data/lib/pipedrive/organization.rb +20 -0
- data/lib/pipedrive/organization_field.rb +13 -0
- data/lib/pipedrive/person.rb +22 -0
- data/lib/pipedrive/person_field.rb +14 -0
- data/lib/pipedrive/pipeline.rb +10 -0
- data/lib/pipedrive/product.rb +10 -0
- data/lib/pipedrive/product_field.rb +13 -0
- data/lib/pipedrive/railties.rb +9 -0
- data/lib/pipedrive/role.rb +10 -0
- data/lib/pipedrive/stage.rb +10 -0
- data/lib/pipedrive/user.rb +10 -0
- data/lib/pipedrive/utils.rb +20 -0
- data/lib/pipedrive/version.rb +5 -0
- data/lib/pipedrive.rb +100 -0
- data/pipedrive.gemspec +34 -0
- data/spec/lib/pipedrive/activity_spec.rb +13 -0
- data/spec/lib/pipedrive/activity_type_spec.rb +13 -0
- data/spec/lib/pipedrive/base_spec.rb +155 -0
- data/spec/lib/pipedrive/deal_field_spec.rb +13 -0
- data/spec/lib/pipedrive/deal_spec.rb +13 -0
- data/spec/lib/pipedrive/file_spec.rb +13 -0
- data/spec/lib/pipedrive/filter_spec.rb +13 -0
- data/spec/lib/pipedrive/goal_spec.rb +13 -0
- data/spec/lib/pipedrive/lead_label_spec.rb +9 -0
- data/spec/lib/pipedrive/lead_spec.rb +9 -0
- data/spec/lib/pipedrive/note_spec.rb +13 -0
- data/spec/lib/pipedrive/ogranization_spec.rb +13 -0
- data/spec/lib/pipedrive/operations/create_spec.rb +18 -0
- data/spec/lib/pipedrive/operations/delete_spec.rb +25 -0
- data/spec/lib/pipedrive/operations/read_spec.rb +77 -0
- data/spec/lib/pipedrive/operations/update_spec.rb +23 -0
- data/spec/lib/pipedrive/organization_field_spec.rb +13 -0
- data/spec/lib/pipedrive/person_field_spec.rb +13 -0
- data/spec/lib/pipedrive/person_spec.rb +30 -0
- data/spec/lib/pipedrive/product_field_spec.rb +13 -0
- data/spec/lib/pipedrive/product_spec.rb +13 -0
- data/spec/lib/pipedrive_spec.rb +73 -0
- data/spec/spec_helper.rb +5 -0
- metadata +285 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::Operations::Read do
|
6
|
+
subject do
|
7
|
+
Class.new(::Pipedrive::Base) do
|
8
|
+
include ::Pipedrive::Operations::Read
|
9
|
+
end.new('token')
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#find_by_id' do
|
13
|
+
it 'calls #make_api_call' do
|
14
|
+
expect(subject).to receive(:make_api_call).with(:get, 12)
|
15
|
+
subject.find_by_id(12)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
describe '#each' do
|
20
|
+
let(:additional_data) do
|
21
|
+
{ pagination: { more_items_in_collection?: true, next_start: 10 } }
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'returns Enumerator if no block given' do
|
25
|
+
expect(subject.each).to be_a(::Enumerator)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'calls to_enum with params' do
|
29
|
+
expect(subject).to receive(:to_enum).with(:each, { foo: 'bar' })
|
30
|
+
subject.each(foo: 'bar')
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'yields data' do
|
34
|
+
expect(subject).to receive(:chunk).and_return(::Hashie::Mash.new(data: [1, 2], success: true))
|
35
|
+
expect { |b| subject.each(&b) }.to yield_successive_args(1, 2)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'follows pagination' do
|
39
|
+
expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(data: [1, 2], success: true, additional_data: additional_data))
|
40
|
+
expect(subject).to receive(:chunk).with(start: 10).and_return(::Hashie::Mash.new(data: [3, 4], success: true))
|
41
|
+
expect { |b| subject.each(&b) }.to yield_successive_args(1, 2, 3, 4)
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'does not yield anything if result is empty' do
|
45
|
+
expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(success: true))
|
46
|
+
expect { |b| subject.each(&b) }.to yield_successive_args
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'does not yield anything if result is not success' do
|
50
|
+
expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(success: false))
|
51
|
+
expect { |b| subject.each(&b) }.to yield_successive_args
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe '#all' do
|
56
|
+
it 'calls #each' do
|
57
|
+
arr = double('enumerator')
|
58
|
+
allow(arr).to receive(:to_a)
|
59
|
+
expect(subject).to receive(:each).and_return(arr)
|
60
|
+
subject.all
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe '#chunk' do
|
65
|
+
it 'returns []' do
|
66
|
+
res = double('res', success?: false)
|
67
|
+
expect(subject).to receive(:make_api_call).with(:get, {}).and_return(res)
|
68
|
+
expect(subject.chunk).to eq([])
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'returns result' do
|
72
|
+
res = double('res', success?: true)
|
73
|
+
expect(subject).to receive(:make_api_call).with(:get, {}).and_return(res)
|
74
|
+
expect(subject.chunk).to eq(res)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::Operations::Update do
|
6
|
+
subject do
|
7
|
+
Class.new(::Pipedrive::Base) do
|
8
|
+
include ::Pipedrive::Operations::Update
|
9
|
+
end.new('token')
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#create' do
|
13
|
+
it 'calls #make_api_call' do
|
14
|
+
expect(subject).to receive(:make_api_call).with(:put, 12, { foo: 'bar' })
|
15
|
+
subject.update(12, foo: 'bar')
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'calls #make_api_call with id in params' do
|
19
|
+
expect(subject).to receive(:make_api_call).with(:put, 14, { foo: 'bar' })
|
20
|
+
subject.update(foo: 'bar', id: 14)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::OrganizationField do
|
6
|
+
subject { described_class.new('token') }
|
7
|
+
|
8
|
+
describe '#entity_name' do
|
9
|
+
subject { super().entity_name }
|
10
|
+
|
11
|
+
it { is_expected.to eq('organizationFields') }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::PersonField do
|
6
|
+
subject { described_class.new('token') }
|
7
|
+
|
8
|
+
describe '#entity_name' do
|
9
|
+
subject { super().entity_name }
|
10
|
+
|
11
|
+
it { is_expected.to eq('personFields') }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::Person do
|
6
|
+
subject { described_class.new('token') }
|
7
|
+
|
8
|
+
describe '#entity_name' do
|
9
|
+
subject { super().entity_name }
|
10
|
+
|
11
|
+
it { is_expected.to eq('persons') }
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '#find_by_name' do
|
15
|
+
it 'calls #make_api_call with term' do
|
16
|
+
expect(subject).to receive(:make_api_call).with(:get, 'find', { term: 'term', search_by_email: 0, start: 0 })
|
17
|
+
expect { |b| subject.find_by_name('term', &b) }.to yield_successive_args
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'calls #make_api_call with term and search_by_email' do
|
21
|
+
expect(subject).to receive(:make_api_call).with(:get, 'find', { term: 'term', search_by_email: 1, start: 0 })
|
22
|
+
expect { |b| subject.find_by_name('term', true, &b) }.to yield_successive_args
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'yields results' do
|
26
|
+
expect(subject).to receive(:make_api_call).with(:get, 'find', { term: 'term', search_by_email: 0, start: 0 }).and_return(::Hashie::Mash.new(data: [1, 2], success: true))
|
27
|
+
expect { |b| subject.find_by_name('term', &b) }.to yield_successive_args(1, 2)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::ProductField do
|
6
|
+
subject { described_class.new('token') }
|
7
|
+
|
8
|
+
describe '#entity_name' do
|
9
|
+
subject { super().entity_name }
|
10
|
+
|
11
|
+
it { is_expected.to eq('productFields') }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive::Product do
|
6
|
+
subject { described_class.new('token') }
|
7
|
+
|
8
|
+
describe '#entity_name' do
|
9
|
+
subject { super().entity_name }
|
10
|
+
|
11
|
+
it { is_expected.to eq('products') }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe ::Pipedrive do
|
6
|
+
subject { described_class }
|
7
|
+
|
8
|
+
before do
|
9
|
+
described_class.reset!
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#reset!' do
|
13
|
+
describe '#user_agent' do
|
14
|
+
subject { super().user_agent }
|
15
|
+
|
16
|
+
it { is_expected.to eq("Pipedrive Ruby Client v#{::Pipedrive::VERSION}") }
|
17
|
+
end
|
18
|
+
|
19
|
+
describe '#api_token' do
|
20
|
+
subject { super().api_token }
|
21
|
+
|
22
|
+
it { is_expected.to be_nil }
|
23
|
+
end
|
24
|
+
|
25
|
+
describe '#logger' do
|
26
|
+
subject { super().logger }
|
27
|
+
|
28
|
+
it { is_expected.to be_kind_of(::Logger) }
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe '#setup' do
|
33
|
+
context 'single call' do
|
34
|
+
let(:client) { described_class }
|
35
|
+
|
36
|
+
it 'sets user_agent' do
|
37
|
+
client.setup do |c|
|
38
|
+
c.user_agent = 'Test1245'
|
39
|
+
end
|
40
|
+
expect(client.user_agent).to eq('Test1245')
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'sets logger' do
|
44
|
+
newlogger = ::Logger.new($stderr)
|
45
|
+
client.setup do |c|
|
46
|
+
c.logger = newlogger
|
47
|
+
end
|
48
|
+
expect(client.logger).to eq(newlogger)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'sets api_token' do
|
52
|
+
client.setup do |c|
|
53
|
+
c.api_token = 'test-api-key'
|
54
|
+
end
|
55
|
+
expect(client.api_token).to eq('test-api-key')
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
context 'with double call' do
|
60
|
+
let(:client) { described_class }
|
61
|
+
|
62
|
+
it 'does not accept running setup more then once' do
|
63
|
+
client.setup do |c|
|
64
|
+
c.api_token = 'test-api-key'
|
65
|
+
end
|
66
|
+
client.setup do |c|
|
67
|
+
c.api_token = 'test-api-key2'
|
68
|
+
end
|
69
|
+
expect(client.api_token).to eq('test-api-key')
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,285 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pipedrive_api_rb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jan Sterba
|
8
|
+
- Alexander Simonov
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 4.0.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 4.0.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: faraday
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: faraday-mashify
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: hashie
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: bundler
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rake
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '12'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '12'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: rspec
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '3.0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '3.0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: rubocop
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: rubocop-performance
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: rubocop-rspec
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: webmock
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
description: Pipedrive.com API Wrapper
|
169
|
+
email:
|
170
|
+
- info@jansterba.com
|
171
|
+
executables: []
|
172
|
+
extensions: []
|
173
|
+
extra_rdoc_files: []
|
174
|
+
files:
|
175
|
+
- ".cane"
|
176
|
+
- ".gitignore"
|
177
|
+
- ".rspec"
|
178
|
+
- ".rubocop.yml"
|
179
|
+
- ".travis.yml"
|
180
|
+
- Gemfile
|
181
|
+
- HISTORY.md
|
182
|
+
- LICENSE.txt
|
183
|
+
- README.md
|
184
|
+
- Rakefile
|
185
|
+
- defaults.reek
|
186
|
+
- lib/pipedrive.rb
|
187
|
+
- lib/pipedrive/activity.rb
|
188
|
+
- lib/pipedrive/activity_type.rb
|
189
|
+
- lib/pipedrive/base.rb
|
190
|
+
- lib/pipedrive/deal.rb
|
191
|
+
- lib/pipedrive/deal_field.rb
|
192
|
+
- lib/pipedrive/file.rb
|
193
|
+
- lib/pipedrive/filter.rb
|
194
|
+
- lib/pipedrive/goal.rb
|
195
|
+
- lib/pipedrive/lead.rb
|
196
|
+
- lib/pipedrive/lead_label.rb
|
197
|
+
- lib/pipedrive/note.rb
|
198
|
+
- lib/pipedrive/operations/create.rb
|
199
|
+
- lib/pipedrive/operations/delete.rb
|
200
|
+
- lib/pipedrive/operations/read.rb
|
201
|
+
- lib/pipedrive/operations/update.rb
|
202
|
+
- lib/pipedrive/organization.rb
|
203
|
+
- lib/pipedrive/organization_field.rb
|
204
|
+
- lib/pipedrive/person.rb
|
205
|
+
- lib/pipedrive/person_field.rb
|
206
|
+
- lib/pipedrive/pipeline.rb
|
207
|
+
- lib/pipedrive/product.rb
|
208
|
+
- lib/pipedrive/product_field.rb
|
209
|
+
- lib/pipedrive/railties.rb
|
210
|
+
- lib/pipedrive/role.rb
|
211
|
+
- lib/pipedrive/stage.rb
|
212
|
+
- lib/pipedrive/user.rb
|
213
|
+
- lib/pipedrive/utils.rb
|
214
|
+
- lib/pipedrive/version.rb
|
215
|
+
- pipedrive.gemspec
|
216
|
+
- spec/lib/pipedrive/activity_spec.rb
|
217
|
+
- spec/lib/pipedrive/activity_type_spec.rb
|
218
|
+
- spec/lib/pipedrive/base_spec.rb
|
219
|
+
- spec/lib/pipedrive/deal_field_spec.rb
|
220
|
+
- spec/lib/pipedrive/deal_spec.rb
|
221
|
+
- spec/lib/pipedrive/file_spec.rb
|
222
|
+
- spec/lib/pipedrive/filter_spec.rb
|
223
|
+
- spec/lib/pipedrive/goal_spec.rb
|
224
|
+
- spec/lib/pipedrive/lead_label_spec.rb
|
225
|
+
- spec/lib/pipedrive/lead_spec.rb
|
226
|
+
- spec/lib/pipedrive/note_spec.rb
|
227
|
+
- spec/lib/pipedrive/ogranization_spec.rb
|
228
|
+
- spec/lib/pipedrive/operations/create_spec.rb
|
229
|
+
- spec/lib/pipedrive/operations/delete_spec.rb
|
230
|
+
- spec/lib/pipedrive/operations/read_spec.rb
|
231
|
+
- spec/lib/pipedrive/operations/update_spec.rb
|
232
|
+
- spec/lib/pipedrive/organization_field_spec.rb
|
233
|
+
- spec/lib/pipedrive/person_field_spec.rb
|
234
|
+
- spec/lib/pipedrive/person_spec.rb
|
235
|
+
- spec/lib/pipedrive/product_field_spec.rb
|
236
|
+
- spec/lib/pipedrive/product_spec.rb
|
237
|
+
- spec/lib/pipedrive_spec.rb
|
238
|
+
- spec/spec_helper.rb
|
239
|
+
homepage: https://github.com/honzasterba/pipedrive_api_rb
|
240
|
+
licenses:
|
241
|
+
- MIT
|
242
|
+
metadata: {}
|
243
|
+
post_install_message:
|
244
|
+
rdoc_options: []
|
245
|
+
require_paths:
|
246
|
+
- lib
|
247
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ">="
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '2.5'
|
252
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: '0'
|
257
|
+
requirements: []
|
258
|
+
rubygems_version: 3.3.7
|
259
|
+
signing_key:
|
260
|
+
specification_version: 4
|
261
|
+
summary: Pipedrive.com API Wrapper
|
262
|
+
test_files:
|
263
|
+
- spec/lib/pipedrive/activity_spec.rb
|
264
|
+
- spec/lib/pipedrive/activity_type_spec.rb
|
265
|
+
- spec/lib/pipedrive/base_spec.rb
|
266
|
+
- spec/lib/pipedrive/deal_field_spec.rb
|
267
|
+
- spec/lib/pipedrive/deal_spec.rb
|
268
|
+
- spec/lib/pipedrive/file_spec.rb
|
269
|
+
- spec/lib/pipedrive/filter_spec.rb
|
270
|
+
- spec/lib/pipedrive/goal_spec.rb
|
271
|
+
- spec/lib/pipedrive/lead_label_spec.rb
|
272
|
+
- spec/lib/pipedrive/lead_spec.rb
|
273
|
+
- spec/lib/pipedrive/note_spec.rb
|
274
|
+
- spec/lib/pipedrive/ogranization_spec.rb
|
275
|
+
- spec/lib/pipedrive/operations/create_spec.rb
|
276
|
+
- spec/lib/pipedrive/operations/delete_spec.rb
|
277
|
+
- spec/lib/pipedrive/operations/read_spec.rb
|
278
|
+
- spec/lib/pipedrive/operations/update_spec.rb
|
279
|
+
- spec/lib/pipedrive/organization_field_spec.rb
|
280
|
+
- spec/lib/pipedrive/person_field_spec.rb
|
281
|
+
- spec/lib/pipedrive/person_spec.rb
|
282
|
+
- spec/lib/pipedrive/product_field_spec.rb
|
283
|
+
- spec/lib/pipedrive/product_spec.rb
|
284
|
+
- spec/lib/pipedrive_spec.rb
|
285
|
+
- spec/spec_helper.rb
|