pipedrive.rb 0.2.0 → 0.3.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 +4 -4
- data/.rubocop.yml +98 -10
- data/.travis.yml +4 -7
- data/Gemfile +4 -6
- data/HISTORY.md +43 -0
- data/Rakefile +5 -2
- data/lib/pipedrive.rb +9 -1
- data/lib/pipedrive/activity.rb +2 -0
- data/lib/pipedrive/activity_type.rb +2 -0
- data/lib/pipedrive/base.rb +14 -11
- data/lib/pipedrive/deal.rb +2 -0
- data/lib/pipedrive/deal_field.rb +2 -0
- data/lib/pipedrive/file.rb +2 -0
- data/lib/pipedrive/filter.rb +2 -0
- data/lib/pipedrive/goal.rb +2 -0
- data/lib/pipedrive/note.rb +2 -0
- data/lib/pipedrive/operations/create.rb +2 -0
- data/lib/pipedrive/operations/delete.rb +2 -0
- data/lib/pipedrive/operations/read.rb +6 -3
- data/lib/pipedrive/operations/update.rb +4 -1
- data/lib/pipedrive/organization.rb +6 -3
- data/lib/pipedrive/organization_field.rb +2 -0
- data/lib/pipedrive/person.rb +7 -3
- data/lib/pipedrive/person_field.rb +2 -0
- data/lib/pipedrive/pipeline.rb +10 -0
- data/lib/pipedrive/product.rb +2 -0
- data/lib/pipedrive/product_field.rb +2 -0
- data/lib/pipedrive/railties.rb +2 -0
- data/lib/pipedrive/role.rb +2 -0
- data/lib/pipedrive/stage.rb +2 -0
- data/lib/pipedrive/user.rb +10 -0
- data/lib/pipedrive/utils.rb +6 -4
- data/lib/pipedrive/version.rb +3 -1
- data/pipedrive.gemspec +12 -8
- data/spec/lib/pipedrive/activity_spec.rb +6 -2
- data/spec/lib/pipedrive/activity_type_spec.rb +6 -2
- data/spec/lib/pipedrive/base_spec.rb +82 -49
- data/spec/lib/pipedrive/deal_field_spec.rb +6 -2
- data/spec/lib/pipedrive/deal_spec.rb +6 -2
- data/spec/lib/pipedrive/file_spec.rb +6 -2
- data/spec/lib/pipedrive/filter_spec.rb +6 -2
- data/spec/lib/pipedrive/goal_spec.rb +6 -2
- data/spec/lib/pipedrive/note_spec.rb +6 -2
- data/spec/lib/pipedrive/ogranization_spec.rb +6 -2
- data/spec/lib/pipedrive/operations/create_spec.rb +5 -3
- data/spec/lib/pipedrive/operations/delete_spec.rb +8 -5
- data/spec/lib/pipedrive/operations/read_spec.rb +32 -24
- data/spec/lib/pipedrive/operations/update_spec.rb +9 -6
- data/spec/lib/pipedrive/organization_field_spec.rb +6 -2
- data/spec/lib/pipedrive/person_field_spec.rb +6 -2
- data/spec/lib/pipedrive/person_spec.rb +18 -12
- data/spec/lib/pipedrive/product_field_spec.rb +6 -2
- data/spec/lib/pipedrive/product_spec.rb +6 -2
- data/spec/lib/pipedrive_spec.rb +28 -20
- data/spec/spec_helper.rb +2 -2
- metadata +40 -10
- data/Guardfile +0 -24
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedrive.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Simonov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '12'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '12'
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -122,6 +122,34 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-performance
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop-rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: webmock
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,7 +177,7 @@ files:
|
|
149
177
|
- ".rubocop.yml"
|
150
178
|
- ".travis.yml"
|
151
179
|
- Gemfile
|
152
|
-
-
|
180
|
+
- HISTORY.md
|
153
181
|
- LICENSE.txt
|
154
182
|
- README.md
|
155
183
|
- Rakefile
|
@@ -172,11 +200,13 @@ files:
|
|
172
200
|
- lib/pipedrive/organization_field.rb
|
173
201
|
- lib/pipedrive/person.rb
|
174
202
|
- lib/pipedrive/person_field.rb
|
203
|
+
- lib/pipedrive/pipeline.rb
|
175
204
|
- lib/pipedrive/product.rb
|
176
205
|
- lib/pipedrive/product_field.rb
|
177
206
|
- lib/pipedrive/railties.rb
|
178
207
|
- lib/pipedrive/role.rb
|
179
208
|
- lib/pipedrive/stage.rb
|
209
|
+
- lib/pipedrive/user.rb
|
180
210
|
- lib/pipedrive/utils.rb
|
181
211
|
- lib/pipedrive/version.rb
|
182
212
|
- pipedrive.gemspec
|
@@ -205,7 +235,7 @@ homepage: https://github.com/amoniacou/pipedrive.rb
|
|
205
235
|
licenses:
|
206
236
|
- MIT
|
207
237
|
metadata: {}
|
208
|
-
post_install_message:
|
238
|
+
post_install_message:
|
209
239
|
rdoc_options: []
|
210
240
|
require_paths:
|
211
241
|
- lib
|
@@ -213,15 +243,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
213
243
|
requirements:
|
214
244
|
- - ">="
|
215
245
|
- !ruby/object:Gem::Version
|
216
|
-
version: '
|
246
|
+
version: '2.5'
|
217
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
248
|
requirements:
|
219
249
|
- - ">="
|
220
250
|
- !ruby/object:Gem::Version
|
221
251
|
version: '0'
|
222
252
|
requirements: []
|
223
|
-
rubygems_version: 3.
|
224
|
-
signing_key:
|
253
|
+
rubygems_version: 3.1.4
|
254
|
+
signing_key:
|
225
255
|
specification_version: 4
|
226
256
|
summary: Pipedrive.com API Wrapper
|
227
257
|
test_files:
|
data/Guardfile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
guard 'rspec', cmd: 'rspec' do
|
2
|
-
watch(%r{^spec/.+_spec\.rb$})
|
3
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
4
|
-
watch('spec/spec_helper.rb') { "spec" }
|
5
|
-
end
|
6
|
-
|
7
|
-
guard 'bundler' do
|
8
|
-
watch('Gemfile')
|
9
|
-
watch('pipedrive.gemspec')
|
10
|
-
end
|
11
|
-
|
12
|
-
guard :cane do
|
13
|
-
watch(%r{^(.+)\.rb$})
|
14
|
-
end
|
15
|
-
|
16
|
-
guard :rubocop do
|
17
|
-
watch(%r{.+\.rb$})
|
18
|
-
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
19
|
-
end
|
20
|
-
|
21
|
-
guard :preek, run_all_dir: 'lib' do
|
22
|
-
watch(/^lib\/(.*).rb/)
|
23
|
-
end
|
24
|
-
|