tweemux 1.4.1 → 1.4.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/lib/tweemux/action/help.rb +1 -1
- data/lib/tweemux/version.rb +1 -1
- data/test/test_helper.rb +9 -3
- metadata +2 -2
data/lib/tweemux/action/help.rb
CHANGED
|
@@ -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
|
|
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, ''
|
data/lib/tweemux/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# Run this via 'beg'
|
|
2
2
|
require 'working/test_helper'
|
|
3
3
|
|
|
4
|
-
|
|
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-
|
|
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
|