slim-mustache 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/slim/mustache/filter.rb +1 -1
- data/slim-mustache.gemspec +2 -2
- data/test/test_slim-mustache.rb +7 -0
- 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: 3387fd7e0528f20bba54d45e87f087a08f5af978
|
4
|
+
data.tar.gz: f292a898b0659d9e7c5cb77d52a6358baece7648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b62aae14919d8029062cc668b9f7cd486fb9755b392a692f1906c174f817b08137df2391932650900c6827aa55db6a0d3eca175898ff6f0a38e50de3a87ecf2
|
7
|
+
data.tar.gz: d294ed6ecda3b5c593fcc1935f7177455952b4f974ebfac5fd058a020f246e06791fe4934804780fb5b60bc4e251f9aca22b5321a5f2c42e5cb798d3adda55ca
|
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
|
|
21
21
|
gem.description = %Q{use a ~tilde to generate \{\{mustache\}\} syntax}
|
22
22
|
gem.email = "michelbenevento@yahoo.com"
|
23
23
|
gem.authors = ["Michel Benevento"]
|
24
|
-
gem.version = "1.0.
|
24
|
+
gem.version = "1.0.2"
|
25
25
|
# dependencies defined in Gemfile
|
26
26
|
end
|
27
27
|
Jeweler::RubygemsDotOrgTasks.new
|
data/lib/slim/mustache/filter.rb
CHANGED
@@ -12,7 +12,7 @@ module Slim
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def on_slim_interpolate(string)
|
15
|
-
matches = string.scan(/([^~]*)~([!>])?(\((.*)\)|([^ ]*[\w}]))([^~]*)/)
|
15
|
+
matches = string.scan(/([^~]*)~([!>])?(\((.*)\)|([^ ]*[\w}])|\.)([^~]*)/)
|
16
16
|
if matches.any?
|
17
17
|
stack = [:multi]
|
18
18
|
matches.each do |first, prefix, text, clean_text, _, last|
|
data/slim-mustache.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: slim-mustache 1.0.
|
5
|
+
# stub: slim-mustache 1.0.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "slim-mustache"
|
9
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/test/test_slim-mustache.rb
CHANGED