tmuxinator 1.1.1 → 1.1.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
  SHA256:
3
- metadata.gz: 9dc5b6b9d35f83ad8f59102bfdb8f6914006cab3b2d759ea69c483923039b283
4
- data.tar.gz: 64e2fefc756221633f30b5da3ce01a9a3f782530e3d5c57e8f837cf4aa1296ee
3
+ metadata.gz: dd589a05ee6ad5a9b1d42321036e2520a624fd34cee0bde5cbd7babcf3f21342
4
+ data.tar.gz: 2d5a0b95e6d0dbe01bce6af909d8f8bbaa145c16c3accf2948342074d57787a6
5
5
  SHA512:
6
- metadata.gz: d13a19793bd663485757959a0b2445e447ebd9a9bed64e53cefaf449e6568c43a840d2a2db5fc7604fda054cfc2d1cc24357b8d6cfd885d01ddb9b098f831575
7
- data.tar.gz: f6b6ff5bacf21c47c15baf59adedd30d11702e162b9b967ffd10ef69b8c683e8b62d9b7b740ff4ca3e15cbd153148454b1dc6697bb3dd976917693e70a8973ce
6
+ metadata.gz: b6b9c59b44c77cfbaf3518ae15e535dd3a81248cb596b96538b2aee7330336280385a5179117fc0c2b8fd95ea5900b39432be1350c82b389a177d6802349812a
7
+ data.tar.gz: 81f1001e02f6f04940276cd141760b769018843547ea9d949e791b12ab48ed7c1b76d8874d85cd30d9725351687b5f2cc0dac1c1b978cf451e602ae7f8556b79
@@ -9,7 +9,7 @@ _tmuxinator() {
9
9
  'projects:: _describe -t projects "tmuxinator projects" projects'
10
10
  elif (( CURRENT == 3)); then
11
11
  case $words[2] in
12
- copy|debug|delete|open|start)
12
+ copy|cp|c|debug|delete|rm|open|o|start|s|edit|e)
13
13
  _arguments '*:projects:($projects)'
14
14
  ;;
15
15
  esac
@@ -170,7 +170,7 @@ module Tmuxinator
170
170
  # to server: Connection refused" error message and non-zero exit status
171
171
  # if no tmux sessions exist.
172
172
  # Please see issues #402 and #414.
173
- sessions = `#{tmux_command} ls 2> /dev/null`
173
+ sessions = `#{tmux} ls 2> /dev/null`
174
174
 
175
175
  # Remove any escape sequences added by `shellescape` in Project#name.
176
176
  # Escapes can result in: "ArgumentError: invalid multibyte character"
@@ -1,3 +1,3 @@
1
1
  module Tmuxinator
2
- VERSION = "1.1.1".freeze
2
+ VERSION = "1.1.2".freeze
3
3
  end
@@ -79,7 +79,8 @@ describe Tmuxinator::Project do
79
79
  describe "#tmux_has_session?" do
80
80
  context "no active sessions" do
81
81
  before do
82
- cmd = "#{project.tmux_command} ls 2> /dev/null"
82
+ tmux = project.tmux_command
83
+ cmd = "#{tmux} -f ~/.tmux.mac.conf -L foo ls 2> /dev/null"
83
84
  resp = ""
84
85
  call_tmux_ls = receive(:`).with(cmd).at_least(:once).and_return(resp)
85
86
 
@@ -93,7 +94,7 @@ describe Tmuxinator::Project do
93
94
 
94
95
  context "active sessions" do
95
96
  before do
96
- cmd = "#{project.tmux_command} ls 2> /dev/null"
97
+ cmd = "#{project.tmux} ls 2> /dev/null"
97
98
  resp = ""\
98
99
  "foo: 1 window (created Sun May 25 10:12:00 1986) [0x0] (detached)\n"\
99
100
  "bar: 1 window (created Sat Sept 01 00:00:00 1990) [0x0] (detached)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmuxinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Bargi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-05-23 00:00:00.000000000 Z
12
+ date: 2019-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis
@@ -29,22 +29,22 @@ dependencies:
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '0.19'
35
32
  - - ">="
36
33
  - !ruby/object:Gem::Version
37
34
  version: 0.15.0
35
+ - - "~>"
36
+ - !ruby/object:Gem::Version
37
+ version: '0.19'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - "~>"
43
- - !ruby/object:Gem::Version
44
- version: '0.19'
45
42
  - - ">="
46
43
  - !ruby/object:Gem::Version
47
44
  version: 0.15.0
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.19'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: xdg
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -309,8 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  - !ruby/object:Gem::Version
310
310
  version: 1.8.23
311
311
  requirements: []
312
- rubyforge_project:
313
- rubygems_version: 2.7.7
312
+ rubygems_version: 3.0.3
314
313
  signing_key:
315
314
  specification_version: 4
316
315
  summary: Create and manage complex tmux sessions easily.