tmuxinator 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tmuxinator/tmux_version.rb +3 -0
- data/lib/tmuxinator/version.rb +1 -1
- data/spec/fixtures/interface/basic.yml +3 -1
- data/spec/interface/debug_snapshot_spec.rb +10 -2
- data/spec/lib/tmuxinator/config_spec.rb +3 -0
- data/spec/snapshots/debug/1.6/basic.sh +1 -0
- data/spec/snapshots/debug/1.8/basic.sh +1 -0
- data/spec/snapshots/debug/2.6/basic.sh +2 -1
- metadata +3 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a09259643bd044af3e5d2ed4dba81a22185e8989459b814ccbf089e84e6a2589
|
|
4
|
+
data.tar.gz: fb7dfd5ae08a7a0fe0ad526fd2576d8b79613e741bcab7175643417ec87bb771
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 241501ffa56846f8b46c822a1796ff8af6a132cbd104ab6063291ef78d9ee72816a80c12c1120b6806587bc05b489a1233dd9484e4b7ddec3052b0783f673754
|
|
7
|
+
data.tar.gz: a6f29a21917100234da0ce475e1adb60677d2b606dc84b400a323f42beda1bced2bd8b105b1749994d86eb3812a2fc736c319063b50095db80914b40acdbd0fe
|
data/lib/tmuxinator/version.rb
CHANGED
|
@@ -6,6 +6,14 @@ describe "tmuxinator debug snapshots" do
|
|
|
6
6
|
let(:cli) { Tmuxinator::Cli }
|
|
7
7
|
let(:snapshot_root) { File.expand_path("../snapshots/debug", __dir__) }
|
|
8
8
|
|
|
9
|
+
def expect_snapshot(output, snapshot_path)
|
|
10
|
+
if ENV["UPDATE_SNAPSHOTS"]
|
|
11
|
+
File.write(snapshot_path, output.delete_suffix("\n"))
|
|
12
|
+
else
|
|
13
|
+
expect(output).to eq("#{File.read(snapshot_path)}\n")
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
9
17
|
around do |example|
|
|
10
18
|
original_argv = ARGV.dup
|
|
11
19
|
example.run
|
|
@@ -44,7 +52,7 @@ describe "tmuxinator debug snapshots" do
|
|
|
44
52
|
"#{fixture_name}.sh"
|
|
45
53
|
)
|
|
46
54
|
|
|
47
|
-
|
|
55
|
+
expect_snapshot(output, snapshot_path)
|
|
48
56
|
end
|
|
49
57
|
end
|
|
50
58
|
end
|
|
@@ -60,6 +68,6 @@ describe "tmuxinator debug snapshots" do
|
|
|
60
68
|
|
|
61
69
|
snapshot_path = File.join(snapshot_root, "2.6", "session_name.sh")
|
|
62
70
|
|
|
63
|
-
|
|
71
|
+
expect_snapshot(output, snapshot_path)
|
|
64
72
|
end
|
|
65
73
|
end
|
|
@@ -52,6 +52,7 @@ cd /workspace/basic
|
|
|
52
52
|
|
|
53
53
|
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ ruby\ -v C-m
|
|
54
54
|
tmux -L interface send-keys -t basic:1.0 bin/setup C-m
|
|
55
|
+
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ rake\ test C-m
|
|
55
56
|
|
|
56
57
|
tmux -L interface select-layout -t basic:1 tiled
|
|
57
58
|
|
|
@@ -50,6 +50,7 @@ cd /workspace/basic
|
|
|
50
50
|
|
|
51
51
|
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ ruby\ -v C-m
|
|
52
52
|
tmux -L interface send-keys -t basic:1.0 bin/setup C-m
|
|
53
|
+
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ rake\ test C-m
|
|
53
54
|
|
|
54
55
|
tmux -L interface select-layout -t basic:1 tiled
|
|
55
56
|
|
|
@@ -50,9 +50,10 @@ cd /workspace/basic
|
|
|
50
50
|
# Window "shell"
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
tmux -L interface select-pane -t basic:1.0 -T commands
|
|
54
54
|
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ ruby\ -v C-m
|
|
55
55
|
tmux -L interface send-keys -t basic:1.0 bin/setup C-m
|
|
56
|
+
tmux -L interface send-keys -t basic:1.0 bundle\ exec\ rake\ test C-m
|
|
56
57
|
|
|
57
58
|
tmux -L interface select-layout -t basic:1 tiled
|
|
58
59
|
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tmuxinator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allen Bargi
|
|
8
8
|
- Christopher Chow
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: erubi
|
|
@@ -251,8 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
251
250
|
- !ruby/object:Gem::Version
|
|
252
251
|
version: '2.7'
|
|
253
252
|
requirements: []
|
|
254
|
-
rubygems_version: 3.
|
|
255
|
-
signing_key:
|
|
253
|
+
rubygems_version: 3.7.2
|
|
256
254
|
specification_version: 4
|
|
257
255
|
summary: Create and manage complex tmux sessions easily.
|
|
258
256
|
test_files:
|