censive 0.27 → 0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/censive.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc8277614e4b254907b5d127eddae62757c4522785a9564ace4207e0bda1c1f6
4
- data.tar.gz: 47049fc05225b53909c827b359d2201d9e0b915a21cd604625cb1cd3d2f1b1d5
3
+ metadata.gz: d9d7a9c43e8371994aba6118bc34e34eeb250a3f289e4a3dfe724cb6f9e42cb1
4
+ data.tar.gz: 84bde447c2e0de60e03a17afc3d266f4018ce7aad5dd0f690d3d52438e0fd343
5
5
  SHA512:
6
- metadata.gz: d904a4b70401c772e14dac76ebd8a62f88e5d6a3efd49916733eea049d613c29d3f23703a458893fd86391c668a713baadb242bee83f3909d7e18a609bd1081a
7
- data.tar.gz: 11ea3270797dd9a9f4f994599d9324c0b23955fb8c86a01cf56378a07d94818cf922bf00f556f2100da27660412b29279b7222834dcc3ff59037fda0db920443
6
+ metadata.gz: 5eeb09213826f6cd2821d83c0559034163ac701a2cbd3ef190df3dbfde31167d529f51e30363e585b65fc9a7dd29259b14d2957e7ff2f299878de24e3710e2ce
7
+ data.tar.gz: 4e54a08d30e433234caa04d94bfcbfef2bb2b9f2b36a4a2f6248bab77dd5fbf410f2fef69ab43c7b2c76a8e79d9d50780d55396aabc9c8dab876db820370e9e1
data/lib/censive.rb CHANGED
@@ -28,7 +28,7 @@
28
28
  require "strscan"
29
29
 
30
30
  class Censive < StringScanner
31
- VERSION="0.27"
31
+ VERSION="0.28"
32
32
 
33
33
  attr :encoding, :out, :rows
34
34
 
@@ -96,8 +96,8 @@ class Censive < StringScanner
96
96
  xsep = Regexp.escape(@sep) # may need to be escaped
97
97
  @eoc = /(?=#{"\\" + xsep}|#{@cr}|#{@lf}|\z)/o # end of cell
98
98
  @eol = /#{@cr}#{@lf}?|#{@lf}/o # end of line
99
- @escapes = /(#{@quote})|#{"\\"+xsep}|#{@cr}|#{@lf}/o
100
- @quotable = /#{"\\"+xsep}|#{@cr}|#{@lf}/o
99
+ @escapes = /(#{@quote})|#{xsep}|#{@cr}|#{@lf}/o
100
+ @quotable = /#{xsep}|#{@cr}|#{@lf}/o
101
101
  @quotes = /#{@quote}/o
102
102
  @seps = /#{xsep}+/o
103
103
  @quoted = @excel ? /(?:=)?#{@quote}/o : @quote
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: censive
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.27'
4
+ version: '0.28'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve