openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- 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
November 2018
- 1 participants
- 1606 discussions
Hello community,
here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2018-11-26 10:33:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old)
and /work/SRC/openSUSE:Factory/.rubygem-websocket.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-websocket"
Mon Nov 26 10:33:37 2018 rev:18 rq:651616 version:1.2.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2018-06-22 13:29:26.395831644 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new.19453/rubygem-websocket.changes 2018-11-26 10:35:22.944671236 +0100
@@ -1,0 +2,5 @@
+Sun Nov 25 11:13:50 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- remove duplicated 1.2.7 entry
+
+-------------------------------------------------------------------
@@ -10,6 +14,0 @@
-
--------------------------------------------------------------------
-Fri May 25 07:19:21 UTC 2018 - factory-auto(a)kulow.org
-
-- updated to version 1.2.7
- see installed CHANGELOG.md
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-websocket.spec ++++++
--- /var/tmp/diff_new_pack.ozIYiR/_old 2018-11-26 10:35:25.492668255 +0100
+++ /var/tmp/diff_new_pack.ozIYiR/_new 2018-11-26 10:35:25.492668255 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
1
0
Hello community,
here is the log from the commit of package rubygem-cri for openSUSE:Factory checked in at 2018-11-26 10:33:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-cri (Old)
and /work/SRC/openSUSE:Factory/.rubygem-cri.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-cri"
Mon Nov 26 10:33:27 2018 rev:8 rq:651614 version:2.15.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-cri/rubygem-cri.changes 2018-10-25 08:21:03.171946128 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-cri.new.19453/rubygem-cri.changes 2018-11-26 10:35:07.488689324 +0100
@@ -1,0 +2,12 @@
+Thu Nov 22 05:04:39 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 2.15.2
+ see installed NEWS.md
+
+ ## 2.15.2
+
+ Fixes:
+
+ * Fixed option propagation for two levels or more (#85, #86)
+
+-------------------------------------------------------------------
Old:
----
cri-2.15.1.gem
New:
----
cri-2.15.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-cri.spec ++++++
--- /var/tmp/diff_new_pack.AXWRyb/_old 2018-11-26 10:35:18.768676123 +0100
+++ /var/tmp/diff_new_pack.AXWRyb/_new 2018-11-26 10:35:18.768676123 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-cri
-Version: 2.15.1
+Version: 2.15.2
Release: 0
%define mod_name cri
%define mod_full_name %{mod_name}-%{version}
++++++ cri-2.15.1.gem -> cri-2.15.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile.lock new/Gemfile.lock
--- old/Gemfile.lock 2018-08-31 20:52:16.000000000 +0200
+++ new/Gemfile.lock 2018-10-20 09:24:36.000000000 +0200
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- cri (2.15.1)
+ cri (2.15.2)
colored (~> 1.2)
GEM
@@ -25,7 +25,7 @@
powerpack (0.1.2)
rainbow (3.0.0)
rake (12.3.1)
- rubocop (0.58.2)
+ rubocop (0.59.2)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
@@ -42,7 +42,7 @@
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.19.4)
- tins (1.16.3)
+ tins (1.17.0)
unicode-display_width (1.4.0)
yard (0.9.16)
@@ -59,4 +59,4 @@
yard
BUNDLED WITH
- 1.16.4
+ 1.16.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NEWS.md new/NEWS.md
--- old/NEWS.md 2018-08-31 20:52:16.000000000 +0200
+++ new/NEWS.md 2018-10-20 09:24:36.000000000 +0200
@@ -1,5 +1,11 @@
# Cri News
+## 2.15.2
+
+Fixes:
+
+* Fixed option propagation for two levels or more (#85, #86)
+
## 2.15.1
Fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2018-08-31 20:52:16.000000000 +0200
+++ new/README.md 2018-10-20 09:24:36.000000000 +0200
@@ -105,32 +105,109 @@
option :s, :stuff, 'specify stuff to do', argument: :required
```
-Options can be defined using the following methods:
-
-* `Cri::CommandDSL#option` or `Cri::CommandDSL#opt` (include an `argument` parameter: `:required` or `:optional` that specifies if the option requires or allows an argument)
-* `Cri::CommandDSL#flag` (implies no arguments passed to option)
-
-The following _deprecated_ methods can also be used to define options:
-
-* `Cri::CommandDSL#required` (implies an option that requires an argument -- deprecated because `#required` suggests that the option is required, wich is incorrect; the _argument_ is required.)
-* `Cri::CommandDSL#optional` (implies an option that can optionally include an argument -- deprecated because `#optional` looks too similar to `#option`.)
-
-All these methods take these arguments:
+The most generic way of definition an option is using either `#option` or `#opt`. It takes the following arguments:
1. a short option name
2. a long option name
3. a description
4. optional extra parameters
+ * `argument:` (default: `:forbidden`)
+ * `transform:`
+ * `default:`
+ * `multiple:` (default: `false`)
+5. optionally, a block
+
+In more detail:
+
+* The short option name is a symbol containing one character, to be used in single-dash options, e.g. `:f` (corresponds to `-f`). The long option name is a symbol containing a string, to be used in double-dash options, e.g. `:force` (corresponds to `--force`). Either the short or the long option name can be nil, but not both.
+
+* The description is a short, one-line text that shows up in the command’s help. For example, the `-v`/`--version` option might have the description `show version information and quit`.
+
+* The extra parameters, `argument:`, `multiple:`, `default:`, and `transform:`, are described in the sections below.
+
+* The block, if given, will be executed when the option is found. The arguments to the block are the option value (`true` in case the option does not have an argument) and the command.
+
+There are several convenience methods that are alternatives to `#option`/`#opt`:
+
+* `#flag` sets `argument:` to `:forbidden`
+* (**deprecated**) `#required` sets `argument:` to `:required` -- deprecated because `#required` suggests that the option is required, wich is incorrect; the _argument_ is required.)
+* (**deprecated**) `#optional` sets `argument:` to `:optional` -- deprecated because `#optional` looks too similar to `#option`.
-Either the short or the long form can be nil, but not both (because that
-would not make any sense). In the example above, the `--more` option has no
-short form.
-
-Each of the above methods also take a block, which will be executed when the
-option is found. The arguments to the block are the option value (`true` in
-case the option does not have an argument) and the command.
+#### Forbidden, required, and optional arguments (`argument:`)
-#### Transforming options
+The `:argument` parameter can be set to `:forbidden`, `:required`, or `:optional`.
+
+* `:forbidden` means that when the option is present, the value will be set to `true`, and `false` otherwise. For example:
+
+ ```ruby
+ option :f, :force, 'push with force', argument: :forbidden
+
+ run do |opts, args, cmd|
+ puts "Force? #{opts[:force]}"
+ end
+ ```
+
+ ```sh
+ % ./push mypackage.zip
+ Force? false
+
+ % ./push --force mypackage.zip
+ Force? true
+ ```
+
+ `:argument` is set to `:forbidden` by default.
+
+* `:required` means that the option must be followed by an argument, which will then be treated as the value for the option. It does not mean that the option itself is required. For example:
+
+ ```ruby
+ option :o, :output, 'specify output file', argument: :required
+ option :f, :fast, 'fetch faster', argument: :forbidden
+
+ run do |opts, args, cmd|
+ puts "Output file: #{opts[:output]}"
+ end
+ ```
+
+ ```sh
+ % ./fetch http://example.com/source.zip
+ Output file: nil
+
+ % ./fetch --output example.zip http://example.com/source.zip
+ Output file: example.zip
+
+ % ./fetch http://example.com/source.zip --output
+ fetch: option requires an argument -- output
+
+ % ./fetch --output --fast http://example.com/source.zip
+ fetch: option requires an argument -- output
+ ```
+
+* `:optional` means that the option can be followed by an argument. If it is, then the argument is treated as the value for the option; if it isn’t, the value for the option will be `true`. For example:
+
+ ```ruby
+ option :o, :output, 'specify output file', argument: :optional
+ option :f, :fast, 'fetch faster', argument: :forbidden
+
+ run do |opts, args, cmd|
+ puts "Output file: #{opts[:output]}"
+ end
+ ```
+
+ ```sh
+ % ./fetch http://example.com/source.zip
+ Output file: nil
+
+ % ./fetch --output example.zip http://example.com/source.zip
+ Output file: example.zip
+
+ % ./fetch http://example.com/source.zip --output
+ Output file: true
+
+ % ./fetch --output --fast http://example.com/source.zip
+ Output file: true
+ ```
+
+#### Transforming options (`transform:`)
The `:transform` parameter specifies how the value should be transformed. It takes any object that responds to `#call`:
@@ -166,7 +243,7 @@
option :p, :port, 'set port', argument: :required, default: 8080, transform: PortTransformer.new
```
-#### Options with default values
+#### Options with default values (`default:`)
The `:default` parameter sets the option value that will be used if the option is passed without an argument or isn't passed at all:
@@ -182,10 +259,9 @@
-a --animal[=<value>] add animal (default: giraffe)
```
-#### Multivalued options
+#### Multivalued options (`multiple:`)
-Each of these four methods take a `:multiple` parameter. When set to true, multiple
-option valus are accepted, and the option values will be stored in an array.
+The `:multiple` parameter allows an option to be specified more than once on the command line. When set to `true`, multiple option valus are accepted, and the option values will be stored in an array.
For example, to parse the command line options string `-o foo.txt -o bar.txt`
into an array, so that `options[:output]` contains `[ 'foo.txt', 'bar.txt' ]`,
@@ -234,7 +310,7 @@
### Argument parsing
-Cri also supports parsing arguments, outside of options. To define the
+Cri supports parsing arguments, as well as parsing options. To define the
parameters of a command, use `#param`, which takes a symbol containing the name
of the parameter. For example:
@@ -257,7 +333,46 @@
The command in this example has one parameter named `filename`. This means that
the command takes a single argument, named `filename`.
-If no parameters are specified, Cri performs no argument parsing or validation; any number of arguments is allowed. To explicitly specify that a command has no parameters, use `#no_params`:
+As with options, parameter definitions take `transform:`, which can be used for transforming and validating arguments:
+
+```ruby
+param :port, transform: method(:Integer)
+```
+
+(*Why the distinction between argument and parameter?* A parameter is a name, e.g. `filename`, while an argument is a value for a parameter, e.g. `kitten.jpg`.)
+
+### Allowing arbitrary arguments
+
+If no parameters are specified, Cri performs no argument parsing or validation;
+any number of arguments is allowed.
+
+```ruby
+command = Cri::Command.define do
+ name 'publish'
+ usage 'publish [filename...]'
+ summary 'publishes the given file(s)'
+ description 'This command does a lot of stuff, but not option parsing.'
+
+ flag :q, :quick, 'publish quicker'
+
+ run do |opts, args, cmd|
+ args.each do |arg|
+ puts "Publishing #{arg}…"
+ end
+ end
+end
+```
+
+```bash
+% my-tool publish foo.zip bar.zip
+Publishing foo.zip…
+Publishing bar.zip…
+%
+```
+
+### Forbidding any arguments
+
+To explicitly specify that a command has no parameters, use `#no_params`:
```ruby
name 'reset'
@@ -281,14 +396,6 @@
A future version of Cri will likely make `#no_params` the default behavior.
-As with options, parameter definitions take `transform:`, which can be used for transforming and validating arguments:
-
-```ruby
-param :port, transform: method(:Integer)
-```
-
-(*Why the distinction between argument and parameter?* A parameter is a name, e.g. `filename`, while an argument is a value for a parameter, e.g. `kitten.jpg`.)
-
### The run block
The last part of the command defines the execution itself:
@@ -308,10 +415,43 @@
execute. This block takes three arguments: the options, any arguments passed
to the command, and the command itself.
-Instead of defining a run block, it is possible to declare a class, the
-_command runner_ class (`Cri::CommandRunner`) that will perform the actual
-execution of the command. This makes it easier to break up large run blocks
-into manageable pieces.
+### The command runner
+
+Instead of defining a run block, it is possible to declare a class, the _command runner_ class that will perform the actual execution of the command. This makes it easier to break up large run blocks into manageable pieces.
+
+```ruby
+name 'push'
+option :f, :force, 'force'
+param :filename
+
+class MyRunner < Cri::CommandRunner
+ def run
+ puts "Pushing #{arguments[:filename]}…"
+ puts "… with force!" if options[:force]
+ end
+end
+
+runner MyRunner
+```
+
+To create a command runner, subclass `Cri::CommandRunner`, and define a `#run` method with no params. Inside the `#run` block, you can access `options` and `arguments`. Lastly, to connect the command to the command runner, call `#runner` with the class of the command runner.
+
+Here is an example interaction with the example command, defined above:
+
+```
+% push
+push: incorrect number of arguments given: expected 1, but got 0
+
+% push a
+Pushing a…
+
+% push -f
+push: incorrect number of arguments given: expected 1, but got 0
+
+% push -f a
+Pushing a…
+… with force!
+```
### Subcommands
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/cri/command.rb new/lib/cri/command.rb
--- old/lib/cri/command.rb 2018-08-31 20:52:16.000000000 +0200
+++ new/lib/cri/command.rb 2018-10-20 09:24:36.000000000 +0200
@@ -311,7 +311,7 @@
return if subcommand.nil?
# Run
- subcommand.run(opts_and_args_after_subcmd, opts_before_subcmd, hard_exit: hard_exit)
+ subcommand.run(opts_and_args_after_subcmd, parent_opts.merge(opts_before_subcmd), hard_exit: hard_exit)
end
rescue CriExitException => e
exit(e.error? ? 1 : 0) if hard_exit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/cri/version.rb new/lib/cri/version.rb
--- old/lib/cri/version.rb 2018-08-31 20:52:16.000000000 +0200
+++ new/lib/cri/version.rb 2018-10-20 09:24:36.000000000 +0200
@@ -2,5 +2,5 @@
module Cri
# The current Cri version.
- VERSION = '2.15.1'
+ VERSION = '2.15.2'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-08-31 20:52:16.000000000 +0200
+++ new/metadata 2018-10-20 09:24:36.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: cri
version: !ruby/object:Gem::Version
- version: 2.15.1
+ version: 2.15.2
platform: ruby
authors:
- Denis Defreyne
autorequire:
bindir: bin
cert_chain: []
-date: 2018-08-31 00:00:00.000000000 Z
+date: 2018-10-20 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: colored
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_command.rb new/test/test_command.rb
--- old/test/test_command.rb 2018-08-31 20:52:16.000000000 +0200
+++ new/test/test_command.rb 2018-10-20 09:24:36.000000000 +0200
@@ -858,5 +858,42 @@
assert_equal [], lines(out)
assert_equal [], lines(err)
end
+
+ def test_propagate_options_two_levels_down
+ cmd_a = Cri::Command.define do
+ name 'a'
+ flag :t, :test, 'test'
+ end
+
+ cmd_b = cmd_a.define_command('b') do
+ end
+
+ cmd_b.define_command('c') do
+ run do |opts, _args|
+ puts "test? #{opts[:test].inspect}!"
+ end
+ end
+
+ # test -t last
+ out, err = capture_io_while do
+ cmd_a.run(%w[b c -t])
+ end
+ assert_equal ['test? true!'], lines(out)
+ assert_equal [], lines(err)
+
+ # test -t mid
+ out, err = capture_io_while do
+ cmd_a.run(%w[b -t c])
+ end
+ assert_equal ['test? true!'], lines(out)
+ assert_equal [], lines(err)
+
+ # test -t first
+ out, err = capture_io_while do
+ cmd_a.run(%w[-t b c])
+ end
+ assert_equal ['test? true!'], lines(out)
+ assert_equal [], lines(err)
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_parser.rb new/test/test_parser.rb
--- old/test/test_parser.rb 2018-08-31 20:52:16.000000000 +0200
+++ new/test/test_parser.rb 2018-10-20 09:24:36.000000000 +0200
@@ -455,6 +455,7 @@
port = Class.new do
def call(str)
raise unless str.is_a?(String)
+
Integer(str)
end
end.new
1
0
Hello community,
here is the log from the commit of package rubygem-oauth2 for openSUSE:Factory checked in at 2018-11-26 10:33:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-oauth2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-oauth2"
Mon Nov 26 10:33:12 2018 rev:2 rq:651612 version:1.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-oauth2/rubygem-oauth2.changes 2018-02-15 13:24:52.813340478 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.19453/rubygem-oauth2.changes 2018-11-26 10:34:51.688707815 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:23:58 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 1.4.1
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
oauth2-1.4.0.gem
New:
----
oauth2-1.4.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-oauth2.spec ++++++
--- /var/tmp/diff_new_pack.KiY8a7/_old 2018-11-26 10:34:54.068705030 +0100
+++ /var/tmp/diff_new_pack.KiY8a7/_new 2018-11-26 10:34:54.076705021 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-oauth2
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,16 +24,16 @@
#
Name: rubygem-oauth2
-Version: 1.4.0
+Version: 1.4.1
Release: 0
%define mod_name oauth2
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{ruby >= 1.9.0}
BuildRequires: %{rubygem gem2rpm}
-BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
-Url: http://github.com/intridea/oauth2
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Url: https://github.com/oauth-xx/oauth2
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: A Ruby wrapper for the OAuth 2.0 protocol
License: MIT
@@ -49,7 +49,7 @@
%install
%gem_install \
- --doc-files="LICENSE.md README.md" \
+ --doc-files="CHANGELOG.md LICENSE README.md" \
-f
%gem_packages
++++++ oauth2-1.4.0.gem -> oauth2-1.4.1.gem ++++++
++++ 2541 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package rubygem-mime-types for openSUSE:Factory checked in at 2018-11-26 10:33:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mime-types (Old)
and /work/SRC/openSUSE:Factory/.rubygem-mime-types.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mime-types"
Mon Nov 26 10:33:06 2018 rev:23 rq:651611 version:3.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-mime-types/rubygem-mime-types.changes 2016-05-29 03:13:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-mime-types.new.19453/rubygem-mime-types.changes 2018-11-26 10:34:38.500723252 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:21:10 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 3.2.2
+ History.rdoc removed upstream
+
+-------------------------------------------------------------------
Old:
----
mime-types-3.1.gem
New:
----
mime-types-3.2.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-mime-types.spec ++++++
--- /var/tmp/diff_new_pack.LQ160L/_old 2018-11-26 10:34:44.224716552 +0100
+++ /var/tmp/diff_new_pack.LQ160L/_new 2018-11-26 10:34:44.228716547 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-mime-types
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-mime-types
-Version: 3.1
+Version: 3.2.2
Release: 0
%define mod_name mime-types
%define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
Url: https://github.com/mime-types/ruby-mime-types/
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: The mime-types library provides a library and registry for
License: MIT
@@ -61,7 +61,7 @@
%install
%gem_install \
- --doc-files="History.rdoc Licence.rdoc README.rdoc" \
+ --doc-files="History.md Licence.md README.rdoc" \
-f
%gem_packages
++++++ mime-types-3.1.gem -> mime-types-3.2.2.gem ++++++
++++ 2199 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package rubygem-json-schema for openSUSE:Factory checked in at 2018-11-26 10:33:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-json-schema (Old)
and /work/SRC/openSUSE:Factory/.rubygem-json-schema.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-json-schema"
Mon Nov 26 10:33:04 2018 rev:7 rq:651610 version:2.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-json-schema/rubygem-json-schema.changes 2017-04-11 09:32:04.775974231 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-json-schema.new.19453/rubygem-json-schema.changes 2018-11-26 10:34:29.884733338 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:19:42 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 2.8.1
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
json-schema-2.8.0.gem
New:
----
json-schema-2.8.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-json-schema.spec ++++++
--- /var/tmp/diff_new_pack.kgQtB6/_old 2018-11-26 10:34:31.496731450 +0100
+++ /var/tmp/diff_new_pack.kgQtB6/_new 2018-11-26 10:34:31.496731450 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-json-schema
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-json-schema
-Version: 2.8.0
+Version: 2.8.1
Release: 0
%define mod_name json-schema
%define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: http://github.com/ruby-json-schema/json-schema/tree/master
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Ruby JSON Schema Validator
License: MIT
++++++ json-schema-2.8.0.gem -> json-schema-2.8.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2017-02-07 11:35:47.000000000 +0100
+++ new/README.md 2018-10-14 08:18:57.000000000 +0200
@@ -375,6 +375,33 @@
errors = JSON::Validator.fully_validate(schema, {"a" => "23"})
```
+Validating a JSON Schema
+------------------------
+
+To validate that a JSON Schema conforms to the JSON Schema standard,
+you need to validate your schema against the metaschema for the appropriate
+JSON Schema Draft. All of the normal validation methods can be used
+for this. First retrieve the appropriate metaschema from the internal
+cache (using `JSON::Validator.validator_for_name()` or
+`JSON::Validator.validator_for_uri()`) and then simply validate your
+schema against it.
+
+
+```ruby
+require "json-schema"
+
+schema = {
+ "type" => "object",
+ "properties" => {
+ "a" => {"type" => "integer"}
+ }
+}
+
+metaschema = JSON::Validator.validator_for_name("draft4").metaschema
+# => true
+JSON::Validator.validate(metaschema, schema)
+```
+
Controlling Remote Schema Reading
---------------------------------
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/dependencies.rb new/lib/json-schema/attributes/dependencies.rb
--- old/lib/json-schema/attributes/dependencies.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/dependencies.rb 2018-10-14 08:18:57.000000000 +0200
@@ -34,11 +34,5 @@
value.is_a?(String) || value.is_a?(Array) || value.is_a?(Hash)
end
end
-
- class DependenciesV4Attribute < DependenciesAttribute
- def self.accept_value?(value)
- value.is_a?(Array) || value.is_a?(Hash)
- end
- end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/dependencies_v4.rb new/lib/json-schema/attributes/dependencies_v4.rb
--- old/lib/json-schema/attributes/dependencies_v4.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/dependencies_v4.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,11 @@
+require 'json-schema/attributes/dependencies'
+
+module JSON
+ class Schema
+ class DependenciesV4Attribute < DependenciesAttribute
+ def self.accept_value?(value)
+ value.is_a?(Array) || value.is_a?(Hash)
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/divisibleby.rb new/lib/json-schema/attributes/divisibleby.rb
--- old/lib/json-schema/attributes/divisibleby.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/divisibleby.rb 2018-10-14 08:18:57.000000000 +0200
@@ -12,7 +12,7 @@
factor = current_schema.schema[keyword]
- if factor == 0 || factor == 0.0 || (BigDecimal.new(data.to_s) % BigDecimal.new(factor.to_s)).to_f != 0
+ if factor == 0 || factor == 0.0 || (BigDecimal(data.to_s) % BigDecimal(factor.to_s)).to_f != 0
message = "The property '#{build_fragment(fragments)}' was not divisible by #{factor}"
validation_error(processor, message, fragments, current_schema, self, options[:record_errors])
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/custom.rb new/lib/json-schema/attributes/formats/custom.rb
--- old/lib/json-schema/attributes/formats/custom.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/custom.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
require 'json-schema/errors/custom_format_error'
module JSON
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/date.rb new/lib/json-schema/attributes/formats/date.rb
--- old/lib/json-schema/attributes/formats/date.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/date.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
module JSON
class Schema
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/date_time.rb new/lib/json-schema/attributes/formats/date_time.rb
--- old/lib/json-schema/attributes/formats/date_time.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/date_time.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
module JSON
class Schema
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/date_time_v4.rb new/lib/json-schema/attributes/formats/date_time_v4.rb
--- old/lib/json-schema/attributes/formats/date_time_v4.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/date_time_v4.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
module JSON
class Schema
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/time.rb new/lib/json-schema/attributes/formats/time.rb
--- old/lib/json-schema/attributes/formats/time.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/time.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
module JSON
class Schema
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/formats/uri.rb new/lib/json-schema/attributes/formats/uri.rb
--- old/lib/json-schema/attributes/formats/uri.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/formats/uri.rb 2018-10-14 08:18:57.000000000 +0200
@@ -1,4 +1,4 @@
-require 'json-schema/attribute'
+require 'json-schema/attributes/format'
require 'json-schema/errors/uri_error'
module JSON
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limit.rb new/lib/json-schema/attributes/limit.rb
--- old/lib/json-schema/attributes/limit.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/limit.rb 2018-10-14 08:18:57.000000000 +0200
@@ -48,132 +48,5 @@
raise NotImplementedError
end
end
-
- class MinLengthAttribute < LimitAttribute
- def self.acceptable_type
- String
- end
-
- def self.limit_name
- 'minLength'
- end
-
- def self.error_message(schema)
- "was not of a minimum string length of #{limit(schema)}"
- end
-
- def self.value(data)
- data.length
- end
- end
-
- class MaxLengthAttribute < MinLengthAttribute
- def self.limit_name
- 'maxLength'
- end
-
- def self.error_message(schema)
- "was not of a maximum string length of #{limit(schema)}"
- end
- end
-
- class MinItemsAttribute < LimitAttribute
- def self.acceptable_type
- Array
- end
-
- def self.value(data)
- data.length
- end
-
- def self.limit_name
- 'minItems'
- end
-
- def self.error_message(schema)
- "did not contain a minimum number of items #{limit(schema)}"
- end
- end
-
- class MaxItemsAttribute < MinItemsAttribute
- def self.limit_name
- 'maxItems'
- end
-
- def self.error_message(schema)
- "had more items than the allowed #{limit(schema)}"
- end
- end
-
- class MinPropertiesAttribute < LimitAttribute
- def self.acceptable_type
- Hash
- end
-
- def self.value(data)
- data.size
- end
-
- def self.limit_name
- 'minProperties'
- end
-
- def self.error_message(schema)
- "did not contain a minimum number of properties #{limit(schema)}"
- end
- end
-
- class MaxPropertiesAttribute < MinPropertiesAttribute
- def self.limit_name
- 'maxProperties'
- end
-
- def self.error_message(schema)
- "had more properties than the allowed #{limit(schema)}"
- end
- end
-
- class NumericLimitAttribute < LimitAttribute
- def self.acceptable_type
- Numeric
- end
-
- def self.error_message(schema)
- exclusivity = exclusive?(schema) ? 'exclusively' : 'inclusively'
- format("did not have a %s value of %s, %s", limit_name, limit(schema), exclusivity)
- end
- end
-
- class MaximumAttribute < NumericLimitAttribute
- def self.limit_name
- 'maximum'
- end
-
- def self.exclusive?(schema)
- schema['exclusiveMaximum']
- end
- end
-
- class MaximumInclusiveAttribute < MaximumAttribute
- def self.exclusive?(schema)
- schema['maximumCanEqual'] == false
- end
- end
-
- class MinimumAttribute < NumericLimitAttribute
- def self.limit_name
- 'minimum'
- end
-
- def self.exclusive?(schema)
- schema['exclusiveMinimum']
- end
- end
-
- class MinimumInclusiveAttribute < MinimumAttribute
- def self.exclusive?(schema)
- schema['minimumCanEqual'] == false
- end
- end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/items.rb new/lib/json-schema/attributes/limits/items.rb
--- old/lib/json-schema/attributes/limits/items.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/items.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limit'
+
+module JSON
+ class Schema
+ class ItemsLimitAttribute < LimitAttribute
+ def self.acceptable_type
+ Array
+ end
+
+ def self.value(data)
+ data.length
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/length.rb new/lib/json-schema/attributes/limits/length.rb
--- old/lib/json-schema/attributes/limits/length.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/length.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limit'
+
+module JSON
+ class Schema
+ class LengthLimitAttribute < LimitAttribute
+ def self.acceptable_type
+ String
+ end
+
+ def self.value(data)
+ data.length
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/max_items.rb new/lib/json-schema/attributes/limits/max_items.rb
--- old/lib/json-schema/attributes/limits/max_items.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/max_items.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/items'
+
+module JSON
+ class Schema
+ class MaxItemsAttribute < ItemsLimitAttribute
+ def self.limit_name
+ 'maxItems'
+ end
+
+ def self.error_message(schema)
+ "had more items than the allowed #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/max_length.rb new/lib/json-schema/attributes/limits/max_length.rb
--- old/lib/json-schema/attributes/limits/max_length.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/max_length.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/length'
+
+module JSON
+ class Schema
+ class MaxLengthAttribute < LengthLimitAttribute
+ def self.limit_name
+ 'maxLength'
+ end
+
+ def self.error_message(schema)
+ "was not of a maximum string length of #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/max_properties.rb new/lib/json-schema/attributes/limits/max_properties.rb
--- old/lib/json-schema/attributes/limits/max_properties.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/max_properties.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/properties'
+
+module JSON
+ class Schema
+ class MaxPropertiesAttribute < PropertiesLimitAttribute
+ def self.limit_name
+ 'maxProperties'
+ end
+
+ def self.error_message(schema)
+ "had more properties than the allowed #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/maximum.rb new/lib/json-schema/attributes/limits/maximum.rb
--- old/lib/json-schema/attributes/limits/maximum.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/maximum.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/numeric'
+
+module JSON
+ class Schema
+ class MaximumAttribute < NumericLimitAttribute
+ def self.limit_name
+ 'maximum'
+ end
+
+ def self.exclusive?(schema)
+ schema['exclusiveMaximum']
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/maximum_inclusive.rb new/lib/json-schema/attributes/limits/maximum_inclusive.rb
--- old/lib/json-schema/attributes/limits/maximum_inclusive.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/maximum_inclusive.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,11 @@
+require 'json-schema/attributes/limits/maximum'
+
+module JSON
+ class Schema
+ class MaximumInclusiveAttribute < MaximumAttribute
+ def self.exclusive?(schema)
+ schema['maximumCanEqual'] == false
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/min_items.rb new/lib/json-schema/attributes/limits/min_items.rb
--- old/lib/json-schema/attributes/limits/min_items.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/min_items.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/items'
+
+module JSON
+ class Schema
+ class MinItemsAttribute < ItemsLimitAttribute
+ def self.limit_name
+ 'minItems'
+ end
+
+ def self.error_message(schema)
+ "did not contain a minimum number of items #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/min_length.rb new/lib/json-schema/attributes/limits/min_length.rb
--- old/lib/json-schema/attributes/limits/min_length.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/min_length.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/length'
+
+module JSON
+ class Schema
+ class MinLengthAttribute < LengthLimitAttribute
+ def self.limit_name
+ 'minLength'
+ end
+
+ def self.error_message(schema)
+ "was not of a minimum string length of #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/min_properties.rb new/lib/json-schema/attributes/limits/min_properties.rb
--- old/lib/json-schema/attributes/limits/min_properties.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/min_properties.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/properties'
+
+module JSON
+ class Schema
+ class MinPropertiesAttribute < PropertiesLimitAttribute
+ def self.limit_name
+ 'minProperties'
+ end
+
+ def self.error_message(schema)
+ "did not contain a minimum number of properties #{limit(schema)}"
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/minimum.rb new/lib/json-schema/attributes/limits/minimum.rb
--- old/lib/json-schema/attributes/limits/minimum.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/minimum.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limits/numeric'
+
+module JSON
+ class Schema
+ class MinimumAttribute < NumericLimitAttribute
+ def self.limit_name
+ 'minimum'
+ end
+
+ def self.exclusive?(schema)
+ schema['exclusiveMinimum']
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/minimum_inclusive.rb new/lib/json-schema/attributes/limits/minimum_inclusive.rb
--- old/lib/json-schema/attributes/limits/minimum_inclusive.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/minimum_inclusive.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,11 @@
+require 'json-schema/attributes/limits/minimum'
+
+module JSON
+ class Schema
+ class MinimumInclusiveAttribute < MinimumAttribute
+ def self.exclusive?(schema)
+ schema['minimumCanEqual'] == false
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/numeric.rb new/lib/json-schema/attributes/limits/numeric.rb
--- old/lib/json-schema/attributes/limits/numeric.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/numeric.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,16 @@
+require 'json-schema/attributes/limit'
+
+module JSON
+ class Schema
+ class NumericLimitAttribute < LimitAttribute
+ def self.acceptable_type
+ Numeric
+ end
+
+ def self.error_message(schema)
+ exclusivity = exclusive?(schema) ? 'exclusively' : 'inclusively'
+ format("did not have a %s value of %s, %s", limit_name, limit(schema), exclusivity)
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/limits/properties.rb new/lib/json-schema/attributes/limits/properties.rb
--- old/lib/json-schema/attributes/limits/properties.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/limits/properties.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,15 @@
+require 'json-schema/attributes/limit'
+
+module JSON
+ class Schema
+ class PropertiesLimitAttribute < LimitAttribute
+ def self.acceptable_type
+ Hash
+ end
+
+ def self.value(data)
+ data.size
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/properties.rb new/lib/json-schema/attributes/properties.rb
--- old/lib/json-schema/attributes/properties.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/attributes/properties.rb 2018-10-14 08:18:57.000000000 +0200
@@ -62,13 +62,5 @@
end
end
end
-
- class PropertiesV4Attribute < PropertiesAttribute
- # draft4 relies on its own RequiredAttribute validation at a higher level, rather than
- # as an attribute of individual properties.
- def self.required?(schema, options)
- options[:strict] == true
- end
- end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/attributes/properties_v4.rb new/lib/json-schema/attributes/properties_v4.rb
--- old/lib/json-schema/attributes/properties_v4.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/json-schema/attributes/properties_v4.rb 2018-10-14 08:18:57.000000000 +0200
@@ -0,0 +1,13 @@
+require 'json-schema/attributes/properties'
+
+module JSON
+ class Schema
+ class PropertiesV4Attribute < PropertiesAttribute
+ # draft4 relies on its own RequiredAttribute validation at a higher level, rather than
+ # as an attribute of individual properties.
+ def self.required?(schema, options)
+ options[:strict] == true
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/validator.rb new/lib/json-schema/validator.rb
--- old/lib/json-schema/validator.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/validator.rb 2018-10-14 08:18:57.000000000 +0200
@@ -103,6 +103,8 @@
if @options[:list]
base_schema.to_array_schema
+ elsif base_schema.is_a?(Hash)
+ JSON::Schema.new(base_schema, schema_uri, @options[:version])
else
base_schema
end
@@ -578,7 +580,7 @@
begin
json_uri = Util::URI.normalized_uri(data)
data = self.class.parse(custom_open(json_uri))
- rescue JSON::Schema::JsonLoadError
+ rescue JSON::Schema::JsonLoadError, JSON::Schema::UriError
# Silently discard the error - use the data as-is
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema/validators/draft6.rb new/lib/json-schema/validators/draft6.rb
--- old/lib/json-schema/validators/draft6.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema/validators/draft6.rb 2018-10-14 08:18:57.000000000 +0200
@@ -43,8 +43,8 @@
'uri' => UriFormat
}
@formats = @default_formats.clone
- @uri = JSON::Util::URI.parse("http://json-schema.org/draft-06/schema#")
- @names = ["draft6", "http://json-schema.org/draft-06/schema#"]
+ @uri = JSON::Util::URI.parse("http://json-schema.org/draft/schema#")
+ @names = ["draft6", "http://json-schema.org/draft/schema#"]
@metaschema_name = "draft-06.json"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/json-schema.rb new/lib/json-schema.rb
--- old/lib/json-schema.rb 2017-02-07 11:35:47.000000000 +0100
+++ new/lib/json-schema.rb 2018-10-14 08:18:57.000000000 +0200
@@ -14,6 +14,5 @@
require 'json-schema/schema/reader'
require 'json-schema/validator'
-Dir[File.join(File.dirname(__FILE__), "json-schema/attributes/*.rb")].each {|file| require file }
-Dir[File.join(File.dirname(__FILE__), "json-schema/attributes/formats/*.rb")].each {|file| require file }
+Dir[File.join(File.dirname(__FILE__), "json-schema/attributes/**/*.rb")].each {|file| require file }
Dir[File.join(File.dirname(__FILE__), "json-schema/validators/*.rb")].sort!.each {|file| require file }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-02-07 11:35:47.000000000 +0100
+++ new/metadata 2018-10-14 08:18:57.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: json-schema
version: !ruby/object:Gem::Version
- version: 2.8.0
+ version: 2.8.1
platform: ruby
authors:
- Kenny Hoxworth
autorequire:
bindir: bin
cert_chain: []
-date: 2017-02-07 00:00:00.000000000 Z
+date: 2018-10-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake
@@ -97,6 +97,7 @@
- lib/json-schema/attributes/allof.rb
- lib/json-schema/attributes/anyof.rb
- lib/json-schema/attributes/dependencies.rb
+- lib/json-schema/attributes/dependencies_v4.rb
- lib/json-schema/attributes/disallow.rb
- lib/json-schema/attributes/divisibleby.rb
- lib/json-schema/attributes/enum.rb
@@ -111,6 +112,20 @@
- lib/json-schema/attributes/formats/uri.rb
- lib/json-schema/attributes/items.rb
- lib/json-schema/attributes/limit.rb
+- lib/json-schema/attributes/limits/items.rb
+- lib/json-schema/attributes/limits/length.rb
+- lib/json-schema/attributes/limits/max_items.rb
+- lib/json-schema/attributes/limits/max_length.rb
+- lib/json-schema/attributes/limits/max_properties.rb
+- lib/json-schema/attributes/limits/maximum.rb
+- lib/json-schema/attributes/limits/maximum_inclusive.rb
+- lib/json-schema/attributes/limits/min_items.rb
+- lib/json-schema/attributes/limits/min_length.rb
+- lib/json-schema/attributes/limits/min_properties.rb
+- lib/json-schema/attributes/limits/minimum.rb
+- lib/json-schema/attributes/limits/minimum_inclusive.rb
+- lib/json-schema/attributes/limits/numeric.rb
+- lib/json-schema/attributes/limits/properties.rb
- lib/json-schema/attributes/maxdecimal.rb
- lib/json-schema/attributes/multipleof.rb
- lib/json-schema/attributes/not.rb
@@ -119,6 +134,7 @@
- lib/json-schema/attributes/patternproperties.rb
- lib/json-schema/attributes/properties.rb
- lib/json-schema/attributes/properties_optional.rb
+- lib/json-schema/attributes/properties_v4.rb
- lib/json-schema/attributes/ref.rb
- lib/json-schema/attributes/required.rb
- lib/json-schema/attributes/type.rb
@@ -173,7 +189,7 @@
version: '1.8'
requirements: []
rubyforge_project:
-rubygems_version: 2.6.8
+rubygems_version: 2.7.6
signing_key:
specification_version: 4
summary: Ruby JSON Schema Validator
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resources/draft-06.json new/resources/draft-06.json
--- old/resources/draft-06.json 2017-02-07 11:35:47.000000000 +0100
+++ new/resources/draft-06.json 2018-10-14 08:18:57.000000000 +0200
@@ -1,7 +1,7 @@
{
- "id": "http://json-schema.org/draft-06/schema#",
- "$schema": "http://json-schema.org/draft-06/schema#",
- "description": "Core schema meta-schema",
+ "$schema": "http://json-schema.org/draft/schema#",
+ "$id": "http://json-schema.org/draft/schema#",
+ "title": "Core schema meta-schema",
"definitions": {
"schemaArray": {
"type": "array",
@@ -13,28 +13,43 @@
"minimum": 0
},
"positiveIntegerDefault0": {
- "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
+ "allOf": [
+ { "$ref": "#/definitions/positiveInteger" },
+ { "default": 0 }
+ ]
},
"simpleTypes": {
- "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
+ "enum": [
+ "array",
+ "boolean",
+ "integer",
+ "null",
+ "number",
+ "object",
+ "string"
+ ]
},
"stringArray": {
"type": "array",
"items": { "type": "string" },
- "minItems": 1,
- "uniqueItems": true
+ "uniqueItems": true,
+ "defaultItems": []
}
},
- "type": "object",
+ "type": ["object", "boolean"],
"properties": {
- "id": {
+ "$id": {
"type": "string",
- "format": "uri"
+ "format": "uri-reference"
},
"$schema": {
"type": "string",
"format": "uri"
},
+ "$ref": {
+ "type": "string",
+ "format": "uri-reference"
+ },
"title": {
"type": "string"
},
@@ -44,22 +59,19 @@
"default": {},
"multipleOf": {
"type": "number",
- "minimum": 0,
- "exclusiveMinimum": true
+ "exclusiveMinimum": 0
},
"maximum": {
"type": "number"
},
"exclusiveMaximum": {
- "type": "boolean",
- "default": false
+ "type": "number"
},
"minimum": {
"type": "number"
},
"exclusiveMinimum": {
- "type": "boolean",
- "default": false
+ "type": "number"
},
"maxLength": { "$ref": "#/definitions/positiveInteger" },
"minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
@@ -67,13 +79,7 @@
"type": "string",
"format": "regex"
},
- "additionalItems": {
- "anyOf": [
- { "type": "boolean" },
- { "$ref": "#" }
- ],
- "default": {}
- },
+ "additionalItems": { "$ref": "#" },
"items": {
"anyOf": [
{ "$ref": "#" },
@@ -87,16 +93,11 @@
"type": "boolean",
"default": false
},
+ "contains": { "$ref": "#" },
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
"required": { "$ref": "#/definitions/stringArray" },
- "additionalProperties": {
- "anyOf": [
- { "type": "boolean" },
- { "$ref": "#" }
- ],
- "default": {}
- },
+ "additionalProperties": { "$ref": "#" },
"definitions": {
"type": "object",
"additionalProperties": { "$ref": "#" },
@@ -121,6 +122,8 @@
]
}
},
+ "propertyNames": { "$ref": "#" },
+ "const": {},
"enum": {
"type": "array",
"minItems": 1,
@@ -137,14 +140,11 @@
}
]
},
+ "format": { "type": "string" },
"allOf": { "$ref": "#/definitions/schemaArray" },
"anyOf": { "$ref": "#/definitions/schemaArray" },
"oneOf": { "$ref": "#/definitions/schemaArray" },
"not": { "$ref": "#" }
},
- "dependencies": {
- "exclusiveMaximum": [ "maximum" ],
- "exclusiveMinimum": [ "minimum" ]
- },
"default": {}
}
1
0
Hello community,
here is the log from the commit of package rubygem-jekyll-watch for openSUSE:Factory checked in at 2018-11-26 10:33:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll-watch (Old)
and /work/SRC/openSUSE:Factory/.rubygem-jekyll-watch.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-jekyll-watch"
Mon Nov 26 10:33:02 2018 rev:4 rq:651609 version:2.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-jekyll-watch/rubygem-jekyll-watch.changes 2018-02-12 10:13:06.726052080 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-jekyll-watch.new.19453/rubygem-jekyll-watch.changes 2018-11-26 10:34:26.328737500 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:18:33 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 2.1.2
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
jekyll-watch-2.0.0.gem
New:
----
jekyll-watch-2.1.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-jekyll-watch.spec ++++++
--- /var/tmp/diff_new_pack.qtt1rF/_old 2018-11-26 10:34:27.576736039 +0100
+++ /var/tmp/diff_new_pack.qtt1rF/_new 2018-11-26 10:34:27.576736039 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-jekyll-watch
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,12 +24,12 @@
#
Name: rubygem-jekyll-watch
-Version: 2.0.0
+Version: 2.1.2
Release: 0
%define mod_name jekyll-watch
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{ruby >= 2.1.0}
+BuildRequires: %{ruby >= 2.3.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: https://github.com/jekyll/jekyll-watch
++++++ jekyll-watch-2.0.0.gem -> jekyll-watch-2.1.2.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/commands/watch.rb new/lib/jekyll/commands/watch.rb
--- old/lib/jekyll/commands/watch.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll/commands/watch.rb 2018-10-17 17:11:03.000000000 +0200
@@ -13,7 +13,6 @@
Jekyll.logger.log_level = :error if options["quiet"]
Jekyll::Watcher.watch(options) if options["watch"]
end
-
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/watcher.rb new/lib/jekyll/watcher.rb
--- old/lib/jekyll/watcher.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll/watcher.rb 2018-10-17 17:11:04.000000000 +0200
@@ -30,7 +30,7 @@
unless options["serving"]
trap("INT") do
listener.stop
- puts " Halting auto-regeneration."
+ Jekyll.logger.info "", "Halting auto-regeneration."
exit 0
end
@@ -41,6 +41,7 @@
end
private
+
def build_listener(site, options)
Listen.to(
options["source"],
@@ -50,36 +51,30 @@
)
end
- private
def listen_handler(site)
proc do |modified, added, removed|
t = Time.now
c = modified + added + removed
n = c.length
- Jekyll.logger.info "Regenerating:",
- "#{n} file(s) changed at #{t.strftime("%Y-%m-%d %H:%M:%S")}"
- c.map { |path| path.sub("#{site.source}/", "") }.each do |file|
- Jekyll.logger.info "", file
- end
+ Jekyll.logger.info "Regenerating:",
+ "#{n} file(s) changed at #{t.strftime("%Y-%m-%d %H:%M:%S")}"
+ c.each { |path| Jekyll.logger.info "", path["#{site.source}/".length..-1] }
process(site, t)
end
end
- private
def custom_excludes(options)
Array(options["exclude"]).map { |e| Jekyll.sanitized_path(options["source"], e) }
end
- private
def config_files(options)
%w(yml yaml toml).map do |ext|
Jekyll.sanitized_path(options["source"], "_config.#{ext}")
end
end
- private
def to_exclude(options)
[
config_files(options),
@@ -93,14 +88,14 @@
# options - A Hash of options passed to the command
#
# Returns a list of relative paths from source that should be ignored
- private
def listen_ignore_paths(options)
- source = Pathname.new(options["source"]).expand_path
- paths = to_exclude(options)
+ source = Pathname.new(options["source"]).expand_path
+ paths = to_exclude(options)
paths.map do |p|
absolute_path = Pathname.new(p).expand_path
next unless absolute_path.exist?
+
begin
relative_path = absolute_path.relative_path_from(source).to_s
unless relative_path.start_with?("../")
@@ -114,12 +109,10 @@
end.compact + [%r!\.jekyll\-metadata!]
end
- private
def sleep_forever
loop { sleep 1000 }
end
- private
def process(site, time)
begin
site.process
@@ -128,7 +121,7 @@
Jekyll.logger.warn "Error:", e.message
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
end
- puts ""
+ Jekyll.logger.info ""
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll-watch/version.rb new/lib/jekyll-watch/version.rb
--- old/lib/jekyll-watch/version.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll-watch/version.rb 2018-10-17 17:11:03.000000000 +0200
@@ -2,6 +2,6 @@
module Jekyll
module Watch
- VERSION = "2.0.0".freeze
+ VERSION = "2.1.2"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-12-02 22:53:15.000000000 +0100
+++ new/metadata 2018-10-17 17:11:03.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: jekyll-watch
version: !ruby/object:Gem::Version
- version: 2.0.0
+ version: 2.1.2
platform: ruby
authors:
- Parker Moore
autorequire:
bindir: bin
cert_chain: []
-date: 2017-12-02 00:00:00.000000000 Z
+date: 2018-10-17 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: listen
@@ -81,19 +81,19 @@
- !ruby/object:Gem::Version
version: '3.0'
- !ruby/object:Gem::Dependency
- name: rubocop
+ name: rubocop-jekyll
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.51'
+ version: '0.2'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.51'
+ version: '0.2'
description:
email:
- parkrmoore(a)gmail.com
@@ -117,7 +117,7 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 2.1.0
+ version: 2.3.0
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
@@ -125,7 +125,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.7.1
+rubygems_version: 2.7.7
signing_key:
specification_version: 4
summary: Rebuild your Jekyll site when a file changes with the `--watch` switch.
1
0
Hello community,
here is the log from the commit of package rubygem-jekyll for openSUSE:Factory checked in at 2018-11-26 10:32:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll (Old)
and /work/SRC/openSUSE:Factory/.rubygem-jekyll.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-jekyll"
Mon Nov 26 10:32:57 2018 rev:10 rq:651608 version:3.8.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-jekyll/rubygem-jekyll.changes 2018-07-18 22:50:05.039728040 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-jekyll.new.19453/rubygem-jekyll.changes 2018-11-26 10:34:19.400745611 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:18:21 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 3.8.5
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
jekyll-3.8.3.gem
New:
----
jekyll-3.8.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-jekyll.spec ++++++
--- /var/tmp/diff_new_pack.rtzd4c/_old 2018-11-26 10:34:24.536739598 +0100
+++ /var/tmp/diff_new_pack.rtzd4c/_new 2018-11-26 10:34:24.540739593 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-jekyll
-Version: 3.8.3
+Version: 3.8.5
Release: 0
%define mod_name jekyll
%define mod_full_name %{mod_name}-%{version}
++++++ jekyll-3.8.3.gem -> jekyll-3.8.5.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/entry_filter.rb new/lib/jekyll/entry_filter.rb
--- old/lib/jekyll/entry_filter.rb 2018-06-05 15:26:21.000000000 +0200
+++ new/lib/jekyll/entry_filter.rb 2018-11-04 21:19:53.000000000 +0100
@@ -31,9 +31,12 @@
def filter(entries)
entries.reject do |e|
- unless included?(e)
- special?(e) || backup?(e) || excluded?(e) || symlink?(e)
- end
+ # Reject this entry if it is a symlink.
+ next true if symlink?(e)
+ # Do not reject this entry if it is included.
+ next false if included?(e)
+ # Reject this entry if it is special, a backup file, or excluded.
+ special?(e) || backup?(e) || excluded?(e)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/excerpt.rb new/lib/jekyll/excerpt.rb
--- old/lib/jekyll/excerpt.rb 2018-06-05 15:26:21.000000000 +0200
+++ new/lib/jekyll/excerpt.rb 2018-11-04 21:19:53.000000000 +0100
@@ -128,36 +128,47 @@
#
# Returns excerpt String
- LIQUID_TAG_REGEX = %r!{%-?\s*(\w+).+\s*-?%}!m
+ LIQUID_TAG_REGEX = %r!{%-?\s*(\w+)\s*.*?-?%}!m
MKDWN_LINK_REF_REGEX = %r!^ {0,3}\[[^\]]+\]:.+$!
def extract_excerpt(doc_content)
head, _, tail = doc_content.to_s.partition(doc.excerpt_separator)
- # append appropriate closing tag (to a Liquid block), to the "head" if the
- # partitioning resulted in leaving the closing tag somewhere in the "tail"
- # partition.
+ # append appropriate closing tag(s) (for each Liquid block), to the `head`
+ # if the partitioning resulted in leaving the closing tag somewhere
+ # in the `tail` partition.
+
if head.include?("{%")
- head =~ LIQUID_TAG_REGEX
- tag_name = Regexp.last_match(1)
+ modified = false
+ tag_names = head.scan(LIQUID_TAG_REGEX)
+ tag_names.flatten!
+ tag_names.reverse_each do |tag_name|
+ next unless liquid_block?(tag_name)
+ next if head =~ endtag_regex_stash(tag_name)
- if liquid_block?(tag_name) && head.match(%r!{%-?\s*end#{tag_name}\s*-?%}!).nil?
- print_build_warning
+ modified = true
head << "\n{% end#{tag_name} %}"
end
+ print_build_warning if modified
end
- if tail.empty?
- head
- else
- head.to_s.dup << "\n\n" << tail.scan(MKDWN_LINK_REF_REGEX).join("\n")
- end
+ return head if tail.empty?
+
+ head << "\n\n" << tail.scan(MKDWN_LINK_REF_REGEX).join("\n")
end
private
+ def endtag_regex_stash(tag_name)
+ @endtag_regex_stash ||= {}
+ @endtag_regex_stash[tag_name] ||= %r!{%-?\s*end#{tag_name}.*?\s*-?%}!m
+ end
+
def liquid_block?(tag_name)
- Liquid::Template.tags[tag_name].superclass == Liquid::Block
+ return false unless tag_name.is_a?(String)
+ return false if tag_name.start_with?("end")
+
+ Liquid::Template.tags[tag_name].ancestors.include?(Liquid::Block)
rescue NoMethodError
Jekyll.logger.error "Error:",
"A Liquid tag in the excerpt of #{doc.relative_path} couldn't be " \
@@ -167,12 +178,13 @@
def print_build_warning
Jekyll.logger.warn "Warning:", "Excerpt modified in #{doc.relative_path}!"
- Jekyll.logger.warn "",
- "Found a Liquid block containing separator '#{doc.excerpt_separator}' and has " \
- "been modified with the appropriate closing tag."
- Jekyll.logger.warn "",
- "Feel free to define a custom excerpt or excerpt_separator in the document's " \
- "Front Matter if the generated excerpt is unsatisfactory."
+ Jekyll.logger.warn "", "Found a Liquid block containing the excerpt separator" \
+ " #{doc.excerpt_separator.inspect}. "
+ Jekyll.logger.warn "", "The block has been modified with the appropriate" \
+ " closing tag."
+ Jekyll.logger.warn "", "Feel free to define a custom excerpt or" \
+ " excerpt_separator in the document's front matter" \
+ " if the generated excerpt is unsatisfactory."
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jekyll/version.rb new/lib/jekyll/version.rb
--- old/lib/jekyll/version.rb 2018-06-05 15:26:21.000000000 +0200
+++ new/lib/jekyll/version.rb 2018-11-04 21:19:53.000000000 +0100
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Jekyll
- VERSION = "3.8.3".freeze
+ VERSION = "3.8.5".freeze
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-06-05 15:26:21.000000000 +0200
+++ new/metadata 2018-11-04 21:19:53.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: jekyll
version: !ruby/object:Gem::Version
- version: 3.8.3
+ version: 3.8.5
platform: ruby
authors:
- Tom Preston-Werner
autorequire:
bindir: exe
cert_chain: []
-date: 2018-06-05 00:00:00.000000000 Z
+date: 2018-11-04 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: addressable
@@ -328,7 +328,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.6.14
+rubygems_version: 2.7.6
signing_key:
specification_version: 2
summary: A simple, blog aware, static site generator.
1
0
Hello community,
here is the log from the commit of package rubygem-hoe for openSUSE:Factory checked in at 2018-11-26 10:32:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-hoe (Old)
and /work/SRC/openSUSE:Factory/.rubygem-hoe.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-hoe"
Mon Nov 26 10:32:49 2018 rev:42 rq:651607 version:3.17.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-hoe/rubygem-hoe.changes 2018-07-18 22:50:01.051741262 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-hoe.new.19453/rubygem-hoe.changes 2018-11-26 10:34:13.448752578 +0100
@@ -1,0 +2,12 @@
+Thu Nov 22 05:16:18 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 3.17.1
+ see installed History.rdoc
+
+ === 3.17.1 / 2018-09-06
+
+ * 1 bug fix:
+
+ * Bumped dependencies on rdoc and rake for latest majors.
+
+-------------------------------------------------------------------
Old:
----
hoe-3.17.0.gem
New:
----
hoe-3.17.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-hoe.spec ++++++
--- /var/tmp/diff_new_pack.3LlNx2/_old 2018-11-26 10:34:18.652746486 +0100
+++ /var/tmp/diff_new_pack.3LlNx2/_new 2018-11-26 10:34:18.652746486 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-hoe
-Version: 3.17.0
+Version: 3.17.1
Release: 0
%define mod_name hoe
%define mod_full_name %{mod_name}-%{version}
++++++ hoe-3.17.0.gem -> hoe-3.17.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc
--- old/History.rdoc 2018-03-17 11:09:04.000000000 +0100
+++ new/History.rdoc 2018-09-07 00:14:24.000000000 +0200
@@ -1,3 +1,9 @@
+=== 3.17.1 / 2018-09-06
+
+* 1 bug fix:
+
+ * Bumped dependencies on rdoc and rake for latest majors.
+
=== 3.17.0 / 2018-03-17
* 2 minor enhancements:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe/publish.rb new/lib/hoe/publish.rb
--- old/lib/hoe/publish.rb 2018-03-17 11:09:04.000000000 +0100
+++ new/lib/hoe/publish.rb 2018-09-07 00:14:24.000000000 +0200
@@ -100,7 +100,7 @@
# Declare a dependency on rdoc, IF NEEDED.
def activate_publish_deps
- dependency "rdoc", [">= 4.0", "< 6"], :developer if need_rdoc
+ dependency "rdoc", [">= 4.0", "< 7"], :developer if need_rdoc
end
##
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/hoe.rb new/lib/hoe.rb
--- old/lib/hoe.rb 2018-03-17 11:09:04.000000000 +0100
+++ new/lib/hoe.rb 2018-09-07 00:14:24.000000000 +0200
@@ -91,7 +91,7 @@
include Rake::DSL if defined?(Rake::DSL)
# duh
- VERSION = "3.17.0"
+ VERSION = "3.17.1"
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
:publish, :gemcutter, :signing, :test]
@@ -471,7 +471,7 @@
case name
when "hoe" then
- dependency "rake", [">= 0.8", "< 11.0"]
+ dependency "rake", [">= 0.8", "< 13.0"]
else
version = VERSION.split(/\./).first(2).join(".")
dependency "hoe", "~> #{version}", :development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-03-17 11:09:04.000000000 +0100
+++ new/metadata 2018-09-07 00:14:24.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: hoe
version: !ruby/object:Gem::Version
- version: 3.17.0
+ version: 3.17.1
platform: ruby
authors:
- Ryan Davis
@@ -29,7 +29,7 @@
AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
V+HB+LYYhXWitInO/eXxDrFB
-----END CERTIFICATE-----
-date: 2018-03-17 00:00:00.000000000 Z
+date: 2018-09-06 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake
@@ -60,7 +60,7 @@
version: '4.0'
- - "<"
- !ruby/object:Gem::Version
- version: '6'
+ version: '7'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
@@ -70,7 +70,7 @@
version: '4.0'
- - "<"
- !ruby/object:Gem::Version
- version: '6'
+ version: '7'
description: |-
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
manage, maintain, and release your project and includes a dynamic
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_hoe.rb new/test/test_hoe.rb
--- old/test/test_hoe.rb 2018-03-17 11:09:04.000000000 +0100
+++ new/test/test_hoe.rb 2018-09-07 00:14:24.000000000 +0200
@@ -272,7 +272,7 @@
expected = [
["hoe", :development, "~> #{Hoe::VERSION.sub(/\.\d+$/, "")}"],
- ["rdoc", :development, "< 6, >= 4.0"],
+ ["rdoc", :development, "< 7, >= 4.0"],
]
assert_equal expected, deps.map { |dep|
1
0
Hello community,
here is the log from the commit of package rubygem-get_process_mem for openSUSE:Factory checked in at 2018-11-26 10:32:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-get_process_mem (Old)
and /work/SRC/openSUSE:Factory/.rubygem-get_process_mem.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-get_process_mem"
Mon Nov 26 10:32:36 2018 rev:4 rq:651606 version:0.2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-get_process_mem/rubygem-get_process_mem.changes 2018-07-18 22:49:49.095780902 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-get_process_mem.new.19453/rubygem-get_process_mem.changes 2018-11-26 10:34:05.820761509 +0100
@@ -1,0 +2,10 @@
+Thu Nov 22 05:10:02 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 0.2.3
+ see installed CHANGELOG.md
+
+ ## 0.2.3
+
+ - Silence BigDecimal deprecation warning under Ruby 2.5 (#26)
+
+-------------------------------------------------------------------
Old:
----
get_process_mem-0.2.2.gem
New:
----
get_process_mem-0.2.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-get_process_mem.spec ++++++
--- /var/tmp/diff_new_pack.J6TNnJ/_old 2018-11-26 10:34:08.352758544 +0100
+++ /var/tmp/diff_new_pack.J6TNnJ/_new 2018-11-26 10:34:08.352758544 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-get_process_mem
-Version: 0.2.2
+Version: 0.2.3
Release: 0
%define mod_name get_process_mem
%define mod_full_name %{mod_name}-%{version}
++++++ get_process_mem-0.2.2.gem -> get_process_mem-0.2.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2018-05-11 14:38:19.000000000 +0200
+++ new/.travis.yml 2018-10-18 23:13:40.000000000 +0200
@@ -4,9 +4,8 @@
- gem install bundler -v 1.12.5
rvm:
- - 1.9.3
- - 2.0.0
- - 2.1.0
+ - 2.2.0
+ - 2.5.0
- ruby-head
- jruby-19mode
- rbx-19mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2018-05-11 14:38:19.000000000 +0200
+++ new/CHANGELOG.md 2018-10-18 23:13:40.000000000 +0200
@@ -1,3 +1,7 @@
+## 0.2.3
+
+- Silence BigDecimal deprecation warning under Ruby 2.5 (#26)
+
## 0.2.2
- Fix support for Ruby 2.4 (#23)
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/get_process_mem/version.rb new/lib/get_process_mem/version.rb
--- old/lib/get_process_mem/version.rb 2018-05-11 14:38:19.000000000 +0200
+++ new/lib/get_process_mem/version.rb 2018-10-18 23:13:40.000000000 +0200
@@ -1,3 +1,3 @@
class GetProcessMem
- VERSION = "0.2.2"
+ VERSION = "0.2.3"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/get_process_mem.rb new/lib/get_process_mem.rb
--- old/lib/get_process_mem.rb 2018-05-11 14:38:19.000000000 +0200
+++ new/lib/get_process_mem.rb 2018-10-18 23:13:40.000000000 +0200
@@ -3,11 +3,25 @@
# Cribbed from Unicorn Worker Killer, thanks!
class GetProcessMem
- KB_TO_BYTE = 1024 # 2**10 = 1024
- MB_TO_BYTE = 1_048_576 # 1024**2 = 1_048_576
- GB_TO_BYTE = 1_073_741_824 # 1024**3 = 1_073_741_824
+ if Kernel.respond_to?(:BigDecimal)
+ private_class_method def self.number_to_bigdecimal(value)
+ BigDecimal(value)
+ end
+ else
+ private_class_method def self.number_to_bigdecimal(value)
+ BigDecimal.new(value)
+ end
+ end
+
+ private def number_to_bigdecimal(value)
+ self.class.send(:number_to_bigdecimal, value)
+ end
+
+ KB_TO_BYTE = number_to_bigdecimal 1024 # 2**10 = 1024
+ MB_TO_BYTE = number_to_bigdecimal 1_048_576 # 1024**2 = 1_048_576
+ GB_TO_BYTE = number_to_bigdecimal 1_073_741_824 # 1024**3 = 1_073_741_824
CONVERSION = { "kb" => KB_TO_BYTE, "mb" => MB_TO_BYTE, "gb" => GB_TO_BYTE }
- ROUND_UP = BigDecimal.new("0.5")
+ ROUND_UP = number_to_bigdecimal "0.5"
attr_reader :pid
RUNS_ON_WINDOWS = Gem.win_platform?
@@ -40,15 +54,15 @@
end
def kb(b = bytes)
- (b/BigDecimal.new(KB_TO_BYTE)).to_f
+ (b/KB_TO_BYTE).to_f
end
def mb(b = bytes)
- (b/BigDecimal.new(MB_TO_BYTE)).to_f
+ (b/MB_TO_BYTE).to_f
end
def gb(b = bytes)
- (b/BigDecimal.new(GB_TO_BYTE)).to_f
+ (b/GB_TO_BYTE).to_f
end
def inspect
@@ -73,7 +87,7 @@
return if lines.empty?
lines.reduce(0) do |sum, line|
line.match(/(?<value>(\d*\.{0,1}\d+))\s+(?<unit>\w\w)/) do |m|
- value = BigDecimal.new(m[:value]) + ROUND_UP
+ value = number_to_bigdecimal(m[:value]) + ROUND_UP
unit = m[:unit].downcase
sum += CONVERSION[unit] * value
end
@@ -88,10 +102,10 @@
def ps_memory
if RUNS_ON_WINDOWS
size = ProcTable.ps(pid).working_set_size
- BigDecimal.new(size)
+ number_to_bigdecimal(size)
else
mem = `ps -o rss= -p #{pid}`
- KB_TO_BYTE * BigDecimal.new(mem == "" ? 0 : mem)
+ KB_TO_BYTE * number_to_bigdecimal(mem == "" ? 0 : mem)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-05-11 14:38:19.000000000 +0200
+++ new/metadata 2018-10-18 23:13:40.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: get_process_mem
version: !ruby/object:Gem::Version
- version: 0.2.2
+ version: 0.2.3
platform: ruby
authors:
- Richard Schneeman
autorequire:
bindir: bin
cert_chain: []
-date: 2018-05-11 00:00:00.000000000 Z
+date: 2018-10-18 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: sys-proctable
1
0
Hello community,
here is the log from the commit of package rubygem-bundler for openSUSE:Factory checked in at 2018-11-26 10:32:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-bundler (Old)
and /work/SRC/openSUSE:Factory/.rubygem-bundler.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-bundler"
Mon Nov 26 10:32:26 2018 rev:46 rq:651605 version:1.17.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-bundler/rubygem-bundler.changes 2018-10-25 09:08:24.918430686 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-bundler.new.19453/rubygem-bundler.changes 2018-11-26 10:33:57.652771072 +0100
@@ -1,0 +2,56 @@
+Thu Nov 22 05:00:44 UTC 2018 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 1.17.1
+ see installed CHANGELOG.md
+
+ ## 1.17.1 (2018-10-25)
+
+ - Convert `Pathname`s to `String`s before sorting them, fixing #6760 and #6758 ([#6761](https://github.com/bundler/bundler/pull/6761), @alexggordon)
+
+ ## 1.17.0 (2018-10-25)
+
+ No new changes.
+
+ ## 1.17.0.pre.2 (2018-10-13)
+
+ Features:
+
+ - Configure Bundler home, cache, config and plugin directories with `BUNDLE_USER_HOME`, `BUNDLE_USER_CACHE`, `BUNDLE_USER_CONFIG` and `BUNDLE_USER_PLUGIN` env vars ([#4333](https://github.com/bundler/bundler/issues/4333), @gwerbin)
+ - Add `--all` option to `bundle binstubs` that will generate an executable file for all gems with commands in the bundle
+ - Add `bundle remove` command to remove gems from the Gemfile via the CLI
+ - Improve checking file permissions and asking for `sudo` in Bundler when it doesn't need to
+ - Add error message to `bundle add` to check adding duplicate gems to the Gemfile
+ - When asking for `sudo`, Bundler will show a list of folders/files that require elevated permissions to write to.
+
+ The following new features are available but are not enabled by default. These are intended to be tested by users for the upcoming release of Bundler 2.
+
+ - Improve deprecation warning message for `bundle show` command
+ - Improve deprecation warning message for the `--force` option in `bundle install`
+
+ ## 1.17.0.pre.1 (2018-09-24)
+
+ Features:
+
+ - Check folder/file permissions of the Bundle home directory in the `bundle doctor` command ([#5786](https://github.com/bundler/bundler/issues/5786), @ajwann)
+ - Remove compiled gem extensions when running `bundle clean` ([#5596](https://github.com/bundler/bundler/issues/5596), @akhramov)
+ - Add `--paths` option to `bundle list` command ([#6172](https://github.com/bundler/bundler/issues/6172), @colby-swandale)
+ - Add base error class to gems generated from `bundle gem` ([#6260](https://github.com/bundler/bundler/issues/6260), @christhekeele)
+ - Correctly re-install gem extensions with a git source when running `bundle pristine` ([#6294](https://github.com/bundler/bundler/issues/6294), @wagenet)
+ - Add config option to disable platform warnings ([#6124](https://github.com/bundler/bundler/issues/6124), @agrim123)
+ - Add `--skip-install` option to `bundle add` command to add gems to the Gemfile without installation ([#6511](https://github.com/bundler/bundler/issues/6511), @agrim123)
+ - Add `--only-explicit` option to `bundle outdated` to list only outdated gems in the Gemfile ([#5366](https://github.com/bundler/bundler/issues/5366), @peret)
+ - Support adding multiple gems to the Gemfile with `bundle add` ([#6543](https://github.com/bundler/bundler/issues/6543), @agrim123)
+ - Make registered plugin events easier to manage in the Plugin API (@jules2689)
+ - Add new gem install hooks to the Plugin API (@jules2689)
+ - Add `--optimistic` and `--strict` options to `bundle add` ([#6553](https://github.com/bundler/bundler/issues/6553), @agrim123)
+ - Add `--without-group` and `--only-group` options to `bundle list` ([#6564](https://github.com/bundler/bundler/issues/6564), @agrim123)
+ - Add `--gemfile` option to the `bundle exec` command ([#5924](https://github.com/bundler/bundler/issues/5924), @ankitkataria)
+
+ The following new features are available but are not enabled by default. These are intended to be tested by users for the upcoming release of Bundler 2.
+
+ - Make `install --path` relative to the current working directory ([#2048](https://github.com/bundler/bundler/issues/2048), @igorbozato)
+ - Auto-configure job count ([#5808](https://github.com/bundler/bundler/issues/5808), @segiddins)
+ - Use the Gem Version Promoter for major gem updates ([#5993](https://github.com/bundler/bundler/issues/5993), @segiddins)
+ - Add config option to add the Ruby scope to `bundle config path` when configured globally (@segiddins)
+
+-------------------------------------------------------------------
Old:
----
bundler-1.16.6.gem
New:
----
bundler-1.17.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-bundler.spec ++++++
--- /var/tmp/diff_new_pack.v95h32/_old 2018-11-26 10:34:04.368763209 +0100
+++ /var/tmp/diff_new_pack.v95h32/_new 2018-11-26 10:34:04.372763204 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,14 +24,14 @@
#
Name: rubygem-bundler
-Version: 1.16.6
+Version: 1.17.1
Release: 0
%define mod_name bundler
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 1.8.7}
BuildRequires: %{rubygem gem2rpm}
+BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
Url: http://bundler.io
Source: https://rubygems.org/gems/%{mod_full_name}.gem
++++++ bundler-1.16.6.gem -> bundler-1.17.1.gem ++++++
++++ 2965 lines of diff (skipped)
1
0