teamocil 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbc2a7a64a9c84296d75836e76bde8167f824f6b
4
- data.tar.gz: 0e60909ca4da8bca1f843f8ce505a0c85789954a
3
+ metadata.gz: cbad5077eb1369da3d27442da61822b6dcf78ec6
4
+ data.tar.gz: 3bf3a74b470bdebe6846c388565cbce96a49fa85
5
5
  SHA512:
6
- metadata.gz: b0711544e6cd410e1fe5a92e17d10028be600b23469bc26aed3ac89bae78f0533f2629de278dc25049c8bafb6fc12710b95ffd84a23cfda04882342e1ec5e64e
7
- data.tar.gz: 21fc9ccf1157485e005a0267aa2a1ea15b8a3c133a5c0ee4bf4cbbcd3df06096a8654d4959c603d638e3ad7d9bd81304a4b527ba460ff891a2b90cb7a47d36c5
6
+ metadata.gz: 4aa1033f625963b36ef40e15c5588ccfcbcbd4311b06c7eb3b768f27ca3dc1144d6c8a67635ffe0f4ee368ac3b2eb4749c7b9e3db0873f0cd07a6a6da0308db9
7
+ data.tar.gz: 170ba0ab08077f223da376bc7d80c7551adbbac5ff015c74d8b249560046689b833e2e337dcc209a0a22df4912e1e9b74d3b1d1065a993c06240bada917121c8
@@ -66,7 +66,7 @@ module Teamocil
66
66
 
67
67
  def spawn_window_commands
68
68
  if Teamocil.options[:here] && first?
69
- change_working_directory_commands << Teamocil::Command::RenameWindow.new(name: name)
69
+ change_working_directory_commands.unshift(Teamocil::Command::RenameWindow.new(name: name))
70
70
  else
71
71
  Teamocil::Command::NewWindow.new(name: name, root: root)
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module Teamocil
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
3
3
  end
@@ -130,9 +130,9 @@ RSpec.describe Teamocil::Tmux::Window do
130
130
 
131
131
  it do
132
132
  expect(as_tmux).to eql [
133
+ Teamocil::Command::RenameWindow.new(name: name),
133
134
  Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'cd "/tmp"'),
134
135
  Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'Enter'),
135
- Teamocil::Command::RenameWindow.new(name: name),
136
136
  Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'foo; omg'),
137
137
  Teamocil::Command::SendKeysToPane.new(index: "#{name}.#{pane_base_index}", keys: 'Enter'),
138
138
  Teamocil::Command::SplitWindow.new(name: name, root: root),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamocil
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémi Prévost