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 +4 -4
- data/Gemfile.lock +3 -3
- data/app/controllers/hubspot_event/webhook_controller.rb +1 -1
- data/hubspot_event.gemspec +1 -1
- data/lib/hubspot_event/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95ff76e3a8e3e761171a1ec758c4db2430a4d8d00e709cff5ac5a6cfa2d4c61a
|
4
|
+
data.tar.gz: 302c130947a7893894dd0d5e388276037aeaeb51fcb2218f2550862f6f7855ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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
|
data/hubspot_event.gemspec
CHANGED
@@ -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.
|
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
|
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.
|
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-
|
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.
|
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.
|
40
|
+
version: '1.16'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|