squib 0.17.1 → 0.17.2

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
  SHA256:
3
- metadata.gz: 0ce274e1ac305556f491ca0ec5fe50ce3423aadd4eee2bbda2d143bded8590a7
4
- data.tar.gz: 2c98fe372b7eeb24eceafe9e416c582a3e51662300d2c83dabcb3a43f99210c5
3
+ metadata.gz: 0ee8653b18081af7af0fefe9713a87c44ce979437dd198ed251d241bb9e7c32b
4
+ data.tar.gz: aaf0af1bf44f085376e240f438bdc375a09d3f6c74cc288204879801243302c0
5
5
  SHA512:
6
- metadata.gz: 9fe46e736b5a0acd2af24851041de586cd7fe0ab2208a6559b4cba676904ff07fadcdb2fe1d25084838634e1780b43dec32b7a3a7b4926fd173eeb6ccbdf2342
7
- data.tar.gz: aecd5504f8dfd17518d9d675c58be8c1dfcbf5d5cff29aa9091308adbf4020e2fcadc91e4da155c69a20e397a5600c92269b8dfec306fcb87271c7342c68c04a
6
+ metadata.gz: c3b2348477dc9915e86cc08786e1ed11c07dacfcb0946f19635c5a725bc9ca1cf87e58bf9536d874f29529648962ff25c197785b6479b025e0cb06c1a00cab4d
7
+ data.tar.gz: 334a87f006492a9891aaf0d6ff520923dd99e95fc3847eea4e1784f60a2fe5cab3f9d2fc74ca28ae9f69667d3b4071c142bb823976676d697ad7103e194abcc6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Squib CHANGELOG
2
2
  Squib follows [semantic versioning](http://semver.org).
3
3
 
4
+ ## v0.17.1 / 2021-09-07
5
+
6
+ Bugs:
7
+ * Fix frozen string error on `Squib.xlsx` import when stripping newlines is enabled
8
+
4
9
  ## v0.17.1 / 2021-08-11
5
10
 
6
11
  Bugs:
data/RELEASE TODO.md CHANGED
@@ -19,5 +19,8 @@ Be sure to remember to do the following for releases. (Copy into a GitHub issue)
19
19
  - [ ] Activate version on squib.readthedocs.org (Versions)
20
20
  - [ ] Set default version on squib.readthedocs.org (Advanced Settings)
21
21
  - [ ] Bump version.rb to the next alpha
22
- - [ ] Check Docker build
23
22
  - [ ] Publish on BoardGameGeek thread
23
+ - [ ] Check Docker build on Dockerhub: https://hub.docker.com/repository/docker/andymeneely/squib
24
+ - [ ] Check Docker docker pull: docker pull andymeneely/squib:latest
25
+ - [ ] Check Docker build locally in samples: docker run --rm -v "%cd%":/usr/src/app andymeneely/squib:latest ruby basic
26
+ - [ ] Anything else to add to this checklist?
@@ -10,13 +10,13 @@ module Squib::Import
10
10
  data = Squib::DataFrame.new
11
11
  s.first_column.upto(s.last_column) do |col|
12
12
  header = s.cell(s.first_row, col).to_s
13
- header.strip! if import.strip?
13
+ header = header.strip if import.strip?
14
14
  data[header] = []
15
15
  (s.first_row + 1).upto(s.last_row) do |row|
16
16
  cell = s.cell(row, col)
17
17
  # Roo hack for avoiding unnecessary .0's on whole integers (https://github.com/roo-rb/roo/issues/139)
18
18
  cell = s.excelx_value(row, col) if s.excelx_type(row, col) == [:numeric_or_formula, 'General']
19
- cell.strip! if cell.respond_to?(:strip) && import.strip?
19
+ cell = cell.strip if cell.respond_to?(:strip) && import.strip?
20
20
  cell = block.yield(header, cell) unless block.nil?
21
21
  data[header] << cell
22
22
  end# row
data/lib/squib/version.rb CHANGED
@@ -6,6 +6,6 @@ module Squib
6
6
  # Most of the time this is in the alpha of the next release.
7
7
  # e.g. v0.0.5a is on its way to becoming v0.0.5
8
8
  #
9
- VERSION = '0.17.1'
9
+ VERSION = '0.17.2'
10
10
  end
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: squib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Meneely
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -354,9 +354,9 @@ extra_rdoc_files:
354
354
  - samples/ranges/_ranges.rb
355
355
  - samples/saves/_hand.rb
356
356
  - samples/saves/_portrait_landscape.rb
357
- - samples/saves/_saves.rb
358
357
  - samples/saves/_save_filenames.rb
359
358
  - samples/saves/_save_pdf.rb
359
+ - samples/saves/_saves.rb
360
360
  - samples/saves/_showcase.rb
361
361
  - samples/shadows/_shadow.rb
362
362
  - samples/shapes/_draw_shapes.rb
@@ -369,10 +369,10 @@ extra_rdoc_files:
369
369
  - samples/sprues/_negative_coords.rb
370
370
  - samples/sprues/_sprue_example.rb
371
371
  - samples/system_font_debug/_list_fonts.rb
372
- - samples/text/bug134.rb
373
372
  - samples/text/_embed_text.rb
374
373
  - samples/text/_text.rb
375
374
  - samples/text/_text_options.rb
375
+ - samples/text/bug134.rb
376
376
  - samples/units/_cells.rb
377
377
  - samples/units/_shorthands.rb
378
378
  - samples/units/_units.rb
@@ -596,8 +596,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
596
596
  version: '0'
597
597
  requirements:
598
598
  - On Windows, you need the Ruby+DevKit. See https://rubyinstaller.org/downloads
599
- rubygems_version: 3.0.3
600
- signing_key:
599
+ rubygems_version: 3.2.15
600
+ signing_key:
601
601
  specification_version: 2
602
602
  summary: A Ruby DSL for prototyping card games
603
603
  test_files: