PipedrivePUT 1.1.24 → 1.1.25

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: 281d238536dfdf6a7b097d5a8afb0b6dea0ae348
4
- data.tar.gz: 2d2b2fc81226ff2146432d3f4d7416792f5d54cd
3
+ metadata.gz: 3482ec90f7ff3d7171a670ad1e6b0e18da8ab08f
4
+ data.tar.gz: 5f98bae242775118e9d3fee6359ff67e617903a1
5
5
  SHA512:
6
- metadata.gz: 2b02a47a2d06d92eebdc403bcc9463da895b304b781bf6b50965dd7082109965ce2f52d692d627b3bb0cccd5dbdc07bba783a08310a95236f03b2f9508147342
7
- data.tar.gz: e62bb0a19e56e821bedcb78636014eedff5d89fb4a054ea217f2328433d7da76f06bba2d04e0161469870d268795733ce819b2962203a335694c4ea4b0dfa0f4
6
+ metadata.gz: bdf810789c99e3b18b48c9c457cfe55241b6addf7306271e93f6aa08d60b9aaea283cd6d5c0f22e33a332e30dea228076b803c994bf56f1694d4fd20d89e6d3f
7
+ data.tar.gz: 7f338214e692aba775980ec83ac3f3353ecdce8c3627a218e519532ac5d6fb8bf206cfa2c9ec288f5ed503a42a9f1fc2bb0faac5caffdefd38db96bb536824a1
data/lib/PipedrivePUT.rb CHANGED
@@ -24,7 +24,7 @@ module PipedrivePUT
24
24
 
25
25
  #See which key is givin
26
26
  def self.getKey
27
- @@key
27
+ return @@key
28
28
  end
29
29
 
30
30
  end
@@ -7,7 +7,7 @@ require 'httparty'
7
7
 
8
8
  require 'rest-client'
9
9
  def self.key
10
- puts @@key
10
+ return @@key
11
11
  end
12
12
 
13
13
  #Get All Organizations from Pipedrive
@@ -54,7 +54,7 @@ require 'rest-client'
54
54
 
55
55
  options.merge!(:name => companyName)
56
56
 
57
- puts options
57
+ #puts options
58
58
 
59
59
  response = Net::HTTP.post_form(uri, options)
60
60
  end
@@ -81,11 +81,11 @@ require 'rest-client'
81
81
 
82
82
  @base = URI.parse('https://api.pipedrive.com/v1/organizations/find?term=' + name+ '&start=' + @start.to_s + '&limit=500&api_token=' + @@key.to_s)
83
83
 
84
- puts @base
84
+ #puts @base
85
85
 
86
86
  @content = open(@base.to_s).read
87
87
 
88
- puts @content
88
+ #puts @content
89
89
 
90
90
  @parsed = JSON.parse(@content)
91
91
 
@@ -55,7 +55,7 @@ module PipedrivePUT
55
55
 
56
56
  options.merge!(:name => name)
57
57
 
58
- puts options
58
+ #puts options
59
59
 
60
60
  response = HTTParty.post(@url.to_s, :body => options.to_json, :headers => {'Content-type' => 'application/json'})
61
61
  end
@@ -6,7 +6,7 @@ include PipedrivePUT
6
6
  require 'rest-client'
7
7
 
8
8
  def self.key
9
- puts @@key
9
+ return @@key
10
10
  end
11
11
 
12
12
 
@@ -5,7 +5,7 @@ module PipedrivePUT
5
5
 
6
6
 
7
7
  def self.key
8
- puts @@key
8
+ return @@key
9
9
  end
10
10
 
11
11
 
@@ -68,7 +68,7 @@ module PipedrivePUT
68
68
 
69
69
  @content = open(@base.to_s).read
70
70
 
71
- puts @content
71
+ #puts @content
72
72
 
73
73
  @parsed = JSON.parse(@content)
74
74
 
@@ -1,3 +1,3 @@
1
1
  module PipedrivePUT
2
- VERSION = "1.1.24"
2
+ VERSION = "1.1.25"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PipedrivePUT
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - JakePens71
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-14 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.4.5
138
+ rubygems_version: 2.4.8
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Pipedrive gem to retrieve data from Pipedrive.com