leads_to_highrise 0.2.0 → 0.2.1

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
- ZTQwMDlmOTM0OGE4Y2I1YTJjMzViMzg1NDI0YWRmZDQwZWE2MWJlOA==
4
+ OGI4OGI4OTU0ZjNjYWFmNzM5NGU1NWIxNDA5NmUwYThkZDQzZDNiNA==
5
5
  data.tar.gz: !binary |-
6
- NGQxMmQ2ZmZlZTNkMmI1MTFiMDhmYTFlMjAxZTVjMWFlZGU1NGU1OA==
6
+ N2NhNDdkNWVjZDc5MzE0OThkYzNiMzMyZDUxN2M0NTFiN2VjMWQ3Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWMyN2FhOGRjMDM4YmU4MGFjN2M0NTJkNWUyZmI2MzllOTU4MmYyNDdjNTBj
10
- YTQxNTY4ZDFmNjE1MjhhNTJjMzUzNmRlNzk5Y2UzNDU1YWExYTIzNWVkNGZm
11
- ODIyYzBkNThhNDEyNWI3YmQ3NWM3ZTkwODdlMWI1ZGM5MGFmNWE=
9
+ ZDQyZDQ1ODFhYTMxNWE2Y2FlYjQ1Mzk4ZTAyZmQyNWNjYzMxN2UwOWNlOTEw
10
+ YWI0NzAzMWM3YWYwMjM2MWZkZGRhM2RmZTBjZWFiYTc2ODlmODk5NDgyZDdj
11
+ NzhiMzIzMDVlYzA2NTk1MzM2MmUzMDM1OGU2ZWJjYzhlYTkyMTk=
12
12
  data.tar.gz: !binary |-
13
- ODVjODc2NzQ0YmQzNDNmMTZmMjM3NjAwMDQ3MjNhOTk0MWYzY2QxYWUxZGVk
14
- ZWM2YmQzNGQzZTgyMzNjMWE0ODRmMjk4MjJiNWUxMWNhNGZkOTg2YzY3NWNi
15
- ODI5Njc2MTQzYmMzZDljYmY3ZmQwNGJjYjI2YzAxMzcwZmQ2Njc=
13
+ YjI1ZGI3MjY3NWUzYmQ4NGVmNWFhMzZlMDAwNjc3NjY1OWM4MTA1ZDZkNTM5
14
+ NDE5OTkyNTczYmNiM2UyMzg3Yzk2MDk4NjZjYjc5NTcxYjQzYmQ3MGJlN2M1
15
+ NzY5YmYxNzgxNTEyZWUwNzljYzg4MDUwNmQwNDgwMzE4YTg0MTY=
@@ -67,10 +67,10 @@ class LeadsController < ApplicationController
67
67
  website: @lead[:website] })
68
68
 
69
69
  if p.save
70
- redirect_to root_path, notice: 'The contact has been sended to highrise'
70
+ redirect_to (my_app || self).root_path, notice: 'The contact has been sended to highrise'
71
71
 
72
72
  else
73
- redirect_to root_path, notice: 'error.'
73
+ redirect_to (my_app || self).root_path, notice: 'error.'
74
74
 
75
75
  end
76
76
 
@@ -1,3 +1,3 @@
1
1
  module LeadsToHighrise
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Tripoloni