teamocil 0.1.1 → 0.1.2
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.mkd +1 -0
- data/bin/teamocil +7 -3
- data/lib/teamocil.rb +1 -1
- metadata +3 -3
data/README.mkd
CHANGED
data/bin/teamocil
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require "teamocil"
|
3
|
+
require File.dirname(__FILE__)+"/../lib/teamocil"
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
if ENV["TMUX"] == nil
|
6
|
+
puts "You must be in a tmux session to use teamocil"
|
7
|
+
else
|
8
|
+
layout = Teamocil::Layout.new(ARGV[0], File.join("#{ENV["HOME"]}/.teamocil", "#{ARGV[0]}.yml"))
|
9
|
+
layout.to_tmux
|
10
|
+
end
|
data/lib/teamocil.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamocil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "R\xC3\xA9mi Pr\xC3\xA9vost"
|