termrc 0.2.3 → 0.2.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31b214d8e6872c365ce074e1eab65c8477d6af79
4
- data.tar.gz: 6f8867a552b941820efe3973baf577841650c754
3
+ metadata.gz: bf27812277042e674e5c1fc1a045599dcc98c2fa
4
+ data.tar.gz: f2ef8602711ee0d753ecdd4156504b92c46da4b8
5
5
  SHA512:
6
- metadata.gz: 2fcb1c2a2def2e47779c749d3c6ff94ed387270896001210c1ed232dc0c9bc9a734a472fea95c5e2bbd8cca56012d3bede371b807ae46cf291548df5010d64a0
7
- data.tar.gz: bd8e37675d9a1821b36affa2cf47661a48a73ffff1b1f759eec72ca13eaa0bfcf7513643e379b76be0da9faa70811d7deaee2ce786f9983412779982b57640b0
6
+ metadata.gz: 9bd35c573296294f46f4a3cd06f9b530c8c35547e0b7d93eead8405b370580526c1b1f4f2a0f2b05d7b0a1a07b4dc5f53f2dab12bb2ce61a3e3954a3599b0bd8
7
+ data.tar.gz: 866d7df0b8fa1c02f0b2e1efe21c9df5e67940095b15a30d8bbe483799820b5997b7dea8188fcba32a822c8cef282c55ae605fee45b87e7c4e76eb1f4f6313b5
@@ -0,0 +1,11 @@
1
+ commands:
2
+ here: echo "Hello, here."
3
+ there: echo "Hello, there."
4
+ world: echo "Hello, world."
5
+ me: echo "Hello, me."
6
+ you: echo "Hello, you."
7
+
8
+ layout:
9
+ - [ here, there ] # row 1, with 2 panes
10
+ - [ world ] # row 2, with 1 pane
11
+ - [ me, you ] # row 3, with 2 panes
@@ -14,7 +14,7 @@ module Termrc
14
14
  attr_accessor :commands
15
15
 
16
16
  def initialize(yml)
17
- @root = yml['root']
17
+ @root = yml['root'] || File.dirname( File.expand_path('./Termfile') )
18
18
  @commands = yml['commands']
19
19
  @windows = yml['windows'] || []
20
20
 
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
10
10
  gem.executables << 'termrc'
11
11
  gem.name = "termrc"
12
- gem.version = '0.2.3'
12
+ gem.version = '0.2.4'
13
13
  gem.license = 'MIT'
14
14
 
15
15
  gem.add_runtime_dependency 'thor', '~> 0.18.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termrc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-09 00:00:00.000000000 Z
11
+ date: 2015-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -40,6 +40,7 @@ files:
40
40
  - lib/template/run.osascript
41
41
  - lib/template/termfile.template
42
42
  - lib/template/termfile_columns.template
43
+ - lib/template/termfile_no_root.template
43
44
  - lib/template/termfile_with_multiple_windows.template
44
45
  - lib/template/termfile_with_tabs.template
45
46
  - lib/termrc.rb