zaphire 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zaphire.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 054b575fbff562c4f8daf8f1e3ab80904ccb7209
4
- data.tar.gz: c8e0636873d6635b2e9c377453ebf0ae015f3e13
3
+ metadata.gz: aed62deee507636ab8310f384fde0d73b2bcc1a2
4
+ data.tar.gz: 8c23420746f43f24cef4704931392603c4e28965
5
5
  SHA512:
6
- metadata.gz: 0e97299d5250b83ebde206314104f65d0b2c986abfec279fe5fff755f2bde15c4845a5eaa18f1a21a88beb0d03cbed47ba7a6fd0993f58f17b4b9cc076e316fd
7
- data.tar.gz: 26f9d7b3d11dd31358eb7b02becec63008fe02633217cc31f0061111f2af4107275b16f34d67340fe320a3656c9a2563e4271ba8e0078f1f9934a2474bfffdc1
6
+ metadata.gz: 828fb6795155ff25cd521101384abe3e3036e56f6a5ad495bbee68b678d10102a97d413394630143d8238153a0a8fb1aa363f4cf1281b78bd7f5ac59cc52ee51
7
+ data.tar.gz: 460661dc723d19b511287f4e0ae7596e793b26946dbf433df6c4cf0962ef9ad38d68c9093f5c91fbfbe36043099c60d8bdc67bfdbe8291278d56e1740256e9ae
data/lib/zaphire.rb CHANGED
@@ -50,8 +50,11 @@ module Zgdocs
50
50
  rows = t.last_row
51
51
 
52
52
  ws.max_rows = (rows + 1) if ws.max_rows == rows
53
- if rows == nil then rows = 0
54
- aa = rows.to_i + 1
53
+
54
+ rows = 0 if rows == nil
55
+
56
+
57
+ aa = rows + 1
55
58
  aa
56
59
  end
57
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaphire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lima90001