tweemux 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ class Tweemux::Action::Help < Tweemux::Action
2
2
  def run _
3
3
  five_dirs_up = (['..']*5).join '/'
4
4
  readme_path =
5
- File.expand_path 'lib/tweemux/action/help.rb'+five_dirs_up+'/README.md'
5
+ File.expand_path __FILE__+five_dirs_up+'/README.md'
6
6
  contents = File.read readme_path
7
7
  contents.sub! /^.+(?=## Guest Usage)/m, ''
8
8
  contents.sub! /## Going Further.*/m, ''
@@ -1,3 +1,3 @@
1
1
  class Tweemux
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
3
3
  end
@@ -1,9 +1,15 @@
1
1
  # Run this via 'beg'
2
2
  require 'working/test_helper'
3
3
 
4
- require 'tweemux'
5
-
6
- Spork.each_run do
4
+ def reload
7
5
  Dir['lib/**/*.rb'].each{|e| load e}
8
6
  end
7
+
8
+ if defined? Spork
9
+ Spork.each_run do
10
+ reload
11
+ end
12
+ else
13
+ reload
14
+ end
9
15
  # Spork.prefork doesn't like when this is missing
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tweemux
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
5
4
  prerelease:
5
+ version: 1.4.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - ☈king
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-03-17 00:00:00.000000000 Z
15
+ date: 2013-03-21 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: ! 'For Remote Pair Programming: A handy script to create-or-join a world-readable
18
18
  tmux session