hubspot_informer 0.0.1 → 0.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 +8 -8
- data/.gitignore +1 -0
- data/lib/hubspot_informer.rb +1 -1
- data/lib/hubspot_informer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTVmYjIyNGE5ODM1ZjI1ZjlmODA1OGNiNzBiNTBmZDFkMWNjODE5ZA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MWRkYjYzOGViY2ZhZDA2NWFhZjE1OGQ0M2Y3MjA3OTdhZjQ2NmJhNg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MmNmYmZlZmJmMjYxZmU5MjEwZmMzODI4M2E5YzA0ZTc4NGQxNWM1YmI3NjVj
|
|
10
|
+
MzE0ZjE4NDhmNjI0ZjI5NTFmMzNkOTgxYmY1MmRjY2Q0OGEwMzUzMWY2MjUz
|
|
11
|
+
ODllNmFjZjg0MWQ4MzlhNWFkNjk0ZjEzYWEyYWNhZmFlNzgyZDU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZDQ4MjAzZDcxMzA1N2VlNjYzNmI4YWYxMDA5NTUyMGJlZDBiODEwM2E0MTRi
|
|
14
|
+
YTljOTk5MzdiMDFlZjFlY2MxMGRjODk3YjY3NWQ3NzMxNTkzM2RkNmZkOTRi
|
|
15
|
+
NGJjMzJlOWE0NjlhZjRhYWU0YzA1ZTVmNmQzMTMzNmVjNDU2NDI=
|
data/.gitignore
CHANGED
data/lib/hubspot_informer.rb
CHANGED
|
@@ -29,7 +29,7 @@ class HubspotInformer
|
|
|
29
29
|
params[:hs_context] = hs_context
|
|
30
30
|
response = @conn.post do |req|
|
|
31
31
|
req.url "uploads/form/v2/#{@portal_id}/#{@form_guid}"
|
|
32
|
-
req.headers['Content-Type'] = 'application/x-www-form-urlencoded'
|
|
32
|
+
req.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
|
|
33
33
|
req.body = URI.encode_www_form params
|
|
34
34
|
end
|
|
35
35
|
unless response.status == 204
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hubspot_informer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henrik Sjökvist
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|