mustache-js-rails 2.0.6 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +0 -11
- data/lib/mustache-js-rails/version.rb +1 -1
- data/vendor/assets/javascripts/mustache.js +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1c27aec6465534a88647eff34376fc76ac7c2d0
|
|
4
|
+
data.tar.gz: 566734596190c3a79aa4b95cbe07edcbc7b56217
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b09f4b148470ffee80a0498a19084f356bf44cc8343a69d3a101af78b7a0a3d8d098bb01aeac9cb8dc72a83d347cd9acf843ec6d075af8f67e76624c5997f030
|
|
7
|
+
data.tar.gz: 9a8bb2d581fd13f88cedf4168a625498497e3b213e9a569762a66643a5be51a148f809792b503872bfde40b2fa3b0e2f8abe1f513acd35744c09ce6ca4535413
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ and [mustache jQuery integration](https://github.com/jonnyreeves/jquery-Mustache
|
|
|
5
5
|
|
|
6
6
|
Integrated versions are:
|
|
7
7
|
|
|
8
|
-
* mustache.js - <b id="mustache-js-version">2.
|
|
8
|
+
* mustache.js - <b id="mustache-js-version">2.3.0</b>
|
|
9
9
|
* jQuery mustache - <b id="jquery-mustache-js-version">0.2.8</b>
|
|
10
10
|
|
|
11
11
|
### Installation
|
data/Rakefile
CHANGED
|
@@ -31,14 +31,3 @@ task :update do
|
|
|
31
31
|
readme = readme.gsub(/(?<=<b id="jquery-mustache-js-version">)[\d\.]+(?=<\/b>)/, jquery_mustache_js_version)
|
|
32
32
|
File.open('README.md','w') { |f| f.write(readme) }
|
|
33
33
|
end
|
|
34
|
-
|
|
35
|
-
task :build do
|
|
36
|
-
FileUtils.rm_f Dir['*.gem']
|
|
37
|
-
`gem build jquery-colorbox-rails.gemspec`
|
|
38
|
-
built_gem_file = Dir['*.gem'].first
|
|
39
|
-
if built_gem_file
|
|
40
|
-
`gem push #{built_gem_file}`
|
|
41
|
-
else
|
|
42
|
-
raise "Gem was not built!"
|
|
43
|
-
end
|
|
44
|
-
end
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
var tokens = cache[template];
|
|
448
448
|
|
|
449
449
|
if (tokens == null)
|
|
450
|
-
tokens = cache[template] = parseTemplate(template, tags);
|
|
450
|
+
tokens = cache[template + ':' + (tags || mustache.tags).join(':')] = parseTemplate(template, tags);
|
|
451
451
|
|
|
452
452
|
return tokens;
|
|
453
453
|
};
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
};
|
|
568
568
|
|
|
569
569
|
mustache.name = 'mustache.js';
|
|
570
|
-
mustache.version = '2.
|
|
570
|
+
mustache.version = '2.3.0';
|
|
571
571
|
mustache.tags = [ '{{', '}}' ];
|
|
572
572
|
|
|
573
573
|
// All high-level mustache.* functions use this writer.
|
|
@@ -626,4 +626,5 @@
|
|
|
626
626
|
mustache.Context = Context;
|
|
627
627
|
mustache.Writer = Writer;
|
|
628
628
|
|
|
629
|
+
return mustache;
|
|
629
630
|
}));
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mustache-js-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -34,7 +34,7 @@ description: "\n mustache.js (https://github.com/janl/mustache.js)\n and j
|
|
|
34
34
|
(https://github.com/jonnyreeves/jquery-Mustache)\n for Rails 3.1+ asset pipeline\n
|
|
35
35
|
\ "
|
|
36
36
|
email:
|
|
37
|
-
-
|
|
37
|
+
- knapo@knapo.net
|
|
38
38
|
executables: []
|
|
39
39
|
extensions: []
|
|
40
40
|
extra_rdoc_files: []
|
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
68
68
|
version: '0'
|
|
69
69
|
requirements: []
|
|
70
70
|
rubyforge_project: mustache-js-rails
|
|
71
|
-
rubygems_version: 2.
|
|
71
|
+
rubygems_version: 2.6.14
|
|
72
72
|
signing_key:
|
|
73
73
|
specification_version: 4
|
|
74
74
|
summary: mustache.js and jQuery.mustache.js for Rails 3.1+ asset pipeline
|