epitools 0.5.122 → 0.5.123
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/epitools/core_ext/string.rb +7 -0
- data/lib/epitools/numwords.rb +1 -1
- data/lib/epitools/wm.rb +0 -17
- data/spec/core_ext_spec.rb +0 -38
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11a6ae70a9142d18e741ba903f803f7977d0281db3478fb2c39b32d53044d0ed
|
4
|
+
data.tar.gz: 5dea125fb921bb2ad59c08fa7ffc6f32f03c3fafd03736ea124b4c5a72c2ff09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da43a98210212a18a6837a53951ac813ccc2a41f64900e559c352ef0f40ea84764671a7148e2dc8a642331d0b1c0fa73d164f19a9fc06135d40a3a35abfb3d7f
|
7
|
+
data.tar.gz: b32f798ac765857e2490fc9ee7f78f5c251e0a53658493f203c06dbb30df4f7e77fb023b8fa865951ed12036be2c638ce2ac8aef20fee430e5ec1f6bc2797957
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.123
|
data/lib/epitools/numwords.rb
CHANGED
data/lib/epitools/wm.rb
CHANGED
@@ -106,23 +106,6 @@ module WM
|
|
106
106
|
system "wmctrl", "-i", "-a", window_id
|
107
107
|
end
|
108
108
|
|
109
|
-
def maximized?
|
110
|
-
end
|
111
|
-
|
112
|
-
def maximize!
|
113
|
-
system "wmctrl", "-i", "-a", window_id
|
114
|
-
end
|
115
|
-
|
116
|
-
|
117
|
-
def unmazimize!
|
118
|
-
end
|
119
|
-
|
120
|
-
def minimized?
|
121
|
-
end
|
122
|
-
|
123
|
-
def minimize!
|
124
|
-
end
|
125
|
-
|
126
109
|
#
|
127
110
|
# string is made up of regular text, plus <>'d keypresses
|
128
111
|
# eg: "Hello<Ctrl-T><Ctrl-L><Ctrl-Shift-K><Return>!!!"
|
data/spec/core_ext_spec.rb
CHANGED
@@ -147,44 +147,6 @@ describe Class do
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
it "traces messages (when $DEBUG is set)" do
|
151
|
-
$DEBUG = true
|
152
|
-
|
153
|
-
class TestButt
|
154
|
-
trace_messages_to :a, :b, :c
|
155
|
-
|
156
|
-
def a(x)
|
157
|
-
end
|
158
|
-
|
159
|
-
def b(x)
|
160
|
-
end
|
161
|
-
|
162
|
-
def c(x,y,z,&block)
|
163
|
-
end
|
164
|
-
end
|
165
|
-
|
166
|
-
class ButtTest
|
167
|
-
trace_messages_to :*
|
168
|
-
|
169
|
-
def d
|
170
|
-
end
|
171
|
-
|
172
|
-
def e
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
t = TestButt.new
|
177
|
-
t.a(1)
|
178
|
-
t.b(2)
|
179
|
-
t.c(3,4,5) { :butt }
|
180
|
-
|
181
|
-
b = ButtTest.new
|
182
|
-
b.a
|
183
|
-
b.b
|
184
|
-
|
185
|
-
$DEBUG = false
|
186
|
-
end
|
187
|
-
|
188
150
|
end
|
189
151
|
|
190
152
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epitools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.123
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- epitron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|