rukuli 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rukuli/key_code.rb +2 -1
- data/lib/rukuli/platform.rb +1 -1
- data/lib/rukuli/typeable.rb +1 -1
- data/lib/rukuli/version.rb +1 -1
- data/spec/rukuli/typeable_spec.rb +4 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76f13492ca5ed8e15dcb6aaca33ee5a608d3098e
|
4
|
+
data.tar.gz: 581127c00256e825a7c15f3e3631a028ad3df715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6af83acc9f442cc43614a7e6fdc58f3c9894f350171c31079b7d6d37c1f38f795ceeb5cd6d9f161faa387e79944b99d758f0396428066970babe705127b767d
|
7
|
+
data.tar.gz: e708294c7642e3887def93c16613347f45cfb45e4de496bdbf5cde5d08ebc27049ff18baf07b16e5d8c9b8c58a31bac83edb90947565ef830abe0360130ad6f1
|
data/lib/rukuli/key_code.rb
CHANGED
@@ -11,9 +11,10 @@ module Rukuli
|
|
11
11
|
KEY_SHIFT = KeyModifier::SHIFT
|
12
12
|
KEY_CTRL = KeyModifier::CTRL
|
13
13
|
KEY_ALT = KeyModifier::ALT
|
14
|
-
|
14
|
+
|
15
15
|
KEY_BACKSPACE = Key::BACKSPACE
|
16
16
|
KEY_RETURN = Key::ENTER
|
17
|
+
KEY_ESC = Key::ESC
|
17
18
|
LEFT_ARROW = Key::LEFT
|
18
19
|
RIGHT_ARROW = Key::RIGHT
|
19
20
|
UP_ARROW = Key::UP
|
data/lib/rukuli/platform.rb
CHANGED
@@ -4,7 +4,7 @@ module Rukuli
|
|
4
4
|
def self.sikulix_path
|
5
5
|
path = "#{ENV['SIKULIX_HOME']}"
|
6
6
|
if ENV['SIKULIX_HOME'].nil?
|
7
|
-
raise LoadError, "Failed to load 'sikuli-java.jar'\nMake sure
|
7
|
+
raise LoadError, "Failed to load 'sikuli-java.jar'\nMake sure SIKULIX_HOME is set!"
|
8
8
|
end
|
9
9
|
path
|
10
10
|
end
|
data/lib/rukuli/typeable.rb
CHANGED
data/lib/rukuli/version.rb
CHANGED
@@ -16,6 +16,10 @@ describe Rukuli::Region, "#Typeable" do
|
|
16
16
|
@region.type("this should be lower case")
|
17
17
|
@region.type("this should be upper case", Rukuli::KEY_SHIFT)
|
18
18
|
end
|
19
|
+
|
20
|
+
it "types and presses enter" do
|
21
|
+
@region.enter("this should be followed by the enter key")
|
22
|
+
end
|
19
23
|
end
|
20
24
|
|
21
25
|
context "unicode characters" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rukuli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chas Lemley
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
description: Sikuli allows you to interact with your application's user interface
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- .gitignore
|
37
|
-
- .rspec
|
36
|
+
- ".gitignore"
|
37
|
+
- ".rspec"
|
38
38
|
- Gemfile
|
39
39
|
- License.txt
|
40
40
|
- README.md
|
@@ -74,17 +74,17 @@ require_paths:
|
|
74
74
|
- lib
|
75
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project: rukuli
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.2.2
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Ruby wrapper for Sikuli GUI automation library
|