pipedrive_client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/pipedrive_client.rb +3 -0
  3. metadata +3 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e69fe37113f0a0ff5d41fa6773dcddb86096038a
4
- data.tar.gz: cbac3a610d896d2f94c021d7b35c1df9b55cab53
2
+ SHA256:
3
+ metadata.gz: 182976eb3eadeea08b6c4cf87112138d4d2ffb0a0316cdb4039077235a64d689
4
+ data.tar.gz: ce40e100623cc46f99f1347b3fbed2c05a1212c96377846352c959e9ceae18ef
5
5
  SHA512:
6
- metadata.gz: 89bfd48433760dae22b18e7f750f90732e40464fc8a0c307674f87977fd3de49e8d37d96592bca22b8ea5ce1b727525db327e6afea7b97f2972972f5755f16ea
7
- data.tar.gz: aa44cfd0111b5903ce3bdac5f83fc86cf51e24ab6583fdc5df5b9a319780402357e407dd9da04f06bf83eaef680f9fb2658c5200c148f724a8b0f10cfa924189
6
+ metadata.gz: 227a4e43deaa20222ff81b104ae160b335bac25d50b92e0b620607c168f5100e7280a3dfa3b54e7aba755f7159be5daaf92a9fea106155a46e0f69548e0b0a84
7
+ data.tar.gz: b3250ac3c5b2e0235412536c6401eecfb23a482dade66cc3b522bfaab48256cd5b53809788f032a161796dff911db3439954bd2f467cd865826125e73e1b4ed6
@@ -84,6 +84,9 @@ module Pipedrive
84
84
 
85
85
  def api_key
86
86
  return @api_key if @api_key
87
+
88
+ return @api_key = ENV['pipedrive_api_key'] if ENV['pipedrive_api_key']
89
+
87
90
  @api_key = YAML.load(
88
91
  File.read(
89
92
  File.expand_path('pipedrive_key.yml', 'config')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipedrive_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Mosat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -85,10 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 2.2.2
88
+ rubygems_version: 3.0.6
90
89
  signing_key:
91
90
  specification_version: 4
92
91
  summary: Pipedrive client
93
92
  test_files: []
94
- has_rdoc: