terminitor 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,8 @@ module Terminitor
5
5
  def initialize(path)
6
6
  file = File.read(path)
7
7
  @setup = []
8
- @windows = { 'default' => {}}
9
- @_context = @windows['default']
8
+ @windows = { 'default' => {:tabs => {}}}
9
+ @_context = @windows['default'][:tabs]
10
10
  instance_eval(file)
11
11
  end
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Terminitor
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/test/dsl_test.rb CHANGED
@@ -13,7 +13,7 @@ context "Dsl" do
13
13
  :windows=>{
14
14
  "window1"=>{:tabs=>{"named tab"=>{:commands=>["echo 'named tab'", "ls"], :options => {:settings=>"Grass"}},
15
15
  "tab0"=>{:commands=>["echo 'first tab'", "echo 'of window'", "echo 'than now'"]}}, :options => {:size=>[70,30]}},
16
- "default"=>{"tab0"=>{:commands=>["echo 'default'", "echo 'default tab'", "ok", "for real"]}}}
16
+ "default"=>{:tabs=>{"tab0"=>{:commands=>["echo 'default'", "echo 'default tab'", "ok", "for real"]}}}}
17
17
  end
18
18
 
19
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terminitor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Arthur Chiu
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-05 00:00:00 -07:00
19
+ date: 2010-11-08 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency