Hello community,

here is the log from the commit of package rubygem-capistrano for 
openSUSE:Factory checked in at 2018-06-04 13:22:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-capistrano (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-capistrano.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-capistrano"

Mon Jun  4 13:22:52 2018 rev:32 rq:613894 version:3.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-capistrano/rubygem-capistrano.changes    
2017-12-23 12:20:30.920573035 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-capistrano.new/rubygem-capistrano.changes   
    2018-06-04 13:23:50.669732596 +0200
@@ -1,0 +2,12 @@
+Sun Jun  3 04:02:27 UTC 2018 - [email protected]
+
+- updated to version 3.11.0
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------
+Sun Apr 15 23:29:43 UTC 2018 - [email protected]
+
+- updated to version 3.10.2
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  capistrano-3.10.1.gem

New:
----
  capistrano-3.11.0.gem

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

Other differences:
------------------
++++++ rubygem-capistrano.spec ++++++
--- /var/tmp/diff_new_pack.lyv5Us/_old  2018-06-04 13:23:51.389706231 +0200
+++ /var/tmp/diff_new_pack.lyv5Us/_new  2018-06-04 13:23:51.389706231 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-capistrano
 #
-# 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
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-capistrano
-Version:        3.10.1
+Version:        3.11.0
 Release:        0
 %define mod_name capistrano
 %define mod_full_name %{mod_name}-%{version}

++++++ capistrano-3.10.1.gem -> capistrano-3.11.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-12-08 19:45:04.000000000 +0100
+++ new/CHANGELOG.md    2018-06-03 05:15:18.000000000 +0200
@@ -11,15 +11,33 @@
 **Capistrano uses a six-week release cadence.** Every six weeks, give or take, 
any changes in master will be published as a new rubygems version. If you'd 
like to use a feature or fix that is in master and you can't wait for the next 
planned release, put this in your project's Gemfile to use the master branch 
directly:
 
 ```ruby
-gem "capistrano", :github => "capistrano/capistrano"
+gem "capistrano", github: "capistrano/capistrano", require: false
 ```
 
 ## [master]
 
-[master]: https://github.com/capistrano/capistrano/compare/v3.10.1...HEAD
+[master]: https://github.com/capistrano/capistrano/compare/v3.11.0...HEAD
 
 * Your contribution here!
 
+## [`3.11.0`] (2018-06-02)
+
+* [#1972](https://github.com/capistrano/capistrano/pull/1972): fallback ask to 
default when used in non interactive session
+
+[`3.11.0`]: https://github.com/capistrano/capistrano/compare/v3.10.2...v3.11.0
+
+## [`3.10.2`] (2018-04-15)
+
+[`3.10.2`]: https://github.com/capistrano/capistrano/compare/v3.10.1...v3.10.2
+
+### Breaking changes:
+
+* None
+
+### Fixes:
+
+* [#1977](https://github.com/capistrano/capistrano/pull/1977): Remove append 
operator when writing the git file - [@mmiller1](https://github.com/mmiller1)
+
 ## [`3.10.1`] (2017-12-08)
 
 [`3.10.1`]: https://github.com/capistrano/capistrano/compare/v3.10.0...v3.10.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt
--- old/LICENSE.txt     2017-12-08 19:45:04.000000000 +0100
+++ new/LICENSE.txt     2018-06-03 05:15:18.000000000 +0200
@@ -1,6 +1,6 @@
 MIT License (MIT)
 
-Copyright (c) 2012-2017 Tom Clements, Lee Hambley
+Copyright (c) 2012-2018 Tom Clements, Lee Hambley
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-12-08 19:45:04.000000000 +0100
+++ new/README.md       2018-06-03 05:15:18.000000000 +0200
@@ -103,11 +103,11 @@
 
 ### Install the Capistrano gem
 
-Add Capistrano to your project's Gemfile:
+Add Capistrano to your project's Gemfile using `require: false`:
 
 ``` ruby
 group :development do
-  gem "capistrano", "~> 3.10"
+  gem "capistrano", "~> 3.11", require: false
 end
 ```
 
@@ -200,7 +200,7 @@
 
 MIT License (MIT)
 
-Copyright (c) 2012-2015 Tom Clements, Lee Hambley
+Copyright (c) 2012-2018 Tom Clements, Lee Hambley
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/configuration/question.rb 
new/lib/capistrano/configuration/question.rb
--- old/lib/capistrano/configuration/question.rb        2017-12-08 
19:45:04.000000000 +0100
+++ new/lib/capistrano/configuration/question.rb        2018-06-03 
05:15:18.000000000 +0200
@@ -36,6 +36,8 @@
       end
 
       def gets
+        return unless $stdin.tty?
+
         if echo?
           $stdin.gets
         else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/configuration.rb 
new/lib/capistrano/configuration.rb
--- old/lib/capistrano/configuration.rb 2017-12-08 19:45:04.000000000 +0100
+++ new/lib/capistrano/configuration.rb 2018-06-03 05:15:18.000000000 +0200
@@ -47,10 +47,14 @@
     def any?(key)
       value = fetch(key)
       if value && value.respond_to?(:any?)
-        value.any?
-      else
-        !fetch(key).nil?
+        begin
+          return value.any?
+        rescue ArgumentError # rubocop:disable Lint/HandleExceptions
+          # Gracefully ignore values whose `any?` method doesn't accept 0 args
+        end
       end
+
+      !value.nil?
     end
 
     def is_question?(key)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/tasks/deploy.rake 
new/lib/capistrano/tasks/deploy.rake
--- old/lib/capistrano/tasks/deploy.rake        2017-12-08 19:45:04.000000000 
+0100
+++ new/lib/capistrano/tasks/deploy.rake        2018-06-03 05:15:18.000000000 
+0200
@@ -238,7 +238,7 @@
   task :set_current_revision  do
     on release_roles(:all) do
       within release_path do
-        execute :echo, "\"#{fetch(:current_revision)}\" >> REVISION"
+        execute :echo, "\"#{fetch(:current_revision)}\" > REVISION"
       end
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/capistrano/templates/deploy.rb.erb 
new/lib/capistrano/templates/deploy.rb.erb
--- old/lib/capistrano/templates/deploy.rb.erb  2017-12-08 19:45:04.000000000 
+0100
+++ new/lib/capistrano/templates/deploy.rb.erb  2018-06-03 05:15:18.000000000 
+0200
@@ -21,7 +21,7 @@
 # set :pty, true
 
 # Default value for :linked_files is []
-# append :linked_files, "config/database.yml", "config/secrets.yml"
+# append :linked_files, "config/database.yml"
 
 # Default value for linked_dirs is []
 # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", 
"public/system"
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       2017-12-08 19:45:04.000000000 +0100
+++ new/lib/capistrano/version.rb       2018-06-03 05:15:18.000000000 +0200
@@ -1,3 +1,3 @@
 module Capistrano
-  VERSION = "3.10.1".freeze
+  VERSION = "3.11.0".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-12-08 19:45:04.000000000 +0100
+++ new/metadata        2018-06-03 05:15:18.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: capistrano
 version: !ruby/object:Gem::Version
-  version: 3.10.1
+  version: 3.11.0
 platform: ruby
 authors:
 - Tom Clements
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-12-08 00:00:00.000000000 Z
+date: 2018-06-03 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: airbrussh
@@ -285,7 +285,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 2.7.7
 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/configuration/question_spec.rb 
new/spec/lib/capistrano/configuration/question_spec.rb
--- old/spec/lib/capistrano/configuration/question_spec.rb      2017-12-08 
19:45:04.000000000 +0100
+++ new/spec/lib/capistrano/configuration/question_spec.rb      2018-06-03 
05:15:18.000000000 +0200
@@ -57,6 +57,17 @@
             expect(question.call).to eq(branch)
           end
         end
+
+        context "tty unavailable" do
+          before do
+            $stdin.expects(:gets).never
+            $stdin.expects(:tty?).returns(false)
+          end
+
+          it "returns the default as the value" do
+            expect(question.call).to eq(default)
+          end
+        end
       end
     end
   end


Reply via email to