swifty 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/swifty.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b07b77a6a8991ff92031eea0e8ede1aad07ed2
|
4
|
+
data.tar.gz: 7d89d50499e35d57030a6928ff58b0a54e3b7dec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|