swifty 0.0.4 → 0.0.5

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/swifty.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7a9d911b787db616b7d905acec511f4ea222a27
4
- data.tar.gz: 70f184443a521df4b79740ada3011d598d6b6464
3
+ metadata.gz: 95b07b77a6a8991ff92031eea0e8ede1aad07ed2
4
+ data.tar.gz: 7d89d50499e35d57030a6928ff58b0a54e3b7dec
5
5
  SHA512:
6
- metadata.gz: 5b7b5ccbfc4147e8938b90c6e6fca504fee15e25264df8fcc069ed01adc5d6a3bfb2c2947eba32694d85819907e24e56b77d4c3a864e4fc2863162c9410d36de
7
- data.tar.gz: 61feb32c5c16da0d2d987592f8a3fcdd8367af859a279e8d24740df4c7f018697637f36ef21e95de297895588a58eed8c7b45c5008df9fd25e537e2f602ba78f
6
+ metadata.gz: 30bd1016f388ea2f24b9d719de81ad1777f3a8ae05ffc4ef0d926ef432a4ec0374e951f3ef100e367b4a4ae317920286043a82df8b0be03e74c330b839527b54
7
+ data.tar.gz: 8371929da3661e0aa365a1a94decac17cf3ce3681b9f16fb434950bffca063382e7c7244fa9a3524909a5b4e12b15e714403a5d68aea0f6cfd51c009d0cafcc6
data/lib/swifty.rb CHANGED
@@ -1,12 +1,14 @@
1
1
  require 'active_support/all'
2
2
  require 'cmxl'
3
- require_relative 'cmxl/config'
4
3
  require_relative 'cmxl/header'
5
4
  require 'choice'
6
5
  require 'pp'
7
6
  require 'yaml'
8
7
  require_relative 'exceptions'
9
8
 
9
+ Cmxl.config[:statement_separator] = /-\}/m
10
+ Cmxl.config[:raise_line_format_errors] = true
11
+
10
12
  class Swifty
11
13
  attr_reader :content, :options, :statement
12
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swifty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Kampp