tlux 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module Tlux
21
21
  private
22
22
 
23
23
  def session_name
24
- Pathname.new(Dir.pwd).basename.replace(/\./, '-').replace(/\:/, '-')
24
+ Pathname.new(Dir.pwd).basename.to_s.gsub(/\./, '-').gsub(/\:/, '-')
25
25
  end
26
26
 
27
27
  def config_file_path
@@ -1,4 +1,4 @@
1
- tmux has-session <%= name %>
1
+ tmux has-session -t <%= name %>
2
2
  if [ $? != 0 ]
3
3
  then
4
4
  tmux new-session -s <%= name %> -n <%= windows.first.name %> -d
@@ -1,3 +1,3 @@
1
1
  module Tlux
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tlux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -104,18 +104,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  - - ! '>='
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
- segments:
108
- - 0
109
- hash: 628163894706265299
110
107
  required_rubygems_version: !ruby/object:Gem::Requirement
111
108
  none: false
112
109
  requirements:
113
110
  - - ! '>='
114
111
  - !ruby/object:Gem::Version
115
112
  version: '0'
116
- segments:
117
- - 0
118
- hash: 628163894706265299
119
113
  requirements: []
120
114
  rubyforge_project:
121
115
  rubygems_version: 1.8.23