Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-capistrano for 
openSUSE:Factory checked in at 2021-05-20 19:25:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-capistrano (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-capistrano.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-capistrano"

Thu May 20 19:25:31 2021 rev:37 rq:894581 version:3.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-capistrano/rubygem-capistrano.changes    
2021-01-21 21:55:21.837794285 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-capistrano.new.2988/rubygem-capistrano.changes
  2021-05-20 19:26:01.809703839 +0200
@@ -1,0 +2,10 @@
+Mon May  3 17:53:57 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 3.16.0
+  * Add a :verify_commit option; if enabled, checks that the
+    revision being deployed has a valid signature (git only)
+- Drop CHANGELOG.md as changes are no longer tracked there since
+  version 3.11.2. They are now published on Github:
+  https://github.com/capistrano/capistrano/releases
+  
+-------------------------------------------------------------------

Old:
----
  capistrano-3.15.0.gem

New:
----
  capistrano-3.16.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-capistrano.spec ++++++
--- /var/tmp/diff_new_pack.iAk0ql/_old  2021-05-20 19:26:02.357701591 +0200
+++ /var/tmp/diff_new_pack.iAk0ql/_new  2021-05-20 19:26:02.361701575 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-capistrano
-Version:        3.15.0
+Version:        3.16.0
 Release:        0
 %define mod_name capistrano
 %define mod_full_name %{mod_name}-%{version}
@@ -52,7 +52,7 @@
 %install
 %gem_install \
   --symlink-binaries \
-  --doc-files="CHANGELOG.md LICENSE.txt README.md" \
+  --doc-files="LICENSE.txt README.md" \
   -f
 
 %gem_packages

++++++ capistrano-3.15.0.gem -> capistrano-3.16.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2021-01-05 16:58:47.000000000 +0100
+++ new/README.md       2021-02-28 21:27:19.000000000 +0100
@@ -107,7 +107,7 @@
 
 ``` ruby
 group :development do
-  gem "capistrano", "~> 3.14", require: false
+  gem "capistrano", "~> 3.16", require: false
 end
 ```
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/features/support/vagrant_helpers.rb 
new/features/support/vagrant_helpers.rb
--- old/features/support/vagrant_helpers.rb     2021-01-05 16:58:47.000000000 
+0100
+++ new/features/support/vagrant_helpers.rb     2021-02-28 21:27:19.000000000 
+0100
@@ -30,6 +30,12 @@
     return [stdout, stderr] if status.success?
     raise VagrantSSHCommandError, status
   end
+
+  def puts(message)
+    # Attach log messages to the current cucumber feature (`log`),
+    # or simply puts to the console (`super`) if we are outside of cucumber.
+    respond_to?(:log) ? log(message) : super(message)
+  end
 end
 
 World(VagrantHelpers)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/scm/git.rb 
new/lib/capistrano/scm/git.rb
--- old/lib/capistrano/scm/git.rb       2021-01-05 16:58:47.000000000 +0100
+++ new/lib/capistrano/scm/git.rb       2021-02-28 21:27:19.000000000 +0100
@@ -60,6 +60,10 @@
     end
   end
 
+  def verify_commit
+    git :"verify-commit", fetch_revision
+  end
+
   def archive_to_release_path
     if (tree = fetch(:repo_tree))
       tree = tree.slice %r#^/?(.*?)/?$#, 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/scm/tasks/git.rake 
new/lib/capistrano/scm/tasks/git.rake
--- old/lib/capistrano/scm/tasks/git.rake       2021-01-05 16:58:47.000000000 
+0100
+++ new/lib/capistrano/scm/tasks/git.rake       2021-02-28 21:27:19.000000000 
+0100
@@ -42,6 +42,7 @@
       within repo_path do
         with fetch(:git_environmental_variables) do
           git_plugin.update_mirror
+          git_plugin.verify_commit if fetch(:git_verify_commit)
         end
       end
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/version.rb 
new/lib/capistrano/version.rb
--- old/lib/capistrano/version.rb       2021-01-05 16:58:47.000000000 +0100
+++ new/lib/capistrano/version.rb       2021-02-28 21:27:19.000000000 +0100
@@ -1,3 +1,3 @@
 module Capistrano
-  VERSION = "3.15.0".freeze
+  VERSION = "3.16.0".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-01-05 16:58:47.000000000 +0100
+++ new/metadata        2021-02-28 21:27:19.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: capistrano
 version: !ruby/object:Gem::Version
-  version: 3.15.0
+  version: 3.16.0
 platform: ruby
 authors:
 - Tom Clements
@@ -9,7 +9,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2021-01-05 00:00:00.000000000 Z
+date: 2021-02-28 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: airbrussh
@@ -277,7 +277,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.2.4
+rubygems_version: 3.2.11
 signing_key:
 specification_version: 4
 summary: Capistrano - Welcome to easy deployment with Ruby over SSH
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/lib/capistrano/scm/git_spec.rb 
new/spec/lib/capistrano/scm/git_spec.rb
--- old/spec/lib/capistrano/scm/git_spec.rb     2021-01-05 16:58:47.000000000 
+0100
+++ new/spec/lib/capistrano/scm/git_spec.rb     2021-02-28 21:27:19.000000000 
+0100
@@ -169,5 +169,16 @@
         expect(revision).to eq("81cec13b777ff46348693d327fc8e7832f79bf43")
       end
     end
+
+    describe "#verify_commit" do
+      it "should run git verify-commit" do
+        env.set(:branch, "branch")
+
+        backend.expects(:capture).with(:git, "rev-list --max-count=1 
branch").returns("81cec13b777ff46348693d327fc8e7832f79bf43")
+        backend.expects(:execute).with(:git, :"verify-commit", 
"81cec13b777ff46348693d327fc8e7832f79bf43")
+
+        subject.verify_commit
+      end
+    end
   end
 end

Reply via email to