openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
March 2016
- 1 participants
- 1605 discussions
Hello community,
here is the log from the commit of package rubygem-sexp_processor for openSUSE:Factory checked in at 2016-03-01 09:40:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sexp_processor (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sexp_processor"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sexp_processor/rubygem-sexp_processor.changes 2015-06-12 20:30:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sexp_processor.new/rubygem-sexp_processor.changes 2016-03-01 09:40:50.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Jan 25 05:53:48 UTC 2016 - coolo(a)suse.com
+
+- updated to version 4.6.1
+ see installed History.txt
+
+ === 4.6.1 / 2016-01-21
+
+ * 1 bug fix:
+
+ * defs should have a nil node if body is empty.
+
+-------------------------------------------------------------------
Old:
----
sexp_processor-4.6.0.gem
New:
----
sexp_processor-4.6.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sexp_processor.spec ++++++
--- /var/tmp/diff_new_pack.a9YP1f/_old 2016-03-01 09:40:53.000000000 +0100
+++ /var/tmp/diff_new_pack.a9YP1f/_new 2016-03-01 09:40:53.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-sexp_processor
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-sexp_processor
-Version: 4.6.0
+Version: 4.6.1
Release: 0
%define mod_name sexp_processor
%define mod_full_name %{mod_name}-%{version}
++++++ sexp_processor-4.6.0.gem -> sexp_processor-4.6.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 2015-05-28 23:47:41.000000000 +0200
+++ new/History.txt 2016-01-22 00:40:32.000000000 +0100
@@ -1,3 +1,9 @@
+=== 4.6.1 / 2016-01-21
+
+* 1 bug fix:
+
+ * defs should have a nil node if body is empty.
+
=== 4.6.0 / 2015-05-28
* 2 minor enhancements:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/pt_testcase.rb new/lib/pt_testcase.rb
--- old/lib/pt_testcase.rb 2015-05-28 23:47:41.000000000 +0200
+++ new/lib/pt_testcase.rb 2016-01-22 00:40:32.000000000 +0100
@@ -1488,19 +1488,21 @@
add_tests("defs_empty",
"Ruby" => "def self.empty\n # do nothing\nend",
- "ParseTree" => s(:defs, s(:self), :empty, s(:args)))
+ "ParseTree" => s(:defs, s(:self), :empty, s(:args), s(:nil)))
add_tests("defs_empty_args",
"Ruby" => "def self.empty(*)\n # do nothing\nend",
"ParseTree" => s(:defs, s(:self), :empty,
- s(:args, :*)))
+ s(:args, :*),
+ s(:nil)))
add_tests("defs_expr_wtf",
"Ruby" => "def (a.b).empty(*)\n # do nothing\nend",
"ParseTree" => s(:defs,
s(:call, s(:call, nil, :a), :b),
:empty,
- s(:args, :*)))
+ s(:args, :*),
+ s(:nil)))
add_tests("dmethod",
"Ruby" => [Examples, :dmethod_added],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sexp_processor.rb new/lib/sexp_processor.rb
--- old/lib/sexp_processor.rb 2015-05-28 23:47:41.000000000 +0200
+++ new/lib/sexp_processor.rb 2016-01-22 00:40:32.000000000 +0100
@@ -33,7 +33,7 @@
class SexpProcessor
- VERSION = "4.6.0"
+ VERSION = "4.6.1"
##
# Automatically shifts off the Sexp type before handing the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-05-28 23:47:41.000000000 +0200
+++ new/metadata 2016-01-22 00:40:32.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: sexp_processor
version: !ruby/object:Gem::Version
- version: 4.6.0
+ version: 4.6.1
platform: ruby
authors:
- Ryan Davis
@@ -10,9 +10,9 @@
cert_chain:
- |
-----BEGIN CERTIFICATE-----
- MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
+ MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
- GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
+ GRYDY29tMB4XDTE1MDkxOTIwNTEyMloXDTE2MDkxODIwNTEyMlowRTETMBEGA1UE
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
@@ -22,14 +22,14 @@
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
- AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
- FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
- hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
- zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
- xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
- VpzF30vNaJK6ZT7xlIsIlwmH
+ AQB+Hx8xUgrpZa4P8H8gR8zme5kISwQrG80MbpqJV6/G3/ZicRFhN5sjwu0uHGue
+ bd9Cymf6oIRwHVarJux2M32T6bL07Hmi07w2QaPc3MnMKB/D46SRZ2JSSGPFRBTc
+ SilobMRoGs/7B15uGFUEnNrCB/ltMqhwwSx1r++UQPfeySHEV9uqu03E5Vb7J37O
+ 2Er6PLXHRiYsIycD1LkMi6YnixdITRHmrqJYE2rsjaIfpIehiusVAPHkNf7qbpHq
+ qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy
+ NLq5jm1fq6Y9Uolu3RJbmycf
-----END CERTIFICATE-----
-date: 2015-05-28 00:00:00.000000000 Z
+date: 2016-01-21 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: minitest
@@ -37,14 +37,14 @@
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '5.7'
+ version: '5.8'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '5.7'
+ version: '5.8'
- !ruby/object:Gem::Dependency
name: rdoc
requirement: !ruby/object:Gem::Requirement
@@ -65,14 +65,14 @@
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '3.13'
+ version: '3.14'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - ~>
- !ruby/object:Gem::Version
- version: '3.13'
+ version: '3.14'
description: |-
sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc... all
@@ -86,7 +86,6 @@
- Manifest.txt
- README.txt
files:
-- .gemtest
- History.txt
- Manifest.txt
- README.txt
Files old/metadata.gz.sig and new/metadata.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_environment.rb new/test/test_environment.rb
--- old/test/test_environment.rb 2015-05-28 23:47:41.000000000 +0200
+++ new/test/test_environment.rb 2016-01-22 00:40:32.000000000 +0100
@@ -74,10 +74,10 @@
@env.scope do
@env[:var] = Math::PI
- assert_equal Math::PI, @env[:var]
+ assert_in_epsilon Math::PI, @env[:var]
end
- assert_equal Math::PI, @env[:var]
+ assert_in_epsilon Math::PI, @env[:var]
end
def test_current_shadow
1
0
Hello community,
here is the log from the commit of package rubygem-sinatra for openSUSE:Factory checked in at 2016-03-01 09:40:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sinatra (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sinatra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sinatra"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sinatra/rubygem-sinatra.changes 2015-09-19 11:10:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sinatra.new/rubygem-sinatra.changes 2016-03-01 09:40:41.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Jan 25 05:54:06 UTC 2016 - coolo(a)suse.com
+
+- updated to version 1.4.7
+ CHANGES removed upstream
+
+-------------------------------------------------------------------
Old:
----
sinatra-1.4.6.gem
New:
----
sinatra-1.4.7.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sinatra.spec ++++++
--- /var/tmp/diff_new_pack.Mcd8hV/_old 2016-03-01 09:40:43.000000000 +0100
+++ /var/tmp/diff_new_pack.Mcd8hV/_new 2016-03-01 09:40:43.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-sinatra
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-sinatra
-Version: 1.4.6
+Version: 1.4.7
Release: 0
%define mod_name sinatra
%define mod_full_name %{mod_name}-%{version}
@@ -50,7 +50,7 @@
%install
%gem_install \
- --doc-files="CHANGES LICENSE README.md" \
+ --doc-files="CHANGELOG.md LICENSE README.md" \
-f
%gem_packages
++++++ sinatra-1.4.6.gem -> sinatra-1.4.7.gem ++++++
++++ 17354 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package rubygem-pkg-config for openSUSE:Factory checked in at 2016-03-01 09:40:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-pkg-config (Old)
and /work/SRC/openSUSE:Factory/.rubygem-pkg-config.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-pkg-config"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-pkg-config/rubygem-pkg-config.changes 2015-02-10 20:22:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-pkg-config.new/rubygem-pkg-config.changes 2016-03-01 09:40:34.000000000 +0100
@@ -1,0 +2,15 @@
+Thu Jan 21 05:43:30 UTC 2016 - coolo(a)suse.com
+
+- updated to version 1.1.7
+ see installed NEWS
+
+ == 1.1.7 - 2015-01-16
+
+ * Added path for FreeBSD to default paths.
+ [Reported by Hajime UMEMOTO]
+
+ === Thanks
+
+ * Hajime UMEMOTO
+
+-------------------------------------------------------------------
Old:
----
pkg-config-1.1.6.gem
New:
----
pkg-config-1.1.7.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-pkg-config.spec ++++++
--- /var/tmp/diff_new_pack.1L8aA1/_old 2016-03-01 09:40:35.000000000 +0100
+++ /var/tmp/diff_new_pack.1L8aA1/_new 2016-03-01 09:40:36.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-pkg-config
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-pkg-config
-Version: 1.1.6
+Version: 1.1.7
Release: 0
%define mod_name pkg-config
%define mod_full_name %{mod_name}-%{version}
@@ -49,7 +49,7 @@
%install
%gem_install \
- --doc-files="README.rdoc" \
+ --doc-files="NEWS README.rdoc" \
-f
%gem_packages
++++++ pkg-config-1.1.6.gem -> pkg-config-1.1.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS new/NEWS
--- old/NEWS 2014-11-12 08:29:58.000000000 +0100
+++ new/NEWS 2016-01-06 06:10:37.000000000 +0100
@@ -1,5 +1,14 @@
= NEWS
+== 1.1.7 - 2015-01-16
+
+ * Added path for FreeBSD to default paths.
+ [Reported by Hajime UMEMOTO]
+
+=== Thanks
+
+ * Hajime UMEMOTO
+
== 1.1.6 - 2014/11/12
* Supported Ruby 2.1.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/pkg-config/version.rb new/lib/pkg-config/version.rb
--- old/lib/pkg-config/version.rb 2014-11-12 08:29:58.000000000 +0100
+++ new/lib/pkg-config/version.rb 2016-01-06 06:10:37.000000000 +0100
@@ -15,5 +15,5 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
module PKGConfig
- VERSION = "1.1.6"
+ VERSION = "1.1.7"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/pkg-config.rb new/lib/pkg-config.rb
--- old/lib/pkg-config.rb 2014-11-12 08:29:58.000000000 +0100
+++ new/lib/pkg-config.rb 2016-01-06 06:10:37.000000000 +0100
@@ -1,4 +1,4 @@
-# Copyright 2008-2013 Kouhei Sutou <kou(a)cozmixng.org>
+# Copyright 2008-2016 Kouhei Sutou <kou(a)cozmixng.org>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -303,16 +303,20 @@
def guess_default_path
arch_depended_path = Dir.glob('/usr/lib/*/pkgconfig').join(SEPARATOR)
- default_path = ["/usr/local/lib64/pkgconfig",
- "/usr/local/lib/pkgconfig",
- "/usr/local/libdata/pkgconfig",
- "/opt/local/lib/pkgconfig",
- arch_depended_path,
- "/usr/lib64/pkgconfig",
- "/usr/lib/pkgconfig",
- "/usr/X11/lib/pkgconfig/",
- "/opt/X11/lib/pkgconfig/",
- "/usr/share/pkgconfig"].join(SEPARATOR)
+ default_paths = [
+ "/usr/local/lib64/pkgconfig",
+ "/usr/local/lib/pkgconfig",
+ "/usr/local/libdata/pkgconfig",
+ "/opt/local/lib/pkgconfig",
+ arch_depended_path,
+ "/usr/lib64/pkgconfig",
+ "/usr/lib/pkgconfig",
+ "/usr/libdata/pkgconfig",
+ "/usr/X11/lib/pkgconfig",
+ "/opt/X11/lib/pkgconfig",
+ "/usr/share/pkgconfig",
+ ]
+ default_path = default_paths.join(SEPARATOR)
libdir = ENV["PKG_CONFIG_LIBDIR"]
default_path = [libdir, default_path].join(SEPARATOR) if libdir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-11-12 08:29:58.000000000 +0100
+++ new/metadata 2016-01-06 06:10:37.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: pkg-config
version: !ruby/object:Gem::Version
- version: 1.1.6
+ version: 1.1.7
platform: ruby
authors:
- Kouhei Sutou
autorequire:
bindir: bin
cert_chain: []
-date: 2014-11-12 00:00:00.000000000 Z
+date: 2016-01-06 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: test-unit
@@ -89,10 +89,11 @@
version: '0'
requirements: []
rubyforge_project: cairo
-rubygems_version: 2.2.2
+rubygems_version: 2.4.5.1
signing_key:
specification_version: 4
summary: A pkg-config implementation for Ruby
test_files:
-- test/test_pkg_config.rb
- test/run-test.rb
+- test/test_pkg_config.rb
+has_rdoc:
1
0
Hello community,
here is the log from the commit of package rubygem-power_assert for openSUSE:Factory checked in at 2016-03-01 09:40:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-power_assert (Old)
and /work/SRC/openSUSE:Factory/.rubygem-power_assert.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-power_assert"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-power_assert/rubygem-power_assert.changes 2015-12-14 10:13:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-power_assert.new/rubygem-power_assert.changes 2016-03-01 09:40:27.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 21 05:43:45 UTC 2016 - coolo(a)suse.com
+
+- updated to version 0.2.7
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
power_assert-0.2.6.gem
New:
----
power_assert-0.2.7.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-power_assert.spec ++++++
--- /var/tmp/diff_new_pack.zl8DJ7/_old 2016-03-01 09:40:28.000000000 +0100
+++ /var/tmp/diff_new_pack.zl8DJ7/_new 2016-03-01 09:40:28.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-power_assert
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-power_assert
-Version: 0.2.6
+Version: 0.2.7
Release: 0
%define mod_name power_assert
%define mod_full_name %{mod_name}-%{version}
++++++ power_assert-0.2.6.gem -> power_assert-0.2.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2015-11-09 16:16:53.000000000 +0100
+++ new/.travis.yml 2016-01-09 03:25:22.000000000 +0100
@@ -3,7 +3,10 @@
- 2.0.0
- 2.1
- 2.2
+ - 2.3.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
+before_install:
+ - gem update bundler
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/power_assert/enable_tracepoint_events.rb new/lib/power_assert/enable_tracepoint_events.rb
--- old/lib/power_assert/enable_tracepoint_events.rb 2015-11-09 16:16:53.000000000 +0100
+++ new/lib/power_assert/enable_tracepoint_events.rb 2016-01-09 03:25:22.000000000 +0100
@@ -18,6 +18,7 @@
true
end
end
+ private_constant :Bug11182
refine Bug11182 do
def fixed?
@@ -28,6 +29,7 @@
alias _fixed? fixed?
protected :_fixed?
end
+ private_constant :Bug11182Sub
if (Bug11182.new.fixed? rescue false)
basic_classes.each do |klass|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/power_assert/version.rb new/lib/power_assert/version.rb
--- old/lib/power_assert/version.rb 2015-11-09 16:16:53.000000000 +0100
+++ new/lib/power_assert/version.rb 2016-01-09 03:25:22.000000000 +0100
@@ -1,3 +1,3 @@
module PowerAssert
- VERSION = "0.2.6"
+ VERSION = "0.2.7"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-11-09 16:16:53.000000000 +0100
+++ new/metadata 2016-01-09 03:25:22.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: power_assert
version: !ruby/object:Gem::Version
- version: 0.2.6
+ version: 0.2.7
platform: ruby
authors:
- Kazuki Tsujimoto
autorequire:
bindir: bin
cert_chain: []
-date: 2015-11-09 00:00:00.000000000 Z
+date: 2016-01-09 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: test-unit
@@ -99,7 +99,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.4.6
+rubygems_version: 2.5.1
signing_key:
specification_version: 4
summary: Power Assert for Ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_power_assert.rb new/test/test_power_assert.rb
--- old/test/test_power_assert.rb 2015-11-09 16:16:53.000000000 +0100
+++ new/test/test_power_assert.rb 2016-01-09 03:25:22.000000000 +0100
@@ -345,27 +345,18 @@
assertion_message { BasicObjectSubclass.new.foo }
- verbose = $VERBOSE
- default_external = Encoding.default_external
- default_internal = Encoding.default_internal
- begin
- $VERBOSE = nil
- Encoding.default_external = 'cp932'
- Encoding.default_internal = 'utf-8'
- ary = ["\u3042"]
- assert_match Regexp.new(<<END.chomp.gsub('|', "\\|")), assertion_message {
- ary.length
- | |
- | 1
- InspectionFailure: Encoding::CompatibilityError: .*
-END
- ary.length
- }
- ensure
- Encoding.default_internal = default_internal
- Encoding.default_external = default_external
- $VERBOSE = verbose
+ o = Object.new
+ def o.inspect
+ raise
end
+ assert_equal <<END.chomp.b, assertion_message {
+ o.class
+ | |
+ | Object
+ InspectionFailure: RuntimeError:
+END
+ o.class
+ }
end
def test_assertion_message_with_incompatible_encodings
1
0
Hello community,
here is the log from the commit of package rubygem-rails-i18n for openSUSE:Factory checked in at 2016-03-01 09:40:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rails-i18n (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rails-i18n.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rails-i18n"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rails-i18n/rubygem-rails-i18n.changes 2015-12-14 10:13:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rails-i18n.new/rubygem-rails-i18n.changes 2016-03-01 09:40:22.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Jan 21 05:44:19 UTC 2016 - coolo(a)suse.com
+
+- updated to version 4.0.8
+ see installed CHANGELOG.md
+
+ ## 4.0.8 (2015-12-24)
+ - Add Panjabi (pa)
+ - Update Russian (ru)
+
+-------------------------------------------------------------------
Old:
----
rails-i18n-4.0.7.gem
New:
----
rails-i18n-4.0.8.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rails-i18n.spec ++++++
--- /var/tmp/diff_new_pack.ACaFQP/_old 2016-03-01 09:40:22.000000000 +0100
+++ /var/tmp/diff_new_pack.ACaFQP/_new 2016-03-01 09:40:22.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rails-i18n
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-rails-i18n
-Version: 4.0.7
+Version: 4.0.8
Release: 0
%define mod_name rails-i18n
%define mod_full_name %{mod_name}-%{version}
++++++ rails-i18n-4.0.7.gem -> rails-i18n-4.0.8.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2015-11-20 12:57:15.000000000 +0100
+++ new/CHANGELOG.md 2015-12-24 14:01:51.000000000 +0100
@@ -1,3 +1,7 @@
+## 4.0.8 (2015-12-24)
+- Add Panjabi (pa)
+- Update Russian (ru)
+
## 4.0.7 (2015-11-20)
- Update Khmer (km)
- Update Greek (el)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2015-11-20 12:57:15.000000000 +0100
+++ new/README.md 2015-12-24 14:01:51.000000000 +0100
@@ -56,8 +56,8 @@
> es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-MX, es-PA, es-PE, es-US, es-VE,
> et, eu, fa, fi, fr, fr-CA, fr-CH, gl, he, hi, hi-IN, hr, hu, id, is, it,
> it-CH, ja, km, kn, ko, lb, lo, lt, lv, mk, mn, mr-IN, ms, nb, ne, nl, nn, or,
-> pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, ta, th, tl, tr, tt, ug, uk, ur,
-> uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
+> pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, ta, th, tl, tr, tt, ug, uk,
+> ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
Currently, no locales are complete. Typically they lack the following keys:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-11-20 12:57:15.000000000 +0100
+++ new/metadata 2015-12-24 14:01:51.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rails-i18n
version: !ruby/object:Gem::Version
- version: 4.0.7
+ version: 4.0.8
platform: ruby
authors:
- Rails I18n Group
autorequire:
bindir: bin
cert_chain: []
-date: 2015-11-20 00:00:00.000000000 Z
+date: 2015-12-24 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: i18n
@@ -187,6 +187,7 @@
- rails/locale/nl.yml
- rails/locale/nn.yml
- rails/locale/or.yml
+- rails/locale/pa.yml
- rails/locale/pl.yml
- rails/locale/pt-BR.yml
- rails/locale/pt.yml
@@ -309,6 +310,7 @@
- rails/pluralization/nn.rb
- rails/pluralization/nso.rb
- rails/pluralization/or.rb
+- rails/pluralization/pa.rb
- rails/pluralization/pl.rb
- rails/pluralization/ro.rb
- rails/pluralization/root.rb
@@ -376,7 +378,7 @@
version: 1.3.5
requirements: []
rubyforge_project: "[none]"
-rubygems_version: 2.4.8
+rubygems_version: 2.2.2
signing_key:
specification_version: 4
summary: Common locale data and translations for Rails i18n.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rails/locale/pa.yml new/rails/locale/pa.yml
--- old/rails/locale/pa.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/rails/locale/pa.yml 2015-12-24 14:01:51.000000000 +0100
@@ -0,0 +1,205 @@
+---
+pa:
+ date:
+ abbr_day_names:
+ - ਅੈਤ
+ - ਸੋਮ
+ - ਮੰਗਲ
+ - ਬੱੁਧ
+ - ਵੀਰ
+ - ਸ਼ੁੱਕਰ
+ - ਸ਼ਨਿੱਚਰ
+ abbr_month_names:
+ -
+ - ਜਨ
+ - ਫ਼ਰ
+ - ਮਾਰਚ
+ - ਅਪ੍ਰੈ
+ - ਮਈ
+ - ਜੂਨ
+ - ਜੁਲਾ
+ - ਅਗ
+ - ਸਤੰ
+ - ਅਕਤੂ
+ - ਨਵੰ
+ - ਦਸੰ
+ day_names:
+ - ਐਤਵਾਰ
+ - ਸੋਮਵਾਰ
+ - ਮੰਗਲਵਾਰ
+ - ਬੁੱਧਵਾਰ
+ - ਵੀਰਵਾਰ
+ - ਸ਼ੁੱਕਰਵਾਰ
+ - ਸ਼ਨਿੱਚਰਵਾਰ
+ formats:
+ default: "%Y-%m-%d"
+ long: "%B %d, %Y"
+ short: "%b %d"
+ month_names:
+ -
+ - ਜਨਵਰੀ
+ - ਫ਼ਰਵਰੀ
+ - ਮਾਰਚ
+ - ਅਪ੍ੈਲ
+ - ਮਈ
+ - ਜੂਨ
+ - ਜੁਲਾਈ
+ - ਅਗਸਤ
+ - ਸਤੰਬਰ
+ - ਅਕਤੂਬਰ
+ - ਨਵੰਬਰ
+ - ਦਸੰਬਰ
+ order:
+ - :year
+ - :month
+ - :day
+ datetime:
+ distance_in_words:
+ about_x_hours:
+ one: ਲਗਭਗ 1 ਘੰਟਾ
+ other: ਲਗਭਗ %{count} ਘੰਟੇ
+ about_x_months:
+ one: ਲਗਭਗ 1 ਮਹੀਨਾ
+ other: ਲਗਭਗ %{count} ਮਹੀਨੇ
+ about_x_years:
+ one: ਲਗਭਗ 1 ਸਾਲ
+ other: ਲਗਭਗ %{count} ਸਾਲ
+ almost_x_years:
+ one: ਤਕਰੀਬਨ 1 ਸਾਲ
+ other: ਤਕਰੀਬਨ %{count} ਸਾਲ
+ half_a_minute: ਅੱਧਾ ਮਿੰਟ
+ less_than_x_minutes:
+ one: 1 ਮਿੰਟ ਤੋਂ ਘੱਟ
+ other: "%{count} ਮਿੰਟਾਂ ਤੋਂ ਘੱਟ"
+ less_than_x_seconds:
+ one: 1 ਸਕਿੰਟ ਤੋਂ ਘੱਟ
+ other: "%{count} ਸਕਿੰਟਾਂ ਤੋਂ ਘੱਟ"
+ over_x_years:
+ one: 1 ਸਾਲ ਤੋਂ ਵੱਧ
+ other: "%{count} ਸਾਲਾਂ ਤੋਂ ਵੱਧ"
+ x_days:
+ one: 1 ਦਿਨ
+ other: "%{count} ਦਿਨ"
+ x_minutes:
+ one: 1 ਮਿੰਟ
+ other: "%{count} ਮਿੰਟ"
+ x_months:
+ one: 1 ਮਹੀਨਾ
+ other: "%{count} ਮਹੀਨੇ"
+ x_seconds:
+ one: 1 ਸਕਿੰਟ
+ other: "%{count} ਸਕਿੰਟ"
+ prompts:
+ day: ਦਿਨ
+ hour: ਘੰਟਾ
+ minute: ਮਿੰਟ
+ month: ਮਹੀਨਾ
+ second: ਸਕਿੰਟ
+ year: ਸਾਲ
+ errors:
+ format: "%{attribute} %{message}"
+ messages:
+ accepted: ਜਰੂਰੀ ਮੰਜੂਰ ਹੋਵੇ
+ blank: ਖਾਲੀ ਨਹੀਂ ਹੋ ਸਕਦਾ
+ present: ਜਰੂਰੀ ਖਾਲੀ ਹੋਵੇ
+ confirmation: "%{attribute} ਨਹੀਂ ਰਲਦੇ"
+ empty: ਖਾਲੀ ਨਹੀਂ ਹੋ ਸਕਦਾ
+ equal_to: "%{count} ਦੇ ਬਰਾਬਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
+ even: ਜਰੂਰੀ ਹੈ ਕੇ ਜੋਟਾ ਹੋਵੇ
+ exclusion: ਮੱਲਿਆ ਹੋਇਆ ਹੈ
+ greater_than: "%{count} ਤੋਂ ਵਧੇਰੇ ਹੋਣਾ ਜਰੂਰੀ ਹੈ"
+ greater_than_or_equal_to: "%{count} ਤੋਂ ਵਧੇਰੇ ਜਾਂ ਬਰਾਬਰ ਹੋਣਾ ਜਰੂਰੀ ਹੈ"
+ inclusion: ਇਸ ਲਿਸਟ ਵਿੱਚ ਸ਼ਾਮਿਲ ਨਹੀਂ ਹੈ
+ invalid: ਨਾ-ਮੰਜੂਰਸ਼ੁਦਾ ਹੈ
+ less_than: "%{count} ਤੋਂ ਘੱਟ ਹੋਣਾ ਜਰੂਰੀ ਹੈ"
+ less_than_or_equal_to: "%{count} ਤੋਂ ਘੱਟ ਜਾਂ ਬਰਾਬਰ ਹੋਣਾ ਜਰੂਰੀ ਹੈ"
+ not_a_number: ਸੰਖਿਆ ਨਹੀਂ ਹੈ
+ not_an_integer: ਜਰੂਰੀ ਹੈ ਕੇ ਪੂਰਨ ਅੰਕ ਹੋਵੇ
+ odd: ਜਰੂਰੀ ਹੈ ਕੇ ਕਲ੍ਲੀ ਹੋਵੇ
+ record_invalid: 'ਪਰਮਾਣ ਫ਼ੇਲ ਹੋਇਆ: %{errors}'
+ restrict_dependent_destroy:
+ one: ਮਿਟਾ ਨਹੀਂ ਸਕਦੇ ਕਿਉਂਕਿ ਇੱਕ ਨਿਰਭਰ %{record} ਮੌਜੂਦ ਹੈ
+ many: ਮਿਟਾ ਨਹੀਂ ਸਕਦੇ ਕਿਉਂਕਿ ਨਿਰਭਰ %{record} ਮੌਜੂਦ ਹਨ
+ taken: ਪਹਿਲਾਂ ਹੀ ਮੱਲਿਆ ਹੋਇਆ ਹੈ
+ too_long:
+ one: ਲੰਬਾਈ ਜ਼ਿਆਦਾ ਹੈ (ਵੱਧ ਤੋਂ ਵੱਧ 1 ਅੱਖਰ)
+ other: ਲੰਬਾਈ ਜ਼ਿਆਦਾ ਹੈ (ਵੱਧ ਤੋਂ ਵੱਧ %{count} ਅੱਖਰ)
+ too_short:
+ one: ਲੰਬਾਈ ਘੱਟ ਹੈ (ਘੱਟ ਤੋਂ ਘੱਟ 1 ਅੱਖਰ)
+ other: ਲੰਬਾਈ ਘੱਟ ਹੈ (ਘੱਟ ਤੋਂ ਘੱਟ %{count} ਅੱਖਰ)
+ wrong_length:
+ one: ਲੰਬਾਈ ਗਲਤ ਹੈ (1 ਅੱਖਰ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ)
+ other: ਲੰਬਾਈ ਗਲਤ ਹੈ (%{count} ਅੱਖਰ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ)
+ other_than: "%{count} ਦੀ ਜਗਾਹ ਹੋਰ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ"
+ template:
+ body: 'ਹੇਠਲੇ ਖੇਤਰਾਂ ਵਿੱਚ ਗਲਤੀਆਂ ਹਨ:'
+ header:
+ one: 1 ਗਲਤੀ ਕਰਕੇ ਇਹ %{model} ਬਚਾਇਆ ਨਹੀਂ ਗਿਆ
+ other: "%{count} ਗਲਤੀਆਂ ਕਰਕੇ ਇਹ %{model} ਬਚਾਇਆ ਨਹੀਂ ਗਿਆ"
+ helpers:
+ select:
+ prompt: ਕਿਰਪਾ ਕਰਕੇ ਚੁਣੋ
+ submit:
+ create: "%{model} ਬਣਾਓ"
+ submit: "%{model} ਬਚਾਓ"
+ update: "%{model} ਬਦਲੋ"
+ number:
+ currency:
+ format:
+ delimiter: ","
+ format: "%u%n"
+ precision: 2
+ separator: "."
+ significant: false
+ strip_insignificant_zeros: false
+ unit: "$"
+ format:
+ delimiter: ","
+ precision: 3
+ separator: "."
+ significant: false
+ strip_insignificant_zeros: false
+ human:
+ decimal_units:
+ format: "%n %u"
+ units:
+ billion: ਅਰਬ
+ million: ਮਿਲੀਅਨ
+ quadrillion: ਕ੍ਵਾਡਰਿਲੀਅਨ
+ thousand: ਹਜਾਰ
+ trillion: ਟ੍ਰਿਲੀਅਨ
+ unit: ''
+ format:
+ delimiter: ''
+ precision: 3
+ significant: true
+ strip_insignificant_zeros: true
+ storage_units:
+ format: "%n %u"
+ units:
+ byte:
+ one: ਬਾਈਟ
+ other: ਬਾਈਟ
+ gb: GB
+ kb: KB
+ mb: MB
+ tb: TB
+ percentage:
+ format:
+ delimiter: ''
+ format: "%n%"
+ precision:
+ format:
+ delimiter: ''
+ support:
+ array:
+ last_word_connector: ", ਅਤੇ "
+ two_words_connector: " ਅਤੇ "
+ words_connector: ", "
+ time:
+ am: ਪੂ.ਦੁ.
+ formats:
+ default: "%a, %d %b %Y %H:%M:%S %z"
+ long: "%B %d, %Y %H:%M"
+ short: "%d %b %H:%M"
+ pm: ਬਾ.ਦੁ.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rails/locale/ru.yml new/rails/locale/ru.yml
--- old/rails/locale/ru.yml 2015-11-20 12:57:15.000000000 +0100
+++ new/rails/locale/ru.yml 2015-12-24 14:01:51.000000000 +0100
@@ -109,7 +109,7 @@
x_seconds:
few: "%{count} секунды"
many: "%{count} секунд"
- one: "%{count} секундy"
+ one: "%{count} секунду"
other: "%{count} секунды"
prompts:
day: День
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rails/pluralization/pa.rb new/rails/pluralization/pa.rb
--- old/rails/pluralization/pa.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/rails/pluralization/pa.rb 2015-12-24 14:01:51.000000000 +0100
@@ -0,0 +1,3 @@
+require 'rails_i18n/common_pluralizations/one_with_zero_other'
+
+::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:pa)
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package rubygem-rb-fsevent for openSUSE:Factory checked in at 2016-03-01 09:40:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rb-fsevent (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rb-fsevent.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rb-fsevent"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rb-fsevent/rubygem-rb-fsevent.changes 2015-09-08 17:47:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rb-fsevent.new/rubygem-rb-fsevent.changes 2016-03-01 09:40:17.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 21 05:44:49 UTC 2016 - coolo(a)suse.com
+
+- updated to version 0.9.7
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
rb-fsevent-0.9.6.gem
New:
----
rb-fsevent-0.9.7.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rb-fsevent.spec ++++++
--- /var/tmp/diff_new_pack.WMwZ89/_old 2016-03-01 09:40:18.000000000 +0100
+++ /var/tmp/diff_new_pack.WMwZ89/_new 2016-03-01 09:40:18.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rb-fsevent
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
#
Name: rubygem-rb-fsevent
-Version: 0.9.6
+Version: 0.9.7
Release: 0
%define mod_name rb-fsevent
%define mod_full_name %{mod_name}-%{version}
++++++ rb-fsevent-0.9.6.gem -> rb-fsevent-0.9.7.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rb-fsevent/version.rb new/lib/rb-fsevent/version.rb
--- old/lib/rb-fsevent/version.rb 2015-09-02 10:33:09.000000000 +0200
+++ new/lib/rb-fsevent/version.rb 2015-12-29 15:49:45.000000000 +0100
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
class FSEvent
- VERSION = '0.9.6'
+ VERSION = '0.9.7'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-09-02 10:33:09.000000000 +0200
+++ new/metadata 2015-12-29 15:49:45.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rb-fsevent
version: !ruby/object:Gem::Version
- version: 0.9.6
+ version: 0.9.7
platform: ruby
authors:
- Thibaud Guillaume-Gentil
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-09-02 00:00:00.000000000 Z
+date: 2015-12-29 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: bundler
@@ -85,11 +85,6 @@
- lib/rb-fsevent/fsevent.rb
- lib/rb-fsevent/version.rb
- rb-fsevent.gemspec
-- spec/fixtures/custom 'path/.gitignore
-- spec/fixtures/folder1/file1.txt
-- spec/fixtures/folder1/folder2/file2.txt
-- spec/rb-fsevent/fsevent_spec.rb
-- spec/spec_helper.rb
homepage: http://rubygems.org/gems/rb-fsevent
licenses:
- MIT
@@ -110,14 +105,8 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.4.5.1
+rubygems_version: 2.5.1
signing_key:
specification_version: 4
summary: Very simple & usable FSEvents API
-test_files:
-- spec/fixtures/custom 'path/.gitignore
-- spec/fixtures/folder1/file1.txt
-- spec/fixtures/folder1/folder2/file2.txt
-- spec/rb-fsevent/fsevent_spec.rb
-- spec/spec_helper.rb
-has_rdoc:
+test_files: []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rb-fsevent.gemspec new/rb-fsevent.gemspec
--- old/rb-fsevent.gemspec 2015-09-02 10:33:09.000000000 +0200
+++ new/rb-fsevent.gemspec 2015-12-29 15:49:45.000000000 +0100
@@ -1,7 +1,7 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require "rb-fsevent/version"
+require 'rb-fsevent/version'
Gem::Specification.new do |s|
s.name = 'rb-fsevent'
@@ -13,12 +13,10 @@
s.description = 'FSEvents API with Signals catching (without RubyCocoa)'
s.license = 'MIT'
- s.files = `git ls-files`.split($/)
- s.test_files = s.files.grep(%r{^spec/})
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
s.require_path = 'lib'
- s.add_development_dependency 'bundler', '~> 1.0'
- s.add_development_dependency 'rspec', '~> 2.11'
- s.add_development_dependency 'guard-rspec', '~> 4.2'
+ s.add_development_dependency 'bundler', '~> 1.0'
+ s.add_development_dependency 'rspec', '~> 2.11'
+ s.add_development_dependency 'guard-rspec', '~> 4.2'
end
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rb-fsevent/fsevent_spec.rb new/spec/rb-fsevent/fsevent_spec.rb
--- old/spec/rb-fsevent/fsevent_spec.rb 2015-09-02 10:33:09.000000000 +0200
+++ new/spec/rb-fsevent/fsevent_spec.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,88 +0,0 @@
-require 'spec_helper'
-
-describe FSEvent do
-
- before(:each) do
- @results = []
- @fsevent = FSEvent.new
- @fsevent.watch @fixture_path.to_s, {:latency => 0.5} do |paths|
- @results += paths
- end
- end
-
- it "shouldn't pass anything to watch when instantiated without a path" do
- fsevent = FSEvent.new
- fsevent.paths.should be_nil
- fsevent.callback.should be_nil
- end
-
- it "should pass path and block to watch when instantiated with them" do
- blk = proc { }
- fsevent = FSEvent.new(@fixture_path, &blk)
- fsevent.paths.should == [@fixture_path]
- fsevent.callback.should == blk
- end
-
- it "should have a watcher_path that resolves to an executable file" do
- File.exists?(FSEvent.watcher_path).should be_true
- File.executable?(FSEvent.watcher_path).should be_true
- end
-
- it "should work with path with an apostrophe" do
- custom_path = @fixture_path.join("custom 'path")
- file = custom_path.join("newfile.rb").to_s
- File.delete file if File.exists? file
- @fsevent.watch custom_path.to_s do |paths|
- @results += paths
- end
- @fsevent.paths.should == ["#{custom_path}"]
- run
- FileUtils.touch file
- stop
- File.delete file
- @results.should == [custom_path.to_s + '/']
- end
-
- it "should catch new file" do
- file = @fixture_path.join("newfile.rb")
- File.delete file if File.exists? file
- run
- FileUtils.touch file
- stop
- File.delete file
- @results.should == [@fixture_path.to_s + '/']
- end
-
- it "should catch file update" do
- file = @fixture_path.join("folder1/file1.txt")
- File.exists?(file).should be_true
- run
- FileUtils.touch file
- stop
- @results.should == [@fixture_path.join("folder1/").to_s]
- end
-
- it "should catch files update" do
- file1 = @fixture_path.join("folder1/file1.txt")
- file2 = @fixture_path.join("folder1/folder2/file2.txt")
- File.exists?(file1).should be_true
- File.exists?(file2).should be_true
- run
- FileUtils.touch file1
- FileUtils.touch file2
- stop
- @results.should == [@fixture_path.join("folder1/").to_s, @fixture_path.join("folder1/folder2/").to_s]
- end
-
- def run
- sleep 1
- Thread.new { @fsevent.run }
- sleep 1
- end
-
- def stop
- sleep 1
- @fsevent.stop
- end
-
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb
--- old/spec/spec_helper.rb 2015-09-02 10:33:09.000000000 +0200
+++ new/spec/spec_helper.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-require 'rspec'
-require 'rb-fsevent'
-
-RSpec.configure do |config|
- config.color_enabled = true
- config.filter_run :focus => true
- config.run_all_when_everything_filtered = true
-
- config.before(:each) do
- @fixture_path = Pathname.new(File.expand_path('../fixtures/', __FILE__))
- end
-
- config.before(:all) do
- system "cd ext; rake"
- puts "fsevent_watch compiled"
- end
-
- config.after(:all) do
- gem_root = Pathname.new(File.expand_path('../../', __FILE__))
- system "rm -rf #{gem_root.join('bin')}"
- end
-
-end
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package rubygem-tilt for openSUSE:Factory checked in at 2016-03-01 09:40:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-tilt (Old)
and /work/SRC/openSUSE:Factory/.rubygem-tilt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-tilt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-tilt/rubygem-tilt.changes 2014-12-03 22:53:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-tilt.new/rubygem-tilt.changes 2016-03-01 09:40:09.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 21 05:50:04 UTC 2016 - coolo(a)suse.com
+
+- updated to version 2.0.2
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
tilt-2.0.1.gem
New:
----
gem2rpm.yml
tilt-2.0.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-tilt.spec ++++++
--- /var/tmp/diff_new_pack.Zz2KTb/_old 2016-03-01 09:40:12.000000000 +0100
+++ /var/tmp/diff_new_pack.Zz2KTb/_new 2016-03-01 09:40:12.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-tilt
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,27 +16,34 @@
#
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
Name: rubygem-tilt
-Version: 2.0.1
+Version: 2.0.2
Release: 0
%define mod_name tilt
%define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 20001
-
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{rubygem gem2rpm}
+BuildRequires: %{rubygem rdoc > 3.10}
+BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
-BuildRequires: rubygem(rdoc) > 3.10
Url: http://github.com/rtomayko/tilt/
Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: Generic interface to multiple Ruby template engines
License: MIT
Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
-Generic interface to multiple Ruby template engines
+Generic interface to multiple Ruby template engines.
%prep
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#
++++++ tilt-2.0.1.gem -> tilt-2.0.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2014-03-21 09:49:40.000000000 +0100
+++ new/CHANGELOG.md 2016-01-05 13:57:20.000000000 +0100
@@ -1,4 +1,16 @@
-## master
+## 2.0.2 (2016-01-06)
+
+* Pass options to Redcarpet (#250, hughbien)
+* Haml: Improve error message on frozen self (judofyr)
+* Add basic support for Babel (judofyr)
+* Add support for .litcoffee (#243, judofyr, mr-vinn)
+* Document Tilt::Cache (#266, tommay)
+* Sort local keys for better caching (#257, jeremyevans)
+* Add more CSV options (#256, Juanmcuello)
+* Add Prawn template (kematzy)
+* Improve cache-miss performance in Tilt::Cache (#251, tommay)
+* Add man page (#241, josephholsten)
+* Support YAML/JSON data in bin/tilt (#241, josephholsten)
## 2.0.1 (2014-03-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2014-03-21 09:49:40.000000000 +0100
+++ new/Gemfile 2016-01-05 13:57:20.000000000 +0100
@@ -1,27 +1,48 @@
source 'https://rubygems.org'
-gem 'yard', '~> 0.8.6'
+gem 'rake'
gem 'minitest', '~> 5.0'
-gem 'rake'
+group :development do
+ gem 'yard', '~> 0.8.6'
+ gem 'ronn', '~> 0.7.3'
+end
-group :engines do
- gem 'asciidoctor', '>= 0.1.0'
+can_execjs = (RUBY_VERSION >= '1.9.3')
+
+group :primary do
gem 'builder'
- gem 'coffee-script'
- gem 'contest'
- gem 'creole'
- gem 'erubis'
gem 'haml', '>= 2.2.11', '< 4'
+ gem 'erubis'
+ gem 'markaby'
+ gem 'sass'
+
+ if can_execjs
+ gem 'less'
+ gem 'coffee-script'
+ gem 'babel-transpiler'
+ end
+end
+
+platform :mri do
+ gem 'duktape', '~> 1.2.1.0' if can_execjs
+end
+
+group :secondary do
+ gem 'creole'
gem 'kramdown'
- gem 'less'
+ gem 'rdoc'
+ gem 'radius'
+ gem 'asciidoctor', '>= 0.1.0'
gem 'liquid'
- gem 'markaby'
gem 'maruku'
+
+ if RUBY_VERSION > '1.9.3'
+ gem 'prawn', '>= 2.0.0'
+ gem 'pdf-reader', '~> 1.3.3'
+ end
+
gem 'nokogiri' if RUBY_VERSION > '1.9.2'
- gem 'radius'
- gem 'sass'
- gem 'rdoc', (ENV['RDOC_VERSION'] || '> 0')
platform :ruby do
gem 'wikicloth'
@@ -32,8 +53,7 @@
end
platform :mri do
- gem 'therubyracer'
- gem 'bluecloth' if ENV['BLUECLOTH']
+ gem 'bluecloth'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2014-03-21 09:49:40.000000000 +0100
+++ new/README.md 2016-01-05 13:57:20.000000000 +0100
@@ -1,4 +1,4 @@
-Tilt [![Build Status](https://secure.travis-ci.org/rtomayko/tilt.png)](http://travis-ci.o… [![Dependency Status](https://gemnasium.com/rtomayko/tilt.png)](https://gemnasium.com/rto…
+Tilt [![Build Status](https://secure.travis-ci.org/rtomayko/tilt.svg)](http://travis-ci.o… [![Dependency Status](https://gemnasium.com/rtomayko/tilt.png)](https://gemnasium.com/rto… [![Inline docs](http://inch-ci.org/github/rtomayko/tilt.png)](http://inch-ci.org/gith…
====
**NOTE** The following file documents the current release of Tilt (2.0). See
@@ -24,44 +24,64 @@
Support for these template engines is included with the package:
- ENGINE FILE EXTENSIONS REQUIRED LIBRARIES
- -------------------------- ----------------------- ----------------------------
- Asciidoctor .ad, .adoc, .asciidoc asciidoctor (>= 0.1.0)
- ERB .erb, .rhtml none (included ruby stdlib)
- Interpolated String .str none (included ruby core)
- Erubis .erb, .rhtml, .erubis erubis
- Haml .haml haml
- Sass .sass haml (< 3.1) or sass (>= 3.1)
- Scss .scss haml (< 3.1) or sass (>= 3.1)
- Less CSS .less less
- Builder .builder builder
- Liquid .liquid liquid
- RDiscount .markdown, .mkd, .md rdiscount
- Redcarpet .markdown, .mkd, .md redcarpet
- BlueCloth .markdown, .mkd, .md bluecloth
- Kramdown .markdown, .mkd, .md kramdown
- Maruku .markdown, .mkd, .md maruku
- RedCloth .textile redcloth
- RDoc .rdoc rdoc
- Radius .radius radius
- Markaby .mab markaby
- Nokogiri .nokogiri nokogiri
- CoffeeScript .coffee coffee-script (+ javascript)
- Creole (Wiki markup) .wiki, .creole creole
- WikiCloth (Wiki markup) .wiki, .mediawiki, .mw wikicloth
- Yajl .yajl yajl-ruby
- CSV .rcsv none (Ruby >= 1.9), fastercsv (Ruby < 1.9)
+| Engine | File Extensions | Required Libraries | Maintainer |
+| ----------------------- | ---------------------- | ------------------------------------------ | ----------- |
+| Asciidoctor | .ad, .adoc, .asciidoc | asciidoctor (>= 0.1.0) | Community |
+| ERB | .erb, .rhtml | none (included ruby stdlib) | Tilt team |
+| InterpolatedString | .str | none (included ruby core) | Tilt team |
+| Erubis | .erb, .rhtml, .erubis | erubis | Tilt team |
+| Haml | .haml | haml | Tilt team |
+| Sass | .sass | haml (< 3.1) or sass (>= 3.1) | Tilt team |
+| Scss | .scss | haml (< 3.1) or sass (>= 3.1) | Tilt team |
+| Less CSS | .less | less | Tilt team |
+| Builder | .builder | builder | Tilt team |
+| Liquid | .liquid | liquid | Community |
+| RDiscount | .markdown, .mkd, .md | rdiscount | Community |
+| Redcarpet | .markdown, .mkd, .md | redcarpet | Community |
+| BlueCloth | .markdown, .mkd, .md | bluecloth | Community |
+| Kramdown | .markdown, .mkd, .md | kramdown | Community |
+| Maruku | .markdown, .mkd, .md | maruku | Community |
+| RedCloth | .textile | redcloth | Community |
+| RDoc | .rdoc | rdoc | Tilt team |
+| Radius | .radius | radius | Community |
+| Markaby | .mab | markaby | Tilt team |
+| Nokogiri | .nokogiri | nokogiri | Community |
+| CoffeeScript | .coffee | coffee-script (+ javascript) | Tilt team |
+| CoffeeScript (literate) | .litcoffee | coffee-script (>= 1.5.0) (+ javascript) | Tilt team |
+| Creole (Wiki markup) | .wiki, .creole | creole | Community |
+| WikiCloth (Wiki markup) | .wiki, .mediawiki, .mw | wikicloth | Community |
+| Yajl | .yajl | yajl-ruby | Community |
+| CSV | .rcsv | none (Ruby >= 1.9), fastercsv (Ruby < 1.9) | Tilt team |
+| Prawn | .prawn | prawn (>= 2.0.0) | Community |
+| Babel | .es6, .babel, .jsx | babel-transpiler | Tilt team |
+| Opal | .rb | opal | Community |
+
+Every supported template engine has a *maintainer*. Note that this is the
+maintainer of the Tilt integration, not the maintainer of the template engine
+itself. The maintainer is responsible for providing an adequate integration and
+keeping backwards compatibility across Tilt version. Some integrations are
+maintained by the *community*, which is handled in the following way:
+
+- The Tilt team will liberally accept pull requests against the template
+ integration. It's up the community as a whole to make sure the integration
+ stays consistent and backwards compatible over time.
+- Test failures in community-maintained integrations will not be prioritized by
+ the Tilt team and a new version of Tilt might be released even though these
+ tests are failing.
+- Anyone can become a maintainer for a template engine integration they care
+ about. Just open an issue and we'll figure it out.
These template engines ship with their own Tilt integration:
- ENGINE FILE EXTENSIONS REQUIRED LIBRARIES
- -------------------------- ----------------- ----------------------------
- Slim .slim slim (>= 0.7)
- Embedded JavaScript sprockets
- Embedded CoffeeScript sprockets
- JST sprockets
- Org-mode .org org-ruby (>= 0.6.2)
- Handlebars .hbs, .handlebars tilt-handlebars
+| Engine | File Extensions | Required Libraries |
+| ------------------- | ---------------- | ------------------- |
+| Slim | .slim | slim (>= 0.7) |
+| Embedded JavaScript | | sprockets |
+| Embedded CoffeeScript | | sprockets |
+| JST | | sprockets |
+| Org-mode | .org | org-ruby (>= 0.6.2) |
+| Handlebars | .hbs, handlebars | tilt-handlebars |
+| Jbuilder | .jbuilder | tilt-jbuilder |
See [TEMPLATES.md][t] for detailed information on template engine
options and supported features.
@@ -77,7 +97,7 @@
require 'erb'
require 'tilt'
template = Tilt.new('templates/foo.erb')
- => #<Tilt::ERBTemplate @file="templates/foo.rb" ...>
+ => #<Tilt::ERBTemplate @file="templates/foo.erb" ...>
output = template.render
=> "Hello world!"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile 2014-03-21 09:49:40.000000000 +0100
+++ new/Rakefile 2016-01-05 13:57:20.000000000 +0100
@@ -15,19 +15,29 @@
# DOCUMENTATION =============================================================
-require 'yard'
-YARD::Rake::YardocTask.new do |t|
- t.files = [
- 'lib/tilt.rb', 'lib/tilt/mapping.rb', 'lib/tilt/template.rb',
- '-',
- '*.md', 'docs/*.md',
- ]
+begin
+ require 'yard'
+ YARD::Rake::YardocTask.new do |t|
+ t.files = [
+ 'lib/tilt.rb', 'lib/tilt/mapping.rb', 'lib/tilt/template.rb',
+ '-',
+ '*.md', 'docs/*.md',
+ ]
- t.options <<
- '--no-private' <<
- '--protected' <<
- '-m' << 'markdown' <<
- '--asset' << 'docs/common.css:css/common.css'
+ t.options <<
+ '--no-private' <<
+ '--protected' <<
+ '-m' << 'markdown' <<
+ '--asset' << 'docs/common.css:css/common.css'
+ end
+rescue LoadError
+end
+
+task :man do
+ require 'ronn'
+ ENV['RONN_MANUAL'] = "Tilt Manual"
+ ENV['RONN_ORGANIZATION'] = "Tilt #{SPEC.version}"
+ sh "ronn -w -s toc -r5 --markdown man/*.ronn"
end
# PACKAGING =================================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/tilt new/bin/tilt
--- old/bin/tilt 2014-03-21 09:49:40.000000000 +0100
+++ new/bin/tilt 2016-01-05 13:57:20.000000000 +0100
@@ -10,14 +10,15 @@
to determine the template's type.
Options
- -l, --list List template engines + file patterns and exit
- -t, --type=<pattern> Use this template engine; required if no <file>
- -y, --layout=<file> Use <file> as a layout template
+ -l, --list List template engines + file patterns and exit
+ -t, --type=<pattern> Use this template engine; required if no <file>
+ -y, --layout=<file> Use <file> as a layout template
+
+ -D<name>=<value> Define variable <name> as <value>
+ -d, --define-file=<file> Load YAML from <file> and use for variables
+ --vars=<ruby> Evaluate <ruby> to Hash and use for variables
- -D<name>=<value> Define variable <name> as <value>
- --vars=<ruby> Evaluate <ruby> to Hash and use for variables
-
- -h, --help Show this help message
+ -h, --help Show this help message
Convert markdown to HTML:
$ tilt foo.markdown > foo.html
@@ -77,6 +78,15 @@
locals[key.to_sym] = value
end
+ # define local variables from YAML or JSON
+ o.on("-d", "--define-file=FILE", String) do |file|
+ require 'yaml'
+ abort "no such define file: #{file}" unless File.exist? file
+ hash = File.open(file, 'r:bom|utf-8') { |f| YAML.load f, file }
+ abort "vars must be a Hash, not #{hash.inspect}" if !hash.is_a?(Hash)
+ hash.each { |key, value| locals[key.to_sym] = value }
+ end
+
# define local variables using a Ruby hash
o.on("--vars=RUBY") do |ruby|
hash = eval(ruby)
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/docs/TEMPLATES.md new/docs/TEMPLATES.md
--- old/docs/TEMPLATES.md 2014-03-21 09:49:40.000000000 +0100
+++ new/docs/TEMPLATES.md 2016-01-05 13:57:20.000000000 +0100
@@ -31,6 +31,7 @@
* Sass - `Tilt::SassTemplate`
* Scss - `Tilt::ScssTemplate`
* CoffeeScript - `Tilt::CoffeeScriptTemplate`
+ * Literate CoffeeScript - `Tilt::CoffeeScriptLiterateTemplate`
* [Textile](#redcloth) - `Tilt::RedClothTemplate`
* Creole - `Tilt::CreoleTemplate`
* [RDoc](#rdoc) - `Tilt::RDocTemplate`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/babel.rb new/lib/tilt/babel.rb
--- old/lib/tilt/babel.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/tilt/babel.rb 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,15 @@
+require 'tilt/template'
+require 'babel/transpiler'
+
+module Tilt
+ class BabelTemplate < Template
+ def prepare
+ options[:filename] ||= file
+ end
+
+ def evaluate(scope, locals, &block)
+ @output ||= Babel::Transpiler.transform(data)["code"]
+ end
+ end
+end
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/coffee.rb new/lib/tilt/coffee.rb
--- old/lib/tilt/coffee.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/coffee.rb 2016-01-05 13:57:20.000000000 +0100
@@ -29,10 +29,15 @@
@@default_bare = value
end
+ def self.literate?
+ false
+ end
+
def prepare
if !options.key?(:bare) and !options.key?(:no_wrap)
options[:bare] = self.class.default_bare
end
+ options[:literate] ||= self.class.literate?
end
def evaluate(scope, locals, &block)
@@ -43,5 +48,11 @@
false
end
end
+
+ class CoffeeScriptLiterateTemplate < CoffeeScriptTemplate
+ def self.literate?
+ true
+ end
+ end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/csv.rb new/lib/tilt/csv.rb
--- old/lib/tilt/csv.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/csv.rb 2016-01-05 13:57:20.000000000 +0100
@@ -45,15 +45,15 @@
end
def prepare
- @code =<<-RUBY
- #{self.class.engine}.generate do |csv|
- #{data}
- end
- RUBY
+ @outvar = options.delete(:outvar) || '_csvout'
end
def precompiled_template(locals)
- @code
+ <<-RUBY
+ #{@outvar} = #{self.class.engine}.generate(#{options}) do |csv|
+ #{data}
+ end
+ RUBY
end
def precompiled(locals)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/haml.rb new/lib/tilt/haml.rb
--- old/lib/tilt/haml.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/haml.rb 2016-01-05 13:57:20.000000000 +0100
@@ -13,6 +13,8 @@
end
def evaluate(scope, locals, &block)
+ raise ArgumentError, 'invalid scope: must not be frozen' if scope.frozen?
+
if @engine.respond_to?(:precompiled_method_return_value, true)
super
else
@@ -47,11 +49,10 @@
<<-RUBY
#{precompiled_method_return_value}
ensure
- @haml_buffer = @haml_buffer.upper
+ @haml_buffer = @haml_buffer.upper if @haml_buffer
end
RUBY
end
end
end
end
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/kramdown.rb new/lib/tilt/kramdown.rb
--- old/lib/tilt/kramdown.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/kramdown.rb 2016-01-05 13:57:20.000000000 +0100
@@ -7,14 +7,6 @@
class KramdownTemplate < Template
DUMB_QUOTES = [39, 39, 34, 34]
- def self.engine_initialized?
- defined? ::Kramdown
- end
-
- def initialize_engine
- require_template_library 'kramdown'
- end
-
def prepare
options[:smart_quotes] = DUMB_QUOTES unless options[:smartypants]
@engine = Kramdown::Document.new(data, options)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/less.rb new/lib/tilt/less.rb
--- old/lib/tilt/less.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/less.rb 2016-01-05 13:57:20.000000000 +0100
@@ -9,14 +9,6 @@
class LessTemplate < Template
self.default_mime_type = 'text/css'
- def self.engine_initialized?
- defined? ::Less
- end
-
- def initialize_engine
- require_template_library 'less'
- end
-
def prepare
if ::Less.const_defined? :Engine
@engine = ::Less::Engine.new(data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/liquid.rb new/lib/tilt/liquid.rb
--- old/lib/tilt/liquid.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/liquid.rb 2016-01-05 13:57:20.000000000 +0100
@@ -3,7 +3,7 @@
module Tilt
# Liquid template implementation. See:
- # http://liquid.rubyforge.org/
+ # http://liquidmarkup.org/
#
# Liquid is designed to be a *safe* template system and threfore
# does not provide direct access to execuatable scopes. In order to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/plain.rb new/lib/tilt/plain.rb
--- old/lib/tilt/plain.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/plain.rb 2016-01-05 13:57:20.000000000 +0100
@@ -6,10 +6,6 @@
class PlainTemplate < Template
self.default_mime_type = 'text/html'
- def self.engine_initialized?
- true
- end
-
def prepare
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/prawn.rb new/lib/tilt/prawn.rb
--- old/lib/tilt/prawn.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/tilt/prawn.rb 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,43 @@
+require 'tilt/template'
+require 'prawn'
+
+module Tilt
+ # Prawn template implementation. See: http://prawnpdf.org
+ #
+ class PrawnTemplate < Template
+ self.default_mime_type = 'application/pdf'
+
+ def prepare
+ @engine = ::Prawn::Document.new(prawn_options)
+ end
+
+ def evaluate(scope, locals, &block)
+ pdf = @engine
+ if data.respond_to?(:to_str)
+ locals[:pdf] = pdf
+ super(scope, locals, &block)
+ elsif data.kind_of?(Proc)
+ data.call(pdf)
+ end
+ @output ||= pdf.render
+ end
+
+ def allows_script?
+ false
+ end
+
+ def precompiled_template(locals)
+ data.to_str
+ end
+
+
+ private
+
+ def prawn_options
+ # defaults to A4 instead of crazy US Letter format.
+ { :page_size => "A4", :page_layout => :portrait }.merge(options)
+ end
+
+ end
+
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/redcarpet.rb new/lib/tilt/redcarpet.rb
--- old/lib/tilt/redcarpet.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/redcarpet.rb 2016-01-05 13:57:20.000000000 +0100
@@ -35,12 +35,8 @@
class Redcarpet2Template < Template
self.default_mime_type = 'text/html'
- def self.engine_initialized?
- defined? ::Redcarpet::Render and defined? ::Redcarpet::Markdown
- end
-
def generate_renderer
- renderer = options.delete(:renderer) || ::Redcarpet::Render::HTML
+ renderer = options.delete(:renderer) || ::Redcarpet::Render::HTML.new(options)
return renderer unless options.delete(:smartypants)
return renderer if renderer.is_a?(Class) && renderer <= ::Redcarpet::Render::SmartyPants
@@ -78,27 +74,10 @@
end
end
- # Upskirt Markdown implementation. See:
- # https://github.com/tanoku/redcarpet
- #
- # Supports both Redcarpet 1.x and 2.x
- class RedcarpetTemplate < Template
- Redcarpet1 = Redcarpet1Template
- Redcarpet2 = Redcarpet2Template
-
- def prepare
- klass = Redcarpet2.engine_initialized? ? Redcarpet2 : Redcarpet1
- @engine = klass.new(file, line, options) { data }
- end
-
- def evaluate(scope, locals, &block)
- @engine.evaluate(scope, locals, &block)
- end
-
- def allows_script?
- false
- end
+ if defined? ::Redcarpet::Render and defined? ::Redcarpet::Markdown
+ RedcarpetTemplate = Redcarpet2Template
+ else
+ RedcarpetTemplate = Redcarpet1Template
end
-
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt/template.rb new/lib/tilt/template.rb
--- old/lib/tilt/template.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt/template.rb 2016-01-05 13:57:20.000000000 +0100
@@ -5,6 +5,8 @@
TOPOBJECT = Object.superclass || Object
# @private
LOCK = Mutex.new
+ # @private
+ SYMBOL_ARRAY_SORTABLE = RUBY_VERSION >= '1.9'
# Base class for template implementations. Subclasses must implement
# the #prepare method and one of the #evaluate or #precompiled_template
@@ -90,7 +92,8 @@
# Render the template in the given scope with the locals specified. If a
# block is given, it is typically available within the template via
# +yield+.
- def render(scope=Object.new, locals={}, &block)
+ def render(scope=nil, locals={}, &block)
+ scope ||= Object.new
current_template = Thread.current[:tilt_current_template]
Thread.current[:tilt_current_template] = self
evaluate(scope, locals || {}, &block)
@@ -151,7 +154,13 @@
# This method is only used by source generating templates. Subclasses that
# override render() may not support all features.
def evaluate(scope, locals, &block)
- method = compiled_method(locals.keys)
+ locals_keys = locals.keys
+ if SYMBOL_ARRAY_SORTABLE
+ locals_keys.sort!
+ else
+ locals_keys.sort!{|x, y| x.to_s <=> y.to_s}
+ end
+ method = compiled_method(locals_keys)
method.bind(scope).call(locals, &block)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tilt.rb new/lib/tilt.rb
--- old/lib/tilt.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/lib/tilt.rb 2016-01-05 13:57:20.000000000 +0100
@@ -4,7 +4,7 @@
# Namespace for Tilt. This module is not intended to be included anywhere.
module Tilt
# Current version.
- VERSION = '2.0.1'
+ VERSION = '2.0.2'
@default_mapping = Mapping.new
@@ -78,14 +78,31 @@
# cache.fetch(path, line, options) { Tilt.new(path, line, options) }
#
# Subsequent invocations return the already loaded template object.
+ #
+ # @note
+ # Tilt::Cache is a thin wrapper around Hash. It has the following
+ # limitations:
+ # * Not thread-safe.
+ # * Size is unbounded.
+ # * Keys are not copied defensively, and should not be modified after
+ # being passed to #fetch. More specifically, the values returned by
+ # key#hash and key#eql? should not change.
+ # If this is too limiting for you, use a different cache implementation.
class Cache
def initialize
@cache = {}
end
- # @see Cache
+ # Caches a value for key, or returns the previously cached value.
+ # If a value has been previously cached for key then it is
+ # returned. Otherwise, block is yielded to and its return value
+ # which may be nil, is cached under key and returned.
+ # @yield
+ # @yieldreturn the value to cache for key
def fetch(*key)
- @cache[key] ||= yield
+ @cache.fetch(key) do
+ @cache[key] = yield
+ end
end
# Clears the cache.
@@ -110,9 +127,11 @@
# Rest (sorted by name)
register_lazy :AsciidoctorTemplate, 'tilt/asciidoc', 'ad', 'adoc', 'asciidoc'
+ register_lazy :BabelTemplate, 'tilt/babel', 'es6', 'babel', 'jsx'
register_lazy :BuilderTemplate, 'tilt/builder', 'builder'
register_lazy :CSVTemplate, 'tilt/csv', 'rcsv'
register_lazy :CoffeeScriptTemplate, 'tilt/coffee', 'coffee'
+ register_lazy :CoffeeScriptLiterateTemplate, 'tilt/coffee', 'litcoffee'
register_lazy :CreoleTemplate, 'tilt/creole', 'wiki', 'creole'
register_lazy :EtanniTemplate, 'tilt/etanni', 'etn', 'etanni'
register_lazy :HamlTemplate, 'tilt/haml', 'haml'
@@ -121,6 +140,7 @@
register_lazy :MarkabyTemplate, 'tilt/markaby', 'mab'
register_lazy :NokogiriTemplate, 'tilt/nokogiri', 'nokogiri'
register_lazy :PlainTemplate, 'tilt/plain', 'html'
+ register_lazy :PrawnTemplate, 'tilt/prawn', 'prawn'
register_lazy :RDocTemplate, 'tilt/rdoc', 'rdoc'
register_lazy :RadiusTemplate, 'tilt/radius', 'radius'
register_lazy :RedClothTemplate, 'tilt/redcloth', 'textile'
@@ -134,4 +154,6 @@
register_lazy 'Slim::Template', 'slim', 'slim'
register_lazy 'Tilt::HandlebarsTemplate', 'tilt/handlebars', 'handlebars', 'hbs'
register_lazy 'Tilt::OrgTemplate', 'org-ruby', 'org'
+ register_lazy 'Opal::Processor', 'opal', 'opal', 'rb'
+ register_lazy 'Tilt::JbuilderTemplate', 'tilt/jbuilder', 'jbuilder'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/man/index.txt new/man/index.txt
--- old/man/index.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/man/index.txt 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,2 @@
+m4(1) http://man.cx/m4(1)
+mustache(1) https://mustache.github.io/mustache.1.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/man/tilt.1.ronn new/man/tilt.1.ronn
--- old/man/tilt.1.ronn 1970-01-01 01:00:00.000000000 +0100
+++ new/man/tilt.1.ronn 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,59 @@
+tilt(1) -- process templates
+============================
+
+## SYNOPSIS
+
+`tilt` `-l`<br>
+`tilt` [`-t` <pattern>] [`-y` <file>] [`-D` <name>=<value>] [`-d` <file>]
+ [`--vars=`<ruby>] <file>
+
+## DESCRIPTION
+
+Process template <file> and write output to stdout. With no <file> or
+when <file> is '-', read template from stdin and use the --type option
+to determine the template's type.
+
+## OPTIONS
+
+* `-l`, `--list`:
+ List template engines + file patterns and exit
+* `-t`, `--type`=<pattern>:
+ Use this template engine; required if no <file>
+* `-y`, `--layout`=<file>:
+ Use <file> as a layout template
+* `-D`<name>=<value>:
+ Define variable <name> as <value>
+* `-d`, `--define-file`=<file>:
+ Load YAML or JSON from <file> and use for variables
+* `--vars`=<ruby>:
+ Evaluate <ruby> to Hash and use for variables
+* `-h`, `--help`:
+ Show this help message
+
+## EXAMPLES
+
+Convert markdown to HTML:
+
+ $ tilt foo.markdown > foo.html
+
+Process ERB template:
+
+ $ echo "Answer: <%= 2 + 2 %>" | tilt -t erb
+ Answer: 4
+
+Define variables:
+
+ $ echo '{"n":40}' > data.json
+ $ echo "Answer: <%= 2 + n %>" | tilt -t erb -d data.json
+ Answer: 42
+
+ $ echo "Answer: <%= 2 + n %>" | tilt -t erb --vars="{:n=>40}"
+ Answer: 42
+ $ echo "Answer: <%= 2 + n.to_i %>" | tilt -t erb -Dn=40
+ Answer: 42
+
+## SEE ALSO
+
+m4(1), mustache(1)
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-03-21 09:49:40.000000000 +0100
+++ new/metadata 2016-01-05 13:57:20.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: tilt
version: !ruby/object:Gem::Version
- version: 2.0.1
+ version: 2.0.2
platform: ruby
authors:
- Ryan Tomayko
autorequire:
bindir: bin
cert_chain: []
-date: 2014-03-21 00:00:00.000000000 Z
+date: 2016-01-05 00:00:00.000000000 Z
dependencies: []
description: Generic interface to multiple Ruby template engines
email: r(a)tomayko.com
@@ -28,6 +28,7 @@
- docs/common.css
- lib/tilt.rb
- lib/tilt/asciidoc.rb
+- lib/tilt/babel.rb
- lib/tilt/bluecloth.rb
- lib/tilt/builder.rb
- lib/tilt/coffee.rb
@@ -45,6 +46,7 @@
- lib/tilt/maruku.rb
- lib/tilt/nokogiri.rb
- lib/tilt/plain.rb
+- lib/tilt/prawn.rb
- lib/tilt/radius.rb
- lib/tilt/rdiscount.rb
- lib/tilt/rdoc.rb
@@ -55,6 +57,8 @@
- lib/tilt/template.rb
- lib/tilt/wikicloth.rb
- lib/tilt/yajl.rb
+- man/index.txt
+- man/tilt.1.ronn
- test/markaby/locals.mab
- test/markaby/markaby.mab
- test/markaby/markaby_other_static.mab
@@ -63,6 +67,7 @@
- test/markaby/yielding.mab
- test/test_helper.rb
- test/tilt_asciidoctor_test.rb
+- test/tilt_babeltemplate.rb
- test/tilt_blueclothtemplate_test.rb
- test/tilt_buildertemplate_test.rb
- test/tilt_cache_test.rb
@@ -84,6 +89,8 @@
- test/tilt_marukutemplate_test.rb
- test/tilt_metadata_test.rb
- test/tilt_nokogiritemplate_test.rb
+- test/tilt_prawntemplate.prawn
+- test/tilt_prawntemplate_test.rb
- test/tilt_radiustemplate_test.rb
- test/tilt_rdiscounttemplate_test.rb
- test/tilt_rdoctemplate_test.rb
@@ -122,7 +129,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.2.1
+rubygems_version: 2.2.2
signing_key:
specification_version: 2
summary: Generic interface to multiple Ruby template engines
@@ -148,6 +155,7 @@
- test/tilt_marukutemplate_test.rb
- test/tilt_metadata_test.rb
- test/tilt_nokogiritemplate_test.rb
+- test/tilt_prawntemplate_test.rb
- test/tilt_radiustemplate_test.rb
- test/tilt_rdiscounttemplate_test.rb
- test/tilt_rdoctemplate_test.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_asciidoctor_test.rb new/test/tilt_asciidoctor_test.rb
--- old/test/tilt_asciidoctor_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_asciidoctor_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -6,7 +6,8 @@
class AsciidoctorTemplateTest < Minitest::Test
HTML5_OUTPUT = "<div class=\"sect1\"><h2 id=\"_hello_world\">Hello World!</h2><div class=\"sectionbody\"></div></div>"
- DOCBOOK_OUTPUT = "<section id=\"_hello_world\"><title>Hello World!</title></section>"
+ DOCBOOK45_OUTPUT = "<section id=\"_hello_world\"><title>Hello World!</title></section>"
+ DOCBOOK5_OUTPUT = "<section xml:id=\"_hello_world\"><title>Hello World!</title></section>"
def strip_space(str)
str.gsub(/>\s+</, '><').strip
@@ -29,9 +30,14 @@
assert_equal HTML5_OUTPUT, strip_space(template.render)
end
- test "preparing and evaluating docbook templates on #render" do
- template = Tilt::AsciidoctorTemplate.new(:attributes => {"backend" => 'docbook'}) { |t| "== Hello World!" }
- assert_equal DOCBOOK_OUTPUT, strip_space(template.render)
+ test "preparing and evaluating docbook 4.5 templates on #render" do
+ template = Tilt::AsciidoctorTemplate.new(:attributes => {"backend" => 'docbook45'}) { |t| "== Hello World!" }
+ assert_equal DOCBOOK45_OUTPUT, strip_space(template.render)
+ end
+
+ test "preparing and evaluating docbook 5 templates on #render" do
+ template = Tilt::AsciidoctorTemplate.new(:attributes => {"backend" => 'docbook5'}) { |t| "== Hello World!" }
+ assert_equal DOCBOOK5_OUTPUT, strip_space(template.render)
end
test "can be rendered more than once" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_babeltemplate.rb new/test/tilt_babeltemplate.rb
--- old/test/tilt_babeltemplate.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/test/tilt_babeltemplate.rb 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,33 @@
+require 'test_helper'
+require 'tilt'
+
+begin
+ require 'tilt/babel'
+
+ class BabelTemplateTest < Minitest::Test
+ test "registered for '.es6' files" do
+ assert_equal Tilt::BabelTemplate, Tilt['es6']
+ end
+
+ test "registered for '.babel' files" do
+ assert_equal Tilt::BabelTemplate, Tilt['babel']
+ end
+
+ test "registered for '.jsx' files" do
+ assert_equal Tilt::BabelTemplate, Tilt['jsx']
+ end
+
+ test "basic ES6 features" do
+ template = Tilt::BabelTemplate.new { "square = (x) => x * x" }
+ assert_match "function", template.render
+ end
+
+ test "JSX support" do
+ template = Tilt::BabelTemplate.new { "<Awesome ness={true} />" }
+ assert_match "React.createElement", template.render
+ end
+ end
+rescue LoadError => boom
+ warn "Tilt::BabelTemplate (disabled)"
+end
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_cache_test.rb new/test/tilt_cache_test.rb
--- old/test/tilt_cache_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_cache_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -20,6 +20,17 @@
assert_same template, result
end
+ test "caching nil" do
+ called = false
+ result = @cache.fetch("blah") {called = true; nil}
+ assert_equal true, called
+ assert_nil result
+ called = false
+ result = @cache.fetch("blah") {called = true; :blah}
+ assert_equal false, called
+ assert_nil result
+ end
+
test "clearing the cache with #clear" do
template, other = nil
result = @cache.fetch('hello') { template = Tilt::StringTemplate.new {''} }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_coffeescripttemplate_test.rb new/test/tilt_coffeescripttemplate_test.rb
--- old/test/tilt_coffeescripttemplate_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_coffeescripttemplate_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -4,98 +4,135 @@
begin
require 'tilt/coffee'
- class CoffeeScriptTemplateTest < Minitest::Test
-
- test "is registered for '.coffee' files" do
- assert_equal Tilt::CoffeeScriptTemplate, Tilt['test.coffee']
+ module CoffeeScriptTests
+ def self.included(mod)
+ mod.class_eval do
+ test "bare is disabled by default" do
+ assert_equal false, @renderer.default_bare
+ end
+
+ test "compiles and evaluates the template on #render" do
+ template = @renderer.new { |t| @code_without_variables }
+ assert_match "puts('Hello, World!');", template.render
+ end
+
+ test "can be rendered more than once" do
+ template = @renderer.new { |t| @code_without_variables }
+ 3.times { assert_match "puts('Hello, World!');", template.render }
+ end
+
+ test "disabling coffee-script wrapper" do
+ template = @renderer.new { @code_with_variables }
+ assert_match "(function() {", template.render
+ assert_match "puts(\"Hello, \" + name);\n", template.render
+
+ template = @renderer.new(:bare => true) { @code_with_variables }
+ refute_match "(function() {", template.render
+ assert_equal "var name;\n\nname = \"Josh\";\n\nputs(\"Hello, \" + name);\n", template.render
+
+ template2 = @renderer.new(:no_wrap => true) { @code_with_variables}
+ refute_match "(function() {", template.render
+ assert_equal "var name;\n\nname = \"Josh\";\n\nputs(\"Hello, \" + name);\n", template.render
+ end
+
+ context "wrapper globally enabled" do
+ setup do
+ @bare = @renderer.default_bare
+ @renderer.default_bare = false
+ end
+
+ teardown do
+ @renderer.default_bare = @bare
+ end
+
+ test "no options" do
+ template = @renderer.new { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ assert_match "(function() {", template.render
+ end
+
+ test "overridden by :bare" do
+ template = @renderer.new(:bare => true) { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ refute_match "(function() {", template.render
+ end
+
+ test "overridden by :no_wrap" do
+ template = @renderer.new(:no_wrap => true) { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ refute_match "(function() {", template.render
+ end
+ end
+
+ context "wrapper globally disabled" do
+ setup do
+ @bare = @renderer.default_bare
+ @renderer.default_bare = true
+ end
+
+ teardown do
+ @renderer.default_bare = @bare
+ end
+
+ test "no options" do
+ template = @renderer.new { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ refute_match "(function() {", template.render
+ end
+
+ test "overridden by :bare" do
+ template = @renderer.new(:bare => false) { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ assert_match "(function() {", template.render
+ end
+
+ test "overridden by :no_wrap" do
+ template = @renderer.new(:no_wrap => false) { |t| @code_with_variables }
+ assert_match "puts(\"Hello, \" + name);", template.render
+ assert_match "(function() {", template.render
+ end
+ end
+ end
end
+ end
- test "bare is disabled by default" do
- assert_equal false, Tilt::CoffeeScriptTemplate.default_bare
+ class CoffeeScriptTemplateTest < Minitest::Test
+ setup do
+ @code_without_variables = "puts 'Hello, World!'\n"
+ @code_with_variables = 'name = "Josh"; puts "Hello, #{name}"'
+ @renderer = Tilt::CoffeeScriptTemplate
end
- test "compiles and evaluates the template on #render" do
- template = Tilt::CoffeeScriptTemplate.new { |t| "puts 'Hello, World!'\n" }
- assert_match "puts('Hello, World!');", template.render
- end
+ include CoffeeScriptTests
- test "can be rendered more than once" do
- template = Tilt::CoffeeScriptTemplate.new { |t| "puts 'Hello, World!'\n" }
- 3.times { assert_match "puts('Hello, World!');", template.render }
+ test "is registered for '.coffee' files" do
+ assert_equal @renderer, Tilt['test.coffee']
end
+ end
- test "disabling coffee-script wrapper" do
- str = 'name = "Josh"; puts "Hello #{name}"'
+ class LiterateCoffeeScriptTemplateTest < Minitest::Test
+ setup do
+ @code_without_variables = <<EOLIT
+This is some comment.
- template = Tilt::CoffeeScriptTemplate.new { str }
- assert_match "(function() {", template.render
- assert_match "puts(\"Hello \" + name);\n", template.render
-
- template = Tilt::CoffeeScriptTemplate.new(:bare => true) { str }
- refute_match "(function() {", template.render
- assert_equal "var name;\n\nname = \"Josh\";\n\nputs(\"Hello \" + name);\n", template.render
-
- template2 = Tilt::CoffeeScriptTemplate.new(:no_wrap => true) { str}
- refute_match "(function() {", template.render
- assert_equal "var name;\n\nname = \"Josh\";\n\nputs(\"Hello \" + name);\n", template.render
- end
+ puts 'Hello, World!'
- context "wrapper globally enabled" do
- setup do
- @bare = Tilt::CoffeeScriptTemplate.default_bare
- Tilt::CoffeeScriptTemplate.default_bare = false
- end
+This is a comment too.
+EOLIT
+ @code_with_variables = <<EOLIT
+This is some comment.
- teardown do
- Tilt::CoffeeScriptTemplate.default_bare = @bare
- end
+ name = "Josh"; puts "Hello, \#{name}"
- test "no options" do
- template = Tilt::CoffeeScriptTemplate.new { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- assert_match "(function() {", template.render
- end
-
- test "overridden by :bare" do
- template = Tilt::CoffeeScriptTemplate.new(:bare => true) { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- refute_match "(function() {", template.render
- end
-
- test "overridden by :no_wrap" do
- template = Tilt::CoffeeScriptTemplate.new(:no_wrap => true) { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- refute_match "(function() {", template.render
- end
+This is a comment too.
+EOLIT
+ @renderer = Tilt::CoffeeScriptLiterateTemplate
end
- context "wrapper globally disabled" do
- setup do
- @bare = Tilt::CoffeeScriptTemplate.default_bare
- Tilt::CoffeeScriptTemplate.default_bare = true
- end
-
- teardown do
- Tilt::CoffeeScriptTemplate.default_bare = @bare
- end
-
- test "no options" do
- template = Tilt::CoffeeScriptTemplate.new { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- refute_match "(function() {", template.render
- end
+ include CoffeeScriptTests
- test "overridden by :bare" do
- template = Tilt::CoffeeScriptTemplate.new(:bare => false) { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- assert_match "(function() {", template.render
- end
-
- test "overridden by :no_wrap" do
- template = Tilt::CoffeeScriptTemplate.new(:no_wrap => false) { |t| 'name = "Josh"; puts "Hello, #{name}"' }
- assert_match "puts(\"Hello, \" + name);", template.render
- assert_match "(function() {", template.render
- end
+ test "is registered for '.litcoffee' files" do
+ assert_equal @renderer, Tilt['test.litcoffee']
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_csv_test.rb new/test/tilt_csv_test.rb
--- old/test/tilt_csv_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_csv_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -47,6 +47,18 @@
end
end
+ test "passing options to engine" do
+ template = Tilt::CSVTemplate.new(:col_sep => '|') { 'csv << [1,2,3]' }
+ assert_equal "1|2|3\n", template.render
+ end
+
+ test "outvar option" do
+ outvar = '@_output'
+ scope = Object.new
+ template = Tilt::CSVTemplate.new(:outvar => outvar) { 'csv << [1,2,3]' }
+ output = template.render(scope)
+ assert_equal output, scope.instance_variable_get(outvar.to_sym)
+ end
end
rescue LoadError => boom
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_hamltemplate_test.rb new/test/tilt_hamltemplate_test.rb
--- old/test/tilt_hamltemplate_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_hamltemplate_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -27,6 +27,17 @@
assert_equal "<p>Hey Joe!</p>\n", template.render(Object.new, :name => 'Joe')
end
+ test 'evaluating in default/nil scope' do
+ template = Tilt::HamlTemplate.new { |t| '%p Hey unknown!' }
+ assert_equal "<p>Hey unknown!</p>\n", template.render
+ assert_equal "<p>Hey unknown!</p>\n", template.render(nil)
+ end
+
+ test 'evaluating in invalid, frozen scope' do
+ template = Tilt::HamlTemplate.new { |t| '%p Hey unknown!' }
+ assert_raises(ArgumentError) { template.render(Object.new.freeze) }
+ end
+
test "evaluating in an object scope" do
template = Tilt::HamlTemplate.new { "%p= 'Hey ' + @name + '!'" }
scope = Object.new
@@ -87,6 +98,17 @@
assert_equal "<p>Hey Joe!</p>\n", template.render(Scope.new, :name => 'Joe')
end
+ test 'evaluating in default/nil scope' do
+ template = Tilt::HamlTemplate.new { |t| '%p Hey unknown!' }
+ assert_equal "<p>Hey unknown!</p>\n", template.render
+ assert_equal "<p>Hey unknown!</p>\n", template.render(nil)
+ end
+
+ test 'evaluating in invalid, frozen scope' do
+ template = Tilt::HamlTemplate.new { |t| '%p Hey unknown!' }
+ assert_raises(ArgumentError) { template.render(Object.new.freeze) }
+ end
+
test "evaluating in an object scope" do
template = Tilt::HamlTemplate.new { "%p= 'Hey ' + @name + '!'" }
scope = Scope.new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_markdown_test.rb new/test/tilt_markdown_test.rb
--- old/test/tilt_markdown_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_markdown_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -91,8 +91,6 @@
class MarkdownRedcarpetTest < Minitest::Test
include MarkdownTests
template Tilt::RedcarpetTemplate
- # Doesn't support escaping
- undef test_escape_html_true
def test_smarty_pants_true
# Various versions of Redcarpet support various versions of Smart pants.
@@ -100,6 +98,11 @@
assert_match /<p>Hello “World(''|”) – This is — a test …<\/p>/, html
end
+ def test_renderer_options
+ html = nrender "Hello [World](http://example.com)", :smartypants => true, :no_links => true
+ assert_equal "<p>Hello [World](http://example.com)</p>", html
+ end
+
def test_fenced_code_blocks_with_lang
code = <<-COD.gsub(/^\s+/,"")
```ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_prawntemplate.prawn new/test/tilt_prawntemplate.prawn
--- old/test/tilt_prawntemplate.prawn 1970-01-01 01:00:00.000000000 +0100
+++ new/test/tilt_prawntemplate.prawn 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1 @@
+pdf.text "Hello Template!"
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_prawntemplate_test.rb new/test/tilt_prawntemplate_test.rb
--- old/test/tilt_prawntemplate_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/test/tilt_prawntemplate_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -0,0 +1,75 @@
+require 'test_helper'
+require 'tilt'
+
+begin
+ require 'tilt/prawn'
+ require 'pdf-reader'
+
+ class PdfOutput
+ def initialize(pdf_raw)
+ @reader = PDF::Reader.new(StringIO.new(pdf_raw))
+ end
+
+ def text
+ @reader.pages.map(&:text).join
+ end
+
+ def page_attributes(page_num=1)
+ @reader.page(page_num).attributes
+ end
+ end
+
+ class PrawnTemplateTest < Minitest::Test
+ test "is registered for '.prawn' files" do
+ assert_equal Tilt::PrawnTemplate, Tilt['test.prawn']
+ end
+
+ test "compiles and evaluates the template on #render" do
+ template = Tilt::PrawnTemplate.new { |t| "pdf.text \"Hello PDF!\"" }
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello PDF!"
+ end
+
+ test "can be rendered more than once" do
+ template = Tilt::PrawnTemplate.new { |t| "pdf.text \"Hello PDF!\"" }
+ 3.times do
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello PDF!"
+ end
+ end
+
+ test "loads the template from a file and renders it correctly" do
+ template = Tilt::PrawnTemplate.new("#{Dir.pwd}/test/tilt_prawntemplate.prawn")
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello Template!"
+ end
+
+ test "loads the template from a file and can be rendered more than once" do
+ template = Tilt::PrawnTemplate.new("#{Dir.pwd}/test/tilt_prawntemplate.prawn")
+ 3.times do
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello Template!"
+ end
+ end
+
+ test "have the correct default page size & layout settings - (default: A4 portrait)" do
+ # NOTE! Dear North Americans,
+ # Please follow the ISO 216 international standard format (A4) that dominates everywhere else in the world
+ template = Tilt::PrawnTemplate.new { |t| "pdf.text \"Hello A4 portrait!\"" }
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello A4 portrait!"
+ assert_equal [0, 0, 595.28, 841.89], output.page_attributes(1)[:MediaBox]
+ end
+
+ test "allows page size & layout settings - A3 landscape" do
+ template = Tilt::PrawnTemplate.new( :page_size => 'A3', :page_layout => :landscape) { |t| "pdf.text \"Hello A3 landscape!\"" }
+ output = PdfOutput.new(template.render)
+ assert_includes output.text, "Hello A3 landscape!"
+ assert_equal [0, 0, 1190.55, 841.89], output.page_attributes(1)[:MediaBox]
+ end
+
+ end
+
+rescue LoadError => boom
+ warn "Tilt::PrawnTemplate (disabled)"
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_redcarpettemplate_test.rb new/test/tilt_redcarpettemplate_test.rb
--- old/test/tilt_redcarpettemplate_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_redcarpettemplate_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -25,11 +25,6 @@
end
end
- test "redcarpet2 is our default choice" do
- template = Tilt::RedcarpetTemplate.new {}
- assert_equal Tilt::RedcarpetTemplate::Redcarpet2, template.prepare.class
- end
-
test "preparing and evaluating templates on #render" do
template = Tilt::RedcarpetTemplate.new { |t| "# Hello World!" }
assert_equal "<h1>Hello World!</h1>\n", template.render
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_template_test.rb new/test/tilt_template_test.rb
--- old/test/tilt_template_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_template_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -75,20 +75,6 @@
MockTemplate.new { |template| "Hello World!" }
end
- class InitializingMockTemplate < Tilt::Template
- @@initialized_count = 0
- def self.initialized_count
- @@initialized_count
- end
-
- def initialize_engine
- @@initialized_count += 1
- end
-
- def prepare
- end
- end
-
class PreparingMockTemplate < Tilt::Template
def prepare
raise "data must be set" if data.nil?
@@ -122,6 +108,12 @@
assert inst.prepared?
end
+ test 'prepares and evaluates the template on #render with nil arg' do
+ inst = SimpleMockTemplate.new { |t| "Hello World!" }
+ assert_equal '<em>Hello World!</em>', inst.render(nil)
+ assert inst.prepared?
+ end
+
class SourceGeneratingMockTemplate < PreparingMockTemplate
def precompiled_template(locals)
"foo = [] ; foo << %Q{#{data}} ; foo.join"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/tilt_wikiclothtemplate_test.rb new/test/tilt_wikiclothtemplate_test.rb
--- old/test/tilt_wikiclothtemplate_test.rb 2014-03-21 09:49:40.000000000 +0100
+++ new/test/tilt_wikiclothtemplate_test.rb 2016-01-05 13:57:20.000000000 +0100
@@ -19,12 +19,12 @@
test "compiles and evaluates the template on #render" do
template = Tilt::WikiClothTemplate.new { |t| "= Hello World! =" }
- assert_match /<h1>.*Hello World!.*<\/h1>/, template.render
+ assert_match /<h1>.*Hello World!.*<\/h1>/m, template.render
end
test "can be rendered more than once" do
template = Tilt::WikiClothTemplate.new { |t| "= Hello World! =" }
- 3.times { assert_match /<h1>.*Hello World!.*<\/h1>/, template.render }
+ 3.times { assert_match /<h1>.*Hello World!.*<\/h1>/m, template.render }
end
end
rescue LoadError => boom
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilt.gemspec new/tilt.gemspec
--- old/tilt.gemspec 2014-03-21 09:49:40.000000000 +0100
+++ new/tilt.gemspec 2016-01-05 13:57:20.000000000 +0100
@@ -3,8 +3,8 @@
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.name = 'tilt'
- s.version = '2.0.1'
- s.date = '2014-03-21'
+ s.version = '2.0.2'
+ s.date = '2016-01-05'
s.description = "Generic interface to multiple Ruby template engines"
s.summary = s.description
@@ -26,6 +26,7 @@
docs/common.css
lib/tilt.rb
lib/tilt/asciidoc.rb
+ lib/tilt/babel.rb
lib/tilt/bluecloth.rb
lib/tilt/builder.rb
lib/tilt/coffee.rb
@@ -43,6 +44,7 @@
lib/tilt/maruku.rb
lib/tilt/nokogiri.rb
lib/tilt/plain.rb
+ lib/tilt/prawn.rb
lib/tilt/radius.rb
lib/tilt/rdiscount.rb
lib/tilt/rdoc.rb
@@ -53,6 +55,8 @@
lib/tilt/template.rb
lib/tilt/wikicloth.rb
lib/tilt/yajl.rb
+ man/index.txt
+ man/tilt.1.ronn
test/markaby/locals.mab
test/markaby/markaby.mab
test/markaby/markaby_other_static.mab
@@ -61,6 +65,7 @@
test/markaby/yielding.mab
test/test_helper.rb
test/tilt_asciidoctor_test.rb
+ test/tilt_babeltemplate.rb
test/tilt_blueclothtemplate_test.rb
test/tilt_buildertemplate_test.rb
test/tilt_cache_test.rb
@@ -82,6 +87,8 @@
test/tilt_marukutemplate_test.rb
test/tilt_metadata_test.rb
test/tilt_nokogiritemplate_test.rb
+ test/tilt_prawntemplate.prawn
+ test/tilt_prawntemplate_test.rb
test/tilt_radiustemplate_test.rb
test/tilt_rdiscounttemplate_test.rb
test/tilt_rdoctemplate_test.rb
1
0
Hello community,
here is the log from the commit of package rubygem-mysql2 for openSUSE:Factory checked in at 2016-03-01 09:39:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mysql2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-mysql2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mysql2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-mysql2/rubygem-mysql2.changes 2015-11-28 15:19:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-mysql2.new/rubygem-mysql2.changes 2016-03-01 09:40:03.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 21 13:21:29 UTC 2016 - mrueckert(a)suse.de
+
+- drop patch 569aa3d996a794073b0704771e45f78c7dba2182.patch:
+ included in version update
+
+-------------------------------------------------------------------
@@ -5,0 +12,6 @@
+
+-------------------------------------------------------------------
+Wed Nov 25 14:58:56 UTC 2015 - mrueckert(a)suse.de
+
+- added patch for memory leak in client close method
+ 569aa3d996a794073b0704771e45f78c7dba2182.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-mysql2.spec ++++++
--- /var/tmp/diff_new_pack.ZeCZlh/_old 2016-03-01 09:40:04.000000000 +0100
+++ /var/tmp/diff_new_pack.ZeCZlh/_new 2016-03-01 09:40:04.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-mysql2
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -32,10 +32,10 @@
BuildRequires: mysql-devel
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: ruby-macros >= 5
BuildRequires: %{rubydevel}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
-BuildRequires: ruby-macros >= 5
Url: http://github.com/brianmario/mysql2
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: rubygem-mysql2-rpmlintrc
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.ZeCZlh/_old 2016-03-01 09:40:04.000000000 +0100
+++ /var/tmp/diff_new_pack.ZeCZlh/_new 2016-03-01 09:40:04.000000000 +0100
@@ -71,3 +71,4 @@
BuildRequires: mysql-devel
:sources:
- rubygem-mysql2-rpmlintrc
+:patches:
1
0
Hello community,
here is the log from the commit of package rubygem-mimemagic for openSUSE:Factory checked in at 2016-03-01 09:39:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mimemagic (Old)
and /work/SRC/openSUSE:Factory/.rubygem-mimemagic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mimemagic"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-mimemagic/rubygem-mimemagic.changes 2015-10-20 00:04:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-mimemagic.new/rubygem-mimemagic.changes 2016-03-01 09:39:54.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Jan 5 05:38:36 UTC 2016 - coolo(a)suse.com
+
+- updated to version 0.3.1
+ better detect msoffice formats
+
+-------------------------------------------------------------------
Old:
----
mimemagic-0.3.0.gem
New:
----
mimemagic-0.3.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-mimemagic.spec ++++++
--- /var/tmp/diff_new_pack.KZRDyu/_old 2016-03-01 09:39:55.000000000 +0100
+++ /var/tmp/diff_new_pack.KZRDyu/_new 2016-03-01 09:39:55.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-mimemagic
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,14 +24,14 @@
#
Name: rubygem-mimemagic
-Version: 0.3.0
+Version: 0.3.1
Release: 0
%define mod_name mimemagic
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
-BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
+BuildRequires: %{ruby}
+BuildRequires: ruby-macros >= 5
Url: https://github.com/minad/mimemagic
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
++++++ mimemagic-0.3.0.gem -> mimemagic-0.3.1.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mimemagic/overlay.rb new/lib/mimemagic/overlay.rb
--- old/lib/mimemagic/overlay.rb 2015-03-25 20:36:56.000000000 +0100
+++ new/lib/mimemagic/overlay.rb 2016-01-04 20:57:00.000000000 +0100
@@ -1,7 +1,7 @@
# Extra magic
-[['application/vnd.openxmlformats-officedocument.presentationml.presentation', [[0..2000, 'ppt/']]],
- ['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', [[0..2000, 'xl/']]],
- ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', [[0..2000, 'word/']]]].each do |magic|
+[['application/vnd.openxmlformats-officedocument.presentationml.presentation', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'ppt/']]]]]]],
+ ['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'xl/']]]]]]],
+ ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', [[0, "PK\003\004", [[30, '[Content_Types].xml', [[0..5000, 'word/']]]]]]]].each do |magic|
MimeMagic.add(magic[0], magic: magic[1])
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mimemagic/version.rb new/lib/mimemagic/version.rb
--- old/lib/mimemagic/version.rb 2015-03-25 20:36:56.000000000 +0100
+++ new/lib/mimemagic/version.rb 2016-01-04 20:57:00.000000000 +0100
@@ -1,5 +1,5 @@
class MimeMagic
# MimeMagic version string
# @api public
- VERSION = '0.3.0'
+ VERSION = '0.3.1'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-03-25 20:36:56.000000000 +0100
+++ new/metadata 2016-01-04 20:57:00.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: mimemagic
version: !ruby/object:Gem::Version
- version: 0.3.0
+ version: 0.3.1
platform: ruby
authors:
- Daniel Mendler
autorequire:
bindir: bin
cert_chain: []
-date: 2015-03-25 00:00:00.000000000 Z
+date: 2016-01-04 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: bacon
@@ -94,4 +94,3 @@
specification_version: 4
summary: Fast mime detection by extension or content
test_files: []
-has_rdoc:
Files old/test/files/image.jpeg and new/test/files/image.jpeg differ
Files old/test/files/image.png and new/test/files/image.png differ
1
0
Hello community,
here is the log from the commit of package btrfsprogs for openSUSE:Factory checked in at 2016-03-01 09:39:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/btrfsprogs (Old)
and /work/SRC/openSUSE:Factory/.btrfsprogs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "btrfsprogs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/btrfsprogs/btrfsprogs.changes 2015-12-18 21:52:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.btrfsprogs.new/btrfsprogs.changes 2016-03-01 09:39:40.000000000 +0100
@@ -1,0 +2,31 @@
+Mon Feb 29 00:00:00 CET 2016 - dsterba(a)suse.cz
+
+- update to 4.4.1
+ * find-root: don't skip the first chunk
+ * free-space-tree compat bits fix
+ * build: target symlinks
+ * documentation updates
+ * test updates
+
+-------------------------------------------------------------------
+Fri Jan 22 00:00:00 CET 2016 - dsterba(a)suse.cz
+
+- update to 4.4
+ * mkfs.btrfs --data dup
+ * support balance filters added/enhanced in linux 4.4
+ * manual pages enhanced (btrfs, mkfs, mount, filesystem, balance)
+ * 'btrfs filesystem usage' works with mixed blockgroups
+ * build: installation to /usr/local
+ * build: the 'ar' tool is properly deteced during cross-compilation
+ * improved stability on fuzzed/crafted images when reading sys array in
+ superblock
+ * debug-tree: option -t understands ids for tree root and chnuk tree
+ * check: properly reset nlink of multi-linked file
+ * chunk recovery: fix floating point exception
+ * chunk recovery: endianity bugfix during rebuild
+ * mkfs with 64K pages and nodesize reported superblock checksum mismatch
+- Removed patches:
+ * 0001-btrfs-progs-mkfs-use-correct-size-for-superblock-csu.patch
+ * fix-doc-build-on-SLE11SP3.diff
+
+-------------------------------------------------------------------
Old:
----
0001-btrfs-progs-mkfs-use-correct-size-for-superblock-csu.patch
btrfs-progs-v4.3.1.tar.gz
fix-doc-build-on-SLE11SP3.diff
New:
----
btrfs-progs-v4.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ btrfsprogs.spec ++++++
--- /var/tmp/diff_new_pack.uTOlsh/_old 2016-03-01 09:39:42.000000000 +0100
+++ /var/tmp/diff_new_pack.uTOlsh/_new 2016-03-01 09:39:42.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package btrfsprogs
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -24,7 +24,7 @@
%endif
Name: btrfsprogs
-Version: 4.3.1
+Version: 4.4.1
Release: 0
Summary: Utilities for the Btrfs filesystem
License: GPL-2.0
@@ -37,14 +37,11 @@
Source1: boot-btrfs.sh
Source4: setup-btrfs.sh
-Patch1: 0001-btrfs-progs-mkfs-use-correct-size-for-superblock-csu.patch
-
Patch163: 0163-btrfs-progs-fsck-fix-segfault.patch
Patch167: 0167-Btrfs-progs-make-find_and_setup_root-return-an-error.patch
Patch168: 0168-Btrfs-progs-don-t-bug-out-if-we-can-t-find-the-last-.patch
Patch1000: local-version-override.patch
-Patch1001: fix-doc-build-on-SLE11SP3.diff
Patch1002: 2000-btrfs-full-balance-warning.diff
BuildRequires: asciidoc
@@ -112,12 +109,10 @@
%prep
%setup -q -n btrfs-progs-v%{version}
-%patch1 -p1
%patch163 -p1
%patch167 -p1
%patch168 -p1
%patch1000 -p1
-%patch1001 -p1
%patch1002 -p1
%build
++++++ btrfs-progs-v4.3.1.tar.gz -> btrfs-progs-v4.4.1.tar.gz ++++++
++++ 8995 lines of diff (skipped)
++++++ local-version-override.patch ++++++
--- /var/tmp/diff_new_pack.uTOlsh/_old 2016-03-01 09:39:43.000000000 +0100
+++ /var/tmp/diff_new_pack.uTOlsh/_new 2016-03-01 09:39:43.000000000 +0100
@@ -6,8 +6,8 @@
# Copyright 2008, Oracle
# Released under the GNU GPLv2
--v="v4.3.1"
-+v="v4.3.1+20151124"
+-v="v4.4.1"
++v="v4.4.1+20160229"
opt=$1
1
0