Commit Graph

340 Commits

Author SHA1 Message Date
Adam Strickland
c0d4cd3df1 version bump and changelog update for 0.10.1 release 2017-11-28 13:01:59 -06:00
Adam Strickland
f2c80dd3e0 Merge branch 'master' into rubocop-security-vulnerability 2017-11-28 11:02:19 -06:00
Adam Strickland
2cd3c675fe fixes cops 2017-11-28 09:56:03 -06:00
Adam Strickland
4738d7f3c0 updates SUPPORTED_TMUX_VERSIONS to include 2.4, 2.5, 2.6 2017-11-28 09:40:01 -06:00
Ryan Glassett
37fa86278c Merge remote-tracking branch 'upstream/master' into tmux-master-version-warning 2017-11-22 10:13:19 -08:00
Ryan Glassett
974c8b618f squash! Handle 'tmux master' version more gracefully
- References relevant open issues in changelog.
- Adds a list of supported tmux versions to the Tmuxinator module.
- Generalizes deprecation warning to apply to all unsupported versions.
- Removes 'master' from .travis.yml since it is not officially
  supported.
2017-11-22 10:09:31 -08:00
Ryan Glassett
6a3cdd556f Handle 'tmux master' version more gracefully
Same diff as #545 with minor changes as discussed in that thread. Treats
'tmux master' as being arbitrarily high, and displays a deprecation
warning to users attempting to run tmuxinator under 'tmux master'.
2017-11-22 00:49:16 -08:00
Ryan Glassett
d9ca66e8ee Fix additional pane-base-index bugs
Fixes remaining sites where the base-index option (for windows) was
incorrectly used in place of the pane-base-index option.
2017-11-21 23:48:45 -08:00
Peter Doherty
765d6bb6fa 564 - document removal of shellescape sequence in Project#tmux_has_session? 2017-10-15 14:47:54 -04:00
Peter Doherty
f6d8b2e5ec 564 - prevent Project#tmux_has_session? from choking on shellescape'd emojis 2017-10-15 13:40:14 -04:00
Adam Strickland
c7a1086c8f Bump to 0.10.0 2017-09-19 09:19:31 -05:00
Adam Strickland
c7d04dce5b Bump version to 0.9.1 2017-09-19 09:13:50 -05:00
Adam Strickland
027d144c18 Merge pull request #543 from rglassett/fix-base-index
Decouple base_index from pane_base_index
2017-09-18 08:27:27 -05:00
Pete Doherty
463a96ca6d Merge branch 'master' into fix-pane-base-index 2017-09-16 06:09:41 -07:00
Pete Doherty
88f945142c Merge branch 'master' into remove-blank-monkey-patch 2017-09-16 05:50:39 -07:00
Ryan Glassett
a9e2582623 Decouple base_index from pane_base_index
The pane_base_index and base_index options are set and handled
independently in tmux, so the value of pane_base_index should not
override the value of base_index (as it previously was).
2017-08-09 16:03:03 -07:00
Adam Strickland
2e033bfbf9 Merge pull request #544 from rglassett/startup-window-pane-full-paths
[Fixes #537] Use full paths for startup window/pane
2017-07-26 17:10:38 -05:00
Pete Doherty
642b47c74a Merge branch 'master' into issue/520-config-parse-error-message 2017-07-24 21:09:55 -04:00
Ryan Glassett
376b404bef [Fixes #537] Use full paths for startup window/pane
The startup_window and startup_pane options were not behaving correctly
for users running tmuxinator from within an existing tmux session.
Tmuxinator would generate commands like 'tmux select-window -t 1', which
would target the current session instead of the target (project)
session. This bug is fixed by specifying full paths
(session:window.pane) for the startup_window and startup_pane.
2017-07-14 09:03:13 -07:00
Ryan Glassett
e2becec09b [Fixes #485] Respect global pane-base-index option
Tmuxinator currently fails to find a value for this option, because
pane-base-index is a window option, not a session option: the -w flag
must be passed to 'tmux show-option' in order to display it. This patch
fixes the issue with two changes to the #show_tmux_options method of
Tmuxinator::Project:

1. It now displays both global session options and global window
   options.
2. It now **only** detects the options that Tmuxinator::Project knows
   and cares about (currently base-index and pane-base-index)
2017-07-13 21:06:56 -07:00
Ryan Glassett
e804c84ae0 Extract Tmuxinator::Doctor utility class
Extracts methods from Tmuxinator::Config that were only invoked as part
of the `tmuxinator doctor` command.

https://github.com/tmuxinator/tmuxinator/issues/457
2017-07-12 22:15:30 -07:00
Ryan Glassett
7a8e889272 Remove Object#blank? monkey patch
https://github.com/tmuxinator/tmuxinator/issues/458
2017-07-12 21:35:51 -07:00
Peter Doherty
4b6e9ec039 remove unused attr_readers from Tmuxinator::Window 2017-05-22 14:51:46 -04:00
Adam Strickland
df0a3ad572 Merge pull request #426 from pczarn/serialize-session
Generate project file from tmux session [reopened]
2017-05-22 10:18:13 -05:00
Adam Strickland
c246d8c6b1 reducing complexity 2017-05-20 15:30:44 -05:00
Adam Strickland
d6f2359a6e handling duplication and fixme issues 2017-05-20 11:53:01 -05:00
Edoardo Tenani
c10fb5a75f rename hooks with project related names 2017-05-20 10:50:25 -05:00
Adam Strickland
bcbdafce7f Merge pull request #486 from endorama/add-hooks
Add tmuxinator project hooks
2017-05-20 10:48:14 -05:00
Adam Strickland
b17a165631 Merge branch 'master' into master 2017-05-19 12:27:06 -05:00
Adam Strickland
2e297d1111 updates rubocop to 0.46.0
used by CodeClimate

- removes old cops
- updates source to accommodate new cops
2017-05-19 11:05:15 -05:00
Peter Doherty
6609a45361 Merge remote-tracking branch 'upstream/master' into issue/520-config-parse-error-message 2017-05-07 16:49:17 -04:00
Peter Doherty
d971f115a0 issue-520 - attach exception message to raised exception in Project::load 2017-05-07 16:47:28 -04:00
cqr
a96b15e161 Adding error details to yaml parse failure 2017-05-01 17:21:39 +00:00
Jonathan Arnett
e5c4f6fa72 Merge pull request #482 from rpassis/bugfix/preWindowArray
Add ability for pre_window commands to parse yaml arrays (as well as strings)
2017-03-29 10:45:45 -04:00
Edoardo Tenani
52ce1cc73f cd to folder before executing hooks 2017-03-14 11:12:31 +01:00
Tom "Ravi" Hale
fcd9e4b6fd Resolve CodeClimate complex method complaint 2017-03-02 11:13:05 +07:00
Edoardo Tenani
efda235a24 deprecate pre and post options 2017-02-11 22:18:09 +01:00
Pete Doherty
f5ff647d6a Merge branch 'master' into Issues-360-462 2017-02-07 14:39:39 -05:00
Tom "Ravi" Hale
263692349f salvage haletom commits from PR 479 2017-02-07 14:24:39 -05:00
Pete Doherty
d9b1b59e06 Revert "Support specified config directory and XDG Base Dirs Spec" 2017-02-04 18:38:25 -05:00
Pete Doherty
f128ec480c Merge branch 'master' into Issues-360-462 2017-02-04 17:36:47 -05:00
Rogerio de Paula Assis
cfade6b58a Removed trailing whitespace causing CI to fail 2017-01-31 10:45:14 +11:00
Rogerio de Paula Assis
f12946dcbb A bit more refactoring as per feedback 2017-01-31 09:34:18 +11:00
Rogerio de Paula Assis
f19e251bb7 Refactored as per code review feedback 2017-01-30 13:31:33 +11:00
Ryan Glassett
e87f79fcd2 Fix typos 2017-01-26 17:50:14 -08:00
Edoardo Tenani
fe7889c29d rename hooks with project related names 2016-12-23 17:48:06 +01:00
Edoardo Tenani
858a86e029 extract hook common functionality 2016-12-23 16:44:03 +01:00
Edoardo Tenani
1614203705 move project hooks to specific file 2016-12-23 16:42:35 +01:00
Edoardo Tenani
254ebfbe9e document new hook configs in sample.yml 2016-12-05 17:53:47 +01:00
Edoardo Tenani
4c33ac1185 pre and post settings as on_start and on_detach
Reword pre and post settings as on_start and on_detach; this acheive
two objectives: is semantically clearer after adding "hooks" and moves
the code all to the Tmuxinator::Hooks module.
2016-12-05 17:53:47 +01:00