sapluuna 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f176e218e8e443cec9eaa8e94f6ca233ae9f8014
4
- data.tar.gz: 3f783c2bc0f48f9297a052bd0d8b55352b4a2833
3
+ metadata.gz: 4e61c623c64f31c609d8ae8525c6a71a280072dd
4
+ data.tar.gz: 41663371905a705ab6cfae9b3b022793eee2c510
5
5
  SHA512:
6
- metadata.gz: f174827d07bc20c043cb03f6c792518dc2b7ef42d2bb86aa6b53b521792aa57a892f3e7d38263b8a5ba2756c006eea10e24f0bbf518e90a12eaff416136f1b78
7
- data.tar.gz: 364fc6803738df805c191364e8c8a9eecb1693e8b3159b003fda9aba93d8a908006247b3289d9bd746eff16d5883dd588bb0203a56c4876fa6aa50ffadd93415
6
+ metadata.gz: ec62ec831b72ced190370a288f6e09cc8d250fa2a1d34d041bbba850d5b45e2dd063bc4ac2c8619bf443caa6df55adcf50661ed949f5e90494d2cf3a6e765f36
7
+ data.tar.gz: b6189721bc60585b4c6b25b8e7e77343da0c471196585edd43bf575cc24392b214e855a96229469ceffb85073cbfec5c1c103dcbee5775c111b241e6620f5b0f
@@ -4,8 +4,8 @@ class Sapluuna
4
4
  class Parser
5
5
  CODE_OPEN = '<%\s*'
6
6
  CODE_CLOSE = '\s*%>'
7
- TEMPLATE_OPEN = '^\s*{{{[\t ]*'
8
- TEMPLATE_CLOSE = '\s*}}}\s*$'
7
+ TEMPLATE_OPEN = '[\t ]*{{{[\t ]*'
8
+ TEMPLATE_CLOSE = '[\t ]*}}}[\t ]*\n?'
9
9
  NEW_LINE = "\n"
10
10
  class ParserError < Error; end
11
11
  class UnterminatedBlock < ParserError; end
data/sapluuna.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sapluuna'
3
- s.version = '0.1.4'
3
+ s.version = '0.1.5'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapluuna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slop