lab42_tmux2 0.0.1pre → 0.0.1pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27dcb543997e44fb1260fce8c062329b594f4007
4
- data.tar.gz: 67c341a73e88287d967e53e52a2321201cad14f0
3
+ metadata.gz: b296b9c2f6de2710e5e974eb2c392baf133f2e0e
4
+ data.tar.gz: 7401c7875cdb671b61f67f51f3c0a206facb5937
5
5
  SHA512:
6
- metadata.gz: 0b4abd3b83885ac423ee7116a3090935f4a5cbba60ba0ceaf9b8d04e5ac7f5b45b460e992c878c1e538b3c73125f0128f9d228902569fccc9e293307f6d0cbd0
7
- data.tar.gz: cd9e6348722f7806a405e42659b7a22f980d136a73d3da9f2b31d8075fc7eac78be5f15de4421ffcbbdf6f76a9ce970ce982897ceb37235db7b1674554046f80
6
+ metadata.gz: 69510c2287c20f782a421c42c5dbf639cc9e79ff2433b7c976b6fb29d1a8b72c36a0a8e10df59c1a0a2f20821c1d817848969eb88b583f297fdefd9ccca96429
7
+ data.tar.gz: c3e289007ca737e224198892f4f678083c133a69eacf3995018392b46efbd8cc92630d8cd3a1a5705c8a1057bd9d53710341e9a95164cc81cb4a236298b66563
@@ -7,7 +7,7 @@ module Lab42
7
7
  attr_reader :commands, :name, :win_number
8
8
 
9
9
  def define block
10
- instance_exec( &block )
10
+ @definition_block = block
11
11
  end
12
12
 
13
13
  def run!
@@ -17,6 +17,7 @@ module Lab42
17
17
 
18
18
  def run
19
19
  create_session_and_windows unless running?
20
+ instance_exec( &@definition_block ) if @definition_block
20
21
  attach
21
22
  end
22
23
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Lab42
3
3
  module Tmux
4
- VERSION = '0.0.1pre'
4
+ VERSION = '0.0.1pre1'
5
5
  end # module Tmux
6
6
  end # module Lab42
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lab42_tmux2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1pre
4
+ version: 0.0.1pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Dober