rumai 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rumai/inochi.rb +4 -39
- data/lib/rumai/wm.rb +12 -12
- data/man/man1/rumai.1 +18 -7
- metadata +5 -35
- data/CREDITS +0 -17
data/lib/rumai/inochi.rb
CHANGED
@@ -18,12 +18,12 @@ module Rumai
|
|
18
18
|
##
|
19
19
|
# Number of this release of this project.
|
20
20
|
#
|
21
|
-
VERSION = '4.1.
|
21
|
+
VERSION = '4.1.2'
|
22
22
|
|
23
23
|
##
|
24
24
|
# Date of this release of this project.
|
25
25
|
#
|
26
|
-
RELDATE = '2011-
|
26
|
+
RELDATE = '2011-04-21'
|
27
27
|
|
28
28
|
##
|
29
29
|
# Description of this release of this project.
|
@@ -42,7 +42,7 @@ module Rumai
|
|
42
42
|
#
|
43
43
|
# @example
|
44
44
|
#
|
45
|
-
#
|
45
|
+
# GEMDEPS = {
|
46
46
|
# # this project needs exactly version 1.2.3 of the "an_example" gem
|
47
47
|
# 'an_example' => [ '1.2.3' ],
|
48
48
|
#
|
@@ -54,41 +54,6 @@ module Rumai
|
|
54
54
|
# 'yet_another_example' => [],
|
55
55
|
# }
|
56
56
|
#
|
57
|
-
|
58
|
-
|
59
|
-
##
|
60
|
-
# RubyGems required by this project during development.
|
61
|
-
#
|
62
|
-
# @example
|
63
|
-
#
|
64
|
-
# DEVTIME = {
|
65
|
-
# # this project needs exactly version 1.2.3 of the "an_example" gem
|
66
|
-
# 'an_example' => [ '1.2.3' ],
|
67
|
-
#
|
68
|
-
# # this project needs at least version 1.2 (but not
|
69
|
-
# # version 1.2.4 or newer) of the "another_example" gem
|
70
|
-
# 'another_example' => [ '>= 1.2' , '< 1.2.4' ],
|
71
|
-
#
|
72
|
-
# # this project needs any version of the "yet_another_example" gem
|
73
|
-
# "yet_another_example" => [],
|
74
|
-
# }
|
75
|
-
#
|
76
|
-
DEVTIME = {
|
77
|
-
'inochi' => [ '>= 5.0.2', '< 6' ],
|
78
|
-
'detest' => [ '>= 3.1.0', '< 4' ], # for unit testing
|
79
|
-
}
|
80
|
-
|
81
|
-
# establish gem version dependencies
|
82
|
-
if respond_to? :gem, true
|
83
|
-
[RUNTIME, DEVTIME].each do |deps|
|
84
|
-
deps.each do |gem_name, gem_version|
|
85
|
-
begin
|
86
|
-
gem gem_name, *Array(gem_version)
|
87
|
-
rescue LoadError => error
|
88
|
-
warn "#{self.inspect}: #{error}"
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
57
|
+
GEMDEPS = {}
|
93
58
|
|
94
59
|
end
|
data/lib/rumai/wm.rb
CHANGED
@@ -950,18 +950,18 @@ module Rumai
|
|
950
950
|
rising, num_summit_clients, falling = calculate_equilateral_triangle
|
951
951
|
|
952
952
|
# distribute extra clients in the middle
|
953
|
-
summit =
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
end
|
964
|
-
|
953
|
+
summit = []
|
954
|
+
if num_summit_clients > 0
|
955
|
+
split = num_summit_clients / 2
|
956
|
+
carry = num_summit_clients % 2
|
957
|
+
summit = [split, carry, split].reject(&:zero?)
|
958
|
+
|
959
|
+
# one client per column cannot be considered as "tiling" so squeeze
|
960
|
+
# these singular columns together to create one giant middle column
|
961
|
+
if summit.length == num_summit_clients
|
962
|
+
summit = [num_summit_clients]
|
963
|
+
end
|
964
|
+
end
|
965
965
|
|
966
966
|
arrange_columns rising + summit + falling, :default
|
967
967
|
end
|
data/man/man1/rumai.1
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: rumai
|
3
3
|
.\" Author: [see the "AUTHORS" section]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
5
|
-
.\" Date: 2011-
|
5
|
+
.\" Date: 2011-04-21
|
6
6
|
.\" Manual: \ \&
|
7
|
-
.\" Source: \ \& 4.1.
|
7
|
+
.\" Source: \ \& 4.1.2
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "RUMAI" "1" "2011\-
|
10
|
+
.TH "RUMAI" "1" "2011\-04\-21" "\ \& 4\&.1\&.2" "\ \&"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -747,13 +747,13 @@ b\&.exist? #=> false
|
|
747
747
|
.SH "HACKING"
|
748
748
|
.SS "Prerequisites"
|
749
749
|
.sp
|
750
|
-
Install Ruby libraries necessary for development:
|
750
|
+
Install Ruby libraries necessary for development using [Bundler]:
|
751
751
|
.sp
|
752
752
|
.if n \{\
|
753
753
|
.RS 4
|
754
754
|
.\}
|
755
755
|
.nf
|
756
|
-
|
756
|
+
bundle install
|
757
757
|
.fi
|
758
758
|
.if n \{\
|
759
759
|
.RE
|
@@ -839,7 +839,7 @@ set \-x RUBYOPT \-rubygems # fish
|
|
839
839
|
.\}
|
840
840
|
.SS "Running tests"
|
841
841
|
.sp
|
842
|
-
Simply execute the included test runner, which sets up Ruby\(cqs $LOAD_PATH for testing, loads the test/
|
842
|
+
Simply execute the included test runner, which sets up Ruby\(cqs $LOAD_PATH for testing, loads the included test/test_helper\&.rb file, and then evaluates all test/**/*_test\&.rb files:
|
843
843
|
.sp
|
844
844
|
.if n \{\
|
845
845
|
.RS 4
|
@@ -851,11 +851,14 @@ ruby test/runner
|
|
851
851
|
.RE
|
852
852
|
.\}
|
853
853
|
.sp
|
854
|
-
Its exit status will indicate whether all tests have passed\&. It may also print additional pass/fail information depending on the testing library used in the test/
|
854
|
+
Its exit status will indicate whether all tests have passed\&. It may also print additional pass/fail information depending on the testing library used in the test/test_helper\&.rb file\&.
|
855
855
|
.SS "Contributing"
|
856
856
|
.sp
|
857
857
|
\m[blue]\fBFork this project on GitHub\fR\m[] and send a pull request\&.
|
858
858
|
.SH "HISTORY"
|
859
|
+
.SS "Version 4\&.1\&.2 (2011\-04\-21)"
|
860
|
+
.sp
|
861
|
+
This release fixes a bug in the inward automated client arrangement where clients in the middle column were divided into separate columns when they really should have been in the same column\&.
|
859
862
|
.SS "Version 4\&.1\&.1 (2011\-03\-28)"
|
860
863
|
.sp
|
861
864
|
This release fixes bugs in the inward & outward automated client arrangements\&.
|
@@ -2106,9 +2109,17 @@ lt lt
|
|
2106
2109
|
lt lt
|
2107
2110
|
lt lt
|
2108
2111
|
lt lt
|
2112
|
+
lt lt
|
2109
2113
|
lt lt.
|
2110
2114
|
T{
|
2111
2115
|
.sp
|
2116
|
+
[Bundler]
|
2117
|
+
T}:T{
|
2118
|
+
.sp
|
2119
|
+
\m[blue]\fBhttp://gembundler\&.com\fR\m[]
|
2120
|
+
T}
|
2121
|
+
T{
|
2122
|
+
.sp
|
2112
2123
|
[Inochi]
|
2113
2124
|
T}:T{
|
2114
2125
|
.sp
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rumai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 4.1.
|
5
|
+
version: 4.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Suraj N. Kurapati
|
@@ -10,37 +10,9 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
|
15
|
-
|
16
|
-
- !ruby/object:Gem::Dependency
|
17
|
-
name: inochi
|
18
|
-
prerelease: false
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
|
-
requirements:
|
22
|
-
- - ">="
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 5.0.2
|
25
|
-
- - <
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: "6"
|
28
|
-
type: :development
|
29
|
-
version_requirements: *id001
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: detest
|
32
|
-
prerelease: false
|
33
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ">="
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 3.1.0
|
39
|
-
- - <
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: "4"
|
42
|
-
type: :development
|
43
|
-
version_requirements: *id002
|
13
|
+
date: 2011-04-21 00:00:00 Z
|
14
|
+
dependencies: []
|
15
|
+
|
44
16
|
description: Rumai is a pure [Ruby] interface to the [wmii] window manager. Its name
|
45
17
|
is a portmanteau of "Ruby" and "wmii", which I pronounce as "vim eye".
|
46
18
|
email:
|
47
19
|
executables:
|
@@ -60,9 +32,7 @@ files:
|
|
60
32
|
- lib/rumai/fs.rb
|
61
33
|
- lib/rumai/wm.rb
|
62
34
|
- LICENSE
|
63
|
-
- CREDITS
|
64
35
|
- man/man1/rumai.1
|
65
|
-
has_rdoc: true
|
66
36
|
homepage: http://snk.tuxfamily.org/lib/rumai/
|
67
37
|
licenses: []
|
68
38
|
|
@@ -86,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
56
|
requirements: []
|
87
57
|
|
88
58
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.7.2
|
90
60
|
signing_key:
|
91
61
|
specification_version: 3
|
92
62
|
summary: Ruby interface to the wmii window manager
|