mycrm 0.0.42 → 0.0.43

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 741ae181422716d2ebaec78a1c27e8da819be84e
4
- data.tar.gz: 6b00bb2b2c66d93c7569ddc764a3cdc6f127fb3a
3
+ metadata.gz: 8b44fb519c57d752cfe53e2c44c213cfc88e2b64
4
+ data.tar.gz: 5417fff67bcf2c10d66207c0db0bd1b0b2582390
5
5
  SHA512:
6
- metadata.gz: 70b4a526acc4284ae5a622060c261f1d290eeca3e226e8accb68f2a430a5910c662f14b8e29cc1c62ea18bcf6bfc4bac059b070431b8d20d4d626f504e32c0aa
7
- data.tar.gz: 3c6678c821447091850af9bf2ce44c03067220b08870829b95048722498bdc30841878ec8ad8d13b0957203b7558b88545e9802367825f6f68f942b7435d72d0
6
+ metadata.gz: e293925b80b237e396cd6ec0d44b5c304b7373f632c53590bf151ba1d8c97e9b25cbcf92ff296ba139763d752aa39ba202502c1f0928628b38101299f9610df3
7
+ data.tar.gz: 4cf60cb19788e63611c93be7e81bb498a103ed394a9849b23ea7dd10e298753bba19e7c7cc3a38a67bebf3510f23d1391f3589c0c9a101059eff3eeadcd20f4f
@@ -72,7 +72,8 @@ module Mycrm
72
72
  def connection
73
73
  Mycrm::Connectable.connection do |faraday|
74
74
  faraday.headers['Authorization'] = "Bearer #{skim(Mycrm::Connectable.token)}"
75
- faraday.headers['X-MyCrm-ApiKey'] = Mycrm.configuration.api_key.to_s
75
+ api_key = Mycrm.configuration.api_key
76
+ faraday.headers['X-MyCrm-ApiKey'] = api_key if api_key
76
77
  end
77
78
  end
78
79
 
@@ -1,3 +1,3 @@
1
1
  module Mycrm
2
- VERSION = '0.0.42'
2
+ VERSION = '0.0.43'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mycrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.0.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Lo Santo