blackstack_commons 1.1.42 → 1.1.43

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/functions.rb +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f72ddf1432211dec45c5288eb7ccd1a3c51824f
4
- data.tar.gz: 23eb0b0027a1b9e3bd07a5798c92760ce2bccb75
3
+ metadata.gz: fea045fbb95c6711f478a1a55c0be53aa80358c5
4
+ data.tar.gz: ef7365454f7635ee90b2d0a222c6e2c6e40f5139
5
5
  SHA512:
6
- metadata.gz: 5ed23e9086cd0dd9e9d0d746b4308142d2443c7fdaefff25297ca0a8d3a3088fbc458233b703a9c50d7d88f71893433c1c405945856c59135880188bd0f3f02c
7
- data.tar.gz: 6f6c9203a3c3fdd0e04c7c14fd7325eae02db3d848e52e99407be302040cfeffd6f7db1f5db1c2b9401c3156fdfd9044c20fa0d1f08cd7f20c4e30464ba972cd
6
+ metadata.gz: a8e5d5254b58e2230a93ddd32b5ea42de658ebf075af6f91148e6035f640de5ad00aea96e63f68d02b08e21cbd4b9a20928bf0aa0b27aff667581287a3b78fcc
7
+ data.tar.gz: c6883e896e9805a3351be11370118170a9bb546b386edd3478d371f86e5469bcae2472eb6262a34f4381413eb126f65a7d379043ca3ae9e5b2ed520d4ccdfc36
data/lib/functions.rb CHANGED
@@ -369,13 +369,15 @@ module BlackStack
369
369
  return false if n>1 # Opening spining char '{' inside another spining block.
370
370
  end
371
371
  }
372
-
372
+
373
+ return false if n!=0
374
+
373
375
  # obtengo cada uno de los spinnings
374
376
  s.scan(MATCH_CONTENT_SPINNING).each { |x|
375
377
  a = x.split('|')
376
378
  raise "No variations delimited by '|' inside spinning block." if a.size <= 1
377
379
  }
378
-
380
+
379
381
  true
380
382
  end
381
383
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.42
4
+ version: 1.1.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: content_spinning