spintax_parser 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spintax_parser/version.rb +1 -1
- data/lib/spintax_parser.rb +1 -1
- data/spec/lib/spintax_parser_spec.rb +1 -1
- metadata +4 -4
data/lib/spintax_parser.rb
CHANGED
@@ -6,7 +6,7 @@ end
|
|
6
6
|
|
7
7
|
describe SpintaxParser do
|
8
8
|
|
9
|
-
let(:plaintext) { 'Hello world.' }
|
9
|
+
let(:plaintext) { 'Hello world. { Please do not spin this. }' }
|
10
10
|
let(:spintext) { 'Find this. {Hello|Hi} to the {{world|worlds} out there|planet}{!|.|?} Cool.' }
|
11
11
|
let(:spintax_pattern) { /\{[^{}]*\}/ }
|
12
12
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spintax_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Scott McCormack
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-05-
|
18
|
+
date: 2013-05-23 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|