hubspot_event 0.1.0 → 0.2.0

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: a737d1397d7d0aeff496bf481dc1e3d430448ff9208cc42f1c2419bfc1d857e3
4
- data.tar.gz: fd27648c1842a438a75933c1dfcaae08ca148835c3e221c94287996123c8e93c
3
+ metadata.gz: 95ff76e3a8e3e761171a1ec758c4db2430a4d8d00e709cff5ac5a6cfa2d4c61a
4
+ data.tar.gz: 302c130947a7893894dd0d5e388276037aeaeb51fcb2218f2550862f6f7855ae
5
5
  SHA512:
6
- metadata.gz: 5aadc69264c3e580cf98d289be7faf9a27a22463dfa3c685924b022a0d3b17a13ad13220f679244d7397c4611e5887e30d6fd834bff2ccc665b7f44dc3d1e839
7
- data.tar.gz: 372e6e6ac9ac34ef6c5c37fd0445458359b1d0f3c30b8165ca11fef1aa08435b727f26582a1499bfb003173e275724c0a21323b8ad7d8b1109ad26f63bbdb7f8
6
+ metadata.gz: 3c4c5e4bd953632014e45be96a7bc1ef9787e1d68cfaa2a2f5d78e86a487a7a4d1743604961c6ce2043cdeb06558c7a26bb516368682bc5f3b72d09ee761242a
7
+ data.tar.gz: c8fff0a4a738a963b058fb59b04b7912a60c56d081230ba0c970cf21cf68e9e844fc353225e8a5caa7974aa05529c69c30fe7a9978a9f5a08a9e514fc2e1f36c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot_event (0.1.0)
4
+ hubspot_event (0.2.0)
5
5
  hubspot-ruby
6
6
 
7
7
  GEM
@@ -17,7 +17,7 @@ GEM
17
17
  httparty (0.17.0)
18
18
  mime-types (~> 3.0)
19
19
  multi_xml (>= 0.5.2)
20
- hubspot-ruby (0.7.0)
20
+ hubspot-ruby (0.8.1)
21
21
  activesupport (>= 3.0.0)
22
22
  httparty (>= 0.10.0)
23
23
  i18n (1.6.0)
@@ -49,7 +49,7 @@ PLATFORMS
49
49
  ruby
50
50
 
51
51
  DEPENDENCIES
52
- bundler (~> 1.17)
52
+ bundler (~> 1.16)
53
53
  hubspot_event!
54
54
  rake (~> 10.0)
55
55
  rspec (~> 3.0)
@@ -9,7 +9,7 @@ module HubspotEvent
9
9
  rescue_from SignatureVerificationError, with: :bad_request
10
10
 
11
11
  def event
12
- webhook_params.each do |event|
12
+ webhook_params.sort_by { |e| e["occurredAt"] }.each do |event|
13
13
  # Convert the strong parameters to a hash. This is OK because we're already
14
14
  # verified the payload came from Hubspot and each event type has a unique
15
15
  # set of parameters
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_dependency "hubspot-ruby"
28
28
 
29
- spec.add_development_dependency "bundler", "~> 1.17"
29
+ spec.add_development_dependency "bundler", "~> 1.16"
30
30
  spec.add_development_dependency "rake", "~> 10.0"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module HubspotEvent
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubspot_event
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Bisnett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-29 00:00:00.000000000 Z
11
+ date: 2019-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hubspot-ruby
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.17'
33
+ version: '1.16'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.17'
40
+ version: '1.16'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement