spreadsheet 1.1.7 → 1.1.8

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: 710a6b1c3595e94076ff8bb8305aa447cd614433
4
- data.tar.gz: 65627e4d0d2b4b0ddf8a7d2a35e672bbac16ac8f
3
+ metadata.gz: d49a8dc543a4d1d17db072b55731faf6c272a410
4
+ data.tar.gz: e5739b806340d9bb4769f06934f69c699adc5acd
5
5
  SHA512:
6
- metadata.gz: a2b050b8a2835b6f1c0570be259cfd512511032aed19e48ef4a5d9d17ad83efaed9d660b394febf815baf995bbf12e999a45912a88d152727a2a4c0687c3471e
7
- data.tar.gz: 3b2a18c5496cc5fa6940b144c474de1a760b1394fc82d36fd24a493aa3a991902170a211a6aeb04054c4806325ba61573b558d8f381baf3949fc59c816e2c78a
6
+ metadata.gz: e6df389ab33c11d8c1da352d1c03e9197578fc0fb8025dab212d9863cc54b3cb0e98e4c654e46141c1602d2ceb09bf8fbafdc2728f303946468319106798e4e2
7
+ data.tar.gz: b5fa0ddec3f2d69b0138c585396aeb0d08c9d409c8b6653e136128c2a47e9eea2ef0325e9feef0e5841049c902f1c75b22ced08b1ede75df4800a7445f703794
data/History.md CHANGED
@@ -1,6 +1,21 @@
1
+ ### 1.1.8 / 20.08.2018
2
+ Author: VitaliyAdamkov <adamkov@tex.ua>
3
+ Date: Mon Aug 20 09:48:31 2018 +0300
4
+
5
+ * Cancel :lazy usage
6
+ * Use lazy select to speed up a little
7
+ * Omit rails :try usage
8
+ * stub for :postread_worksheet method
9
+ * sometimes it selects empty array..
10
+
11
+ Author: 545ch4 <s@rprojekt.org>
12
+ Date: Wed Mar 28 15:33:04 2018 +0200
13
+
14
+ * [ruby-2.4] Fix weird first line of spreadsheet.gemspec
15
+ * Doesn't seem to be a valid .gemspec command/field.
16
+
1
17
  ### 1.1.7 / 15.03.2018
2
18
 
3
- commit 34ece5f4e7ab2907c4a8809d96ef2a33b7ccd4b5
4
19
  Author: Maarten Brouwers <github@murb.nl>
5
20
  Date: Thu Mar 15 15:10:23 2018 +0100
6
21
 
@@ -46,7 +46,7 @@ module Spreadsheet
46
46
 
47
47
  ##
48
48
  # The version of Spreadsheet you are using.
49
- VERSION = '1.1.7'
49
+ VERSION = '1.1.8'
50
50
 
51
51
  ##
52
52
  # Default client Encoding. Change this value if your application uses a
@@ -125,11 +125,12 @@ class Reader
125
125
  #So link the noteObject(text) to the note (with author, position)
126
126
  #TODO
127
127
  @noteList.each do |i|
128
- matching_obj = @noteObjList.select {|j| j.objID == i.objID}
129
- if matching_obj.length > 1
128
+ matching_objs = @noteObjList.select { |j| j.objID == i.objID }
129
+ if matching_objs.length > 1
130
130
  puts "ERROR - more than one matching object ID!"
131
131
  end
132
- i.text = matching_obj.first.text
132
+ matching_obj = matching_objs.first
133
+ i.text = matching_obj.nil? ? '' : matching_obj.text
133
134
  worksheet.add_note i.row, i.col, i.text
134
135
  end
135
136
  end
@@ -1,4 +1,3 @@
1
- $c -resize 1024x1024 -extent 2048x1536 "$SCREENDIR/iPadLandscape2048x1536@2x.png2
2
1
  # require File.join(File.dirname(__FILE__), 'lib', 'spreadsheet')
3
2
  lib = File.expand_path('../lib', __FILE__)
4
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hannes F. Wyss, Masaomi Hatakeyama, Zeno R.R. Davatz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-15 00:00:00.000000000 Z
11
+ date: 2018-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-ole