Hello community,

here is the log from the commit of package rubygem-mustache for 
openSUSE:Factory checked in at 2015-07-14 17:43:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mustache (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-mustache.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-mustache"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-mustache/rubygem-mustache.changes        
2015-07-08 06:59:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-mustache.new/rubygem-mustache.changes   
2015-07-14 17:44:40.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 25 04:30:53 UTC 2015 - [email protected]
+
+- updated to version 1.0.2
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  mustache-1.0.1.gem

New:
----
  mustache-1.0.2.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-mustache.spec ++++++
--- /var/tmp/diff_new_pack.r5W2kL/_old  2015-07-14 17:44:42.000000000 +0200
+++ /var/tmp/diff_new_pack.r5W2kL/_new  2015-07-14 17:44:42.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-mustache
-Version:        1.0.1
+Version:        1.0.2
 Release:        0
 %define mod_name mustache
 %define mod_full_name %{mod_name}-%{version}

++++++ mustache-1.0.1.gem -> mustache-1.0.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2015-02-23 16:15:03.000000000 +0100
+++ new/README.md       2015-06-24 16:45:05.000000000 +0200
@@ -1,6 +1,7 @@
 # Mustache
 
-[![Join the chat at 
https://gitter.im/mustache/mustache](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mustache/mustache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![Gem 
Version](https://badge.fury.io/rb/mustache.svg)](http://badge.fury.io/rb/mustache)
+[![Build 
Status](https://travis-ci.org/mustache/mustache.svg?branch=master)](https://travis-ci.org/mustache/mustache)
 
 Inspired by [ctemplate][1] and [et][2], Mustache is a
 framework-agnostic way to render logic-free views.
@@ -359,12 +360,18 @@
 
 ## Mailing List
 
-To join the list simply send an email to <[email protected]>. This
+~~To join the list simply send an email to <[email protected]>. This
 will subscribe you and send you information about your subscription,
 including unsubscribe information.
 
-The archive can be found at <http://librelist.com/browser/mustache/>.
+The archive can be found at <http://librelist.com/browser/mustache/>.~~
+
+The mailing list hasn't been updated in quite a while, please join us on Gitter
+or IRC:
+
+[![Join the chat at 
https://gitter.im/mustache/mustache](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mustache/mustache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
 
+[#{ on Freenode][irc]
 
 ## Meta
 
@@ -374,9 +381,6 @@
 * List: <[email protected]>
 * Gems: <http://rubygems.org/gems/mustache>
 
-You can also find us in #{ on [irc.freenode.net][irc].
-
-
 [1]: http://code.google.com/p/google-ctemplate/
 [2]: 
http://www.ivan.fomichev.name/2008/05/erlang-template-engine-prototype.html
 [3]: http://google-ctemplate.googlecode.com/svn/trunk/doc/howto.html
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mustache/context.rb new/lib/mustache/context.rb
--- old/lib/mustache/context.rb 2015-02-23 16:15:03.000000000 +0100
+++ new/lib/mustache/context.rb 2015-06-24 16:45:05.000000000 +0200
@@ -13,6 +13,7 @@
     #
     def initialize(mustache)
       @stack = [mustache]
+      @partial_template_cache = {}
     end
 
     # A {{>partial}} tag translates into a call to the context's
@@ -29,8 +30,12 @@
       # Indent the partial template by the given indentation.
       part = mustache.partial(name).to_s.gsub(/^/, indentation)
 
-      # Call the Mustache's `partial` method and render the result.
-      mustache.render(part, self)
+      # Get a template object for the partial and render the result.
+      template_for_partial(part).render(self)
+    end
+
+    def template_for_partial(partial)
+      @partial_template_cache[partial] ||= Template.new(partial)
     end
 
     # Find the first Mustache in the stack.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mustache/parser.rb new/lib/mustache/parser.rb
--- old/lib/mustache/parser.rb  2015-02-23 16:15:03.000000000 +0100
+++ new/lib/mustache/parser.rb  2015-06-24 16:45:05.000000000 +0200
@@ -45,7 +45,7 @@
     end
 
     # The sigil types which are valid after an opening `{{`
-    VALID_TYPES = [ '#', '^', '/', '=', '!', '<', '>', '&', '{' ].map &:freeze
+    VALID_TYPES = [ '#', '^', '/', '=', '!', '<', '>', '&', '{' ].map(&:freeze)
 
     def self.valid_types
       @valid_types ||= Regexp.new(VALID_TYPES.map { |t| Regexp.escape(t) 
}.join('|') )
@@ -158,7 +158,7 @@
       pre_match_position = @scanner.pos
       last_index = @result.length
 
-      return unless x = @scanner.scan(/([ \t]*)?#{Regexp.escape(otag)}/)
+      return unless @scanner.scan(/([ \t]*)?#{Regexp.escape(otag)}/)
       padding = @scanner[1] || ''
 
       # Don't touch the preceding whitespace unless we're matching the start
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mustache/version.rb new/lib/mustache/version.rb
--- old/lib/mustache/version.rb 2015-02-23 16:15:03.000000000 +0100
+++ new/lib/mustache/version.rb 2015-06-24 16:45:05.000000000 +0200
@@ -1,3 +1,3 @@
 class Mustache
-  VERSION = '1.0.1'
+  VERSION = '1.0.2'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/man/mustache.1 new/man/mustache.1
--- old/man/mustache.1  2015-02-23 16:15:03.000000000 +0100
+++ new/man/mustache.1  2015-06-24 16:45:05.000000000 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "MUSTACHE" "1" "October 2014" "DEFUNKT" "Mustache Manual"
+.TH "MUSTACHE" "1" "February 2015" "DEFUNKT" "Mustache Manual"
 .
 .SH "NAME"
 \fBmustache\fR \- Mustache processor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/man/mustache.1.html new/man/mustache.1.html
--- old/man/mustache.1.html     2015-02-23 16:15:03.000000000 +0100
+++ new/man/mustache.1.html     2015-06-24 16:45:05.000000000 +0200
@@ -204,7 +204,7 @@
 
   <ol class='man-decor man-foot man foot'>
     <li class='tl'>DEFUNKT</li>
-    <li class='tc'>October 2014</li>
+    <li class='tc'>February 2015</li>
     <li class='tr'>mustache(1)</li>
   </ol>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/man/mustache.5 new/man/mustache.5
--- old/man/mustache.5  2015-02-23 16:15:03.000000000 +0100
+++ new/man/mustache.5  2015-06-24 16:45:05.000000000 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "MUSTACHE" "5" "October 2014" "DEFUNKT" "Mustache Manual"
+.TH "MUSTACHE" "5" "February 2015" "DEFUNKT" "Mustache Manual"
 .
 .SH "NAME"
 \fBmustache\fR \- Logic\-less templates\.
@@ -69,10 +69,10 @@
 The most basic tag type is the variable\. A \fB{{name}}\fR tag in a basic 
template will try to find the \fBname\fR key in the current context\. If there 
is no \fBname\fR key, the parent contexts will be checked recursively\. If the 
top context is reached and the \fBname\fR key is still not found, nothing will 
be rendered\.
 .
 .P
-All variables are HTML escaped by default\. If you want to return unescaped 
HTML, use the triple mustache: \fB{{{name}}}\fR\.
+All variables are HTML escaped by default\. If you want to return raw contents 
without escaping, use the triple mustache: \fB{{{name}}}\fR\.
 .
 .P
-You can also use \fB&\fR to unescape a variable: \fB{{& name}}\fR\. This may 
be useful when changing delimiters (see "Set Delimiter" below)\.
+You can also use \fB&\fR to return its raw contents: \fB{{& name}}\fR\. This 
may be useful when changing delimiters (see "Set Delimiter" below)\.
 .
 .P
 By default a variable "miss" returns an empty string\. This can usually be 
configured in your Mustache library\. The Ruby version of Mustache supports 
raising an exception in this situation, for instance\.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/man/mustache.5.html new/man/mustache.5.html
--- old/man/mustache.5.html     2015-02-23 16:15:03.000000000 +0100
+++ new/man/mustache.5.html     2015-06-24 16:45:05.000000000 +0200
@@ -125,10 +125,10 @@
 If the top context is reached and the <code>name</code> key is still not found,
 nothing will be rendered.</p>
 
-<p>All variables are HTML escaped by default. If you want to return
-unescaped HTML, use the triple mustache: <code>{{{name}}}</code>.</p>
+<p>All variables are HTML escaped by default. If you want to return raw 
contents
+without escaping, use the triple mustache: <code>{{{name}}}</code>.</p>
 
-<p>You can also use <code>&amp;</code> to unescape a variable: <code>{{&amp; 
name}}</code>. This may be
+<p>You can also use <code>&amp;</code> to return its raw contents: 
<code>{{&amp; name}}</code>. This may be
 useful when changing delimiters (see "Set Delimiter" below).</p>
 
 <p>By default a variable "miss" returns an empty string. This can usually
@@ -415,7 +415,7 @@
 
   <ol class='man-decor man-foot man foot'>
     <li class='tl'>DEFUNKT</li>
-    <li class='tc'>October 2014</li>
+    <li class='tc'>February 2015</li>
     <li class='tr'>mustache(5)</li>
   </ol>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/man/mustache.5.ron new/man/mustache.5.ron
--- old/man/mustache.5.ron      2015-02-23 16:15:03.000000000 +0100
+++ new/man/mustache.5.ron      2015-06-24 16:45:05.000000000 +0200
@@ -54,10 +54,10 @@
 If the top context is reached and the `name` key is still not found,
 nothing will be rendered.
 
-All variables are HTML escaped by default. If you want to return
-unescaped HTML, use the triple mustache: `{{{name}}}`.
+All variables are HTML escaped by default. If you want to return raw contents
+without escaping, use the triple mustache: `{{{name}}}`.
 
-You can also use `&` to unescape a variable: `{{& name}}`. This may be
+You can also use `&` to return its raw contents: `{{& name}}`. This may be
 useful when changing delimiters (see "Set Delimiter" below).
 
 By default a variable "miss" returns an empty string. This can usually
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-02-23 16:15:03.000000000 +0100
+++ new/metadata        2015-06-24 16:45:05.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: mustache
 version: !ruby/object:Gem::Version
-  version: 1.0.1
+  version: 1.0.2
 platform: ruby
 authors:
 - Chris Wanstrath
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-02-23 00:00:00.000000000 Z
+date: 2015-06-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: bundler
@@ -60,6 +60,20 @@
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - ! '>='
+      - !ruby/object:Gem::Version
+        version: '0'
+  type: :development
+  prerelease: false
+  version_requirements: !ruby/object:Gem::Requirement
+    requirements:
+    - - ! '>='
+      - !ruby/object:Gem::Version
+        version: '0'
+- !ruby/object:Gem::Dependency
+  name: ruby-prof
+  requirement: !ruby/object:Gem::Requirement
+    requirements:
+    - - ! '>='
       - !ruby/object:Gem::Version
         version: '0'
   type: :development


Reply via email to