zaphire 0.0.2 → 0.0.3

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 +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79e000a3b3d0d937825f18892283e0671fecea55
4
- data.tar.gz: 181408e5e7b6ce89ca5df0b1a4ae359c177fda93
3
+ metadata.gz: 054b575fbff562c4f8daf8f1e3ab80904ccb7209
4
+ data.tar.gz: c8e0636873d6635b2e9c377453ebf0ae015f3e13
5
5
  SHA512:
6
- metadata.gz: 902224412141b38295b6849ee6c65d4eab1fd78e95c7bba0d7687fdba012346d46f7f8eb67467c1ad78bc89974b039f0d18697fc893c66ead80684b80e2b63af
7
- data.tar.gz: 9daa557a0e9aa0fce4de03ebf9a98a4f5d5733bab454f73b513dbf496729c729803511abbef5c86452f8594dd27eaaa25fbde4279da4c46edfe19b55c06ac8d0
6
+ metadata.gz: 0e97299d5250b83ebde206314104f65d0b2c986abfec279fe5fff755f2bde15c4845a5eaa18f1a21a88beb0d03cbed47ba7a6fd0993f58f17b4b9cc076e316fd
7
+ data.tar.gz: 26f9d7b3d11dd31358eb7b02becec63008fe02633217cc31f0061111f2af4107275b16f34d67340fe320a3656c9a2563e4271ba8e0078f1f9934a2474bfffdc1
data/lib/zaphire.rb CHANGED
@@ -50,7 +50,9 @@ module Zgdocs
50
50
  rows = t.last_row
51
51
 
52
52
  ws.max_rows = (rows + 1) if ws.max_rows == rows
53
- rows + 1
53
+ if rows == nil then rows = 0
54
+ aa = rows.to_i + 1
55
+ aa
54
56
  end
55
57
 
56
58
  def self.save key,sheet,startcel,data,user,password
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lima90001