pipedrive.rb 0.1.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.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/.cane +5 -0
  3. data/.gitignore +23 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +17 -0
  6. data/.travis.yml +10 -0
  7. data/Gemfile +20 -0
  8. data/Guardfile +24 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +100 -0
  11. data/Rakefile +27 -0
  12. data/defaults.reek +11 -0
  13. data/lib/pipedrive.rb +92 -0
  14. data/lib/pipedrive/activity.rb +8 -0
  15. data/lib/pipedrive/activity_type.rb +12 -0
  16. data/lib/pipedrive/base.rb +87 -0
  17. data/lib/pipedrive/deal.rb +8 -0
  18. data/lib/pipedrive/deal_field.rb +11 -0
  19. data/lib/pipedrive/file.rb +8 -0
  20. data/lib/pipedrive/filter.rb +6 -0
  21. data/lib/pipedrive/goal.rb +8 -0
  22. data/lib/pipedrive/note.rb +8 -0
  23. data/lib/pipedrive/operations/create.rb +11 -0
  24. data/lib/pipedrive/operations/delete.rb +15 -0
  25. data/lib/pipedrive/operations/read.rb +29 -0
  26. data/lib/pipedrive/operations/update.rb +15 -0
  27. data/lib/pipedrive/organization.rb +8 -0
  28. data/lib/pipedrive/organization_field.rb +11 -0
  29. data/lib/pipedrive/person.rb +18 -0
  30. data/lib/pipedrive/person_field.rb +11 -0
  31. data/lib/pipedrive/product.rb +8 -0
  32. data/lib/pipedrive/product_field.rb +11 -0
  33. data/lib/pipedrive/railties.rb +7 -0
  34. data/lib/pipedrive/role.rb +8 -0
  35. data/lib/pipedrive/stage.rb +8 -0
  36. data/lib/pipedrive/utils.rb +18 -0
  37. data/lib/pipedrive/version.rb +3 -0
  38. data/pipedrive.gemspec +29 -0
  39. data/spec/lib/pipedrive/activity_spec.rb +9 -0
  40. data/spec/lib/pipedrive/activity_type_spec.rb +9 -0
  41. data/spec/lib/pipedrive/base_spec.rb +122 -0
  42. data/spec/lib/pipedrive/deal_field_spec.rb +9 -0
  43. data/spec/lib/pipedrive/deal_spec.rb +9 -0
  44. data/spec/lib/pipedrive/file_spec.rb +9 -0
  45. data/spec/lib/pipedrive/filter_spec.rb +9 -0
  46. data/spec/lib/pipedrive/goal_spec.rb +9 -0
  47. data/spec/lib/pipedrive/note_spec.rb +9 -0
  48. data/spec/lib/pipedrive/ogranization_spec.rb +9 -0
  49. data/spec/lib/pipedrive/operations/create_spec.rb +16 -0
  50. data/spec/lib/pipedrive/operations/delete_spec.rb +22 -0
  51. data/spec/lib/pipedrive/operations/read_spec.rb +69 -0
  52. data/spec/lib/pipedrive/operations/update_spec.rb +20 -0
  53. data/spec/lib/pipedrive/organization_field_spec.rb +9 -0
  54. data/spec/lib/pipedrive/person_field_spec.rb +9 -0
  55. data/spec/lib/pipedrive/person_spec.rb +24 -0
  56. data/spec/lib/pipedrive/product_field_spec.rb +9 -0
  57. data/spec/lib/pipedrive/product_spec.rb +9 -0
  58. data/spec/lib/pipedrive_spec.rb +65 -0
  59. data/spec/spec_helper.rb +17 -0
  60. metadata +235 -0
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Deal do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('deals') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::File do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('files') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Filter do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('filters') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Goal do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('goals') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Note do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('notes') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Organization do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('organizations') }
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Operations::Create do
4
+ subject do
5
+ Class.new(::Pipedrive::Base) do
6
+ include ::Pipedrive::Operations::Create
7
+ end.new('token')
8
+ end
9
+
10
+ context '#create' do
11
+ it 'should call #make_api_call' do
12
+ expect(subject).to receive(:make_api_call).with(:post, {foo: 'bar'})
13
+ subject.create(foo: 'bar')
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Operations::Delete do
4
+ subject do
5
+ Class.new(::Pipedrive::Base) do
6
+ include ::Pipedrive::Operations::Delete
7
+ end.new('token')
8
+ end
9
+
10
+ context '#delete' do
11
+ it 'should call #make_api_call' do
12
+ expect(subject).to receive(:make_api_call).with(:delete, 12)
13
+ subject.delete(12)
14
+ end
15
+ end
16
+ context '#delete_all' do
17
+ it 'should call #make_api_call' do
18
+ expect(subject).to receive(:make_api_call).with(:delete)
19
+ subject.delete_all
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,69 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Operations::Read do
4
+ subject do
5
+ Class.new(::Pipedrive::Base) do
6
+ include ::Pipedrive::Operations::Read
7
+ end.new('token')
8
+ end
9
+
10
+ context '#find_by_id' do
11
+ it 'should call #make_api_call' do
12
+ expect(subject).to receive(:make_api_call).with(:get, 12)
13
+ subject.find_by_id(12)
14
+ end
15
+ end
16
+
17
+ context '#each' do
18
+ let(:additional_data) do
19
+ {pagination: { more_items_in_collection?: true, next_start: 10}}
20
+ end
21
+ it 'should return Enumerator if no block given' do
22
+ expect(subject.each).to be_a(::Enumerator)
23
+ end
24
+ it 'should call to_enum with params' do
25
+ expect(subject).to receive(:to_enum).with(:each, {foo: 'bar'})
26
+ subject.each(foo: 'bar')
27
+ end
28
+ it 'should yield data' do
29
+ expect(subject).to receive(:chunk).and_return(::Hashie::Mash.new(data: [1,2], success: true))
30
+ expect { |b| subject.each(&b)}.to yield_successive_args(1,2)
31
+ end
32
+ it 'should follow pagination' do
33
+ expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(data: [1,2], success: true, additional_data: additional_data))
34
+ expect(subject).to receive(:chunk).with(start: 10).and_return(::Hashie::Mash.new(data: [3,4], success: true))
35
+ expect { |b| subject.each(&b)}.to yield_successive_args(1,2,3,4)
36
+ end
37
+ it 'should not yield anything if result is empty' do
38
+ expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(success: true))
39
+ expect { |b| subject.each(&b)}.to yield_successive_args
40
+ end
41
+ it 'should not yield anything if result is not success' do
42
+ expect(subject).to receive(:chunk).with(start: 0).and_return(::Hashie::Mash.new(success: false))
43
+ expect { |b| subject.each(&b)}.to yield_successive_args
44
+ end
45
+ end
46
+
47
+ context '#all' do
48
+ it 'should call #each' do
49
+ arr = double('enumerator')
50
+ allow(arr).to receive(:to_a)
51
+ expect(subject).to receive(:each).and_return(arr)
52
+ subject.all
53
+ end
54
+ end
55
+
56
+ context '#chunk' do
57
+ it 'should return []' do
58
+ res = double('res', success?: false)
59
+ expect(subject).to receive(:make_api_call).with(:get, {}).and_return(res)
60
+ expect(subject.chunk).to eq([])
61
+ end
62
+
63
+ it 'should return result' do
64
+ res = double('res', success?: true)
65
+ expect(subject).to receive(:make_api_call).with(:get, {}).and_return(res)
66
+ expect(subject.chunk).to eq(res)
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Operations::Update do
4
+ subject do
5
+ Class.new(::Pipedrive::Base) do
6
+ include ::Pipedrive::Operations::Update
7
+ end.new('token')
8
+ end
9
+
10
+ context '#create' do
11
+ it 'should call #make_api_call' do
12
+ expect(subject).to receive(:make_api_call).with(:put, 12, {foo: 'bar'})
13
+ subject.update(12, foo: 'bar')
14
+ end
15
+ it 'should call #make_api_call with id in params' do
16
+ expect(subject).to receive(:make_api_call).with(:put, 14, {foo: 'bar'})
17
+ subject.update(foo: 'bar', id: 14)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::OrganizationField do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('organizationFields') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::PersonField do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('personFields') }
8
+ end
9
+ end
@@ -0,0 +1,24 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Person do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('persons') }
8
+ end
9
+
10
+ context '#find_by_name' do
11
+ it 'should call #make_api_call with term' do
12
+ expect(subject).to receive(:make_api_call).with(:get, 'find', {term: 'term', search_by_email: 0, start: 0})
13
+ expect { |b| subject.find_by_name('term', &b)}.to yield_successive_args
14
+ end
15
+ it 'should call #make_api_call with term and search_by_email' do
16
+ expect(subject).to receive(:make_api_call).with(:get, 'find', {term: 'term', search_by_email: 1, start: 0})
17
+ expect { |b| subject.find_by_name('term', true, &b)}.to yield_successive_args
18
+ end
19
+ it 'should yield results' do
20
+ 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))
21
+ expect { |b| subject.find_by_name('term', &b)}.to yield_successive_args(1,2)
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::ProductField do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('productFields') }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive::Product do
4
+ subject { described_class.new('token') }
5
+ context '#entity_name' do
6
+ subject { super().entity_name }
7
+ it { is_expected.to eq('products') }
8
+ end
9
+ end
@@ -0,0 +1,65 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe ::Pipedrive do
4
+
5
+ subject { described_class }
6
+
7
+ before :each do
8
+ described_class.reset!
9
+ end
10
+
11
+ context '#reset!' do
12
+ describe '#user_agent' do
13
+ subject { super().user_agent }
14
+ it { is_expected.to eq("Pipedrive Ruby Client v#{::Pipedrive::VERSION}") }
15
+ end
16
+
17
+ describe '#api_token' do
18
+ subject { super().api_token }
19
+ it { is_expected.to be_nil }
20
+ end
21
+
22
+ describe '#logger' do
23
+ subject { super().logger }
24
+ it { is_expected.to be_kind_of(::Logger) }
25
+ end
26
+ end
27
+
28
+ context '#setup' do
29
+ context 'single call' do
30
+ it 'should set user_agent' do
31
+ subject.setup do |c|
32
+ c.user_agent = 'Test1245'
33
+ end
34
+ expect(subject.user_agent).to eq('Test1245')
35
+ end
36
+
37
+ it 'should set logger' do
38
+ newlogger = ::Logger.new(STDERR)
39
+ subject.setup do |c|
40
+ c.logger = newlogger
41
+ end
42
+ expect(subject.logger).to eq(newlogger)
43
+ end
44
+
45
+ it 'should set api_token' do
46
+ subject.setup do |c|
47
+ c.api_token = 'test-api-key'
48
+ end
49
+ expect(subject.api_token).to eq('test-api-key')
50
+ end
51
+ end
52
+
53
+ context 'double call' do
54
+ it 'should not accept running setup more then once' do
55
+ subject.setup do |c|
56
+ c.api_token = 'test-api-key'
57
+ end
58
+ subject.setup do |c|
59
+ c.api_token = 'test-api-key2'
60
+ end
61
+ expect(subject.api_token).to eq('test-api-key')
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,17 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+
4
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
5
+ SimpleCov::Formatter::HTMLFormatter,
6
+ Coveralls::SimpleCov::Formatter
7
+ ]
8
+ SimpleCov.start do
9
+ add_filter 'spec'
10
+ minimum_coverage(76)
11
+ end
12
+ require 'webmock'
13
+ require 'webmock/rspec'
14
+ require 'pipedrive'
15
+
16
+ RSpec.configure do |config|
17
+ end
metadata ADDED
@@ -0,0 +1,235 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pipedrive.rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Simonov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 4.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 4.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: hashie
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Pipedrive.com API Wrapper
126
+ email:
127
+ - alex@simonov.me
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".cane"
133
+ - ".gitignore"
134
+ - ".rspec"
135
+ - ".rubocop.yml"
136
+ - ".travis.yml"
137
+ - Gemfile
138
+ - Guardfile
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - defaults.reek
143
+ - lib/pipedrive.rb
144
+ - lib/pipedrive/activity.rb
145
+ - lib/pipedrive/activity_type.rb
146
+ - lib/pipedrive/base.rb
147
+ - lib/pipedrive/deal.rb
148
+ - lib/pipedrive/deal_field.rb
149
+ - lib/pipedrive/file.rb
150
+ - lib/pipedrive/filter.rb
151
+ - lib/pipedrive/goal.rb
152
+ - lib/pipedrive/note.rb
153
+ - lib/pipedrive/operations/create.rb
154
+ - lib/pipedrive/operations/delete.rb
155
+ - lib/pipedrive/operations/read.rb
156
+ - lib/pipedrive/operations/update.rb
157
+ - lib/pipedrive/organization.rb
158
+ - lib/pipedrive/organization_field.rb
159
+ - lib/pipedrive/person.rb
160
+ - lib/pipedrive/person_field.rb
161
+ - lib/pipedrive/product.rb
162
+ - lib/pipedrive/product_field.rb
163
+ - lib/pipedrive/railties.rb
164
+ - lib/pipedrive/role.rb
165
+ - lib/pipedrive/stage.rb
166
+ - lib/pipedrive/utils.rb
167
+ - lib/pipedrive/version.rb
168
+ - pipedrive.gemspec
169
+ - spec/lib/pipedrive/activity_spec.rb
170
+ - spec/lib/pipedrive/activity_type_spec.rb
171
+ - spec/lib/pipedrive/base_spec.rb
172
+ - spec/lib/pipedrive/deal_field_spec.rb
173
+ - spec/lib/pipedrive/deal_spec.rb
174
+ - spec/lib/pipedrive/file_spec.rb
175
+ - spec/lib/pipedrive/filter_spec.rb
176
+ - spec/lib/pipedrive/goal_spec.rb
177
+ - spec/lib/pipedrive/note_spec.rb
178
+ - spec/lib/pipedrive/ogranization_spec.rb
179
+ - spec/lib/pipedrive/operations/create_spec.rb
180
+ - spec/lib/pipedrive/operations/delete_spec.rb
181
+ - spec/lib/pipedrive/operations/read_spec.rb
182
+ - spec/lib/pipedrive/operations/update_spec.rb
183
+ - spec/lib/pipedrive/organization_field_spec.rb
184
+ - spec/lib/pipedrive/person_field_spec.rb
185
+ - spec/lib/pipedrive/person_spec.rb
186
+ - spec/lib/pipedrive/product_field_spec.rb
187
+ - spec/lib/pipedrive/product_spec.rb
188
+ - spec/lib/pipedrive_spec.rb
189
+ - spec/spec_helper.rb
190
+ homepage: https://github.com/dotpromo/pipedrive.rb
191
+ licenses:
192
+ - MIT
193
+ metadata: {}
194
+ post_install_message:
195
+ rdoc_options: []
196
+ require_paths:
197
+ - lib
198
+ required_ruby_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ required_rubygems_version: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ requirements: []
209
+ rubyforge_project:
210
+ rubygems_version: 2.2.2
211
+ signing_key:
212
+ specification_version: 4
213
+ summary: Pipedrive.com API Wrapper
214
+ test_files:
215
+ - spec/lib/pipedrive/activity_spec.rb
216
+ - spec/lib/pipedrive/activity_type_spec.rb
217
+ - spec/lib/pipedrive/base_spec.rb
218
+ - spec/lib/pipedrive/deal_field_spec.rb
219
+ - spec/lib/pipedrive/deal_spec.rb
220
+ - spec/lib/pipedrive/file_spec.rb
221
+ - spec/lib/pipedrive/filter_spec.rb
222
+ - spec/lib/pipedrive/goal_spec.rb
223
+ - spec/lib/pipedrive/note_spec.rb
224
+ - spec/lib/pipedrive/ogranization_spec.rb
225
+ - spec/lib/pipedrive/operations/create_spec.rb
226
+ - spec/lib/pipedrive/operations/delete_spec.rb
227
+ - spec/lib/pipedrive/operations/read_spec.rb
228
+ - spec/lib/pipedrive/operations/update_spec.rb
229
+ - spec/lib/pipedrive/organization_field_spec.rb
230
+ - spec/lib/pipedrive/person_field_spec.rb
231
+ - spec/lib/pipedrive/person_spec.rb
232
+ - spec/lib/pipedrive/product_field_spec.rb
233
+ - spec/lib/pipedrive/product_spec.rb
234
+ - spec/lib/pipedrive_spec.rb
235
+ - spec/spec_helper.rb