Hello community,

here is the log from the commit of package rubygem-tmuxinator for 
openSUSE:Factory checked in at 2019-06-19 21:01:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-tmuxinator (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-tmuxinator.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-tmuxinator"

Wed Jun 19 21:01:26 2019 rev:3 rq:706031 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-tmuxinator/rubygem-tmuxinator.changes    
2019-03-04 09:21:17.128591154 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-tmuxinator.new.4811/rubygem-tmuxinator.changes
  2019-06-19 21:01:29.114142763 +0200
@@ -1,0 +2,6 @@
+Sun May  5 09:47:36 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to version 1.1.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  tmuxinator-0.15.0.gem

New:
----
  tmuxinator-1.1.0.gem

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

Other differences:
------------------
++++++ rubygem-tmuxinator.spec ++++++
--- /var/tmp/diff_new_pack.blOZGp/_old  2019-06-19 21:01:29.910143431 +0200
+++ /var/tmp/diff_new_pack.blOZGp/_new  2019-06-19 21:01:29.914143435 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-tmuxinator
-Version:        0.15.0
+Version:        1.1.0
 Release:        0
 %define mod_name tmuxinator
 %define mod_full_name %{mod_name}-%{version}
@@ -35,7 +35,7 @@
 %endif
 # /MANUAL
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 2.2.7}
+BuildRequires:  %{ruby >= 2.4.6}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives

++++++ tmuxinator-0.15.0.gem -> tmuxinator-1.1.0.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tmuxinator/assets/sample.yml 
new/lib/tmuxinator/assets/sample.yml
--- old/lib/tmuxinator/assets/sample.yml        2018-12-27 02:22:44.000000000 
+0100
+++ new/lib/tmuxinator/assets/sample.yml        2019-05-03 00:35:56.000000000 
+0200
@@ -6,8 +6,8 @@
 # Optional tmux socket
 # socket_name: foo
 
-# Runs before everything. Use it to start daemons etc.
-# pre: sudo /etc/rc.d/mysqld start
+# Note that the pre and post options have been deprecated and will be replaced 
by
+# project hooks.
 
 # Project hooks
 # Runs on project start, always
@@ -39,9 +39,6 @@
 # Controls whether the tmux session should be attached to automatically. 
Defaults to true.
 # attach: false
 
-# Runs after everything. Use it to attach to tmux with custom options etc.
-# post: tmux -CC attach -t <%= name %>
-
 windows:
   - editor:
       layout: main-vertical
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tmuxinator/cli.rb new/lib/tmuxinator/cli.rb
--- old/lib/tmuxinator/cli.rb   2018-12-27 02:22:44.000000000 +0100
+++ new/lib/tmuxinator/cli.rb   2019-05-03 00:35:56.000000000 +0200
@@ -378,11 +378,17 @@
     desc "list", COMMANDS[:list]
     map "l" => :list
     map "ls" => :list
+    method_option :newline, type: :boolean,
+                            aliases: ["-n"],
+                            desc: "Force output to be one entry per line."
 
     def list
       say "tmuxinator projects:"
-
-      print_in_columns Tmuxinator::Config.configs
+      if options[:newline]
+        say Tmuxinator::Config.configs.join("\n")
+      else
+        print_in_columns Tmuxinator::Config.configs
+      end
     end
 
     desc "version", COMMANDS[:version]
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       2018-12-27 02:22:44.000000000 +0100
+++ new/lib/tmuxinator/project.rb       2019-05-03 00:35:56.000000000 +0200
@@ -3,7 +3,6 @@
     include Tmuxinator::Util
     include Tmuxinator::Deprecations
     include Tmuxinator::Hooks::Project
-    include Tmuxinator::WemuxSupport
 
     RBENVRVM_DEP_MSG = <<-M
     DEPRECATION: rbenv/rvm-specific options have been replaced by the
@@ -27,12 +26,12 @@
     now, use the 'synchronize: after' option.
     M
     PRE_DEP_MSG = <<-M
-    DEPRECATION: The `pre` option has been replaced by project hooks and will
-    not be supported anymore.
+    DEPRECATION: The `pre` option has been replaced by project hooks 
(`on_project_start` and
+    `on_project_restart`) and will be removed in a future release.
     M
     POST_DEP_MSG = <<-M
-    DEPRECATION: The `post` option has been replaced by project hooks and will
-    not be supported anymore.
+    DEPRECATION: The `post` option has been replaced by project hooks 
(`on_project_stop` and
+    `on_project_exit`) and will be removed in a future release.
     M
 
     attr_reader :yaml
@@ -91,7 +90,7 @@
       raise "Cannot force_attach and force_detach at the same time" \
         if @force_attach && @force_detach
 
-      load_wemux_overrides if wemux?
+      extend Tmuxinator::WemuxSupport if wemux?
     end
 
     def render
@@ -378,5 +377,9 @@
     def parsed_parameters(parameters)
       parameters.is_a?(Array) ? parameters.join("; ") : parameters
     end
+
+    def wemux?
+      yaml["tmux_command"] == "wemux"
+    end
   end
 end
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  2018-12-27 02:22:44.000000000 +0100
+++ new/lib/tmuxinator/tmux_version.rb  2019-05-03 00:35:56.000000000 +0200
@@ -1,20 +1,22 @@
 module Tmuxinator
   module TmuxVersion
     SUPPORTED_TMUX_VERSIONS = [
-      1.5,
-      1.6,
-      1.7,
-      1.8,
-      1.9,
-      2.0,
-      2.1,
-      2.2,
-      2.3,
-      2.4,
-      2.5,
-      2.6,
+      "2.9a",
+      2.9,
+      2.8,
       2.7,
-      2.8
+      2.6,
+      2.5,
+      2.4,
+      2.3,
+      2.2,
+      2.1,
+      2.0,
+      1.9,
+      1.8,
+      1.7,
+      1.6,
+      1.5,
     ].freeze
     UNSUPPORTED_VERSION_MSG = <<-MSG.freeze
     WARNING: You are running tmuxinator with an unsupported version of tmux.
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       2018-12-27 02:22:44.000000000 +0100
+++ new/lib/tmuxinator/version.rb       2019-05-03 00:35:56.000000000 +0200
@@ -1,3 +1,3 @@
 module Tmuxinator
-  VERSION = "0.15.0".freeze
+  VERSION = "1.1.0".freeze
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tmuxinator/wemux_support.rb 
new/lib/tmuxinator/wemux_support.rb
--- old/lib/tmuxinator/wemux_support.rb 2018-12-27 02:22:44.000000000 +0100
+++ new/lib/tmuxinator/wemux_support.rb 2019-05-03 00:35:56.000000000 +0200
@@ -1,33 +1,14 @@
 module Tmuxinator
   module WemuxSupport
-    COMMAND = "wemux".freeze
-
-    def wemux?
-      yaml["tmux_command"] == COMMAND
-    end
-
-    def load_wemux_overrides
-      override_render!
-      override_commands!
-    end
-
-    def override_render!
-      class_eval do
-        define_method :render do
-          Tmuxinator::Project.render_template(
-            Tmuxinator::Config.wemux_template,
-            binding
-          )
-        end
-      end
+    def render
+      Tmuxinator::Project.render_template(
+        Tmuxinator::Config.wemux_template,
+        binding
+      )
     end
 
-    def override_commands!
-      class_eval do
-        %i[name tmux].each do |m|
-          define_method(m) { COMMAND }
-        end
-      end
+    %i(name tmux).each do |m|
+      define_method(m) { "wemux" }
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-12-27 02:22:44.000000000 +0100
+++ new/metadata        2019-05-03 00:35:56.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: tmuxinator
 version: !ruby/object:Gem::Version
-  version: 0.15.0
+  version: 1.1.0
 platform: ruby
 authors:
 - Allen Bargi
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-12-27 00:00:00.000000000 Z
+date: 2019-05-02 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: erubis
@@ -97,14 +97,14 @@
   name: bundler
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
         version: '1.3'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
         version: '1.3'
 - !ruby/object:Gem::Dependency
@@ -302,7 +302,7 @@
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
-      version: 2.2.7
+      version: 2.4.6
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/lib/tmuxinator/cli_spec.rb 
new/spec/lib/tmuxinator/cli_spec.rb
--- old/spec/lib/tmuxinator/cli_spec.rb 2018-12-27 02:22:44.000000000 +0100
+++ new/spec/lib/tmuxinator/cli_spec.rb 2019-05-03 00:35:56.000000000 +0200
@@ -783,12 +783,23 @@
 
   describe "#list" do
     before do
-      ARGV.replace(["list"])
       allow(Dir).to receive_messages(:[] => ["/path/to/project.yml"])
     end
 
-    it "lists all projects" do
-      expect { capture_io { cli.start } }.to_not raise_error
+    context "set --newline flag " do
+      ARGV.replace(["list --newline"])
+
+      it "force output to be one entry per line" do
+        expect { capture_io { cli.start } }.to_not raise_error
+      end
+    end
+
+    context "no arguments are given" do
+      ARGV.replace(["list"])
+
+      it "lists all projects " do
+        expect { capture_io { cli.start } }.to_not raise_error
+      end
     end
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/lib/tmuxinator/wemux_support_spec.rb 
new/spec/lib/tmuxinator/wemux_support_spec.rb
--- old/spec/lib/tmuxinator/wemux_support_spec.rb       2018-12-27 
02:22:44.000000000 +0100
+++ new/spec/lib/tmuxinator/wemux_support_spec.rb       2019-05-03 
00:35:56.000000000 +0200
@@ -1,31 +1,12 @@
 require "spec_helper"
 
 describe Tmuxinator::WemuxSupport do
-  let(:klass) { Class.new { include Tmuxinator::WemuxSupport } }
+  let(:klass) { Class.new }
   let(:instance) { klass.new }
 
-  it { expect(instance).to respond_to :wemux? }
-  it { expect(instance).to respond_to :load_wemux_overrides }
-
-  describe "#load_wemux_overrides" do
-    before { instance.load_wemux_overrides }
-
-    it "adds a render method" do
-      expect(instance).to respond_to :render
-    end
-
-    it "adds a name method" do
-      expect(instance).to respond_to :name
-    end
-
-    it "adds a tmux method" do
-      expect(instance).to respond_to :tmux
-    end
-  end
+  before { instance.extend Tmuxinator::WemuxSupport }
 
   describe "#render" do
-    before { instance.load_wemux_overrides }
-
     it "renders the template" do
       expect(File).to receive(:read).at_least(:once) { "wemux ls 2>/dev/null" }
 
@@ -34,14 +15,10 @@
   end
 
   describe "#name" do
-    before { instance.load_wemux_overrides }
-
     it { expect(instance.name).to eq "wemux" }
   end
 
   describe "#tmux" do
-    before { instance.load_wemux_overrides }
-
     it { expect(instance.tmux).to eq "wemux" }
   end
 end


Reply via email to