Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-fog-xml for openSUSE:Factory
checked in at 2022-02-07 23:37:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-fog-xml (Old)
and /work/SRC/openSUSE:Factory/.rubygem-fog-xml.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-fog-xml"
Mon Feb 7 23:37:50 2022 rev:2 rq:950623 version:0.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-fog-xml/rubygem-fog-xml.changes
2019-07-02 10:37:52.278533922 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-fog-xml.new.1898/rubygem-fog-xml.changes
2022-02-07 23:38:51.626128314 +0100
@@ -1,0 +2,6 @@
+Tue Jan 25 06:56:25 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 0.1.4
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
fog-xml-0.1.3.gem
New:
----
fog-xml-0.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-fog-xml.spec ++++++
--- /var/tmp/diff_new_pack.375WUh/_old 2022-02-07 23:38:52.098125085 +0100
+++ /var/tmp/diff_new_pack.375WUh/_new 2022-02-07 23:38:52.102125057 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-fog-xml
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# 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-fog-xml
-Version: 0.1.3
+Version: 0.1.4
Release: 0
%define mod_name fog-xml
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{ruby >= 2.0.0}
BuildRequires: %{rubygem gem2rpm}
-BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
-Url: https://github.com/fog/fog-xml
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+URL: https://github.com/fog/fog-xml
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: XML parsing for fog providers
License: MIT
++++++ fog-xml-0.1.3.gem -> fog-xml-0.1.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.github/dependabot.yml new/.github/dependabot.yml
--- old/.github/dependabot.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/.github/dependabot.yml 2021-10-01 15:17:12.000000000 +0200
@@ -0,0 +1,10 @@
+version: 2
+updates:
+ - package-ecosystem: "bundler"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.github/workflows/ruby.yml
new/.github/workflows/ruby.yml
--- old/.github/workflows/ruby.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/.github/workflows/ruby.yml 2021-10-01 15:17:12.000000000 +0200
@@ -0,0 +1,34 @@
+# This workflow uses actions that are not certified by GitHub.
+# They are provided by a third-party and are governed by
+# separate terms of service, privacy policy, and support
+# documentation.
+# This workflow will download a prebuilt Ruby version, install dependencies
and run tests with Rake
+# For more information see:
https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
+
+name: Ruby
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ test:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby-version: ['2.5', '2.6', '2.7', '3.0', 'head']
+
+ steps:
+ - uses: actions/[email protected]
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ bundler-cache: true # runs 'bundle install' and caches installed gems
automatically
+ - name: Install dependencies
+ run: bundle install
+ - name: Run tests
+ run: bundle exec rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.github/workflows/stale.yml
new/.github/workflows/stale.yml
--- old/.github/workflows/stale.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/.github/workflows/stale.yml 2021-10-01 15:17:12.000000000 +0200
@@ -0,0 +1,23 @@
+name: Mark stale issues and pull requests
+
+on:
+ schedule:
+ - cron: "30 1 * * *"
+
+jobs:
+ stale:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/stale@v4
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ days-before-stale: 60
+ days-before-close: 7
+ exempt-issue-labels: 'pinned,security'
+ exempt-pr-labels: 'pinned,security'
+ stale-issue-message: 'This issue has been marked inactive and will be
closed if no further activity occurs.'
+ stale-pr-message: 'This pr has been marked inactive and will be closed
if no further activity occurs.'
+ stale-issue-label: 'no-issue-activity'
+ stale-pr-label: 'no-pr-activity'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.ruby-version new/.ruby-version
--- old/.ruby-version 2017-03-30 16:42:37.000000000 +0200
+++ new/.ruby-version 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-03-30 16:42:37.000000000 +0200
+++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-matrix:
- include:
- - rvm: 1.8.7
- gemfile: gemfiles/Gemfile.1.9.2-
- - rvm: 1.9.2
- gemfile: gemfiles/Gemfile.1.9.2-
- - rvm: 1.9.3
- gemfile: gemfiles/Gemfile.1.9.3+
- - rvm: 2.0.0
- gemfile: gemfiles/Gemfile.1.9.3+
- - rvm: 2.3.0
- gemfile: gemfiles/Gemfile.1.9.3+
- env: COVERAGE=true
- - rvm: ree
- gemfile: gemfiles/Gemfile.1.9.2-
- - rvm: jruby
- gemfile: gemfiles/Gemfile.1.9.3+
-before_install:
- - gem install bundler
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fog-xml.gemspec new/fog-xml.gemspec
--- old/fog-xml.gemspec 2017-03-30 16:42:37.000000000 +0200
+++ new/fog-xml.gemspec 2021-10-01 15:17:12.000000000 +0200
@@ -22,22 +22,13 @@
spec.test_files = spec.files.grep(/^(test|spec|features)\//)
spec.require_paths = %w(lib)
+ spec.required_ruby_version = '>= 2.0.0'
+
spec.add_dependency "fog-core"
- case RUBY_VERSION
- when /^(1\.8.*|1\.9\.[012])$/
- spec.add_dependency "nokogiri", ">= 1.5.11", "< 1.6.2"
- spec.add_development_dependency "rake", "< 11.0.0"
- when /^(1\.9\.([^012]|\d.+)|2\.0.*)$/
- spec.add_dependency "nokogiri", ">= 1.5.11", "< 1.7.0"
- spec.add_development_dependency "rake"
- else
- spec.add_dependency "nokogiri", ">= 1.5.11", "< 2.0.0"
- spec.add_development_dependency "rake"
- end
+ spec.add_dependency "nokogiri", ">= 1.5.11", "< 2.0.0" #pinned for 2.0
support
+ spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
spec.add_development_dependency "turn"
spec.add_development_dependency "pry"
- spec.add_development_dependency "coveralls" if RUBY_VERSION.to_f >= 1.9
- spec.add_development_dependency "term-ansicolor", "< 1.4.0" if
RUBY_VERSION.start_with? "1.9."
- spec.add_development_dependency "tins", "< 1.7.0" if
RUBY_VERSION.start_with? "1.9."
+ spec.add_development_dependency "coveralls"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gemfiles/Gemfile.1.9.2- new/gemfiles/Gemfile.1.9.2-
--- old/gemfiles/Gemfile.1.9.2- 2017-03-30 16:42:37.000000000 +0200
+++ new/gemfiles/Gemfile.1.9.2- 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-source "https://rubygems.org"
-
-gem 'mime-types', '< 2.0'
-gem 'nokogiri', '< 1.6'
-gem 'rest-client', '~> 1.6.8'
-gem 'fog-core'
-
-gemspec :path => '../'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/fog/xml/response.rb new/lib/fog/xml/response.rb
--- old/lib/fog/xml/response.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/lib/fog/xml/response.rb 2021-10-01 15:17:12.000000000 +0200
@@ -0,0 +1,26 @@
+module Fog
+ module XML
+ class Response
+ def initialize(parser)
+ @parser = parser
+ @data_stream = Nokogiri::XML::SAX::PushParser.new(parser)
+ @response_string = ""
+ end
+
+ def call(chunk, _remaining, _total)
+ @response_string << chunk if ENV["DEBUG_RESPONSE"]
+ @data_stream << chunk
+ end
+
+ def rewind
+ @parser.reset
+ @response_string = ""
+ end
+
+ def finish
+ Fog::Logger.debug "\n#{@response_string}" if ENV["DEBUG_RESPONSE"]
+ @data_stream.finish
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/fog/xml/sax_parser_connection.rb
new/lib/fog/xml/sax_parser_connection.rb
--- old/lib/fog/xml/sax_parser_connection.rb 2017-03-30 16:42:37.000000000
+0200
+++ new/lib/fog/xml/sax_parser_connection.rb 2021-10-01 15:17:12.000000000
+0200
@@ -23,20 +23,13 @@
def request(parser, params)
reset unless @persistent
- # Prepare the SAX parser
- data_stream = Nokogiri::XML::SAX::PushParser.new(parser)
- response_string = ""
- params[:response_block] = lambda do |chunk, _remaining, _total|
- response_string << chunk if ENV["DEBUG_RESPONSE"]
- data_stream << chunk
- end
+ params[:response_block] = ::Fog::XML::Response.new(parser)
# Make request which read chunks into parser
response = @excon.request(params)
- Fog::Logger.debug "\n#{response_string}" if ENV["DEBUG_RESPONSE"]
# Cease parsing and override response.body with parsed data
- data_stream.finish
+ params[:response_block].finish
response.body = parser.response
response
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/fog/xml/version.rb new/lib/fog/xml/version.rb
--- old/lib/fog/xml/version.rb 2017-03-30 16:42:37.000000000 +0200
+++ new/lib/fog/xml/version.rb 2021-10-01 15:17:12.000000000 +0200
@@ -1,5 +1,5 @@
module Fog
module Xml
- VERSION = "0.1.3"
+ VERSION = "0.1.4"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/fog/xml.rb new/lib/fog/xml.rb
--- old/lib/fog/xml.rb 2017-03-30 16:42:37.000000000 +0200
+++ new/lib/fog/xml.rb 2021-10-01 15:17:12.000000000 +0200
@@ -8,6 +8,7 @@
module XML
autoload :SAXParserConnection,
File.expand_path("../xml/sax_parser_connection", __FILE__)
autoload :Connection, File.expand_path("../xml/connection", __FILE__)
+ autoload :Response, File.expand_path("../xml/response", __FILE__)
end
module Parsers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-03-30 16:42:37.000000000 +0200
+++ new/metadata 2021-10-01 15:17:12.000000000 +0200
@@ -1,16 +1,16 @@
--- !ruby/object:Gem::Specification
name: fog-xml
version: !ruby/object:Gem::Version
- version: 0.1.3
+ version: 0.1.4
platform: ruby
authors:
- Wesley Beary (geemus)
- Paul Thornthwaite (tokengeek)
- The fog team
-autorequire:
+autorequire:
bindir: bin
cert_chain: []
-date: 2017-03-30 00:00:00.000000000 Z
+date: 2021-10-01 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: fog-core
@@ -126,11 +126,12 @@
extensions: []
extra_rdoc_files: []
files:
+- ".github/dependabot.yml"
+- ".github/workflows/ruby.yml"
+- ".github/workflows/stale.yml"
- ".gitignore"
- ".rubocop.yml"
- ".ruby-gemset"
-- ".ruby-version"
-- ".travis.yml"
- CONTRIBUTING.md
- CONTRIBUTORS.md
- Gemfile
@@ -138,12 +139,12 @@
- README.md
- Rakefile
- fog-xml.gemspec
-- gemfiles/Gemfile.1.9.2-
- gemfiles/Gemfile.1.9.3+
- lib/fog/parsers/base.rb
- lib/fog/to_hash_document.rb
- lib/fog/xml.rb
- lib/fog/xml/connection.rb
+- lib/fog/xml/response.rb
- lib/fog/xml/sax_parser_connection.rb
- lib/fog/xml/version.rb
- spec/fog/parsers/base_spec.rb
@@ -153,7 +154,7 @@
licenses:
- MIT
metadata: {}
-post_install_message:
+post_install_message:
rdoc_options: []
require_paths:
- lib
@@ -161,16 +162,15 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: '0'
+ version: 2.0.0
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubyforge_project:
-rubygems_version: 2.6.11
-signing_key:
+rubygems_version: 3.2.15
+signing_key:
specification_version: 4
summary: XML parsing for fog providers
test_files: