leads_to_highrise 0.2.8 → 0.2.9

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGYwM2E0MDE2OTFjMWY5NGI1NTcyNGMyMGZhNTkwMDdiN2E2OThjNg==
4
+ NzQwNGQ1YjMyNTQyMjlkMzM5YTFmZjI2ZTUwMzE2MTMwZjMxYjUyNw==
5
5
  data.tar.gz: !binary |-
6
- ZWQ0MWE4Njg3NGRlMWVlMzJhNzljZDRiMjgyMDlkMjFiMzNjMjljNw==
6
+ YTkwMDYyNGZiNGYwYWViNDI2MzJhNzY4NzIyMDA0ZDRjYTU4YjVmMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzIzNDE1Y2ZhNDVhMzY4NmFjNTBjMDc4ZDVjMjU0NTY5YmE3MzdlNGY2YWVh
10
- MDRlMDFlYTI0M2NiNzhhNzU4ZmI2N2I5N2M1YjQ5ZTQzMDljNTIwMzZlMTY2
11
- YmMyOWRhYzBiZjY2YWFjZmNkYTJmNTFiZmI0YzBlNTQwMWY5MmY=
9
+ MmNmZjAzODIwMDI3YmQ0MjkyMWRmNzY2MDUwMDdlOTNkZjJjZWY4NDUyM2Jl
10
+ NDRjYzI5MWZiZmQwOTMyNmNkNTBkY2RjNGNlMzlmYzU4OTQ3YmQwNWQ0OWRh
11
+ MGU2ODU5ZjQ5ZDEyY2MwNjY3NzA2NjUzMjE5MjI1YTY1MTlhMjc=
12
12
  data.tar.gz: !binary |-
13
- MTk0NmJhN2FiYzVlYjQ0M2RhZTdiN2UxYzZiNTkzY2RkMWI3YTk0ZTIzOTQ3
14
- MGNkYmIzMzc1N2QwZjAzYjBhY2IyOTM0NzI1OGVjNzNhNWIyNWNhNjllMDI3
15
- YTFlMmM3M2VkMWE0MmI1MTBhZTZjZDljMTM3MTJlZTFlNWY0ZWQ=
13
+ NWJmODRhZjEzMTM0Njk5YTZmNzljMjZiMDg2ZjkzOWI1MmEyZTNkNjAwMmZj
14
+ YTVmYTc4MDQ0YWQ1YWZmODJjZWJmNWJiZWI1MGViZThlNTIxMTUwZjMyOGZj
15
+ M2IwMjQyYmUyNWM3NDFlNjhmNWJmMjM4YjkwNDkyNWUxMmQyN2U=
@@ -53,18 +53,18 @@ class LeadsController < ApplicationController
53
53
  private
54
54
  def add_person(lead)
55
55
 
56
- Highrise::Base.site = current_user.highrise_site
57
- Highrise::Base.user = current_user.highrise_user
58
- Highrise::Base.format = :xml
59
-
60
- p = Highrise::Person.new( first_name: 'lead[:name]',
61
- last_name: 'lead[:last_name]',
62
- title: 'lead[:job_title]',
63
- company_name: 'lead[:company]',
64
- contact_data: { email_addresses: [ { address: 'lead[:emial]'} ],
65
- phone: 'lead[:phone]',
66
- website: 'lead[:website]' })
67
- p.save
56
+ #Highrise::Base.site = current_user.highrise_site
57
+ #Highrise::Base.user = current_user.highrise_user
58
+ #Highrise::Base.format = :xml
59
+
60
+ #p = Highrise::Person.new( first_name: 'lead[:name]',
61
+ # last_name: 'lead[:last_name]',
62
+ # title: 'lead[:job_title]',
63
+ # company_name: 'lead[:company]',
64
+ # contact_data: { email_addresses: [ { address: 'lead[:emial]'} ],
65
+ # phone: 'lead[:phone]',
66
+ # website: 'lead[:website]' })
67
+ #p.save
68
68
  #if p.save
69
69
  # redirect_to '/', notice: 'The contact has been sended to highrise'
70
70
 
@@ -1,3 +1,3 @@
1
1
  module LeadsToHighrise
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leads_to_highrise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Tripoloni