PipedrivePUT 1.1.0 → 1.1.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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b676c35097c0c7a718300a0d97b46f909c2037b
4
- data.tar.gz: d8a4c91782900a83dea63bbaab02b3ab6fe3baca
3
+ metadata.gz: 17b9e641232a769d0c7acd7e70d0f5ce780a24d5
4
+ data.tar.gz: cf89e45f3239787f6f544f604a3521c82fefc268
5
5
  SHA512:
6
- metadata.gz: 186aacb67e994bcf2b4a47aa70de7d4538f8271faf143224e9e1b96d26794da0c787ac3f8c8f7857ce39ec7f88934e6381114f80c732c965a5adb4aa06ee2826
7
- data.tar.gz: 91f6abb2837f775bdff03f7004c87695e858c2d827838c2b13559f427f5c410486d54220493060f061321a8992bd56cb1ebf44bcaa73b7b5e8ac830ff6040e13
6
+ metadata.gz: 5a3a25b3a69348e5adc9ec4a7adeaf170fa7a6feb8894f2fdd113cf6df6b355c426320aa297effee447d9b674ae208b9f409a510aaad1fcad89ec7b7036ca788
7
+ data.tar.gz: f60c637246df73015bea70054e09fb263bc8d5e280e4b4b23065366ab382961d9935598bf475a0b5146fdc2bae6ec94bef6becc311e7060afa59fb65612333e5
@@ -15,7 +15,7 @@ include PipedrivePUT
15
15
 
16
16
  table = Array.new
17
17
  @more_items = true
18
-
18
+ tablesize = 0
19
19
  while @more_items == true do
20
20
  count = 0
21
21
  #puts @more_items
@@ -25,8 +25,10 @@ include PipedrivePUT
25
25
  @parsed = JSON.parse(@content)
26
26
 
27
27
  while count < @parsed["data"].size
28
- table.push(@parsed["data"][count])
28
+ #table.push(@parsed["data"][count])
29
+ table[tablesize] = @parsed["data"][count]
29
30
  count = count +1
31
+ tablesize = tablesize + 1
30
32
  end
31
33
 
32
34
  @pagination = @parsed['additional_data']['pagination']
@@ -1,3 +1,3 @@
1
1
  module PipedrivePUT
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PipedrivePUT
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JakePens71