commit rubygem-fog-core for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-fog-core for openSUSE:Factory checked in at 2022-04-30 22:52:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-fog-core (Old) and /work/SRC/openSUSE:Factory/.rubygem-fog-core.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-fog-core" Sat Apr 30 22:52:27 2022 rev:5 rq:974047 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-fog-core/rubygem-fog-core.changes 2021-06-25 15:02:16.776220496 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-fog-core.new.1538/rubygem-fog-core.changes 2022-04-30 22:52:34.636227454 +0200 @@ -1,0 +2,23 @@ +Thu Apr 28 05:29:52 UTC 2022 - Stephan Kulow <coolo@suse.com> + +updated to version 2.3.0 + see installed changelog.md + + 2.3.0 03/08/2022 + ========================================================== + + - fix v2.2.4 changelog + - bump actions/stale + - bump actions/checkout + - avoid loading unnecessary service via autoload + - update ruby.yml + - continue tests dispite head errors + - bump actions/checkout + - bump formatador requirement + - utilize reusable actions workflows + - bump reusable actions + - fix cache test for ruby 3.1+ + - tweak format of reusable workflows + + +------------------------------------------------------------------- Old: ---- fog-core-2.2.4.gem New: ---- fog-core-2.3.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-fog-core.spec ++++++ --- /var/tmp/diff_new_pack.sqkT0n/_old 2022-04-30 22:52:35.248228282 +0200 +++ /var/tmp/diff_new_pack.sqkT0n/_new 2022-04-30 22:52:35.252228288 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-fog-core # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -24,7 +24,7 @@ # Name: rubygem-fog-core -Version: 2.2.4 +Version: 2.3.0 Release: 0 %define mod_name fog-core %define mod_full_name %{mod_name}-%{version} ++++++ fog-core-2.2.4.gem -> fog-core-2.3.0.gem ++++++ 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 2021-04-28 18:23:57.000000000 +0200 +++ new/.github/workflows/ruby.yml 2022-03-08 14:56:31.000000000 +0100 @@ -15,20 +15,4 @@ jobs: test: - - runs-on: ubuntu-latest - strategy: - matrix: - ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', 'head'] - - steps: - - uses: actions/checkout@v2 - - 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 + uses: fog/.github/.github/workflows/ruby.yml@v1.1.0 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 2021-04-28 18:23:57.000000000 +0200 +++ new/.github/workflows/stale.yml 2022-03-08 14:56:31.000000000 +0100 @@ -6,18 +6,4 @@ jobs: stale: - - runs-on: ubuntu-latest - - steps: - - uses: actions/stale@v3 - 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' + uses: fog/.github/.github/workflows/stale.yml@v1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/changelog.md new/changelog.md --- old/changelog.md 2021-04-28 18:23:57.000000000 +0200 +++ new/changelog.md 2022-03-08 14:56:31.000000000 +0100 @@ -1,9 +1,25 @@ +2.3.0 03/08/2022 +========================================================== + +- fix v2.2.4 changelog +- bump actions/stale +- bump actions/checkout +- avoid loading unnecessary service via autoload +- update ruby.yml +- continue tests dispite head errors +- bump actions/checkout +- bump formatador requirement +- utilize reusable actions workflows +- bump reusable actions +- fix cache test for ruby 3.1+ +- tweak format of reusable workflows + 2.2.4 04/28/2020 ========================================================== -Add FOG_DEBUG in addition to DEBUG to allow avoiding namespace collisions -Add github actions configuration -Update succeeds helper to expected syntax for ruby 3+ +- Add FOG_DEBUG in addition to DEBUG to allow avoiding namespace collisions +- Add github actions configuration +- Update succeeds helper to expected syntax for ruby 3+ 2.2.3 09/16/2020 ========================================================== Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fog-core.gemspec new/fog-core.gemspec --- old/fog-core.gemspec 2021-04-28 18:23:57.000000000 +0200 +++ new/fog-core.gemspec 2022-03-08 14:56:31.000000000 +0100 @@ -23,7 +23,7 @@ spec.add_dependency("builder") spec.add_dependency("mime-types") spec.add_dependency("excon", "~> 0.71") - spec.add_dependency("formatador", "~> 0.2") + spec.add_dependency("formatador", ">= 0.2", "< 2.0") # https://github.com/fog/fog-core/issues/206 # spec.add_dependency("xmlrpc") if RUBY_VERSION.to_s >= "2.4" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fog/core/provider.rb new/lib/fog/core/provider.rb --- old/lib/fog/core/provider.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/lib/fog/core/provider.rb 2022-03-08 14:56:31.000000000 +0100 @@ -45,19 +45,20 @@ # "provider::service" is defined (the preferred format) then it returns that # string, otherwise it returns the deprecated string "service::provider". def service_klass(constant_string) - eval([to_s, constant_string].join("::")) - [to_s, constant_string].join("::") - rescue NameError - provider = to_s.split("::").last - Fog::Logger.deprecation("Unable to load #{[to_s, constant_string].join("::")}") - Fog::Logger.deprecation( - format( - Fog::ServicesMixin::E_SERVICE_PROVIDER_CONSTANT, - service: constant_string, - provider: provider + if const_defined?([to_s, constant_string].join("::")) + [to_s, constant_string].join("::") + else + provider = to_s.split("::").last + Fog::Logger.deprecation("Unable to load #{[to_s, constant_string].join("::")}") + Fog::Logger.deprecation( + format( + Fog::ServicesMixin::E_SERVICE_PROVIDER_CONSTANT, + service: constant_string, + provider: provider + ) ) - ) - ['Fog', constant_string, provider].join("::") + ['Fog', constant_string, provider].join("::") + end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fog/core/version.rb new/lib/fog/core/version.rb --- old/lib/fog/core/version.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/lib/fog/core/version.rb 2022-03-08 14:56:31.000000000 +0100 @@ -1,5 +1,5 @@ module Fog module Core - VERSION = "2.2.4" + VERSION = "2.3.0" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2021-04-28 18:23:57.000000000 +0200 +++ new/metadata 2022-03-08 14:56:31.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: fog-core version: !ruby/object:Gem::Version - version: 2.2.4 + version: 2.3.0 platform: ruby authors: - Evan Light @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2021-04-28 00:00:00.000000000 Z +date: 2022-03-08 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: builder @@ -57,16 +57,22 @@ name: formatador requirement: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: '0.2' + - - "<" + - !ruby/object:Gem::Version + version: '2.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - "~>" + - - ">=" - !ruby/object:Gem::Version version: '0.2' + - - "<" + - !ruby/object:Gem::Version + version: '2.0' - !ruby/object:Gem::Dependency name: tins requirement: !ruby/object:Gem::Requirement @@ -336,7 +342,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.2.15 +rubygems_version: 3.3.5 signing_key: specification_version: 4 summary: Shared classes and tests for fog providers and services. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/compute_spec.rb new/spec/compute_spec.rb --- old/spec/compute_spec.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/spec/compute_spec.rb 2022-03-08 14:56:31.000000000 +0100 @@ -10,16 +10,16 @@ describe "#new" do module Fog module TheRightWay - extend Provider - service(:compute, "Compute") + class Compute + def initialize(_args); end + end end end module Fog module TheRightWay - class Compute - def initialize(_args); end - end + extend Provider + service(:compute, "Compute") end end @@ -29,13 +29,6 @@ end module Fog - module TheWrongWay - extend Provider - service(:compute, "Compute") - end - end - - module Fog module Compute class TheWrongWay def initialize(_args); end @@ -43,18 +36,18 @@ end end - it "instantiates an instance of Fog::<Provider>::Compute from the :provider keyword arg" do - compute = Fog::Compute.new(:provider => :thewrongway) - assert_instance_of(Fog::Compute::TheWrongWay, compute) - end - module Fog - module BothWays + module TheWrongWay extend Provider service(:compute, "Compute") end end + it "instantiates an instance of Fog::<Provider>::Compute from the :provider keyword arg" do + compute = Fog::Compute.new(:provider => :thewrongway) + assert_instance_of(Fog::Compute::TheWrongWay, compute) + end + module Fog module BothWays class Compute @@ -74,6 +67,13 @@ end end + module Fog + module BothWays + extend Provider + service(:compute, "Compute") + end + end + describe "when both Fog::Compute::<Provider> and Fog::<Provider>::Compute exist" do it "prefers Fog::<Provider>::Compute" do compute = Fog::Compute.new(:provider => :bothways) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/core/cache_spec.rb new/spec/core/cache_spec.rb --- old/spec/core/cache_spec.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/spec/core/cache_spec.rb 2022-03-08 14:56:31.000000000 +0100 @@ -87,7 +87,7 @@ f.write(data) } - assert_equal false, Fog::Cache.load_cache(path) + assert !Fog::Cache.load_cache(path) end it "must have a namespace_prefix configurable" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/identity_spec.rb new/spec/identity_spec.rb --- old/spec/identity_spec.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/spec/identity_spec.rb 2022-03-08 14:56:31.000000000 +0100 @@ -10,16 +10,16 @@ describe "#new" do module Fog module TheRightWay - extend Provider - service(:identity, "Identity") + class Identity + def initialize(_args); end + end end end module Fog module TheRightWay - class Identity - def initialize(_args); end - end + extend Provider + service(:identity, "Identity") end end @@ -29,13 +29,6 @@ end module Fog - module TheWrongWay - extend Provider - service(:identity, "Identity") - end - end - - module Fog module Identity class TheWrongWay def initialize(_args); end @@ -43,18 +36,18 @@ end end - it "instantiates an instance of Fog::<Provider>::Identity from the :provider keyword arg" do - identity = Fog::Identity.new(:provider => :thewrongway) - assert_instance_of(Fog::Identity::TheWrongWay, identity) - end - module Fog - module BothWays + module TheWrongWay extend Provider service(:identity, "Identity") end end + it "instantiates an instance of Fog::<Provider>::Identity from the :provider keyword arg" do + identity = Fog::Identity.new(:provider => :thewrongway) + assert_instance_of(Fog::Identity::TheWrongWay, identity) + end + module Fog module BothWays class Identity @@ -74,6 +67,13 @@ end end + module Fog + module BothWays + extend Provider + service(:identity, "Identity") + end + end + describe "when both Fog::Identity::<Provider> and Fog::<Provider>::Identity exist" do it "prefers Fog::Identity::<Provider>" do identity = Fog::Identity.new(:provider => :bothways) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/storage_spec.rb new/spec/storage_spec.rb --- old/spec/storage_spec.rb 2021-04-28 18:23:57.000000000 +0200 +++ new/spec/storage_spec.rb 2022-03-08 14:56:31.000000000 +0100 @@ -10,16 +10,16 @@ describe "#new" do module Fog module TheRightWay - extend Provider - service(:storage, "Storage") + class Storage + def initialize(_args); end + end end end module Fog module TheRightWay - class Storage - def initialize(_args); end - end + extend Provider + service(:storage, "Storage") end end @@ -29,16 +29,16 @@ end module Fog - module TheWrongWay - extend Provider - service(:storage, "Storage") - end - module Storage class TheWrongWay def initialize(_args); end end end + + module TheWrongWay + extend Provider + service(:storage, "Storage") + end end it "instantiates an instance of Fog::Storage::<Provider> from the :provider keyword arg" do @@ -48,13 +48,6 @@ module Fog module BothWays - extend Provider - service(:storage, "Storage") - end - end - - module Fog - module BothWays class Storage attr_reader :args @@ -73,6 +66,13 @@ end end + module Fog + module BothWays + extend Provider + service(:storage, "Storage") + end + end + describe "when both Fog::Storage::<Provider> and Fog::<Provider>::Storage exist" do it "prefers Fog::Storage::<Provider>" do compute = Fog::Storage.new(:provider => :bothways)
participants (1)
-
Source-Sync