openSUSE Commits
Threads by month
- ----- 2024 -----
- July
- June
- 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
February 2015
- 1 participants
- 1390 discussions
Hello community,
here is the log from the commit of package rubygem-rake for openSUSE:Factory checked in at 2015-02-05 11:01:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rake (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rake.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rake"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rake/rubygem-rake.changes 2014-10-23 14:21:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rake.new/rubygem-rake.changes 2015-02-05 11:01:08.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Feb 4 12:38:31 UTC 2015 - hvogel(a)suse.com
+
+- Update to version 10.4.2
+ * Rake no longer edits ARGV. This allows you to re-exec rake from a rake task.
+ * Documented how Rake::DSL#desc handles sentences in task descriptions.
+ * Added support for Pathname in rake tasks.
+ * Rake now ignores falsy dependencies which allows for easier programmatic
+ creation of tasks.
+ * Etc.nprocessors is used for counting the number of CPUs.
+ * Updated rake manpage.
+ * Add Rake::LATE to allow rebuilding of files that depend on deleted files.
+ * Fix relinking of files when repackaging.
+ * Try counting CPUs via cpuinfo if host_os was not matched.
+
+-------------------------------------------------------------------
Old:
----
rake-10.3.2.gem
New:
----
rake-10.4.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rake.spec ++++++
--- /var/tmp/diff_new_pack.iKWjao/_old 2015-02-05 11:01:09.000000000 +0100
+++ /var/tmp/diff_new_pack.iKWjao/_new 2015-02-05 11:01:09.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rake
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: rubygem-rake
-Version: 10.3.2
+Version: 10.4.2
Release: 0
%define mod_name rake
%define mod_full_name %{mod_name}-%{version}
++++++ rake-10.3.2.gem -> rake-10.4.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CONTRIBUTING.rdoc new/CONTRIBUTING.rdoc
--- old/CONTRIBUTING.rdoc 2014-05-16 06:15:57.000000000 +0200
+++ new/CONTRIBUTING.rdoc 2014-12-03 08:34:56.000000000 +0100
@@ -1,9 +1,9 @@
= Source Repository
Rake is currently hosted at github. The github web page is
-http://github.com/jimweirich/rake . The public git clone URL is
+http://github.com/ruby/rake . The public git clone URL is
- git://github.com/jimweirich/rake.git
+ git://github.com/ruby/rake.git
= Running the Rake Test Suite
@@ -30,5 +30,5 @@
When submitting pull requests please check the rake Travis-CI page for test
failures:
- https://travis-ci.org/jimweirich/rake
+ https://travis-ci.org/ruby/rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc 2014-05-16 06:15:57.000000000 +0200
+++ new/History.rdoc 2014-12-03 08:34:56.000000000 +0100
@@ -1,3 +1,45 @@
+=== 10.4.2 / 2014-12-02
+
+Bug fixes:
+
+* Rake no longer edits ARGV. This allows you to re-exec rake from a rake
+ task. Pull requset #9 by Matt Palmer.
+* Documented how Rake::DSL#desc handles sentences in task descriptions.
+ Issue #7 by Raza Sayed.
+* Fixed test error on 1.9.3 with legacy RubyGems. Issue #8 by Matt Palmer.
+* Deleted duplicated History entry. Pull request #10 by Yuji Yamamoto.
+
+=== 10.4.1 / 2014-12-01
+
+Bug fixes:
+
+* Reverted fix for #277 as it caused numerous issues for rake users.
+ rails/spring issue #366 by Gustavo Dutra.
+
+=== 10.4.0 / 2014-11-22
+
+Enhancements:
+
+* Upgraded to minitest 5. Pull request #292 by Teo Ljungberg.
+* Added support for Pathname in rake tasks. Pull request #271 by Randy
+ Coulman.
+* Rake now ignores falsy dependencies which allows for easier programmatic
+ creation of tasks. Pull request #273 by Manav.
+* Rake no longer edits ARGV. This allows you to re-exec rake from a rake
+ task. Issue #277 by Matt Palmer.
+* Etc.nprocessors is used for counting the number of CPUs.
+
+Bug fixes:
+
+* Updated rake manpage. Issue #283 by Nathan Long, pull request #291 by
+ skittleys.
+* Add Rake::LATE to allow rebuilding of files that depend on deleted files.
+ Bug #286, pull request #287 by David Grayson.
+* Fix relinking of files when repackaging. Bug #276 by Muenze.
+* Fixed some typos. Pull request #280 by Jed Northridge.
+* Try counting CPUs via cpuinfo if host_os was not matched. Pull request
+ #282 by Edouard B.
+
=== 10.3.2 / 2014-05-15
Bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Manifest.txt new/Manifest.txt
--- old/Manifest.txt 2014-05-16 06:15:57.000000000 +0200
+++ new/Manifest.txt 2014-12-03 08:34:56.000000000 +0100
@@ -17,7 +17,7 @@
doc/glossary.rdoc
doc/jamis.rb
doc/proto_rake.rdoc
-doc/rake.1.gz
+doc/rake.1
doc/rakefile.rdoc
doc/rational.rdoc
doc/release_notes/rake-0.4.14.rdoc
@@ -69,6 +69,7 @@
lib/rake/early_time.rb
lib/rake/ext/core.rb
lib/rake/ext/module.rb
+lib/rake/ext/pathname.rb
lib/rake/ext/string.rb
lib/rake/ext/time.rb
lib/rake/file_creation_task.rb
@@ -79,6 +80,7 @@
lib/rake/gempackagetask.rb
lib/rake/invocation_chain.rb
lib/rake/invocation_exception_mixin.rb
+lib/rake/late_time.rb
lib/rake/linked_list.rb
lib/rake/loaders/makefile.rb
lib/rake/multi_task.rb
@@ -133,6 +135,7 @@
test/test_rake_ftp_file.rb
test/test_rake_functional.rb
test/test_rake_invocation_chain.rb
+test/test_rake_late_time.rb
test/test_rake_linked_list.rb
test/test_rake_makefile_loader.rb
test/test_rake_multi_task.rb
@@ -141,6 +144,7 @@
test/test_rake_path_map.rb
test/test_rake_path_map_explode.rb
test/test_rake_path_map_partial.rb
+test/test_rake_pathname_extensions.rb
test/test_rake_pseudo_status.rb
test/test_rake_rake_test_loader.rb
test/test_rake_reduce_compat.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 2014-05-16 06:15:57.000000000 +0200
+++ new/README.rdoc 2014-12-03 08:34:56.000000000 +0100
@@ -1,7 +1,7 @@
= RAKE -- Ruby Make
-home :: https://github.com/jimweirich/rake
-bugs :: https://github.com/jimweirich/rake/issues
+home :: https://github.com/ruby/rake
+bugs :: https://github.com/ruby/rake/issues
docs :: http://docs.seattlerb.org/rake
== Description
@@ -86,6 +86,9 @@
2. {Rake File Lists}[http://devblog.avdi.org/2014/04/22/rake-part-2-file-lists/]
3. {Rake Rules}[http://devblog.avdi.org/2014/04/23/rake-part-3-rules/]
4. {Rake Pathmap}[http://devblog.avdi.org/2014/04/24/rake-part-4-pathmap/]
+ 5. {File Operations}[http://devblog.avdi.org/2014/04/25/rake-part-5-file-operations/]
+ 6. {Clean and Clobber}[http://devblog.avdi.org/2014/04/28/rake-part-6-clean-and-clobber/]
+ 7. {MultiTask}[http://devblog.avdi.org/2014/04/29/rake-part-7-multitask/]
* Jim Weirich's 2003 RubyConf presentation:
http://onestepback.org/articles/buildingwithrake/
* Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile 2014-05-16 06:15:57.000000000 +0200
+++ new/Rakefile 2014-12-03 08:34:56.000000000 +0100
@@ -28,7 +28,7 @@
require_ruby_version '>= 1.8.7'
require_rubygems_version '>= 1.3.2'
- dependency 'minitest', '~> 4.0', :developer
+ dependency 'minitest', '~> 5.0', :developer
license "MIT"
@@ -54,7 +54,7 @@
]
end
-hoe.test_prelude = 'gem "minitest", "~> 4.0"'
+hoe.test_prelude = 'gem "minitest", "~> 5.0"'
# Use custom rdoc task due to existence of doc directory
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/checksums.yaml.gz.sig new/checksums.yaml.gz.sig
--- old/checksums.yaml.gz.sig 2014-05-16 06:15:57.000000000 +0200
+++ new/checksums.yaml.gz.sig 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-TÞ*=ØåSÃA;$k
-^à÷©ÍQÞ¯ò·øý4ÇÏÜÿ]Eg¶mü {áXšôÙ£ø¿"-ôo_9#ÛÜÌCp/p|xvÝú§'ÌàBÑkC/»ŒËl,®Jp2%Û§0öÃ`0Ù®µ
ßÕšX¿¶Â:¶a©î_1c¶YÃèhÕ&ét+ÿyOZµ¹Üô}ÊûÆ3LS!O7ßZŽln/þ"ä)²ÑõüDUfNºtÐ5$P¥4F öɣѡ¥ä¶<µÓÝÿ¯øñÍØ÷7Qe÷·µZA¶O
\ No newline at end of file
Files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/rake.1 new/doc/rake.1
--- old/doc/rake.1 1970-01-01 01:00:00.000000000 +0100
+++ new/doc/rake.1 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1,141 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RAKE 1 "August 27, 2014" "rake 10.3.2" "Rake User Commands"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+rake \- a make-like build utility for Ruby
+.SH SYNOPSIS
+\fBrake\fR [\fI\-f rakefile\fR] {\fIOPTIONS\fR} \fITARGETS...\fR
+.br
+.SH DESCRIPTION
+.B rake
+is a make-like build utility for Ruby. Tasks and dependencies are specified in
+standard Ruby syntax.
+.SH OPTIONS
+.TP
+\fB\-m\fR, \fB\-\-multitask\fR
+Treat all tasks as multitasks.
+.TP
+\fB\-B\fR, \fB\-\-build\-all\fR
+Build all prerequisites, including those which are up\-to\-date.
+
+.TP
+\fB\-j\fR, \fB\-\-jobs\fR [\fINUMBER\fR]
+Specifies the maximum number of tasks to execute in parallel (default is number of CPU cores + 4).
+
+.SS Modules
+.TP
+\fB\-I\fR, \fB\-\-libdir\fR \fILIBDIR\fR
+Include \fILIBDIR\fR in the search path for required modules.
+.TP
+\fB\-r\fR, \fB\-\-require\fR \fIMODULE\fR
+Require \fIMODULE\fR before executing rakefile.
+
+.SS Rakefile location
+.TP
+\fB\-f\fR, \fB\-\-rakefile\fR [\fIFILENAME\fR]
+Use \fIFILENAME\fR as the rakefile to search for.
+.TP
+\fB\-N\fR, \fB\-\-no\-search\fR, \fB\-\-nosearch\fR
+Do not search parent directories for the Rakefile.
+.TP
+\fB\-G\fR, \fB\-\-no\-system\fR, \fB\-\-nosystem\fR
+Use standard project Rakefile search paths, ignore system wide rakefiles.
+.TP
+\fB\-R\fR, \fB\-\-rakelibdir\fR \fIRAKELIBDIR\fR
+Auto\-import any .rake files in \fIRAKELIBDIR\fR (default is 'rakelib')
+.HP
+\fB\-\-rakelib\fR
+.TP
+\fB\-g\fR, \fB\-\-system\fR
+Using system wide (global) rakefiles (usually '\fI~/.rake/*.rake\fR').
+
+.SS Debugging
+.TP
+\fB\-\-backtrace\fR=\fI\,[OUT]\/\fR
+Enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
+.TP
+\fB\-t\fR, \fB\-\-trace\fR=\fI\,[OUT]\/\fR
+Turn on invoke/execute tracing, enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
+.TP
+\fB\-\-suppress\-backtrace\fR \fIPATTERN\fR
+Suppress backtrace lines matching regexp \fIPATTERN\fR. Ignored if \fI\-\-trace\fR is on.
+.TP
+\fB\-\-rules\fR
+Trace the rules resolution.
+
+.TP
+\fB\-n\fR, \fB\-\-dry\-run\fR
+Do a dry run without executing actions.
+.TP
+\fB\-T\fR, \fB\-\-tasks\fR [\fIPATTERN\fR]
+Display the tasks (matching optional \fIPATTERN\fR) with descriptions, then exit.
+.TP
+\fB\-D\fR, \fB\-\-describe\fR [\fIPATTERN\fR]
+Describe the tasks (matching optional \fIPATTERN\fR), then exit.
+.TP
+\fB\-W\fR, \fB\-\-where\fR [\fIPATTERN\fR]
+Describe the tasks (matching optional \fIPATTERN\fR), then exit.
+.TP
+\fB\-P\fR, \fB\-\-prereqs\fR
+Display the tasks and dependencies, then exit.
+
+.TP
+\fB\-e\fR, \fB\-\-execute\fR \fICODE\fR
+Execute some Ruby code and exit.
+.TP
+\fB\-p\fR, \fB\-\-execute\-print\fR \fICODE\fR
+Execute some Ruby code, print the result, then exit.
+.TP
+\fB\-E\fR, \fB\-\-execute\-continue\fR \fICODE\fR
+Execute some Ruby code, then continue with normal task processing.
+
+.SS Information
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Log message to standard output.
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+Do not log messages to standard output.
+.TP
+\fB\-s\fR, \fB\-\-silent\fR
+Like \fB\-\-quiet\fR, but also suppresses the 'in directory' announcement.
+.TP
+\fB\-X\fR, \fB\-\-no\-deprecation\-warnings\fR
+Disable the deprecation warnings.
+.TP
+\fB\-\-comments\fR
+Show commented tasks only
+.TP
+\fB\-A\fR, \fB\-\-all\fR
+Show all tasks, even uncommented ones (in combination with \fB\-T\fR or \fB\-D\fR)
+.TP
+\fB\-\-job\-stats\fR [\fILEVEL\fR]
+Display job statistics. \fILEVEL=history\fR displays a complete job list
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Display the program version.
+.TP
+\fB\-h\fR, \fB\-H\fR, \fB\-\-help\fR
+Display a help message.
+
+.SH SEE ALSO
+The complete documentation for \fBrake\fR has been installed at \fI/usr/share/doc/rake-doc/html/index.html\fR. It is also available online at \fIhttp://docs.seattlerb.org/rake\fR.
+.SH AUTHOR
+.B rake
+was written by Jim Weirich <jim(a)weirichhouse.org>
+.PP
+This manual was created by Caitlin Matos <caitlin.matos(a)zoho.com> for the Debian project (but may be used by others). It was inspired by the manual by Jani Monoses <jani(a)iv.ro> for the Ubuntu project.
Files old/doc/rake.1.gz and new/doc/rake.1.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/application.rb new/lib/rake/application.rb
--- old/lib/rake/application.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/application.rb 2014-12-03 08:34:56.000000000 +0100
@@ -83,8 +83,8 @@
def init(app_name='rake')
standard_exception_handling do
@name = app_name
- handle_options
- collect_command_line_tasks
+ args = handle_options
+ collect_command_line_tasks(args)
end
end
@@ -616,7 +616,9 @@
end
private :select_trace_output
- # Read and handle the command line options.
+ # Read and handle the command line options. Returns the command line
+ # arguments that we didn't understand, which should (in theory) be just
+ # task names and env vars.
def handle_options # :nodoc:
options.rakelib = ['rakelib']
options.trace_output = $stderr
@@ -633,7 +635,7 @@
standard_rake_options.each { |args| opts.on(*args) }
opts.environment('RAKEOPT')
- end.parse!
+ end.parse(ARGV)
end
# Similar to the regular Ruby +require+ command, but will check
@@ -727,9 +729,14 @@
# Collect the list of tasks on the command line. If no tasks are
# given, return a list containing only the default task.
# Environmental assignments are processed at this time as well.
- def collect_command_line_tasks # :nodoc:
+ #
+ # `args` is the list of arguments to peruse to get the list of tasks.
+ # It should be the command line that was given to rake, less any
+ # recognised command-line options, which OptionParser.parse will
+ # have taken care of already.
+ def collect_command_line_tasks(args) # :nodoc:
@top_level_tasks = []
- ARGV.each do |arg|
+ args.each do |arg|
if arg =~ /^(\w+)=(.*)$/m
ENV[$1] = $2
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/backtrace.rb new/lib/rake/backtrace.rb
--- old/lib/rake/backtrace.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/backtrace.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,6 +1,6 @@
module Rake
module Backtrace # :nodoc: all
- SYS_KEYS = RbConfig::CONFIG.keys.grep(/(prefix|libdir)/)
+ SYS_KEYS = RbConfig::CONFIG.keys.grep(/(?:[a-z]prefix|libdir)\z/)
SYS_PATHS = RbConfig::CONFIG.values_at(*SYS_KEYS).uniq +
[ File.join(File.dirname(__FILE__), "..") ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/cloneable.rb new/lib/rake/cloneable.rb
--- old/lib/rake/cloneable.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/cloneable.rb 2014-12-03 08:34:56.000000000 +0100
@@ -3,7 +3,7 @@
# Mixin for creating easily cloned objects.
module Cloneable # :nodoc:
- # The hook that invoked by 'clone' and 'dup' methods.
+ # The hook that is invoked by 'clone' and 'dup' methods.
def initialize_copy(source)
super
source.instance_variables.each do |var|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/contrib/.document new/lib/rake/contrib/.document
--- old/lib/rake/contrib/.document 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/contrib/.document 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/contrib/sshpublisher.rb new/lib/rake/contrib/sshpublisher.rb
--- old/lib/rake/contrib/sshpublisher.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/contrib/sshpublisher.rb 2014-12-03 08:34:56.000000000 +0100
@@ -20,7 +20,7 @@
# Uploads the files
def upload
- sh %{scp -rq #{@local_dir}/* #{@host}:#{@remote_dir}}
+ sh "scp", "-rq", "#{@local_dir}/*", "#{@host}:#{@remote_dir}"
end
end
@@ -30,8 +30,8 @@
# Uploads the files after removing the existing remote directory.
def upload
- sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil
- sh %{ssh #{@host} mkdir #{@remote_dir}}
+ sh "ssh", @host, "rm", "-rf", @remote_dir rescue nil
+ sh "ssh", @host, "mkdir", @remote_dir
super
end
end
@@ -54,7 +54,7 @@
def upload
@files.each do |fn|
- sh %{scp -q #{@local_dir}/#{fn} #{@host}:#{@remote_dir}}
+ sh "scp", "-q", "#{@local_dir}/#{fn}", "#{@host}:#{@remote_dir}"
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/cpu_counter.rb new/lib/rake/cpu_counter.rb
--- old/lib/rake/cpu_counter.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/cpu_counter.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,8 +1,3 @@
-require 'rbconfig'
-
-# TODO: replace with IO.popen using array-style arguments in Rake 11
-require 'open3'
-
module Rake
# Based on a script at:
@@ -18,6 +13,26 @@
default
end
+ begin
+ require 'etc'
+ rescue LoadError
+ else
+ if Etc.respond_to?(:nprocessors)
+ def count
+ return Etc.nprocessors
+ end
+ end
+ end
+ end
+end
+
+unless Rake::CpuCounter.method_defined?(:count)
+ Rake::CpuCounter.class_eval <<-'end;', __FILE__, __LINE__+1
+ require 'rbconfig'
+
+ # TODO: replace with IO.popen using array-style arguments in Rake 11
+ require 'open3'
+
def count
if defined?(Java::Java)
count_via_java_runtime
@@ -38,7 +53,8 @@
count_via_win32 ||
count_via_sysctl ||
count_via_hwprefs_thread_count ||
- count_via_hwprefs_cpu_count
+ count_via_hwprefs_cpu_count ||
+ count_via_cpuinfo
end
end
end
@@ -105,5 +121,5 @@
out.eof? ? nil : command
end
end
- end
+ end;
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/dsl_definition.rb new/lib/rake/dsl_definition.rb
--- old/lib/rake/dsl_definition.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/dsl_definition.rb 2014-12-03 08:34:56.000000000 +0100
@@ -98,6 +98,7 @@
def directory(*args, &block) # :doc:
result = file_create(*args, &block)
dir, _ = *Rake.application.resolve_args(args)
+ dir = Rake.from_pathname(dir)
Rake.each_dir_parent(dir) do |d|
file_create d do |t|
mkdir_p t.name unless File.exist?(t.name)
@@ -150,7 +151,7 @@
#
# Example:
# rule '.o' => '.c' do |t|
- # sh %{cc -o #{t.name} #{t.source}}
+ # sh 'cc', '-o', t.name, t.source
# end
#
def rule(*args, &block) # :doc:
@@ -158,6 +159,8 @@
end
# Describes the next rake task. Duplicate descriptions are discarded.
+ # Descriptions are shown with <code>rake -T</code> (up to the first
+ # sentence) and <code>rake -D</code> (the entire description).
#
# Example:
# desc "Run the Unit Tests"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/ext/module.rb new/lib/rake/ext/module.rb
--- old/lib/rake/ext/module.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/ext/module.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1 +1,2 @@
+
# TODO: remove in Rake 11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/ext/pathname.rb new/lib/rake/ext/pathname.rb
--- old/lib/rake/ext/pathname.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rake/ext/pathname.rb 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1,25 @@
+require 'rake/ext/core'
+require 'pathname'
+
+class Pathname
+
+ rake_extension("ext") do
+ # Return a new Pathname with <tt>String#ext</tt> applied to it.
+ #
+ # This Pathname extension comes from Rake
+ def ext(newext='')
+ Pathname.new(Rake.from_pathname(self).ext(newext))
+ end
+ end
+
+ rake_extension("pathmap") do
+ # Apply the pathmap spec to the Pathname, returning a
+ # new Pathname with the modified paths. (See String#pathmap for
+ # details.)
+ #
+ # This Pathname extension comes from Rake
+ def pathmap(spec=nil, &block)
+ Pathname.new(Rake.from_pathname(self).pathmap(spec, &block))
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/ext/string.rb new/lib/rake/ext/string.rb
--- old/lib/rake/ext/string.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/ext/string.rb 2014-12-03 08:34:56.000000000 +0100
@@ -49,7 +49,7 @@
end
protected :pathmap_partial
- # Preform the pathmap replacement operations on the given path. The
+ # Perform the pathmap replacement operations on the given path. The
# patterns take the form 'pat1,rep1;pat2,rep2...'.
#
# This String extension comes from Rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/ext/time.rb new/lib/rake/ext/time.rb
--- old/lib/rake/ext/time.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/ext/time.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,12 +1,13 @@
#--
-# Extensions to time to allow comparisons with an early time class.
+# Extensions to time to allow comparisons with early and late time classes.
require 'rake/early_time'
+require 'rake/late_time'
class Time # :nodoc: all
alias rake_original_time_compare :<=>
def <=>(other)
- if Rake::EarlyTime === other
+ if Rake::EarlyTime === other || Rake::LateTime === other
- other.<=>(self)
else
rake_original_time_compare(other)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/file_list.rb new/lib/rake/file_list.rb
--- old/lib/rake/file_list.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/file_list.rb 2014-12-03 08:34:56.000000000 +0100
@@ -49,7 +49,7 @@
# List of methods that should not be delegated here (we define special
# versions of them explicitly below).
- MUST_NOT_DEFINE = %w[to_a to_ary partition *]
+ MUST_NOT_DEFINE = %w[to_a to_ary partition * <<]
# List of delegated methods that return new array values which need
# wrapping.
@@ -119,7 +119,7 @@
if fn.respond_to? :to_ary
include(*fn.to_ary)
else
- @pending_add << fn
+ @pending_add << Rake.from_pathname(fn)
end
end
@pending = true
@@ -149,7 +149,7 @@
#
def exclude(*patterns, &block)
patterns.each do |pat|
- @exclude_patterns << pat
+ @exclude_patterns << Rake.from_pathname(pat)
end
@exclude_procs << block if block_given?
resolve_exclude unless @pending
@@ -196,6 +196,12 @@
end
end
+ def <<(obj)
+ resolve
+ @items << Rake.from_pathname(obj)
+ self
+ end
+
# Resolve all the pending adds now.
def resolve
if @pending
@@ -346,7 +352,7 @@
# Should the given file name be excluded from the list?
#
- # NOTE: This method was formally named "exclude?", but Rails
+ # NOTE: This method was formerly named "exclude?", but Rails
# introduced an exclude? method as an array method and setup a
# conflict with file list. We renamed the method to avoid
# confusion. If you were using "FileList#exclude?" in your user
@@ -410,5 +416,13 @@
dir = File.dirname(dir)
end
end
+
+ # Convert Pathname and Pathname-like objects to strings;
+ # leave everything else alone
+ def from_pathname(path) # :nodoc:
+ path = path.to_path if path.respond_to?(:to_path)
+ path = path.to_str if path.respond_to?(:to_str)
+ path
+ end
end
end # module Rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/file_task.rb new/lib/rake/file_task.rb
--- old/lib/rake/file_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/file_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -21,7 +21,7 @@
if File.exist?(name)
File.mtime(name.to_s)
else
- Rake::EARLY
+ Rake::LATE
end
end
@@ -39,7 +39,7 @@
# Apply the scope to the task name according to the rules for this kind
# of task. File based tasks ignore the scope when creating the name.
def scope_name(scope, task_name)
- task_name
+ Rake.from_pathname(task_name)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/file_utils.rb new/lib/rake/file_utils.rb
--- old/lib/rake/file_utils.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/file_utils.rb 2014-12-03 08:34:56.000000000 +0100
@@ -14,12 +14,24 @@
OPT_TABLE['sh'] = %w(noop verbose)
OPT_TABLE['ruby'] = %w(noop verbose)
- # Run the system command +cmd+. If multiple arguments are given the command
- # is not run with the shell (same semantics as Kernel::exec and
+ # Run the system command +cmd+. If multiple arguments are given the command
+ # is run directly (without the shell, same semantics as Kernel::exec and
# Kernel::system).
#
- # Example:
- # sh %{ls -ltr}
+ # It is recommended you use the multiple argument form over interpolating
+ # user input for both usability and security reasons. With the multiple
+ # argument form you can easily process files with spaces or other shell
+ # reserved characters in them. With the multiple argument form your rake
+ # tasks are not vulnerable to users providing an argument like
+ # <code>; rm # -rf /</code>.
+ #
+ # If a block is given, upon command completion the block is called with an
+ # OK flag (true on a zero exit status) and a Process::Status object.
+ # Without a block a RuntimeError is raised when the command exits non-zero.
+ #
+ # Examples:
+ #
+ # sh 'ls -ltr'
#
# sh 'ls', 'file with spaces'
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/invocation_chain.rb new/lib/rake/invocation_chain.rb
--- old/lib/rake/invocation_chain.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/invocation_chain.rb 2014-12-03 08:34:56.000000000 +0100
@@ -31,7 +31,7 @@
private
def prefix
- "#{tail.to_s} => "
+ "#{tail} => "
end
# Null object for an empty chain.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/late_time.rb new/lib/rake/late_time.rb
--- old/lib/rake/late_time.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rake/late_time.rb 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1,17 @@
+module Rake
+ # LateTime is a fake timestamp that occurs _after_ any other time value.
+ class LateTime
+ include Comparable
+ include Singleton
+
+ def <=>(other)
+ 1
+ end
+
+ def to_s
+ '<LATE TIME>'
+ end
+ end
+
+ LATE = LateTime.instance
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/packagetask.rb new/lib/rake/packagetask.rb
--- old/lib/rake/packagetask.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/packagetask.rb 2014-12-03 08:34:56.000000000 +0100
@@ -127,7 +127,7 @@
file "#{package_dir}/#{file}" =>
[package_dir_path] + package_files do
chdir(package_dir) do
- sh %{#{@tar_command} #{flag}cvf #{file} #{package_name}}
+ sh @tar_command, "#{flag}cvf", file, package_name
end
end
end
@@ -138,15 +138,12 @@
file "#{package_dir}/#{zip_file}" =>
[package_dir_path] + package_files do
chdir(package_dir) do
- sh %{#{@zip_command} -r #{zip_file} #{package_name}}
+ sh @zip_command, "-r", zip_file, package_name
end
end
end
- directory package_dir
-
- file package_dir_path => @package_files do
- mkdir_p package_dir rescue nil
+ directory package_dir_path => @package_files do
@package_files.each do |fn|
f = File.join(package_dir_path, fn)
fdir = File.dirname(f)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake/task_manager.rb new/lib/rake/task_manager.rb
--- old/lib/rake/task_manager.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake/task_manager.rb 2014-12-03 08:34:56.000000000 +0100
@@ -35,7 +35,7 @@
task_name = task_class.scope_name(@scope, task_name)
deps = [deps] unless deps.respond_to?(:to_ary)
- deps = deps.map { |d| d.to_s }
+ deps = deps.map { |d| Rake.from_pathname(d).to_s }
task = intern(task_class, task_name)
task.set_arg_names(arg_names) unless arg_names.empty?
if Rake::TaskManager.record_task_metadata
@@ -111,7 +111,7 @@
if args.empty?
task_name = key
arg_names = []
- deps = value
+ deps = value || []
else
task_name = args.shift
arg_names = key
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rake.rb new/lib/rake.rb
--- old/lib/rake.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/lib/rake.rb 2014-12-03 08:34:56.000000000 +0100
@@ -21,7 +21,7 @@
#++
module Rake
- VERSION = '10.3.2'
+ VERSION = '10.4.2'
end
require 'rake/version'
@@ -63,6 +63,7 @@
require 'rake/file_list'
require 'rake/default_loader'
require 'rake/early_time'
+require 'rake/late_time'
require 'rake/name_space'
require 'rake/task_manager'
require 'rake/application'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-05-16 06:15:57.000000000 +0200
+++ new/metadata 2014-12-03 08:34:56.000000000 +0100
@@ -1,36 +1,15 @@
--- !ruby/object:Gem::Specification
name: rake
version: !ruby/object:Gem::Version
- version: 10.3.2
+ version: 10.4.2
platform: ruby
authors:
- Eric Hodel
- Jim Weirich
autorequire:
bindir: bin
-cert_chain:
-- |
- -----BEGIN CERTIFICATE-----
- MIIDNjCCAh6gAwIBAgIBAjANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
- YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
- ZXQwHhcNMTQwMzI0MjEwNTQ1WhcNMTUwMzI0MjEwNTQ1WjBBMRAwDgYDVQQDDAdk
- cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
- FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
- LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
- U5ddZCVywn5nnAQ+Ui7jMW54CYt5/H6f2US6U0hQOjJR6cpfiymgxGdfyTiVcvTm
- Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
- mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
- g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
- sCANiQ8BAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
- BBS5k4Z75VSpdM0AclG2UvzFA/VW5DANBgkqhkiG9w0BAQUFAAOCAQEACQFPYbmk
- P51YZtd2sTMJkwhMs3RtLy+MqFpITMoPUjK1gvPw6NyzotvW0WkiU3KXIOem4l8s
- lDqWPIGobRf+Hvzp92hX/CEDGOSMbVBzuLZ4NAQftpvF91FE8KYCvrO+Nj8ei2X/
- +R7biySvcvWhCsIuBawVW6RxZdxaEHVZrbTX9cqGTAfnWhOIpsGJ/vNOofu1jIrw
- dAwolOAbVCvXy7lPI7oFtVzGu18RT7NW6Q4frd28V0Qs4shmW+ckdlneSzN1hVft
- pfkQPF5Ezsi73pEpFN93Fy21NKCYQH1jCwWeKUF29MIMGd6kE3ZmHW/7fz5GwKIM
- Ls5SgY48a0l7Hw==
- -----END CERTIFICATE-----
-date: 2014-05-16 00:00:00.000000000 Z
+cert_chain: []
+date: 2014-12-03 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: minitest
@@ -38,14 +17,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '5.2'
+ version: '5.4'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '5.2'
+ version: '5.4'
- !ruby/object:Gem::Dependency
name: rdoc
requirement: !ruby/object:Gem::Requirement
@@ -66,14 +45,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.7'
+ version: '3.13'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.7'
+ version: '3.13'
description: |-
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
specified in standard Ruby syntax.
@@ -165,7 +144,7 @@
- doc/glossary.rdoc
- doc/jamis.rb
- doc/proto_rake.rdoc
-- doc/rake.1.gz
+- doc/rake.1
- doc/rakefile.rdoc
- doc/rational.rdoc
- doc/release_notes/rake-0.4.14.rdoc
@@ -217,6 +196,7 @@
- lib/rake/early_time.rb
- lib/rake/ext/core.rb
- lib/rake/ext/module.rb
+- lib/rake/ext/pathname.rb
- lib/rake/ext/string.rb
- lib/rake/ext/time.rb
- lib/rake/file_creation_task.rb
@@ -227,6 +207,7 @@
- lib/rake/gempackagetask.rb
- lib/rake/invocation_chain.rb
- lib/rake/invocation_exception_mixin.rb
+- lib/rake/late_time.rb
- lib/rake/linked_list.rb
- lib/rake/loaders/makefile.rb
- lib/rake/multi_task.rb
@@ -281,6 +262,7 @@
- test/test_rake_ftp_file.rb
- test/test_rake_functional.rb
- test/test_rake_invocation_chain.rb
+- test/test_rake_late_time.rb
- test/test_rake_linked_list.rb
- test/test_rake_makefile_loader.rb
- test/test_rake_multi_task.rb
@@ -289,6 +271,7 @@
- test/test_rake_path_map.rb
- test/test_rake_path_map_explode.rb
- test/test_rake_path_map_partial.rb
+- test/test_rake_pathname_extensions.rb
- test/test_rake_pseudo_status.rb
- test/test_rake_rake_test_loader.rb
- test/test_rake_reduce_compat.rb
@@ -308,7 +291,7 @@
- test/test_rake_win32.rb
- test/test_thread_history_display.rb
- test/test_trace_output.rb
-homepage: https://github.com/jimweirich/rake
+homepage: https://github.com/ruby/rake
licenses:
- MIT
metadata: {}
@@ -329,8 +312,8 @@
- !ruby/object:Gem::Version
version: 1.3.2
requirements: []
-rubyforge_project: rake
-rubygems_version: 2.2.2
+rubyforge_project:
+rubygems_version: 2.4.2
signing_key:
specification_version: 4
summary: Rake is a Make-like program implemented in Ruby
@@ -355,6 +338,7 @@
- test/test_rake_ftp_file.rb
- test/test_rake_functional.rb
- test/test_rake_invocation_chain.rb
+- test/test_rake_late_time.rb
- test/test_rake_linked_list.rb
- test/test_rake_makefile_loader.rb
- test/test_rake_multi_task.rb
@@ -363,6 +347,7 @@
- test/test_rake_path_map.rb
- test/test_rake_path_map_explode.rb
- test/test_rake_path_map_partial.rb
+- test/test_rake_pathname_extensions.rb
- test/test_rake_pseudo_status.rb
- test/test_rake_rake_test_loader.rb
- test/test_rake_reduce_compat.rb
Files old/metadata.gz.sig and new/metadata.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/helper.rb new/test/helper.rb
--- old/test/helper.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/helper.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,7 +1,10 @@
require 'rubygems'
$:.unshift File.expand_path('../../lib', __FILE__)
-gem 'minitest', '~> 4'
+begin
+ gem 'minitest', '~> 5'
+rescue Gem::LoadError
+end
require 'minitest/autorun'
require 'rake'
@@ -19,7 +22,7 @@
require 'test/support/rakefile_definitions'
end
-class Rake::TestCase < MiniTest::Unit::TestCase
+class Rake::TestCase < Minitest::Test
include FileCreation
include Rake::DSL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/support/rakefile_definitions.rb new/test/support/rakefile_definitions.rb
--- old/test/support/rakefile_definitions.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/support/rakefile_definitions.rb 2014-12-03 08:34:56.000000000 +0100
@@ -460,7 +460,7 @@
TEST_TASK
open 'a_test.rb', 'w' do |io|
io << "require 'minitest/autorun'\n"
- io << "class ExitTaskTest < MiniTest::Unit::TestCase\n"
+ io << "class ExitTaskTest < Minitest::Test\n"
io << " def test_exit\n"
io << " assert false, 'this should fail'\n"
io << " end\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/support/ruby_runner.rb new/test/support/ruby_runner.rb
--- old/test/support/ruby_runner.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/support/ruby_runner.rb 2014-12-03 08:34:56.000000000 +0100
@@ -18,12 +18,13 @@
def run_ruby(option_list)
puts "COMMAND: [#{RUBY} #{option_list.join ' '}]" if @verbose
- inn, out, err, wait = Open3.popen3(RUBY, *option_list)
- inn.close
+ Open3.popen3(RUBY, *option_list) {|inn, out, err, wait|
+ inn.close
- @exit = wait ? wait.value : $?
- @out = out.read
- @err = err.read
+ @exit = wait ? wait.value : $?
+ @out = out.read
+ @err = err.read
+ }
puts "OUTPUT: [#{@out}]" if @verbose
puts "ERROR: [#{@err}]" if @verbose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_application.rb new/test/test_rake_application.rb
--- old/test/test_rake_application.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_application.rb 2014-12-03 08:34:56.000000000 +0100
@@ -17,8 +17,10 @@
end
def test_display_exception_details
+ obj = Object.new
+ obj.instance_eval("def #{__method__}; raise 'test'; end", "ruby")
begin
- raise 'test'
+ obj.__send__(__method__)
rescue => ex
end
@@ -368,7 +370,7 @@
# HACK no assertions
end
- def test_handle_options_should_strip_options_from_argv
+ def test_handle_options_should_not_strip_options_from_argv
assert !(a)app.options.trace
valid_option = '--trace'
@@ -376,7 +378,7 @@
@app.handle_options
- assert !ARGV.include?(valid_option)
+ assert ARGV.include?(valid_option)
assert @app.options.trace
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_application_options.rb new/test/test_rake_application_options.rb
--- old/test/test_rake_application_options.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_application_options.rb 2014-12-03 08:34:56.000000000 +0100
@@ -457,8 +457,8 @@
throw :system_exit, :exit
end
@app.instance_eval do
- handle_options
- collect_command_line_tasks
+ args = handle_options
+ collect_command_line_tasks(args)
end
@tasks = @app.top_level_tasks
@app.options
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_backtrace.rb new/test/test_rake_backtrace.rb
--- old/test/test_rake_backtrace.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_backtrace.rb 2014-12-03 08:34:56.000000000 +0100
@@ -42,7 +42,7 @@
super
skip 'tmpdir is suppressed in backtrace' if
- Dir.pwd =~ Rake::Backtrace::SUPPRESS_PATTERN
+ Rake::Backtrace::SUPPRESS_PATTERN =~ Dir.pwd
end
def invoke(*args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_clean.rb new/test/test_rake_clean.rb
--- old/test/test_rake_clean.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_clean.rb 2014-12-03 08:34:56.000000000 +0100
@@ -41,7 +41,13 @@
FileUtils.touch(file_name)
FileUtils.chmod(0, file_name)
FileUtils.chmod(0, dir_name)
- file_name
+ begin
+ FileUtils.chmod(0644, file_name)
+ rescue
+ file_name
+ else
+ skip "Permission to delete files is different on thie system"
+ end
end
def remove_undeletable_file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_cpu_counter.rb new/test/test_rake_cpu_counter.rb
--- old/test/test_rake_cpu_counter.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_cpu_counter.rb 2014-12-03 08:34:56.000000000 +0100
@@ -8,43 +8,61 @@
@cpu_counter = Rake::CpuCounter.new
end
- def test_count_via_win32
- if Rake::Win32.windows? then
- assert_kind_of Numeric, @cpu_counter.count_via_win32
- else
- assert_nil @cpu_counter.count_via_win32
- end
+ def test_count
+ num = @cpu_counter.count
+ skip 'cannot count CPU' if num == nil
+ assert_kind_of Numeric, num
+ assert_operator num, :>=, 1
end
- def test_in_path_command
- with_ruby_in_path do |ruby|
- assert_equal ruby, @cpu_counter.in_path_command(ruby)
- end
- rescue Errno::ENOENT => e
- raise unless e.message =~ /\bwhich\b/
+ def test_count_with_default_nil
+ def @cpu_counter.count; nil; end
+ assert_equal(8, @cpu_counter.count_with_default(8))
+ assert_equal(4, @cpu_counter.count_with_default)
+ end
- skip 'cannot find which for this test'
+ def test_count_with_default_raise
+ def @cpu_counter.count; raise; end
+ assert_equal(8, @cpu_counter.count_with_default(8))
+ assert_equal(4, @cpu_counter.count_with_default)
end
- def test_run
- with_ruby_in_path do |ruby|
- assert_equal 7, @cpu_counter.run(ruby, '-e', 'puts 3 + 4')
+ class TestClassMethod < Rake::TestCase
+ def setup
+ super
+
+ @klass = Class.new(Rake::CpuCounter)
end
- end
- def with_ruby_in_path
- ruby = File.basename Gem.ruby
- ruby_dir = File.dirname Gem.ruby
-
- begin
- orig_path, ENV['PATH'] =
- ENV['PATH'], [ruby_dir, *ENV['PATH']].join(File::PATH_SEPARATOR)
-
- yield ruby
- ensure
- ENV['PATH'] = orig_path
+ def test_count
+ @klass.class_eval do
+ def count; 8; end
+ end
+ assert_equal(8, @klass.count)
end
- end
-end
+ def test_count_nil
+ counted = false
+ @klass.class_eval do
+ define_method(:count) do
+ counted = true
+ nil
+ end
+ end
+ assert_equal(4, @klass.count)
+ assert_equal(true, counted)
+ end
+ def test_count_raise
+ counted = false
+ @klass.class_eval do
+ define_method(:count) do
+ counted = true
+ raise
+ end
+ end
+ assert_equal(4, @klass.count)
+ assert_equal(true, counted)
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_definitions.rb new/test/test_rake_definitions.rb
--- old/test/test_rake_definitions.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_definitions.rb 2014-12-03 08:34:56.000000000 +0100
@@ -59,6 +59,11 @@
assert_raises(RuntimeError) { Task[:x].invoke }
end
+ def test_falsey_dependencies
+ task :x => nil
+ assert_equal [], Task[:x].prerequisites
+ end
+
def test_implicit_file_dependencies
runs = []
create_existing_file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_directory_task.rb new/test/test_rake_directory_task.rb
--- old/test/test_rake_directory_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_directory_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,5 +1,6 @@
require File.expand_path('../helper', __FILE__)
require 'fileutils'
+require 'pathname'
class TestRakeDirectoryTask < Rake::TestCase
include Rake
@@ -60,4 +61,16 @@
assert_equal ["t2", "a/b/c"], runlist
assert File.directory?("a/b/c")
end
+
+ def test_can_use_pathname
+ directory Pathname.new "a/b/c"
+
+ assert_equal FileCreationTask, Task["a/b/c"].class
+
+ verbose(false) {
+ Task['a/b/c'].invoke
+ }
+
+ assert File.directory?("a/b/c")
+ end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_file_list.rb new/test/test_rake_file_list.rb
--- old/test/test_rake_file_list.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_file_list.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,4 +1,5 @@
require File.expand_path('../helper', __FILE__)
+require 'pathname'
class TestRakeFileList < Rake::TestCase
FileList = Rake::FileList
@@ -46,6 +47,12 @@
fl.sort
end
+ def test_create_with_pathname
+ fl = FileList.new(Pathname.new("*.c"))
+ assert_equal ["abc.c", "x.c", "xyz.c"].sort,
+ fl.sort
+ end
+
def test_create_with_block
fl = FileList.new { |f| f.include("x") }
assert_equal ["x"], fl.resolve
@@ -74,12 +81,24 @@
fl.sort
end
+ def test_include_with_pathname
+ fl = FileList.new.include(Pathname.new("*.c"))
+ assert_equal ["abc.c", "x.c", "xyz.c"].sort,
+ fl.sort
+ end
+
def test_append
fl = FileList.new
fl << "a.rb" << "b.rb"
assert_equal ['a.rb', 'b.rb'], fl
end
+ def test_append_pathname
+ fl = FileList.new
+ fl << Pathname.new("a.rb")
+ assert_equal ['a.rb'], fl
+ end
+
def test_add_many
fl = FileList.new
fl.include %w(a d c)
@@ -163,6 +182,15 @@
assert_equal [], fl
end
+ def test_exclude_pathname
+ fl = FileList['x.c', 'abc.c', 'other']
+ fl.each { |fn| touch fn, :verbose => false }
+
+ fl.exclude(Pathname.new('*.c'))
+
+ assert_equal ['other'], fl
+ end
+
def test_excluding_via_block
fl = FileList['a.c', 'b.c', 'xyz.c']
fl.exclude { |fn| fn.pathmap('%n') == 'xyz' }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_file_task.rb new/test/test_rake_file_task.rb
--- old/test/test_rake_file_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_file_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,5 +1,6 @@
require File.expand_path('../helper', __FILE__)
require 'fileutils'
+require 'pathname'
class TestRakeFileTask < Rake::TestCase
include Rake
@@ -23,6 +24,7 @@
File.delete(ftask.name) rescue nil
assert ftask.needed?, "file should be needed"
+ assert_equal Rake::LATE, ftask.timestamp
open(ftask.name, "w") { |f| f.puts "HI" }
@@ -83,19 +85,14 @@
end
def test_existing_file_depends_on_non_existing_file
- @ran = false
-
create_file(OLDFILE)
delete_file(NEWFILE)
- file NEWFILE do
- @ran = true
- end
-
- file OLDFILE => NEWFILE
+ file NEWFILE do |t| @runs << t.name end
+ file OLDFILE => NEWFILE do |t| @runs << t.name end
Task[OLDFILE].invoke
- assert @ran
+ assert_equal [NEWFILE, OLDFILE], @runs
end
def test_needed_eh_build_all
@@ -162,6 +159,20 @@
assert_equal ["preqA", "preqB"], t.sources
end
+ def test_task_can_be_pathname
+ name = "dummy"
+ file Pathname.new name
+
+ ftask = Task[name]
+
+ assert_equal name.to_s, ftask.name
+ end
+
+ def test_prerequisite_can_be_pathname
+ t = file :f => Pathname.new("preq")
+ assert_equal "preq", t.source
+ end
+
# I have currently disabled this test. I'm not convinced that
# deleting the file target on failure is always the proper thing to
# do. I'm willing to hear input on this topic.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_late_time.rb new/test/test_rake_late_time.rb
--- old/test/test_rake_late_time.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/test/test_rake_late_time.rb 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1,18 @@
+require File.expand_path('../helper', __FILE__)
+
+class TestRakeLateTime < Rake::TestCase
+ def test_late_time_comparisons
+ late = Rake::LATE
+ assert_equal late, late
+ assert late >= Time.now
+ assert late > Time.now
+ assert late != Time.now
+ assert Time.now < late
+ assert Time.now <= late
+ assert Time.now != late
+ end
+
+ def test_to_s
+ assert_equal '<LATE TIME>', Rake::LATE.to_s
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_multi_task.rb new/test/test_rake_multi_task.rb
--- old/test/test_rake_multi_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_multi_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -13,6 +13,12 @@
@mutex = Mutex.new
end
+ def teardown
+ Rake.application.thread_pool.join
+
+ super
+ end
+
def add_run(obj)
@mutex.synchronize do
@runs << obj
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_pathname_extensions.rb new/test/test_rake_pathname_extensions.rb
--- old/test/test_rake_pathname_extensions.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/test/test_rake_pathname_extensions.rb 2014-12-03 08:34:56.000000000 +0100
@@ -0,0 +1,15 @@
+require File.expand_path('../helper', __FILE__)
+require 'rake/ext/pathname'
+
+class TestRakePathnameExtensions < Rake::TestCase
+ def test_ext_works_on_pathnames
+ pathname = Pathname.new("abc.foo")
+ assert_equal Pathname.new("abc.bar"), pathname.ext("bar")
+ end
+
+ def test_path_map_works_on_pathnames
+ pathname = Pathname.new("this/is/a/dir/abc.rb")
+ assert_equal Pathname.new("abc.rb"), pathname.pathmap("%f")
+ assert_equal Pathname.new("this/is/a/dir"), pathname.pathmap("%d")
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_task.rb new/test/test_rake_task.rb
--- old/test/test_rake_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -13,6 +13,7 @@
def teardown
Rake::TaskManager.record_task_metadata = false
+ Rake.application.thread_pool.join
super
end
@@ -270,7 +271,7 @@
result = []
t_a = task(:a) do |t|
- sleep 0.02
+ sleep 0.2
mx.synchronize { result << t.name }
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_task_argument_parsing.rb new/test/test_rake_task_argument_parsing.rb
--- old/test/test_rake_task_argument_parsing.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_task_argument_parsing.rb 2014-12-03 08:34:56.000000000 +0100
@@ -49,6 +49,16 @@
assert_equal ["one", "two", "three_a, three_b", "four"], args
end
+ def test_treat_blank_arg_as_empty_string
+ name, args = @app.parse_task_string("name[one,]")
+ assert_equal "name", name
+ assert_equal ["one", ""], args
+
+ name, args = @app.parse_task_string("name[one,,two]")
+ assert_equal "name", name
+ assert_equal ["one", "", "two"], args
+ end
+
def test_terminal_width_using_env
app = Rake::Application.new
app.terminal_columns = 1234
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_task_with_arguments.rb new/test/test_rake_task_with_arguments.rb
--- old/test/test_rake_task_with_arguments.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_task_with_arguments.rb 2014-12-03 08:34:56.000000000 +0100
@@ -12,6 +12,7 @@
def teardown
Rake::TaskManager.record_task_metadata = false
+ Rake.application.thread_pool.join
super
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_test_task.rb new/test/test_rake_test_task.rb
--- old/test/test_rake_test_task.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_test_task.rb 2014-12-03 08:34:56.000000000 +0100
@@ -97,17 +97,22 @@
end
def test_run_code_rake_default_gem
+ skip 'this ruby does not have default gems' unless
+ Gem::Specification.method_defined? :default_specifications_dir
+
default_spec = Gem::Specification.new 'rake', 0
default_spec.loaded_from = File.join Gem::Specification.default_specifications_dir, 'rake-0.gemspec'
- rake, Gem.loaded_specs['rake'] = Gem.loaded_specs['rake'], default_spec
+ begin
+ rake, Gem.loaded_specs['rake'] = Gem.loaded_specs['rake'], default_spec
- test_task = Rake::TestTask.new do |t|
- t.loader = :rake
- end
+ test_task = Rake::TestTask.new do |t|
+ t.loader = :rake
+ end
- assert_match(/\A ".*?"\Z/, test_task.run_code)
- ensure
- Gem.loaded_specs['rake'] = rake
+ assert_match(/\A(-I".*?" *)* ".*?"\Z/, test_task.run_code)
+ ensure
+ Gem.loaded_specs['rake'] = rake
+ end
end
def test_run_code_testrb_ruby_1_8_2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_rake_thread_pool.rb new/test/test_rake_thread_pool.rb
--- old/test/test_rake_thread_pool.rb 2014-05-16 06:15:57.000000000 +0200
+++ new/test/test_rake_thread_pool.rb 2014-12-03 08:34:56.000000000 +0100
@@ -1,6 +1,5 @@
require File.expand_path('../helper', __FILE__)
require 'rake/thread_pool'
-require 'test/unit/assertions'
class TestRakeTestThreadPool < Rake::TestCase
include Rake
@@ -33,6 +32,8 @@
refute_equal threads[0], threads[1]
refute_equal Thread.current, threads[0]
refute_equal Thread.current, threads[1]
+ ensure
+ pool.join
end
def test_pool_creates_the_correct_number_of_threads
@@ -95,6 +96,8 @@
assert_raises(CustomError) do
pool.future(2, &deep_exception_block).value
end
+ ensure
+ pool.join
end
def test_pool_prevents_deadlock
1
0
Hello community,
here is the log from the commit of package rubygem-rack-test-0_6 for openSUSE:Factory checked in at 2015-02-05 11:00:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rack-test-0_6 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rack-test-0_6.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rack-test-0_6"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rack-test-0_6/rubygem-rack-test-0_6.changes 2014-10-24 10:48:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rack-test-0_6.new/rubygem-rack-test-0_6.changes 2015-02-05 11:01:07.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 4 12:36:31 UTC 2015 - hvogel(a)suse.com
+
+- updated to version 0.6.3
+ * Expose an env helper for persistently configuring the env as needed
+ * Expose the tempfile of UploadedFile (Sytse Sijbrandij #67)
+ * Improve support for arrays of hashes in multipart forms (Murray Steele #69)
+ * Improve test for query strings (Paul Grayson #66)
+
+-------------------------------------------------------------------
Old:
----
rack-test-0.6.2.gem
New:
----
rack-test-0.6.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rack-test-0_6.spec ++++++
--- /var/tmp/diff_new_pack.wRu84U/_old 2015-02-05 11:01:08.000000000 +0100
+++ /var/tmp/diff_new_pack.wRu84U/_new 2015-02-05 11:01:08.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rack-test-0_6
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products 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-rack-test-0_6
-Version: 0.6.2
+Version: 0.6.3
Release: 0
%define mod_name rack-test
%define mod_full_name %{mod_name}-%{version}
++++++ rack-test-0.6.2.gem -> rack-test-0.6.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 1970-01-01 01:00:00.000000000 +0100
+++ new/Gemfile 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,8 @@
-source :rubygems
+source 'https://rubygems.org'
gem 'rspec'
gem "rack"
gem "sinatra"
gem 'rake'
+
+gem "codeclimate-test-reporter", group: :test, require: nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile.lock new/Gemfile.lock
--- old/Gemfile.lock 1970-01-01 01:00:00.000000000 +0100
+++ new/Gemfile.lock 1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +1,40 @@
GEM
- remote: http://rubygems.org/
+ remote: https://rubygems.org/
specs:
- diff-lcs (1.1.3)
- rack (1.4.0)
- rack-protection (1.2.0)
+ codeclimate-test-reporter (0.3.0)
+ simplecov (>= 0.7.1, < 1.0.0)
+ diff-lcs (1.2.3)
+ docile (1.1.3)
+ multi_json (1.9.0)
+ rack (1.5.2)
+ rack-protection (1.5.0)
rack
- rake (0.9.2)
- rspec (2.8.0)
- rspec-core (~> 2.8.0)
- rspec-expectations (~> 2.8.0)
- rspec-mocks (~> 2.8.0)
- rspec-core (2.8.0)
- rspec-expectations (2.8.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.8.0)
- sinatra (1.3.2)
- rack (~> 1.3, >= 1.3.6)
- rack-protection (~> 1.2)
- tilt (~> 1.3, >= 1.3.3)
- tilt (1.3.3)
+ rake (10.0.4)
+ rspec (2.13.0)
+ rspec-core (~> 2.13.0)
+ rspec-expectations (~> 2.13.0)
+ rspec-mocks (~> 2.13.0)
+ rspec-core (2.13.1)
+ rspec-expectations (2.13.0)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.13.1)
+ simplecov (0.8.2)
+ docile (~> 1.1.0)
+ multi_json
+ simplecov-html (~> 0.8.0)
+ simplecov-html (0.8.0)
+ sinatra (1.4.2)
+ rack (~> 1.5, >= 1.5.2)
+ rack-protection (~> 1.4)
+ tilt (~> 1.3, >= 1.3.4)
+ tilt (1.3.7)
PLATFORMS
java
ruby
DEPENDENCIES
+ codeclimate-test-reporter
rack
rake
rspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/History.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +1,16 @@
+== 0.6.3 / 2015-01-09
+
+* Minor enhancements
+
+ * Expose an env helper for persistently configuring the env as needed
+ (Darío Javier Cravero #80)
+ * Expose the tempfile of UploadedFile (Sytse Sijbrandij #67)
+
+* Bug fixes
+
+ * Improve support for arrays of hashes in multipart forms (Murray Steele #69)
+ * Improve test for query strings (Paul Grayson #66)
+
== 0.6.2 / 2012-09-27
* Minor enhancements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 1970-01-01 01:00:00.000000000 +0100
+++ new/README.rdoc 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +1,4 @@
-= Rack::Test {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/brynary/rack-test]
+= Rack::Test {<img src="https://codeclimate.com/github/brynary/rack-test.png" />}[https://codeclimate.com/github/brynary/rack-test] {<img src="https://codeclimate.com/github/brynary/rack-test/coverage.png" />}[https://codeclimate.com/github/brynary/rack-test]
- Code: http://github.com/brynary/rack-test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/test/methods.rb new/lib/rack/test/methods.rb
--- old/lib/rack/test/methods.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rack/test/methods.rb 1970-01-01 01:00:00.000000000 +0100
@@ -67,6 +67,7 @@
:head,
:follow_redirect!,
:header,
+ :env,
:set_cookie,
:clear_cookies,
:authorize,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/test/uploaded_file.rb new/lib/rack/test/uploaded_file.rb
--- old/lib/rack/test/uploaded_file.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rack/test/uploaded_file.rb 1970-01-01 01:00:00.000000000 +0100
@@ -14,6 +14,9 @@
# The filename, *not* including the path, of the "uploaded" file
attr_reader :original_filename
+ # The tempfile
+ attr_reader :tempfile
+
# The content type of the "uploaded" file
attr_accessor :content_type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/test/utils.rb new/lib/rack/test/utils.rb
--- old/lib/rack/test/utils.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rack/test/utils.rb 1970-01-01 01:00:00.000000000 +0100
@@ -57,9 +57,12 @@
value.map do |v|
if (v.is_a?(Hash))
+ nested_params = {}
build_multipart(v, false).each { |subkey, subvalue|
- flattened_params["#{k}[]#{subkey}"] = subvalue
+ nested_params[subkey] = subvalue
}
+ flattened_params["#{k}[]"] ||= []
+ flattened_params["#{k}[]"] << nested_params
else
flattened_params["#{k}[]"] = value
end
@@ -85,21 +88,32 @@
private
def build_parts(parameters)
- parameters.map { |name, value|
- if value.respond_to?(:original_filename)
- build_file_part(name, value)
-
- elsif value.is_a?(Array) and value.all? { |v| v.respond_to?(:original_filename) }
- value.map do |v|
- build_file_part(name, v)
- end.join
+ get_parts(parameters).join + "--#{MULTIPART_BOUNDARY}--\r"
+ end
+ def get_parts(parameters)
+ parameters.map { |name, value|
+ if name =~ /\[\]\Z/ && value.is_a?(Array) && value.all? {|v| v.is_a?(Hash)}
+ value.map { |hash|
+ new_value = {}
+ hash.each { |k, v| new_value[name+k] = v }
+ get_parts(new_value).join
+ }.join
else
- primitive_part = build_primitive_part(name, value)
- Rack::Test.encoding_aware_strings? ? primitive_part.force_encoding('BINARY') : primitive_part
- end
+ if value.respond_to?(:original_filename)
+ build_file_part(name, value)
- }.join + "--#{MULTIPART_BOUNDARY}--\r"
+ elsif value.is_a?(Array) and value.all? { |v| v.respond_to?(:original_filename) }
+ value.map do |v|
+ build_file_part(name, v)
+ end.join
+
+ else
+ primitive_part = build_primitive_part(name, value)
+ Rack::Test.encoding_aware_strings? ? primitive_part.force_encoding('BINARY') : primitive_part
+ end
+ end
+ }
end
def build_primitive_part(parameter_name, value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/test.rb new/lib/rack/test.rb
--- old/lib/rack/test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/rack/test.rb 1970-01-01 01:00:00.000000000 +0100
@@ -9,7 +9,7 @@
module Rack
module Test
- VERSION = "0.6.2"
+ VERSION = "0.6.3"
DEFAULT_HOST = "example.org"
MULTIPART_BOUNDARY = "----------XnJLe9ZIbbGUYtzPQJ16u1"
@@ -35,6 +35,7 @@
# (See README.rdoc for an example)
def initialize(mock_session)
@headers = {}
+ @env = {}
if mock_session.is_a?(MockSession)
@rack_mock_session = mock_session
@@ -139,6 +140,19 @@
end
end
+ # Set an env var to be included on all subsequent requests through the
+ # session. Use a value of nil to remove a previously configured env.
+ #
+ # Example:
+ # env "rack.session", {:csrf => 'token'}
+ def env(name, value)
+ if value.nil?
+ @env.delete(name)
+ else
+ @env[name] = value
+ end
+ end
+
# Set the username and password for HTTP Basic authorization, to be
# included in subsequent requests in the HTTP_AUTHORIZATION header.
#
@@ -271,7 +285,7 @@
end
def default_env
- { "rack.test" => true, "REMOTE_ADDR" => "127.0.0.1" }.merge(headers_for_env)
+ { "rack.test" => true, "REMOTE_ADDR" => "127.0.0.1" }.merge((a)env).merge(headers_for_env)
end
def headers_for_env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 1970-01-01 01:00:00.000000000 +0100
+++ new/metadata 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rack-test
version: !ruby/object:Gem::Version
- version: 0.6.2
+ version: 0.6.3
prerelease:
platform: ruby
authors:
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2012-09-27 00:00:00.000000000 Z
+date: 2015-01-09 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack
@@ -92,7 +92,7 @@
version: '0'
requirements: []
rubyforge_project: rack-test
-rubygems_version: 1.8.23
+rubygems_version: 1.8.23.2
signing_key:
specification_version: 3
summary: Simple testing API built on Rack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rack-test.gemspec new/rack-test.gemspec
--- old/rack-test.gemspec 1970-01-01 01:00:00.000000000 +0100
+++ new/rack-test.gemspec 1970-01-01 01:00:00.000000000 +0100
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = "rack-test"
- s.version = "0.6.2"
+ s.version = "0.6.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Bryan Helmkamp"]
- s.date = "2012-09-27"
+ s.date = "2015-01-09"
s.description = "Rack::Test is a small, simple testing API for Rack apps. It can be used on its\nown or as a reusable starting point for Web frameworks and testing libraries\nto build on. Most of its initial functionality is an extraction of Merb 1.0's\nrequest helpers feature."
s.email = "bryan(a)brynary.com"
s.extra_rdoc_files = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rack/test/uploaded_file_spec.rb new/spec/rack/test/uploaded_file_spec.rb
--- old/spec/rack/test/uploaded_file_spec.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/spec/rack/test/uploaded_file_spec.rb 1970-01-01 01:00:00.000000000 +0100
@@ -17,6 +17,8 @@
uploaded_file.should respond_to(:size)
uploaded_file.should respond_to(:unlink)
uploaded_file.should respond_to(:read)
+ uploaded_file.should respond_to(:original_filename)
+ uploaded_file.should respond_to(:tempfile) # Allows calls to params[:file].tempfile
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rack/test/utils_spec.rb new/spec/rack/test/utils_spec.rb
--- old/spec/rack/test/utils_spec.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/spec/rack/test/utils_spec.rb 1970-01-01 01:00:00.000000000 +0100
@@ -104,6 +104,77 @@
check params["foo"].should == ["1", "2"]
end
+ it "builds nested multipart bodies with an array of hashes" do
+ files = Rack::Test::UploadedFile.new(multipart_file("foo.txt"))
+ data = build_multipart("files" => files, "foo" => [{"id" => "1", "name" => 'Dave'}, {"id" => "2", "name" => 'Steve'}])
+
+ options = {
+ "CONTENT_TYPE" => "multipart/form-data; boundary=#{Rack::Test::MULTIPART_BOUNDARY}",
+ "CONTENT_LENGTH" => data.length.to_s,
+ :input => StringIO.new(data)
+ }
+ env = Rack::MockRequest.env_for("/", options)
+ params = Rack::Utils::Multipart.parse_multipart(env)
+ check params["files"][:filename].should == "foo.txt"
+ params["files"][:tempfile].read.should == "bar\n"
+ check params["foo"].should == [{"id" => "1", "name" => "Dave"}, {"id" => "2", "name" => "Steve"}]
+ end
+
+ it "builds nested multipart bodies with arbitrarily nested array of hashes" do
+ files = Rack::Test::UploadedFile.new(multipart_file("foo.txt"))
+ data = build_multipart("files" => files, "foo" => {"bar" => [{"id" => "1", "name" => 'Dave'},
+ {"id" => "2", "name" => 'Steve', "qux" => [{"id" => '3', "name" => 'mike'},
+ {"id" => '4', "name" => 'Joan'}]}]})
+
+ options = {
+ "CONTENT_TYPE" => "multipart/form-data; boundary=#{Rack::Test::MULTIPART_BOUNDARY}",
+ "CONTENT_LENGTH" => data.length.to_s,
+ :input => StringIO.new(data)
+ }
+ env = Rack::MockRequest.env_for("/", options)
+ params = Rack::Utils::Multipart.parse_multipart(env)
+ check params["files"][:filename].should == "foo.txt"
+ params["files"][:tempfile].read.should == "bar\n"
+ check params["foo"].should == {"bar" => [{"id" => "1", "name" => "Dave"},
+ {"id" => "2", "name" => "Steve", "qux" => [{"id" => '3', "name" => 'mike'},
+ {"id" => '4', "name" => 'Joan'}]}]}
+ end
+
+ it 'does not break with params that look nested, but are not' do
+ files = Rack::Test::UploadedFile.new(multipart_file("foo.txt"))
+ data = build_multipart("foo[]" => "1", "bar[]" => {"qux" => "2"}, "files[]" => files)
+
+ options = {
+ "CONTENT_TYPE" => "multipart/form-data; boundary=#{Rack::Test::MULTIPART_BOUNDARY}",
+ "CONTENT_LENGTH" => data.length.to_s,
+ :input => StringIO.new(data)
+ }
+ env = Rack::MockRequest.env_for("/", options)
+ params = Rack::Utils::Multipart.parse_multipart(env)
+ check params["files"][0][:filename].should == "foo.txt"
+ params["files"][0][:tempfile].read.should == "bar\n"
+ check params["foo"][0].should == "1"
+ check params["bar"][0].should == {"qux" => "2"}
+ end
+
+ it 'allows for nested files' do
+ files = Rack::Test::UploadedFile.new(multipart_file("foo.txt"))
+ data = build_multipart("foo" => [{"id" => "1", "data" => files},
+ {"id" => "2", "data" => ["3", "4"]}])
+
+ options = {
+ "CONTENT_TYPE" => "multipart/form-data; boundary=#{Rack::Test::MULTIPART_BOUNDARY}",
+ "CONTENT_LENGTH" => data.length.to_s,
+ :input => StringIO.new(data)
+ }
+ env = Rack::MockRequest.env_for("/", options)
+ params = Rack::Utils::Multipart.parse_multipart(env)
+ check params["foo"][0]["id"].should == "1"
+ check params["foo"][0]["data"][:filename].should == "foo.txt"
+ params["foo"][0]["data"][:tempfile].read.should == "bar\n"
+ check params["foo"][1].should == {"id" => "2", "data" => ["3", "4"]}
+ end
+
it "returns nil if no UploadedFiles were used" do
data = build_multipart("people" => [{"submit-name" => "Larry", "files" => "contents"}])
data.should be_nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rack/test_spec.rb new/spec/rack/test_spec.rb
--- old/spec/rack/test_spec.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/spec/rack/test_spec.rb 1970-01-01 01:00:00.000000000 +0100
@@ -123,8 +123,8 @@
end
it "does not rewrite a GET query string when :params is not supplied" do
- request "/foo?a=1&b=2&c=3&e=4&d=5"
- last_request.query_string.should == "a=1&b=2&c=3&e=4&d=5"
+ request "/foo?a=1&b=2&c=3&e=4&d=5+%20"
+ last_request.query_string.should == "a=1&b=2&c=3&e=4&d=5+%20"
end
it "accepts params and builds url encoded params for POST requests" do
@@ -289,6 +289,46 @@
end
end
+ describe "#env" do
+ it "sets the env to be sent with requests" do
+ env "rack.session", {:csrf => 'token'}
+ request "/"
+
+ last_request.env["rack.session"].should == {:csrf => 'token'}
+ end
+
+ it "persists across multiple requests" do
+ env "rack.session", {:csrf => 'token'}
+ request "/"
+ request "/"
+
+ last_request.env["rack.session"].should == {:csrf => 'token'}
+ end
+
+ it "overwrites previously set envs" do
+ env "rack.session", {:csrf => 'token'}
+ env "rack.session", {:some => :thing}
+ request "/"
+
+ last_request.env["rack.session"].should == {:some => :thing}
+ end
+
+ it "can be used to clear a env" do
+ env "rack.session", {:csrf => 'token'}
+ env "rack.session", nil
+ request "/"
+
+ last_request.env.should_not have_key("X_CSRF_TOKEN")
+ end
+
+ it "is overridden by envs sent during the request" do
+ env "rack.session", {:csrf => 'token'}
+ request "/", "rack.session" => {:some => :thing}
+
+ last_request.env["rack.session"].should == {:some => :thing}
+ end
+ end
+
describe "#authorize" do
it "sets the HTTP_AUTHORIZATION header" do
authorize "bryan", "secret"
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 1970-01-01 01:00:00.000000000 +0100
+++ new/spec/spec_helper.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,9 @@
require "rubygems"
require "bundler/setup"
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start
+
require "rack"
require "rspec"
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package weechat for openSUSE:Factory checked in at 2015-02-05 11:00:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/weechat (Old)
and /work/SRC/openSUSE:Factory/.weechat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "weechat"
Changes:
--------
--- /work/SRC/openSUSE:Factory/weechat/weechat.changes 2015-01-14 11:44:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.weechat.new/weechat.changes 2015-02-05 11:01:05.000000000 +0100
@@ -1,0 +2,11 @@
+Wed Jan 28 12:27:48 UTC 2015 - tchvatal(a)suse.com
+
+- Recommend lang package and perl/python scripting support as
+ bare iron weechat is bit boring
+
+-------------------------------------------------------------------
+Wed Jan 28 10:42:34 UTC 2015 - tchvatal(a)suse.com
+
+- Make this build on SLE12
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ weechat.spec ++++++
--- /var/tmp/diff_new_pack.A8uv4I/_old 2015-02-05 11:01:07.000000000 +0100
+++ /var/tmp/diff_new_pack.A8uv4I/_new 2015-02-05 11:01:07.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package weechat
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
BuildRequires: asciidoc
BuildRequires: cmake
BuildRequires: curl-devel
-BuildRequires: docbook5-xsl-stylesheets
+BuildRequires: docbook-xsl-stylesheets
BuildRequires: enchant-devel
BuildRequires: gcc-c++
BuildRequires: grep
@@ -48,12 +48,19 @@
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: ruby-devel
-BuildRequires: source-highlight
BuildRequires: tcl-devel
BuildRequires: update-desktop-files
Requires: hicolor-icon-theme
+Recommends: %{name}-lang = %{version}
+# without scripts it is bit annoying
+Recommends: %{name}-perl = %{version}
+Recommends: %{name}-python = %{version}
Suggests: %{name}-doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+# Not on SLE12
+%if 0%{?suse_version} != 1315
+BuildRequires: source-highlight
+%endif
%description
WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform
@@ -63,6 +70,8 @@
%lang_package
+# Not on SLE12
+%if 0%{?suse_version} != 1315
%package doc
Summary: Documentation for %{name}
Group: Documentation/HTML
@@ -70,6 +79,7 @@
%description doc
Various documentation files for %{name}.
+%endif
%package devel
Summary: Development Environment for %{name} Plugins
@@ -168,7 +178,10 @@
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Network IRCClient
+# Not on SLE12
+%if 0%{?suse_version} != 1315
mv "%{buildroot}%{_datadir}/doc/weechat" html
+%endif
%find_lang "%{name}" --with-man
@@ -180,9 +193,12 @@
%desktop_database_postun
%icon_theme_cache_postun
+# Not on SLE12
+%if 0%{?suse_version} != 1315
%files doc
%defattr(-,root,root)
%doc html/
+%endif
%files
%defattr(-,root,root)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gramps for openSUSE:Factory checked in at 2015-02-05 11:00:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gramps (Old)
and /work/SRC/openSUSE:Factory/.gramps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gramps"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gramps/gramps.changes 2014-08-01 14:34:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gramps.new/gramps.changes 2015-02-05 11:01:02.000000000 +0100
@@ -1,0 +2,79 @@
+Wed Feb 4 10:20:23 UTC 2015 - schubert.seb(a)gmail.com
+
+- Add gramps-4.1.1-Glib-typo.patch: fix typo, which removes wrong
+ automatic dependency; already applied upstream for 4.1.2.
+- Remove comment about osm-gps-map because it is already detected.
+
+-------------------------------------------------------------------
+Thu Jan 15 20:38:15 UTC 2015 - p.drouand(a)gmail.com
+
+- Update to version 4.1.1
+ + Fix custom place types in the place editor.
+ + Allow place type combobox to receive focus.
+ + Store custom place types in the metadata table.
+ + Fix place type for places without a main location.
+ + Fix bug adding parent places to a new place.
+ + Prevent user creating a cycle in the place hierarchy.
+ + Avoid infinite loop when place cycle encountered.
+ + Prevent creation of a place cycle when merging.
+ + Fix error when no place is selected.
+ + Check that a place has been selected when saving.
+ + Use the standard place selection widget to be consistent..
+ + Add a new Top Level place through the Place Reference Editor.
+ + Fix backlinks code in place report.
+ + Backlinks for places can now also be places as well as events.
+ + Fix check and repair tool for empty placerefs.
+ + Update location utilities to work with proxies.
+ + Place report does not run.
+ + Update place details gramplet.
+ + Locations are now displayed in a new separate gramplet.
+ + Add check for empty handle in gramplets.
+ + Check DB lock on the recent opened trees list.
+ + Sidebarfilter gramplet does not fit well into People, Events or
+ Media views.
+ + Fix new event default type considering existing events with
+ *default + role.
+ + Rebuild secondary indexes after database upgrade.
+ + Importing gedcom files containing multibyte UTF-8 characters
+ fails.
+ + Ahnentafel Report did not use Christening Date if no Birth
+ Date.
+ + [Narweb:] Missing webpage for media under some circumstances.
+ + Fix narrated web report with gendex option enabled.
+ + Tweak to "default" CSS choice for the narrated web report.
+ + Invalid link for Merge citation Help button.
+ + Fix 'todo' gramplet.
+ + Fix path when using drag & drop to add media.
+ + Limit the number of generations displayed in the ancestor
+ gramplet.
+ + Export of a subset of the tree failed.
+ + Fix issues in python3, and bytes-string mismatch with ICU.
+ + Fix url/uri handling with non-ascii characters under linux and
+ mac.
+ + Fix name format on graphical reports.
+ + Fix name format on textual reports.
+ + Better GUI support for embeded custom attributes list on media
+ object.
+ + Better keys for search under linux shells (.desktop file).
+ + 'Unknown' person in detailed ancestor report can not be
+ translated.
+ + Translations don't show in many labels.
+ + Ensure python text domain gets the right encoding.
+ + Translate some punctuation marks.
+ + Various fixes around Geography and osmgpsmap.
+ + Allow gramplets to be displayed in the dashboard only.
+ + Update FSF address.
+ + Add Arabic-script, Islamic-date, Thai script, Married Name and
+ more dates examples.
+ + Fix on czech date handler for calculated and estimated dates.
+ + Enhance Serbian date handler to handle Cyrillic dates.
+ + Simplify Canadian Ash Wednesday holiday.
+ + Re-enable Esperanto support (for non-Windows OS only) after a
+ large review.
+ + Updated translations.
+- Remove python-gtk-devel Requires: no longer needed after the
+ project moved to python-gobject.
+- Add hicolor-icon-theme BuildRequires: do not own standard
+ hicolor directories.
+
+-------------------------------------------------------------------
Old:
----
gramps-4.0.4.tar.gz
New:
----
gramps-4.1.1-Glib-typo.patch
gramps-4.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gramps.spec ++++++
--- /var/tmp/diff_new_pack.gih2ID/_old 2015-02-05 11:01:05.000000000 +0100
+++ /var/tmp/diff_new_pack.gih2ID/_new 2015-02-05 11:01:05.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gramps
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
@@ -20,9 +20,9 @@
%global __requires_exclude typelib\\(GtkosxApplication\\)|typelib\\(Gtkspell\\)
Name: gramps
-Version: 4.0.4
+Version: 4.1.1
Release: 0
-# FIXME: missing recommends because of missing packages: python-exiv2, osm-gps-map
+# FIXME: missing recommends because of missing packages: python-exiv2
Summary: Genealogical Research Software
License: GPL-2.0+
Group: Productivity/Other
@@ -30,15 +30,16 @@
Source: http://downloads.sourceforge.net/project/gramps/Stable/%{version}/%{name}-%…
# PATCH-FIX-UPSTREAM gramps-webkit3.0.patch dimstar(a)opensuse.org -- Specify that we need WebKit 3.0
Patch0: gramps-webkit3.0.patch
+# PATCH-FIX-UPSTREAM gramps-4.1.1-Glib-typo.patch #8169 romjerome(a)yahoo.fr -- Fix typo; removes wrong automatic dependency; already applied upstream for 4.1.2
+Patch1: gramps-4.1.1-Glib-typo.patch
BuildRequires: fdupes
BuildRequires: intltool
# Needed for typelib() - Requires.
BuildRequires: gobject-introspection
-BuildRequires: python-gtk-devel
+BuildRequires: hicolor-icon-theme
# We need the %%mime_database_* macros
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
-Requires: python-gtk
Requires: xdg-utils
Recommends: %{name}-lang
Recommends: graphviz
@@ -58,6 +59,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
python setup.py build
++++++ gramps-4.1.1-Glib-typo.patch ++++++
>From 20917e4b09998331c66e97186a0d09f8f95c6392 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= <romjerome(a)yahoo.fr>
Date: Fri, 2 Jan 2015 12:10:18 +0100
Subject: [PATCH] 8169 8267 typo: Glib should be GLib ...
---
gramps/gen/plug/_gramplet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gramps/gen/plug/_gramplet.py b/gramps/gen/plug/_gramplet.py
index d320db4..a13edfb 100644
--- a/gramps/gen/plug/_gramplet.py
+++ b/gramps/gen/plug/_gramplet.py
@@ -359,7 +359,7 @@ class Gramplet(object):
"""
Resume the :meth:`main` method that has previously paused.
"""
- from gi.repository import GObject, Glib
+ from gi.repository import GObject, GLib
self._pause = False
self._idle_id = GLib.idle_add(self._updater,
priority=GObject.PRIORITY_LOW - 10)
--
2.1.4
++++++ gramps-4.0.4.tar.gz -> gramps-4.1.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/gramps/gramps-4.0.4.tar.gz /work/SRC/openSUSE:Factory/.gramps.new/gramps-4.1.1.tar.gz differ: char 5, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package california for openSUSE:Factory checked in at 2015-02-05 11:00:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/california (Old)
and /work/SRC/openSUSE:Factory/.california.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "california"
Changes:
--------
--- /work/SRC/openSUSE:Factory/california/california.changes 2014-12-10 23:44:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.california.new/california.changes 2015-02-05 11:00:56.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 4 11:34:02 UTC 2015 - zaitor(a)opensuse.org
+
+- Update to version 0.3.1:
+ + Honor event's timezone when editing RRULEs (bgo#741624).
+ + Prevent black background when using Unity (bgo#742310).
+ + Assorted bug fixes.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
california-0.3.0.tar.xz
New:
----
california-0.3.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ california.spec ++++++
--- /var/tmp/diff_new_pack.lhm38Y/_old 2015-02-05 11:00:59.000000000 +0100
+++ /var/tmp/diff_new_pack.lhm38Y/_new 2015-02-05 11:00:59.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package california
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
Name: california
-Version: 0.3.0
+Version: 0.3.1
Release: 0
Summary: Calendar for GNOME 3
License: LGPL-2.1+
@@ -27,8 +27,8 @@
BuildRequires: desktop-file-utils
BuildRequires: intltool >= 0.35.0
BuildRequires: vala >= 0.24.0
-BuildRequires: yelp-tools
BuildRequires: xdg-utils
+BuildRequires: yelp-tools
BuildRequires: pkgconfig(gee-0.8) >= 0.10.5
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
BuildRequires: pkgconfig(goa-1.0) >= 3.8.3
++++++ california-0.3.0.tar.xz -> california-0.3.1.tar.xz ++++++
++++ 32397 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-psutil for openSUSE:Factory checked in at 2015-02-05 11:00:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-psutil (Old)
and /work/SRC/openSUSE:Factory/.python-psutil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-psutil"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-psutil/python-psutil.changes 2015-01-08 23:02:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-psutil.new/python-psutil.changes 2015-02-05 11:00:54.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 2 22:16:07 UTC 2015 - michael(a)stroeder.com
+
+- Update to 2.2.1:
+ - Fixed #572
+ ValueError: ambiguos inode with multiple PIDs references
+
+-------------------------------------------------------------------
Old:
----
psutil-2.2.0.tar.gz
New:
----
psutil-2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-psutil.spec ++++++
--- /var/tmp/diff_new_pack.roxd2H/_old 2015-02-05 11:00:55.000000000 +0100
+++ /var/tmp/diff_new_pack.roxd2H/_new 2015-02-05 11:00:55.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-psutil
-Version: 2.2.0
+Version: 2.2.1
Release: 0
Summary: A process utilities module for Python
License: BSD-3-Clause
++++++ psutil-2.2.0.tar.gz -> psutil-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/CREDITS new/psutil-2.2.1/CREDITS
--- old/psutil-2.2.0/CREDITS 2015-01-03 15:01:37.000000000 +0100
+++ new/psutil-2.2.1/CREDITS 2015-02-02 14:01:33.000000000 +0100
@@ -276,3 +276,7 @@
N: karthikrev
I: 568
+
+N: Bruno Binet
+E: bruno.binet(a)gmail.com
+I: 572
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/HISTORY.rst new/psutil-2.2.1/HISTORY.rst
--- old/psutil-2.2.0/HISTORY.rst 2015-01-06 16:30:48.000000000 +0100
+++ new/psutil-2.2.1/HISTORY.rst 2015-02-02 14:01:12.000000000 +0100
@@ -1,5 +1,14 @@
Bug tracker at https://github.com/giampaolo/psutil/issues
+2.2.1 - 2015-02-02
+==================
+
+**Bug fixes**
+
+- #496: [Linux] fix "ValueError: ambiguos inode with multiple PIDs references"
+ (patch by Bruno Binet)
+
+
2.2.0 - 2015-01-06
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/PKG-INFO new/psutil-2.2.1/PKG-INFO
--- old/psutil-2.2.0/PKG-INFO 2015-01-06 16:38:32.000000000 +0100
+++ new/psutil-2.2.1/PKG-INFO 2015-02-02 14:09:59.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: psutil
-Version: 2.2.0
+Version: 2.2.1
Summary: psutil is a cross-platform library for retrieving information onrunning processes and system utilization (CPU, memory, disks, network)in Python.
Home-page: https://github.com/giampaolo/psutil
Author: Giampaolo Rodola
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/psutil/__init__.py new/psutil-2.2.1/psutil/__init__.py
--- old/psutil-2.2.0/psutil/__init__.py 2015-01-03 15:16:25.000000000 +0100
+++ new/psutil-2.2.1/psutil/__init__.py 2015-01-20 15:56:42.000000000 +0100
@@ -13,7 +13,7 @@
from __future__ import division
__author__ = "Giampaolo Rodola'"
-__version__ = "2.2.0"
+__version__ = "2.2.1"
version_info = tuple([int(num) for num in __version__.split('.')])
__all__ = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/psutil/_pslinux.py new/psutil-2.2.1/psutil/_pslinux.py
--- old/psutil-2.2.0/psutil/_pslinux.py 2015-01-03 14:43:59.000000000 +0100
+++ new/psutil-2.2.1/psutil/_pslinux.py 2015-02-02 14:00:19.000000000 +0100
@@ -446,12 +446,12 @@
_, laddr, raddr, status, _, _, _, _, _, inode = \
line.split()[:10]
if inode in inodes:
- # We assume inet sockets are unique, so we error
- # out if there are multiple references to the
- # same inode. We won't do this for UNIX sockets.
- if len(inodes[inode]) > 1 and family != socket.AF_UNIX:
- raise ValueError("ambiguos inode with multiple "
- "PIDs references")
+ # # We assume inet sockets are unique, so we error
+ # # out if there are multiple references to the
+ # # same inode. We won't do this for UNIX sockets.
+ # if len(inodes[inode]) > 1 and family != socket.AF_UNIX:
+ # raise ValueError("ambiguos inode with multiple "
+ # "PIDs references")
pid, fd = inodes[inode][0]
else:
pid, fd = None, -1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/psutil.egg-info/PKG-INFO new/psutil-2.2.1/psutil.egg-info/PKG-INFO
--- old/psutil-2.2.0/psutil.egg-info/PKG-INFO 2015-01-06 16:38:32.000000000 +0100
+++ new/psutil-2.2.1/psutil.egg-info/PKG-INFO 2015-02-02 14:09:58.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: psutil
-Version: 2.2.0
+Version: 2.2.1
Summary: psutil is a cross-platform library for retrieving information onrunning processes and system utilization (CPU, memory, disks, network)in Python.
Home-page: https://github.com/giampaolo/psutil
Author: Giampaolo Rodola
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/psutil-2.2.0/test/test_psutil.py new/psutil-2.2.1/test/test_psutil.py
--- old/psutil-2.2.0/test/test_psutil.py 2015-01-05 19:51:17.000000000 +0100
+++ new/psutil-2.2.1/test/test_psutil.py 2015-01-20 15:56:42.000000000 +0100
@@ -2341,6 +2341,7 @@
self.assertTrue(ret >= 0)
def connections(self, ret):
+ self.assertEqual(len(ret), len(set(ret)))
for conn in ret:
check_connection(conn)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-Babel for openSUSE:Factory checked in at 2015-02-05 11:00:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
and /work/SRC/openSUSE:Factory/.python3-Babel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-Babel"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes 2014-11-18 22:45:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 2015-02-05 11:00:52.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Jan 29 00:43:53 UTC 2015 - arun(a)gmx.de
+
+- Add fix-timezone-test.patch: already included upstream
+
+- specfile:
+ * updated copyright year
+ * added patch
+
+-------------------------------------------------------------------
New:
----
fix-timezone-test.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-Babel.spec ++++++
--- /var/tmp/diff_new_pack.yVB7NU/_old 2015-02-05 11:00:53.000000000 +0100
+++ /var/tmp/diff_new_pack.yVB7NU/_new 2015-02-05 11:00:53.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-Babel
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products 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,6 +24,8 @@
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE fix-timezone-test.patch (taken from upstream)
+Patch0: fix-timezone-test.patch
BuildRequires: fdupes
BuildRequires: python3-devel >= 3.3
BuildRequires: python3-setuptools
@@ -43,6 +45,7 @@
%prep
%setup -q -n Babel-%{version}
+%patch0 -p0
sed -i "s/pybabel =/pybabel-%{py3_ver} =/" setup.py
%build
++++++ fix-timezone-test.patch ++++++
--- babel/dates.py.old 2015-01-28 16:54:06.306129842 -0800
+++ babel/dates.py 2015-01-28 16:54:44.574118917 -0800
@@ -308,7 +308,9 @@
datetime = datetime.replace(tzinfo=UTC)
locale = Locale.parse(locale)
- offset = datetime.tzinfo.utcoffset(datetime)
+ # fix for mitsuhiko/babel#133 : Any time will do since we just want the
+ # offset
+ offset = datetime.tzinfo.utcoffset(datetime_.utcnow())
seconds = offset.days * 24 * 60 * 60 + offset.seconds
hours, seconds = divmod(seconds, 3600)
if width == 'short':
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package ghc for openSUSE:Factory checked in at 2015-02-05 11:00:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc (Old)
and /work/SRC/openSUSE:Factory/.ghc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2015-01-29 09:58:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes 2015-02-05 11:00:50.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Feb 3 13:35:25 UTC 2015 - mimi.vx(a)gmail.com
+
+- add constraints file
+
+-------------------------------------------------------------------
+Tue Feb 3 12:05:21 UTC 2015 - mimi.vx(a)gmail.com
+
+- remove dblatex dependency
+
+-------------------------------------------------------------------
New:
----
_constraints
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc.spec ++++++
--- /var/tmp/diff_new_pack.lluy1l/_old 2015-02-05 11:00:51.000000000 +0100
+++ /var/tmp/diff_new_pack.lluy1l/_new 2015-02-05 11:00:51.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -39,9 +39,6 @@
BuildRequires: pkg-config
BuildRequires: xz
%if %{undefined without_manual}
-%if 0%{suse_version} >= 1220
-BuildRequires: dblatex
-%endif
BuildRequires: docbook-utils
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
@@ -418,10 +415,6 @@
%if %{undefined without_manual}
%{ghcdocbasedir}/haddock
%{ghcdocbasedir}/users_guide
-%if 0%{suse_version} >= 1220
-%{_datadir}/doc/ghc/haddock*
-%{_datadir}/doc/ghc/users_guide*
-%endif
%endif
%{ghcdocbasedir}/libraries/frames.html
%{ghcdocbasedir}/libraries/gen_contents_index
++++++ _constraints ++++++
<constraints>
<hardware>
<disk>
<size unit="G">8</size>
</disk>
</hardware>
</constraints>
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gwenhywfar for openSUSE:Factory checked in at 2015-02-05 11:00:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gwenhywfar (Old)
and /work/SRC/openSUSE:Factory/.gwenhywfar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gwenhywfar"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gwenhywfar/gwenhywfar.changes 2015-01-03 22:01:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gwenhywfar.new/gwenhywfar.changes 2015-02-05 11:00:47.000000000 +0100
@@ -1,0 +2,11 @@
+Fri Jan 30 13:28:41 UTC 2015 - zaitor(a)opensuse.org
+
+- Update to version 4.13.1:
+ + Add function declaration that was missing in header, as
+ discovered by the additional compiler option.
+ + Turn compiler warning for implicit function declaration into
+ error.
+ + Fix function name for systems without <langinfo.h> but with
+ <localcharset.h>.
+
+-------------------------------------------------------------------
Old:
----
gwenhywfar-4.13.0.tar.gz
New:
----
gwenhywfar-4.13.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gwenhywfar.spec ++++++
--- /var/tmp/diff_new_pack.Uvidn7/_old 2015-02-05 11:00:48.000000000 +0100
+++ /var/tmp/diff_new_pack.Uvidn7/_new 2015-02-05 11:00:48.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gwenhywfar
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -19,7 +19,7 @@
%define libversion 60
%define devversion 4.13
Name: gwenhywfar
-Version: 4.13.0
+Version: 4.13.1
Release: 0
Summary: Multiplatform helper library for other libraries
License: GPL-2.0+ and LGPL-2.1+
++++++ gwenhywfar-4.13.0.tar.gz -> gwenhywfar-4.13.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/ChangeLog new/gwenhywfar-4.13.1/ChangeLog
--- old/gwenhywfar-4.13.0/ChangeLog 2014-12-31 14:37:12.000000000 +0100
+++ new/gwenhywfar-4.13.1/ChangeLog 2015-01-03 23:47:33.000000000 +0100
@@ -1,4 +1,26 @@
------------------------------------------------------------------
+2015-01-03 23:47:21 +0100 Martin Preuss
+Prepared release 4.13.1
+
+------------------------------------------------------------------
+2015-01-03 21:46:19 +0100 Christian Stimming
+Add function declaration that was missing in header, as discovered by the additional compiler option.
+
+------------------------------------------------------------------
+2015-01-03 21:45:56 +0100 Christian Stimming
+Turn compiler warning for implicit function declaration into error.
+This avoids running into the error of 769ab05bb3 again.
+
+------------------------------------------------------------------
+2015-01-03 21:42:31 +0100 Christian Stimming
+Fix function name for systems without <langinfo.h> but with <localcharset.h>
+This is a bugfix for 66521660959.
+
+------------------------------------------------------------------
+2015-01-02 21:31:10 +0100 Martin Preuss
+Prepared release 4.13.0
+
+------------------------------------------------------------------
2014-12-29 07:54:55 +0100 Elias Oltmanns
gui: Restore compilation without libiconv.
@@ -614,32 +636,3 @@
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2267 70169cfe-8b10-0410-8925-dcb4b91034d8
-
-------------------------------------------------------------------
-2013-11-24 00:02:08 +0000 martin
-Added explanation and changed gnutls version check.
-git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2266 70169cfe-8b10-0410-8925-dcb4b91034d8
-
-------------------------------------------------------------------
-2013-11-23 12:04:15 +0000 martin
-Fixed a typo, according to MK.
-git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2265 70169cfe-8b10-0410-8925-dcb4b91034d8
-
-------------------------------------------------------------------
-2013-11-18 20:52:34 +0000 martin
-Fix build issues with mingw with recent MinGW versions.
-Patch supplied by "geert".
-
-git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2264 70169cfe-8b10-0410-8925-dcb4b91034d8
-
-------------------------------------------------------------------
-2013-11-18 19:50:55 +0000 martin
-Tried removing unsafe ciphers.
-Applied a modification of a patch submitted by MK.
-
-git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2263 70169cfe-8b10-0410-8925-dcb4b91034d8
-
-------------------------------------------------------------------
-2013-10-28 20:16:04 +0000 martin
-Added (deactivated) code to use ca-certificates from target system.
-git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2262 70169cfe-8b10-0410-8925-dcb4b91034d8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/Makefile.in new/gwenhywfar-4.13.1/Makefile.in
--- old/gwenhywfar-4.13.0/Makefile.in 2014-12-31 14:32:30.000000000 +0100
+++ new/gwenhywfar-4.13.1/Makefile.in 2015-01-03 23:45:26.000000000 +0100
@@ -1065,8 +1065,8 @@
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-@IF_MAKE_I18N_FILES_FALSE@install-data-local:
@IF_MAKE_I18N_FILES_FALSE@uninstall-local:
+@IF_MAKE_I18N_FILES_FALSE@install-data-local:
clean: clean-recursive
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/configure new/gwenhywfar-4.13.1/configure
--- old/gwenhywfar-4.13.0/configure 2014-12-31 14:32:33.000000000 +0100
+++ new/gwenhywfar-4.13.1/configure 2015-01-03 23:45:28.000000000 +0100
@@ -2777,7 +2777,7 @@
#
GWENHYWFAR_VERSION_MAJOR=4
GWENHYWFAR_VERSION_MINOR=13
-GWENHYWFAR_VERSION_PATCHLEVEL=0
+GWENHYWFAR_VERSION_PATCHLEVEL=1
GWENHYWFAR_VERSION_BUILD=0
GWENHYWFAR_VERSION_TAG="stable"
@@ -2789,7 +2789,7 @@
#
GWENHYWFAR_SO_CURRENT="73"
GWENHYWFAR_SO_AGE="13"
-GWENHYWFAR_SO_REVISION="0"
+GWENHYWFAR_SO_REVISION="1"
GWENHYWFAR_SO_EFFECTIVE="`echo \$(($GWENHYWFAR_SO_CURRENT-$GWENHYWFAR_SO_AGE))`"
@@ -21940,9 +21940,9 @@
else
- # Default value if the argument was not given
- CXXFLAGS="${CXXFLAGS}"
- CFLAGS="${CFLAGS}"
+ # Default value if the argument was not given: At least error out on implicit function declarations.
+ CXXFLAGS="${CXXFLAGS} -Werror=implicit-function-declaration"
+ CFLAGS="${CFLAGS} -Werror=implicit-function-declaration"
fi
@@ -22118,9 +22118,9 @@
else
- # Default value if the argument was not given
- CXXFLAGS="${CXXFLAGS}"
- CFLAGS="${CFLAGS}"
+ # Default value if the argument was not given: At least error out on implicit function declarations.
+ CXXFLAGS="${CXXFLAGS} -Werror=implicit-function-declaration"
+ CFLAGS="${CFLAGS} -Werror=implicit-function-declaration"
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/configure.ac new/gwenhywfar-4.13.1/configure.ac
--- old/gwenhywfar-4.13.0/configure.ac 2014-12-31 14:32:20.000000000 +0100
+++ new/gwenhywfar-4.13.1/configure.ac 2015-01-03 23:45:19.000000000 +0100
@@ -29,7 +29,7 @@
#
GWENHYWFAR_VERSION_MAJOR=4
GWENHYWFAR_VERSION_MINOR=13
-GWENHYWFAR_VERSION_PATCHLEVEL=0
+GWENHYWFAR_VERSION_PATCHLEVEL=1
GWENHYWFAR_VERSION_BUILD=0
dnl "stable", "rcX", "betaX", "cvs"
GWENHYWFAR_VERSION_TAG="stable"
@@ -42,7 +42,7 @@
#
GWENHYWFAR_SO_CURRENT="73"
GWENHYWFAR_SO_AGE="13"
-GWENHYWFAR_SO_REVISION="0"
+GWENHYWFAR_SO_REVISION="1"
GWENHYWFAR_SO_EFFECTIVE="`echo \$(($GWENHYWFAR_SO_CURRENT-$GWENHYWFAR_SO_AGE))`"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/gwenhywfar.spec new/gwenhywfar-4.13.1/gwenhywfar.spec
--- old/gwenhywfar-4.13.0/gwenhywfar.spec 2014-12-31 14:32:41.000000000 +0100
+++ new/gwenhywfar-4.13.1/gwenhywfar.spec 2015-01-03 23:45:36.000000000 +0100
@@ -3,7 +3,7 @@
%define name gwenhywfar
-%define version 4.13.0
+%define version 4.13.1
%define rpm_cxxflags \"-O2 -march=i486 -mcpu=i586\"
%define rpm_cflags \"-O2 -march=i486 -mcpu=i586\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/m4/acx_compile_warn.m4 new/gwenhywfar-4.13.1/m4/acx_compile_warn.m4
--- old/gwenhywfar-4.13.0/m4/acx_compile_warn.m4 2014-07-23 22:28:23.000000000 +0200
+++ new/gwenhywfar-4.13.1/m4/acx_compile_warn.m4 2015-01-03 23:44:02.000000000 +0100
@@ -67,9 +67,9 @@
*) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
esac
], [
- # Default value if the argument was not given
- CXXFLAGS="${CXXFLAGS}"
- CFLAGS="${CFLAGS}"
+ # Default value if the argument was not given: At least error out on implicit function declarations.
+ CXXFLAGS="${CXXFLAGS} -Werror=implicit-function-declaration"
+ CFLAGS="${CFLAGS} -Werror=implicit-function-declaration"
])
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/src/gui/gui.c new/gwenhywfar-4.13.1/src/gui/gui.c
--- old/gwenhywfar-4.13.0/src/gui/gui.c 2014-12-31 14:29:02.000000000 +0100
+++ new/gwenhywfar-4.13.1/src/gui/gui.c 2015-01-03 23:44:02.000000000 +0100
@@ -720,7 +720,7 @@
#if defined(HAVE_LANGINFO_H)
cs=nl_langinfo(CODESET);
#elif defined(HAVE_LOCALCHARSET_H)
- cs=localecharset();
+ cs=locale_charset();
#else
/* just pass "" on to libiconv and hope for the best */
cs=s;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/src/ressource.rc new/gwenhywfar-4.13.1/src/ressource.rc
--- old/gwenhywfar-4.13.0/src/ressource.rc 2014-12-31 14:32:41.000000000 +0100
+++ new/gwenhywfar-4.13.1/src/ressource.rc 2015-01-03 23:45:36.000000000 +0100
@@ -43,8 +43,8 @@
// Version
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 4, 13, 0, 0
- PRODUCTVERSION 4, 13, 0, 0
+ FILEVERSION 4, 13, 1, 0
+ PRODUCTVERSION 4, 13, 1, 0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0x0L
FILEOS 0x40004L // Windows NT
@@ -58,14 +58,14 @@
//VALUE "Comments", "\0"
VALUE "CompanyName", " Aquamaniac\0"
VALUE "FileDescription", "Multi purpose library\0"
- VALUE "FileVersion", "v4.13.0\0"
+ VALUE "FileVersion", "v4.13.1\0"
VALUE "InternalName", "Gwenhywfar\0"
VALUE "LegalCopyright", "Copyright � 2003 by Martin Preuss\0"
VALUE "LegalTrademarks", "Aquamaniac\0"
VALUE "OriginalFilename", "GWENHYWFAR32.DLL\0"
//VALUE "PrivateBuild", "\0"
VALUE "ProductName", "Gwenhywfar\0"
- VALUE "ProductVersion", "v4.13.0stable-0\0"
+ VALUE "ProductVersion", "v4.13.1stable-0\0"
VALUE "Author", "Martin Preuss\0"
VALUE "Email", "martin(a)libchipcard.de\0"
VALUE "Homepage", "http://gwenhywfar.sf.net/\0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/src/version.h new/gwenhywfar-4.13.1/src/version.h
--- old/gwenhywfar-4.13.0/src/version.h 2014-12-31 14:32:41.000000000 +0100
+++ new/gwenhywfar-4.13.1/src/version.h 2015-01-03 23:45:36.000000000 +0100
@@ -32,11 +32,11 @@
#define GWEN_VERSION_MAJOR 4
#define GWENHYWFAR_VERSION_MAJOR 4
#define GWENHYWFAR_VERSION_MINOR 13
-#define GWENHYWFAR_VERSION_PATCHLEVEL 0
+#define GWENHYWFAR_VERSION_PATCHLEVEL 1
#define GWENHYWFAR_VERSION_BUILD 0
#define GWENHYWFAR_VERSION_TAG "stable"
-#define GWENHYWFAR_VERSION_FULL_STRING "4.13.0stable-0"
-#define GWENHYWFAR_VERSION_STRING "4.13.0"
+#define GWENHYWFAR_VERSION_FULL_STRING "4.13.1stable-0"
+#define GWENHYWFAR_VERSION_STRING "4.13.1"
#define GWENHYWFAR_SO_EFFECTIVE 60
#define GWENHYWFAR_SO_EFFECTIVE_STR "60"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.13.0/tools/typemaker2/tm_builder.h new/gwenhywfar-4.13.1/tools/typemaker2/tm_builder.h
--- old/gwenhywfar-4.13.0/tools/typemaker2/tm_builder.h 2014-07-23 22:28:23.000000000 +0200
+++ new/gwenhywfar-4.13.1/tools/typemaker2/tm_builder.h 2015-01-03 23:44:02.000000000 +0100
@@ -73,6 +73,7 @@
const char *Typemaker2_Builder_GetTypedefFileName(const TYPEMAKER2_BUILDER *tb);
void Typemaker2_Builder_SetTypedefFileName(TYPEMAKER2_BUILDER *tb, const char *s);
+void Typemaker2_Builder_SetDestFolderName(TYPEMAKER2_BUILDER *tb, const char *s);
void Typemaker2_Builder_SetBuildFn(TYPEMAKER2_BUILDER *tb, TYPEMAKER2_BUILDER_BUILD_FN fn);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libinfinity for openSUSE:Factory checked in at 2015-02-05 11:00:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libinfinity (Old)
and /work/SRC/openSUSE:Factory/.libinfinity.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libinfinity"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libinfinity/libinfinity.changes 2014-10-14 07:12:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libinfinity.new/libinfinity.changes 2015-02-05 11:00:41.000000000 +0100
@@ -1,0 +2,14 @@
+Tue Feb 3 14:39:55 UTC 2015 - dimstar(a)opensuse.org
+
+- Update to version 0.6.5:
+ + Fix memory corruption in InfTextFixlineBuffer.
+ + infinoted: Fix error message in server log when a client
+ certificate is not trusted.
+ + Fix various crashes related to sending data to already closed
+ connections.
+ + Build fix when res_query is provided by libc, not libresolv,
+ such as on FreeBSD.
+- Changes from version 0.6.4:
+ + Build fixes for Mac OS X.
+
+-------------------------------------------------------------------
Old:
----
libinfinity-0.6.3.tar.gz
New:
----
libinfinity-0.6.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libinfinity.spec ++++++
--- /var/tmp/diff_new_pack.IrVS8v/_old 2015-02-05 11:00:42.000000000 +0100
+++ /var/tmp/diff_new_pack.IrVS8v/_new 2015-02-05 11:00:42.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libinfinity
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -20,7 +20,7 @@
Summary: Implementation of the Infinote collaborative editing protocol
License: LGPL-2.1+
Group: Development/Libraries/GNOME
-Version: 0.6.3
+Version: 0.6.5
Release: 0
%define _version 0.6
Url: http://gobby.0x539.de/
++++++ libinfinity-0.6.3.tar.gz -> libinfinity-0.6.5.tar.gz ++++++
++++ 8491 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0