tmuxinator 0.6.11 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,13 +7,12 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
7
7
  Coveralls::SimpleCov::Formatter
8
8
  ]
9
9
  SimpleCov.start do
10
- add_filter 'vendor/cache'
10
+ add_filter "vendor/cache"
11
11
  end
12
12
 
13
13
  require "tmuxinator"
14
14
  require "factory_girl"
15
15
 
16
-
17
16
  FactoryGirl.find_definitions
18
17
 
19
18
  RSpec.configure do |config|
@@ -22,21 +21,23 @@ end
22
21
 
23
22
  # Copied from minitest.
24
23
  def capture_io
25
- begin
26
- require 'stringio'
24
+ require "stringio"
27
25
 
28
- captured_stdout, captured_stderr = StringIO.new, StringIO.new
26
+ captured_stdout = StringIO.new
27
+ captured_stderr = StringIO.new
29
28
 
30
- orig_stdout, orig_stderr = $stdout, $stderr
31
- $stdout, $stderr = captured_stdout, captured_stderr
29
+ orig_stdout = $stdout
30
+ orig_stderr = $stderr
32
31
 
33
- yield
32
+ $stdout = captured_stdout
33
+ $stderr = captured_stderr
34
34
 
35
- return captured_stdout.string, captured_stderr.string
36
- ensure
37
- $stdout = orig_stdout
38
- $stderr = orig_stderr
39
- end
35
+ yield
36
+
37
+ return captured_stdout.string, captured_stderr.string
38
+ ensure
39
+ $stdout = orig_stdout
40
+ $stderr = orig_stderr
40
41
  end
41
42
 
42
43
  def tmux_config(options = {})
@@ -46,11 +47,11 @@ def tmux_config(options = {})
46
47
  "bell-on-alert off",
47
48
  ]
48
49
 
49
- if base_index = options.fetch(:base_index) {1}
50
+ if base_index = options.fetch(:base_index) { 1 }
50
51
  standard_options << "base-index #{base_index}"
51
52
  end
52
53
 
53
- if pane_base_index = options.fetch(:pane_base_index) {1}
54
+ if pane_base_index = options.fetch(:pane_base_index) { 1 }
54
55
  standard_options << "pane-base-index #{pane_base_index}"
55
56
  end
56
57
 
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: 0.6.11
4
+ version: 0.7.0
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: 2015-06-06 00:00:00.000000000 Z
12
+ date: 2015-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -89,15 +89,20 @@ files:
89
89
  - lib/tmuxinator/wemux_support.rb
90
90
  - lib/tmuxinator/window.rb
91
91
  - spec/factories/projects.rb
92
+ - spec/fixtures/detach.yml
93
+ - spec/fixtures/nameless_window.yml
92
94
  - spec/fixtures/noname.yml
95
+ - spec/fixtures/nowindows.yml
93
96
  - spec/fixtures/sample.deprecations.yml
94
97
  - spec/fixtures/sample.yml
98
+ - spec/fixtures/sample_number_as_name.yml
95
99
  - spec/fixtures/sample_wemux.yml
96
100
  - spec/lib/tmuxinator/cli_spec.rb
97
101
  - spec/lib/tmuxinator/config_spec.rb
98
102
  - spec/lib/tmuxinator/pane_spec.rb
99
103
  - spec/lib/tmuxinator/project_spec.rb
100
104
  - spec/lib/tmuxinator/util_spec.rb
105
+ - spec/lib/tmuxinator/wemux_support_spec.rb
101
106
  - spec/lib/tmuxinator/window_spec.rb
102
107
  - spec/spec_helper.rb
103
108
  homepage: https://github.com/tmuxinator/tmuxinator
@@ -125,20 +130,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
130
  version: 1.8.23
126
131
  requirements: []
127
132
  rubyforge_project:
128
- rubygems_version: 2.4.5
133
+ rubygems_version: 2.4.5.1
129
134
  signing_key:
130
135
  specification_version: 4
131
136
  summary: Create and manage complex tmux sessions easily.
132
137
  test_files:
133
138
  - spec/factories/projects.rb
139
+ - spec/fixtures/detach.yml
140
+ - spec/fixtures/nameless_window.yml
134
141
  - spec/fixtures/noname.yml
142
+ - spec/fixtures/nowindows.yml
135
143
  - spec/fixtures/sample.deprecations.yml
136
144
  - spec/fixtures/sample.yml
145
+ - spec/fixtures/sample_number_as_name.yml
137
146
  - spec/fixtures/sample_wemux.yml
138
147
  - spec/lib/tmuxinator/cli_spec.rb
139
148
  - spec/lib/tmuxinator/config_spec.rb
140
149
  - spec/lib/tmuxinator/pane_spec.rb
141
150
  - spec/lib/tmuxinator/project_spec.rb
142
151
  - spec/lib/tmuxinator/util_spec.rb
152
+ - spec/lib/tmuxinator/wemux_support_spec.rb
143
153
  - spec/lib/tmuxinator/window_spec.rb
144
154
  - spec/spec_helper.rb