termup 2.0.2 → 2.0.3

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.
data/README.md CHANGED
@@ -80,11 +80,12 @@ $ termup s myproject
80
80
 
81
81
  That's equivalent to `termup start myproject`.
82
82
 
83
- ### iTerm 2 Split Pane Support ###
83
+ iTerm 2 Split Pane Support
84
+ --------------------------
84
85
 
85
86
  There are two options to deal with split panes on iTerm 2: `--iterm_basic` and `--iterm_advanced`
86
87
 
87
- #### --iterm_basic
88
+ ### --iterm_basic
88
89
 
89
90
  ```sh
90
91
  termup create myproject --iterm_basic
@@ -111,7 +112,7 @@ The setting above will generate four panes in the following layout.
111
112
  # # #
112
113
  #################
113
114
 
114
- #### --iterm_advanced
115
+ ### --iterm_advanced
115
116
 
116
117
  ```sh
117
118
  termup create myproject --iterm_advanced
@@ -125,22 +126,22 @@ This will generate a config file in an advanced format:
125
126
  tabs:
126
127
  pane1:
127
128
  commands:
128
- - echo tab1
129
+ - echo pane1
129
130
  layout:
130
131
  - split_vertically
131
132
  pane2:
132
133
  commands:
133
- - echo tab2
134
+ - echo pane2
134
135
  layout:
135
136
  - split_horizontally
136
137
  pane3:
137
138
  commands:
138
- - echo tab3
139
+ - echo pane3
139
140
  layout:
140
141
  - split_horizontally
141
142
  pane4:
142
143
  commands:
143
- - echo tab4
144
+ - echo pane4
144
145
  ```
145
146
 
146
147
  The setting above will generate four panes in the following layout.
@@ -159,7 +160,7 @@ The setting above will generate four panes in the following layout.
159
160
  # # #
160
161
  #################
161
162
 
162
- Available layout commands are:
163
+ Available layout commands:
163
164
 
164
165
  ```ruby
165
166
  new_tab
@@ -75,7 +75,7 @@ module Termup
75
75
  end
76
76
 
77
77
  def term_like_pids
78
- @term_like_pids ||= `ps x | grep Term`.split("\n").reject{|i| i =~ /grep/ }.map{|i| i.match(/^\d+/).to_s.to_i }
78
+ @term_like_pids ||= `ps x | grep Term`.split("\n").reject{|i| i =~ /grep/ }.map{|i| i.match(/\d+/).to_s.to_i }
79
79
  end
80
80
 
81
81
  def layout(command)
@@ -1,3 +1,3 @@
1
1
  module Termup
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: