Hello community, here is the log from the commit of package rubygem-rhc for openSUSE:Factory checked in at 2015-04-18 10:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rhc (Old) and /work/SRC/openSUSE:Factory/.rubygem-rhc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rhc" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rhc/rubygem-rhc.changes 2015-01-29 09:56:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 2015-04-18 10:38:55.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Apr 14 04:30:43 UTC 2015 - [email protected] + +- updated to version 1.35.3 + +------------------------------------------------------------------- +Fri Mar 6 18:03:42 UTC 2015 - [email protected] + +- updated to version 1.35.1 + +------------------------------------------------------------------- Old: ---- rhc-1.34.2.gem New: ---- gem2rpm.yml rhc-1.35.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rhc.spec ++++++ --- /var/tmp/diff_new_pack.AaoPIg/_old 2015-04-18 10:38:55.000000000 +0200 +++ /var/tmp/diff_new_pack.AaoPIg/_new 2015-04-18 10:38:55.000000000 +0200 @@ -16,8 +16,15 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-rhc -Version: 1.34.2 +Version: 1.35.3 Release: 0 %define mod_name rhc %define mod_full_name %{mod_name}-%{version} @@ -28,13 +35,11 @@ BuildRequires: update-alternatives Url: https://github.com/openshift/rhc Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: OpenShift Client Tools License: Apache-2.0 Group: Development/Languages/Ruby PreReq: update-alternatives -# MANUAL -Recommends: git -Recommends: openssh %description The client tools for the OpenShift platform that allow for application ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages :main: :preamble: |- Recommends: git Recommends: openssh # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # ++++++ rhc-1.34.2.gem -> rhc-1.35.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rhc/config.rb new/lib/rhc/config.rb --- old/lib/rhc/config.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rhc/config.rb 1970-01-01 01:00:00.000000000 +0100 @@ -61,8 +61,9 @@ :insecure => [nil, :boolean, "If true, certificate errors will be ignored.\nWARNING: This may allow others to eavesdrop on your communication with OpenShift."], :ssl_version => [nil, nil, 'The SSL protocol version to use when connecting to this server'], :ssl_client_cert_file => [nil, :path_to_file, 'A client certificate file for use with your server'], - :ssl_client_key_file => [nil, :path_to_file, 'The corresponding key for the client certificate'], + :ssl_client_key_file => [nil, :path_to_file, 'The corresponding key for the client certificate'], :ssl_ca_file => [nil, :path_to_file, 'A file containing CA one or more certificates'], + :always_auth => [nil, :boolean, 'If true, the client will use an authenticated connection for all requests. Useful for certain client certificate configurations.'], } def self.options_to_config(options, args=OPTIONS.keys) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rhc/helpers.rb new/lib/rhc/helpers.rb --- old/lib/rhc/helpers.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rhc/helpers.rb 1970-01-01 01:00:00.000000000 +0100 @@ -386,6 +386,7 @@ :ssl_ca_file => 'SSL Cert CA File', :ssl_version => 'SSL Version', :ssl_client_cert_file => 'SSL x509 Client Cert File', + :ssl_client_key_file => 'SSL x509 Client Key File', :zones => 'Available Zones' }) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rhc/output_helpers.rb new/lib/rhc/output_helpers.rb --- old/lib/rhc/output_helpers.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rhc/output_helpers.rb 1970-01-01 01:00:00.000000000 +0100 @@ -101,6 +101,7 @@ :timeout, :ssl_version, :ssl_client_cert_file, + :ssl_client_key_file, :ssl_ca_file ), { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rhc/rest/api.rb new/lib/rhc/rest/api.rb --- old/lib/rhc/rest/api.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rhc/rest/api.rb 1970-01-01 01:00:00.000000000 +0100 @@ -10,11 +10,12 @@ @server_api_versions = [] debug "Client supports API versions #{preferred_api_versions.join(', ')}" @client_api_versions = preferred_api_versions + always_auth = RHC::Helpers.to_boolean(RHC::Config['always_auth'], false) @server_api_versions, @current_api_version, links = api_info({ :url => client.url, :method => :get, :accept => :json, - :no_auth => true, + :no_auth => !always_auth, }) debug "Server supports API versions #{@server_api_versions.join(', ')}" @@ -28,7 +29,7 @@ :method => :get, :accept => :json, :api_version => api_version_negotiated, - :no_auth => true, + :no_auth => !always_auth, }) end else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rhc/wizard.rb new/lib/rhc/wizard.rb --- old/lib/rhc/wizard.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/rhc/wizard.rb 1970-01-01 01:00:00.000000000 +0100 @@ -294,6 +294,7 @@ :timeout => options.timeout, :ssl_version => options.ssl_version, :ssl_client_cert_file => options.ssl_client_cert_file, + :ssl_client_key_file => options.ssl_client_key_file, :ssl_ca_file => options.ssl_ca_file) servers.save! success "done" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1970-01-01 01:00:00.000000000 +0100 +++ new/metadata 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +1,13 @@ --- !ruby/object:Gem::Specification name: rhc version: !ruby/object:Gem::Version - hash: 155 + hash: 157 prerelease: segments: - 1 - - 34 - - 2 - version: 1.34.2 + - 35 + - 3 + version: 1.35.3 platform: ruby authors: - Red Hat @@ -15,7 +15,7 @@ bindir: bin cert_chain: [] -date: 2015-01-17 00:00:00 Z +date: 2015-04-10 00:00:00 Z dependencies: - !ruby/object:Gem::Dependency name: net-ssh @@ -31,6 +31,14 @@ - 0 - 11 version: 2.0.11 + - - < + - !ruby/object:Gem::Version + hash: 45 + segments: + - 2 + - 9 + - 3 + version: 2.9.3 type: :runtime version_requirements: *id001 - !ruby/object:Gem::Dependency @@ -92,6 +100,14 @@ - 4 - 0 version: "4.0" + - - < + - !ruby/object:Gem::Version + hash: 51 + segments: + - 4 + - 3 + - 0 + version: 4.3.0 type: :runtime version_requirements: *id005 - !ruby/object:Gem::Dependency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rhc/config_spec.rb new/spec/rhc/config_spec.rb --- old/spec/rhc/config_spec.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/spec/rhc/config_spec.rb 1970-01-01 01:00:00.000000000 +0100 @@ -69,9 +69,10 @@ 'ssl_ca_file' => 'file2', 'timeout' => '1', 'use_authorization_tokens' => 'true', + 'always_auth' => 'false', } end - its(:to_options){ should == {:insecure => true, :timeout => 1, :ssl_ca_file => 'file2', :ssl_client_cert_file => 'file1', :rhlogin => 'user', :password => 'pass', :server => 'test.com', :use_authorization_tokens => true} } + its(:to_options){ should == {:insecure => true, :timeout => 1, :ssl_ca_file => 'file2', :ssl_client_cert_file => 'file1', :rhlogin => 'user', :password => 'pass', :server => 'test.com', :use_authorization_tokens => true, :always_auth => false} } end end
