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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7143dd5e2bab8fe2a877fffa837c48df3a3e3554
4
- data.tar.gz: 422ad66ae48f1de65636e03f496e1662add257d6
3
+ metadata.gz: 29647de22e590787c00d3074e3e74b0d69edf69a
4
+ data.tar.gz: 28aa20eaa8eb82dfa633c9190811c0d4ef269898
5
5
  SHA512:
6
- metadata.gz: a4569f5fe3ea7675f6526ada9d0877bc6ba98718823b399271a7e5c7fc76c78bcfa5be07e194b76ddf1d4a22d591ed816c491cbf02bcacc1bd48bbe245ebf090
7
- data.tar.gz: cd7f0db9c959f8456d6fa732d749399bb38f46ea025fd8c416d4d06551224a378197f1660855c50bbc96e1175eb92f86ec2eb9ed36d4bf6b5ac83007ac924ae6
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
 
@@ -1,4 +1,4 @@
1
1
  module PipedriveRuby
2
2
  # version of gem
3
- VERSION = "1.0.1.pre16"
3
+ VERSION = "1.0.2"
4
4
  end
@@ -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)
@@ -42,10 +42,6 @@ module PipedriveRuby
42
42
  def delete_participant(deal, participant)
43
43
  end
44
44
 
45
- def emails(deal)
46
- custom_get(:path => "#{deal['id']}/emailMessages")
47
- end
48
-
49
45
  def find_by_title(term)
50
46
  find_by(term)
51
47
  end
@@ -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 PushNotifications < PipedriveRuby::Base
8
- def_delegators :endpoints, :all, :find, :create, :remove
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.1.pre16
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: 2016-07-24 00:00:00.000000000 Z
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: 1.3.1
278
+ version: '0'
279
279
  requirements: []
280
280
  rubyforge_project:
281
- rubygems_version: 2.6.6
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