pipedrive_ruby 1.0.1.pre16 → 1.0.2
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/README.md +6 -1
- data/lib/pipedrive_ruby/version.rb +1 -1
- data/lib/pipedrive_ruby.rb +1 -1
- data/lib/resources/deals.rb +0 -4
- data/lib/resources/{push_notifications.rb → webhooks.rb} +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29647de22e590787c00d3074e3e74b0d69edf69a
|
|
4
|
+
data.tar.gz: 28aa20eaa8eb82dfa633c9190811c0d4ef269898
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ba5e0f821b067f685a15b3d25274b9412cb365ed6a8d70ed58f38f91ca1ed2603a0cc10cb5b28ea03a4313cae47b5be1eedca091b6253c97443ca2fc85cad0b
|
|
7
|
+
data.tar.gz: 2379235d8d254219102221d21d21d5dbdeb6a77e8dc6c0c17e14e6ff7a0efc064674b19d7fe3a86845beb3cceb2727546bbde2e72c26247a14aaa568bea45cd7
|
data/README.md
CHANGED
|
@@ -49,10 +49,15 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/lypbor
|
|
|
49
49
|
|
|
50
50
|
##Tips
|
|
51
51
|
|
|
52
|
+
If the tests fail in CI. Try the following:
|
|
53
|
+
|
|
54
|
+
1 - Remove the
|
|
52
55
|
before push/pull requests always run tests:
|
|
53
56
|
- `codeclimate analyze`
|
|
54
|
-
- `spec`
|
|
57
|
+
- `rake spec`
|
|
55
58
|
|
|
59
|
+
## Thanks
|
|
60
|
+
- Gustavo Maestri, for teach me ruby ;) (@gumaestri)
|
|
56
61
|
|
|
57
62
|
## License
|
|
58
63
|
|
data/lib/pipedrive_ruby.rb
CHANGED
|
@@ -12,12 +12,12 @@ require 'resources/activity_types'
|
|
|
12
12
|
require 'resources/authorizations'
|
|
13
13
|
require 'resources/currencies'
|
|
14
14
|
require 'resources/deal_fields'
|
|
15
|
-
require 'resources/push_notifications'
|
|
16
15
|
require 'resources/recents'
|
|
17
16
|
require 'resources/search_results'
|
|
18
17
|
require 'resources/user_settings'
|
|
19
18
|
require 'resources/users'
|
|
20
19
|
require 'resources/products'
|
|
20
|
+
require 'resources/webhooks'
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
# TODO (Felipe Borges Ferreira)
|
data/lib/resources/deals.rb
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# See https://app.pipedrive.com/push_notifications#dialog:/push_notifications/help for detailed documentation of web hooks.
|
|
5
5
|
module PipedriveRuby
|
|
6
6
|
# Returns data about all subscriptions.
|
|
7
|
-
class
|
|
8
|
-
def_delegators :endpoints, :all, :
|
|
7
|
+
class Webhooks < PipedriveRuby::Base
|
|
8
|
+
def_delegators :endpoints, :all, :create, :remove
|
|
9
9
|
end
|
|
10
10
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pipedrive_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felipe Borges Ferreira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -249,7 +249,6 @@ files:
|
|
|
249
249
|
- lib/resources/pipelines.rb
|
|
250
250
|
- lib/resources/product_fields.rb
|
|
251
251
|
- lib/resources/products.rb
|
|
252
|
-
- lib/resources/push_notifications.rb
|
|
253
252
|
- lib/resources/recents.rb
|
|
254
253
|
- lib/resources/roles.rb
|
|
255
254
|
- lib/resources/search_results.rb
|
|
@@ -257,6 +256,7 @@ files:
|
|
|
257
256
|
- lib/resources/user_connections.rb
|
|
258
257
|
- lib/resources/user_settings.rb
|
|
259
258
|
- lib/resources/users.rb
|
|
259
|
+
- lib/resources/webhooks.rb
|
|
260
260
|
- pipedrive_ruby.gemspec
|
|
261
261
|
homepage: https://github.com/lypborges/pipedrive_ruby
|
|
262
262
|
licenses:
|
|
@@ -273,14 +273,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
273
273
|
version: '0'
|
|
274
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
275
|
requirements:
|
|
276
|
-
- - "
|
|
276
|
+
- - ">="
|
|
277
277
|
- !ruby/object:Gem::Version
|
|
278
|
-
version:
|
|
278
|
+
version: '0'
|
|
279
279
|
requirements: []
|
|
280
280
|
rubyforge_project:
|
|
281
|
-
rubygems_version: 2.
|
|
281
|
+
rubygems_version: 2.4.5
|
|
282
282
|
signing_key:
|
|
283
283
|
specification_version: 4
|
|
284
284
|
summary: Wrapper for Pipedrive API call.
|
|
285
285
|
test_files: []
|
|
286
|
-
has_rdoc: yard
|