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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33ce44eabdf202d4535298e4fc2f3f9263a11b34
4
- data.tar.gz: 388b8da6e928aa67a1aa6eba834191972c109935
3
+ metadata.gz: f1c27aec6465534a88647eff34376fc76ac7c2d0
4
+ data.tar.gz: 566734596190c3a79aa4b95cbe07edcbc7b56217
5
5
  SHA512:
6
- metadata.gz: 2b5c761d52b601569ea43255c621ce10ac3fdbf679b596a9b747f9d39cfab04ff058a89f5b28eeb93e14be66484e04f7a6ccd5b068e80572aba8c7499d16bb7e
7
- data.tar.gz: c108ee0e821444e965e5efcde033bf6ec29b471f012814943f3557e2fcb6f7af936eb3e8243c209b0818ddeb7bccee8fbd8251ceb87318a7dad5d595a443ac17
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.2.1</b>
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
@@ -1,3 +1,3 @@
1
1
  module MustacheJsRails
2
- VERSION = "2.0.6"
2
+ VERSION = "2.3.0"
3
3
  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.2.1';
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.6
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: 2016-07-29 00:00:00.000000000 Z
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
- - k@knapik.cc
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.5.1
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