Hello community, here is the log from the commit of package rubygem-tmuxinator for openSUSE:Factory checked in at 2020-02-13 10:11:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-tmuxinator (Old) and /work/SRC/openSUSE:Factory/.rubygem-tmuxinator.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-tmuxinator" Thu Feb 13 10:11:13 2020 rev:4 rq:773176 version:1.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-tmuxinator/rubygem-tmuxinator.changes 2019-06-19 21:01:29.114142763 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-tmuxinator.new.26092/rubygem-tmuxinator.changes 2020-02-13 10:11:13.964330133 +0100 @@ -1,0 +2,12 @@ +Mon Feb 10 15:56:35 UTC 2020 - Stephan Kulow <[email protected]> + +- updated to version 1.1.4 + no changelog found + +------------------------------------------------------------------- +Fri Jul 19 09:42:42 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to version 1.1.1 + no changelog found + +------------------------------------------------------------------- Old: ---- tmuxinator-1.1.0.gem New: ---- tmuxinator-1.1.4.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-tmuxinator.spec ++++++ --- /var/tmp/diff_new_pack.D67KuE/_old 2020-02-13 10:11:14.536330465 +0100 +++ /var/tmp/diff_new_pack.D67KuE/_new 2020-02-13 10:11:14.536330465 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-tmuxinator # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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-tmuxinator -Version: 1.1.0 +Version: 1.1.4 Release: 0 %define mod_name tmuxinator %define mod_full_name %{mod_name}-%{version} @@ -39,7 +39,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url: https://github.com/tmuxinator/tmuxinator +URL: https://github.com/tmuxinator/tmuxinator Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: Create and manage complex tmux sessions easily ++++++ tmuxinator-1.1.0.gem -> tmuxinator-1.1.4.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/completion/mux.fish new/completion/mux.fish --- old/completion/mux.fish 2020-02-13 10:11:14.632330520 +0100 +++ new/completion/mux.fish 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -symbolic link to completion/tmuxinator.fish diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/completion/tmuxinator.zsh new/completion/tmuxinator.zsh --- old/completion/tmuxinator.zsh 2019-05-03 00:35:56.000000000 +0200 +++ new/completion/tmuxinator.zsh 2019-12-29 02:27:56.000000000 +0100 @@ -1,3 +1,5 @@ +#compdef _tmuxinator tmuxinator + _tmuxinator() { local commands projects commands=(${(f)"$(tmuxinator commands zsh)"}) @@ -9,7 +11,7 @@ 'projects:: _describe -t projects "tmuxinator projects" projects' elif (( CURRENT == 3)); then case $words[2] in - copy|debug|delete|open|start) + copy|cp|c|debug|delete|rm|open|o|start|s|edit|e) _arguments '*:projects:($projects)' ;; esac @@ -18,8 +20,6 @@ return } -compdef _tmuxinator tmuxinator mux -alias mux="tmuxinator" # Local Variables: # mode: Shell-Script diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tmuxinator/config.rb new/lib/tmuxinator/config.rb --- old/lib/tmuxinator/config.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/lib/tmuxinator/config.rb 2019-12-29 02:27:56.000000000 +0100 @@ -67,7 +67,7 @@ if tmux_version == "master" TMUX_MASTER_VERSION else - tmux_version.to_f + tmux_version.to_s[/\d+(?:\.\d+)?/, 0].to_f end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tmuxinator/project.rb new/lib/tmuxinator/project.rb --- old/lib/tmuxinator/project.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/lib/tmuxinator/project.rb 2019-12-29 02:27:56.000000000 +0100 @@ -170,7 +170,7 @@ # to server: Connection refused" error message and non-zero exit status # if no tmux sessions exist. # Please see issues #402 and #414. - sessions = `#{tmux_command} ls 2> /dev/null` + sessions = `#{tmux} ls 2> /dev/null` # Remove any escape sequences added by `shellescape` in Project#name. # Escapes can result in: "ArgumentError: invalid multibyte character" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tmuxinator/tmux_version.rb new/lib/tmuxinator/tmux_version.rb --- old/lib/tmuxinator/tmux_version.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/lib/tmuxinator/tmux_version.rb 2019-12-29 02:27:56.000000000 +0100 @@ -1,6 +1,8 @@ module Tmuxinator module TmuxVersion SUPPORTED_TMUX_VERSIONS = [ + "3.0a", + 3.0, "2.9a", 2.9, 2.8, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tmuxinator/version.rb new/lib/tmuxinator/version.rb --- old/lib/tmuxinator/version.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/lib/tmuxinator/version.rb 2019-12-29 02:27:56.000000000 +0100 @@ -1,3 +1,3 @@ module Tmuxinator - VERSION = "1.1.0".freeze + VERSION = "1.1.4".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2019-05-03 00:35:56.000000000 +0200 +++ new/metadata 2019-12-29 02:27:56.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: tmuxinator version: !ruby/object:Gem::Version - version: 1.1.0 + version: 1.1.4 platform: ruby authors: - Allen Bargi @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2019-05-02 00:00:00.000000000 Z +date: 2019-12-29 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: erubis @@ -31,20 +31,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '0.19' - - - ">=" - - !ruby/object:Gem::Version - version: 0.15.0 + version: '1.0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '0.19' - - - ">=" - - !ruby/object:Gem::Version - version: 0.15.0 + version: '1.0' - !ruby/object:Gem::Dependency name: xdg requirement: !ruby/object:Gem::Requirement @@ -54,7 +48,7 @@ version: '2.2' - - ">=" - !ruby/object:Gem::Version - version: 2.2.3 + version: 2.2.5 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement @@ -64,7 +58,7 @@ version: '2.2' - - ">=" - !ruby/object:Gem::Version - version: 2.2.3 + version: 2.2.5 - !ruby/object:Gem::Dependency name: activesupport requirement: !ruby/object:Gem::Requirement @@ -229,7 +223,6 @@ extra_rdoc_files: [] files: - bin/tmuxinator -- completion/mux.fish - completion/tmuxinator.bash - completion/tmuxinator.fish - completion/tmuxinator.zsh @@ -309,8 +302,7 @@ - !ruby/object:Gem::Version version: 1.8.23 requirements: [] -rubyforge_project: -rubygems_version: 2.7.7 +rubygems_version: 3.0.6 signing_key: specification_version: 4 summary: Create and manage complex tmux sessions easily. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/lib/tmuxinator/config_spec.rb new/spec/lib/tmuxinator/config_spec.rb --- old/spec/lib/tmuxinator/config_spec.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/spec/lib/tmuxinator/config_spec.rb 2019-12-29 02:27:56.000000000 +0100 @@ -159,14 +159,33 @@ and_return("tmux #{version}") end - context "master" do - let(:version) { "master" } - it { is_expected.to eq Float::INFINITY } - end + version_mapping = { + "0.8" => 0.8, + "1.0" => 1.0, + "1.9" => 1.9, + "1.9a" => 1.9, + "2.4" => 2.4, + "2.9a" => 2.9, + "3.0-rc5" => 3.0, + "next-3.1" => 3.1, + "master" => Float::INFINITY, + # Failsafes + "foobar" => 0.0, + "-123-" => 123.0, + "5935" => 5935.0, + "" => 0.0, + "!@#^%" => 0.0, + "2.9รค" => 2.9, + "v3.5" => 3.5, + "v3.12.0" => 3.12, + "v3.12.5" => 3.12 + }.freeze - context "installed" do - let(:version) { "2.4" } - it { is_expected.to eq version.to_f } + version_mapping.each do |string_version, parsed_numeric_version| + context "when reported version is '#{string_version}'" do + let(:version) { string_version } + it { is_expected.to eq parsed_numeric_version } + end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/lib/tmuxinator/project_spec.rb new/spec/lib/tmuxinator/project_spec.rb --- old/spec/lib/tmuxinator/project_spec.rb 2019-05-03 00:35:56.000000000 +0200 +++ new/spec/lib/tmuxinator/project_spec.rb 2019-12-29 02:27:56.000000000 +0100 @@ -79,7 +79,8 @@ describe "#tmux_has_session?" do context "no active sessions" do before do - cmd = "#{project.tmux_command} ls 2> /dev/null" + tmux = project.tmux_command + cmd = "#{tmux} -f ~/.tmux.mac.conf -L foo ls 2> /dev/null" resp = "" call_tmux_ls = receive(:`).with(cmd).at_least(:once).and_return(resp) @@ -93,7 +94,7 @@ context "active sessions" do before do - cmd = "#{project.tmux_command} ls 2> /dev/null" + cmd = "#{project.tmux} ls 2> /dev/null" resp = ""\ "foo: 1 window (created Sun May 25 10:12:00 1986) [0x0] (detached)\n"\ "bar: 1 window (created Sat Sept 01 00:00:00 1990) [0x0] (detached)"
