Hello community, here is the log from the commit of package rubygem-temple for openSUSE:Factory checked in at 2019-03-27 16:17:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-temple (Old) and /work/SRC/openSUSE:Factory/.rubygem-temple.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-temple" Wed Mar 27 16:17:31 2019 rev:2 rq:685120 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-temple/rubygem-temple.changes 2017-06-08 15:02:05.790700330 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-temple.new.25356/rubygem-temple.changes 2019-03-27 16:17:32.651578018 +0100 @@ -1,0 +2,12 @@ +Thu Mar 14 11:07:12 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to version 0.8.1 + see installed CHANGES + + 0.8.1 + + * Stop relying on deprecated method in Rails (#121) + * Fix issue with --enable-frozen-string-literal + * Escape html in markdown + +------------------------------------------------------------------- Old: ---- temple-0.8.0.gem New: ---- temple-0.8.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-temple.spec ++++++ --- /var/tmp/diff_new_pack.33Jqqi/_old 2019-03-27 16:17:33.459577850 +0100 +++ /var/tmp/diff_new_pack.33Jqqi/_new 2019-03-27 16:17:33.459577850 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-temple # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-temple -Version: 0.8.0 +Version: 0.8.1 Release: 0 %define mod_name temple %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url: https://github.com/judofyr/temple -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: Template compilation framework in Ruby License: MIT ++++++ temple-0.8.0.gem -> temple-0.8.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGES new/CHANGES --- old/CHANGES 2017-02-12 13:20:10.000000000 +0100 +++ new/CHANGES 2019-03-03 14:42:20.000000000 +0100 @@ -1,3 +1,9 @@ +0.8.1 + + * Stop relying on deprecated method in Rails (#121) + * Fix issue with --enable-frozen-string-literal + * Escape html in markdown + 0.8.0 * Add Temple::StaticAnalyzer to analyze Ruby expressions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/EXPRESSIONS.md new/EXPRESSIONS.md --- old/EXPRESSIONS.md 2017-02-12 13:20:10.000000000 +0100 +++ new/EXPRESSIONS.md 2019-03-03 14:42:20.000000000 +0100 @@ -220,7 +220,7 @@ ### [:html, :tag, identifier, attributes, optional-sexp] HTML tag abstraction. Identifier can be a String or a Symbol. If the optional content Sexp is omitted -the tag is closed (e.g. <br/> <img/>). The tag is also closed if the content Sexp is empty +the tag is closed (e.g. `<br/>` `<img/>`). The tag is also closed if the content Sexp is empty (consists only of :multi and :newline expressions) and the tag is registered as auto-closing. Example: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-02-12 13:20:10.000000000 +0100 +++ new/README.md 2019-03-03 14:42:20.000000000 +0100 @@ -1,7 +1,7 @@ Temple ====== -[](http://travis-ci.org/judofyr/temple) [](https://gemnasium.com/judofyr/temple) [](https://codeclimate.com/github/judofyr/temple) +[](http://travis-ci.org/judofyr/temple) [](https://gemnasium.com/judofyr/temple) [](https://codeclimate.com/github/judofyr/temple) [](https://rubygems.org/gems/temple) Temple is an abstraction and a framework for compiling templates to pure Ruby. It's all about making it easier to experiment, implement and optimize template Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/temple/mixins/dispatcher.rb new/lib/temple/mixins/dispatcher.rb --- old/lib/temple/mixins/dispatcher.rb 2017-02-12 13:20:10.000000000 +0100 +++ new/lib/temple/mixins/dispatcher.rb 2019-03-03 14:42:20.000000000 +0100 @@ -90,7 +90,8 @@ raise 'Invalid dispatcher node' unless method call_method else - code = "case(exp[#{level}])\n" + code = String.new + code << "case(exp[#{level}])\n" each do |key, child| code << "when #{key.inspect}\n " << child.compile(level + 1, call_method).gsub("\n".freeze, "\n ".freeze) << "\n".freeze diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/temple/templates/rails.rb new/lib/temple/templates/rails.rb --- old/lib/temple/templates/rails.rb 2017-02-12 13:20:10.000000000 +0100 +++ new/lib/temple/templates/rails.rb 2019-03-03 14:42:20.000000000 +0100 @@ -3,9 +3,9 @@ class Rails extend Mixins::Template - def call(template) + def call(template, source = nil) opts = {}.update(self.class.options).update(file: template.identifier) - self.class.compile(template.source, opts) + self.class.compile((source || template.source), opts) end def supports_streaming? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/temple/version.rb new/lib/temple/version.rb --- old/lib/temple/version.rb 2017-02-12 13:20:10.000000000 +0100 +++ new/lib/temple/version.rb 2019-03-03 14:42:20.000000000 +0100 @@ -1,3 +1,3 @@ module Temple - VERSION = '0.8.0' + VERSION = '0.8.1' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-02-12 13:20:10.000000000 +0100 +++ new/metadata 2019-03-03 14:42:20.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: temple version: !ruby/object:Gem::Version - version: 0.8.0 + version: 0.8.1 platform: ruby authors: - Magnus Holm @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2017-02-12 00:00:00.000000000 Z +date: 2019-03-03 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: tilt @@ -178,7 +178,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.8 +rubygems_version: 2.6.11 signing_key: specification_version: 4 summary: Template compilation framework in Ruby
