pipedrive_jetrockets 0.0.42 → 0.0.43

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb622caf9719c7b978a90f978db72a4fff47abbca6316bc0aad742787b66dd96
4
- data.tar.gz: 34384c6335b0d3e7437790884111f55a412aa4d899670be4f7d3f9c8c632a948
3
+ metadata.gz: 7e2f4fc38579bbebe618715e0a21eb2a4dc90979fa5fbbd3d6f8d3316c5097c4
4
+ data.tar.gz: 692b6fa9b125bb1f7df6e9a46b05006cd6308135fd6565d424d172e35e42a9a4
5
5
  SHA512:
6
- metadata.gz: 0e23a0176f7d0bf59dd7a36e0b4ba8dd9c08c18013e70eeed9108957c3f12314672057a85477a445dee2153c0238d19a203043ad17e5b645fc92955b5af31592
7
- data.tar.gz: d99a866fc987149838a89dbcd81bd80648f9b8fd49756f98e8d555bcde54278a52a9446cd44757a8b62fbe066eff733e8837f5302dce3726cdbc5badbfefa785
6
+ metadata.gz: f7734d0e6183461052a36321845f415515a8094148bd5c70b7d4cdde889b3de032da233ff00d117caade0af47cca9bf243495415a1a8e88d93f0a7ee260982fa
7
+ data.tar.gz: aaf383858e88d6c231c869e1e98ddbcafc7fc0be888560351d76517b8d72efd9d032957dc0cd1e0ccc4848ad1cfd07c96fbe9961f5ee1884fce1f09dff1511bb
@@ -2,13 +2,7 @@ module PipedriveJetrockets
2
2
  class EventsController < ApplicationController
3
3
  skip_before_action :verify_authenticity_token
4
4
  def deal_updated
5
- current = params[:current]
6
- previous = params[:previous]
7
- if !current[:org_id].nil? && previous[:org_id].nil?
8
- ActiveSupport::Notifications.instrument "organisation_added", { organisation_id: current[:org_id], deal_id: current[:id]}
9
- elsif current[:stage_id] != previous[:stage_id]
10
- ActiveSupport::Notifications.instrument "deal_moved", { deal_id: current[:id], previous_stage: previous[:stage_id], current_stage: current[:stage_id]}
11
- end
5
+ ActiveSupport::Notifications.instrument "deal_updated", {deal: params[:current]}
12
6
  end
13
7
  end
14
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipedrive_jetrockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.0.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agafonov Maksim