rukuli 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79bcc51a1ba07f799f46d15d579e03cc5f239fc1
4
- data.tar.gz: 65a8c98c4ba3e54433c2379e5a4818593cd33a81
3
+ metadata.gz: c6d13d4e876eec80bca0d3a8621fb7cff9ee09de
4
+ data.tar.gz: f7496c3881d13ecad36a322f0b547d1cdc9b0a77
5
5
  SHA512:
6
- metadata.gz: 0a821a6a259c5587cba8d0ade7608a68928dc2a34d4c909c4e512576d5777fbaca20bcb627866a4db9ed6f82f1f53c1cc754b9f2c41b43c314a68a8b0c92a428
7
- data.tar.gz: a7fb19df115ec199224408e31c6ed0623d0034c1415f912ebc7f6206456a59d7ec28dbf9cc7136a87248b364f8223b5c02f5276393352905668f0ba4aaac87bb
6
+ metadata.gz: 68d498d450e6c4b010f7837d26da4d44cc7e30fa7ff06adae373f75280eebce69c7a4d123fff46afe104372a315eec01c1791621facdacc838f3c4afb8b0be78
7
+ data.tar.gz: 210821607fc3d273936b9caac7af579e63761ddf33154efff5314eda94e1bd0a0663dc9d9a0861dcad46d3cbb26ea186eff9255f984e0c856d5e866588bc9c7b
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/README.md CHANGED
@@ -1,28 +1,30 @@
1
1
  # Rukuli
2
2
 
3
3
  [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/andreanastacio/rukuli/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
4
+ [![Code Climate](https://codeclimate.com/github/andreanastacio/Rukuli.png)](https://codeclimate.com/github/andreanastacio/Rukuli)
4
5
 
5
6
  This project is a fork of [sikuli_ruby](https://github.com/chaslemley/sikuli_ruby)!
6
7
 
7
- [Sikuli](http://sikuli.org/) allows you to interact with your application's user interface using image based search to automate user actions.
8
+ [SikuliX](http://www.sikulix.com/) allows you to interact with your application's user interface using image based search to automate user actions.
8
9
 
9
10
  ## Requirements
10
- * [Sikuli-Script 1.0.1](https://launchpad.net/sikuli/+download) (Install Sikuli-Script via sikuli-setup.jar)
11
+
12
+ * [SikuliX 1.0.1](https://launchpad.net/sikuli/+download) (Install sikuli-java.jar (option 4) via sikuli-setup.jar)
11
13
  * [JRuby](http://jruby.org/download) or ```rvm install jruby```
12
14
 
13
15
  ## Compatibility
14
16
 
15
- Make sure to set SIKULI_HOME to the Sikuli installation directory and to add the Sikuli installation directory and Sikuli libs directory to the include path.
17
+ Make sure to set SIKULIX_HOME to the Sikuli installation directory.
16
18
 
17
19
  ### Windows
18
20
 
19
21
  ```
20
- setx SIKULI_HOME C:/path/to/sikuli-script.jar
22
+ setx SIKULIX_HOME C:/path/to/folder-containing-sikuli-java.jar
21
23
  ```
22
24
 
23
25
  ### Linux / OSX
24
26
  ```bash
25
- export SIKULI_HOME="~/path/to/sikuli-script.jar"
27
+ export SIKULIX_HOME="~/path/to/folder-containing-sikuli-java.jar"
26
28
  ```
27
29
 
28
30
  # Installation
data/lib/rukuli.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "rukuli/platform"
2
- require Rukuli::Platform.sikuli_script_path
2
+ require Rukuli::Platform.sikulix_path
3
3
  require "rukuli/version"
4
4
 
5
5
  require "rukuli/app"
@@ -1,10 +1,10 @@
1
1
  module Rukuli
2
2
  class Platform
3
3
 
4
- def self.sikuli_script_path
5
- path = "#{ENV['SIKULI_HOME']}"
6
- if ENV['SIKULI_HOME'].nil?
7
- raise LoadError, "Failed to load 'sikuli-script.jar'\nMake sure SIKULI_HOME is set!"
4
+ def self.sikulix_path
5
+ path = "#{ENV['SIKULIX_HOME']}"
6
+ if ENV['SIKULIX_HOME'].nil?
7
+ raise LoadError, "Failed to load 'sikuli-java.jar'\nMake sure SIKULI_HOME is set!"
8
8
  end
9
9
  path
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Rukuli
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/rukuli.gemspec CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
6
6
  s.add_development_dependency "rspec"
7
7
  s.name = "rukuli"
8
8
  s.version = Rukuli::VERSION
9
- s.authors = ["Chas Lemley"]
10
- s.email = ["chas.lemley@gmail.com"]
9
+ s.authors = ["Chas Lemley", "André Anastácio"]
10
+ s.email = ["andreluisanastacio@gmail.com"]
11
11
  s.homepage = "https://github.com/andreanastacio/rukuli"
12
12
  s.summary = %q{Ruby wrapper for Sikuli GUI automation library}
13
13
  s.description = %q{Sikuli allows you to interact with your application's user interface using image based search to automate user actions.}
metadata CHANGED
@@ -1,37 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rukuli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chas Lemley
8
- autorequire:
8
+ - André Anastácio
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-01-19 00:00:00.000000000 Z
12
+ date: 2014-02-26 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rspec
15
- version_requirements: !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - '>='
18
19
  - !ruby/object:Gem::Version
19
20
  version: '0'
20
- requirement: !ruby/object:Gem::Requirement
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
21
24
  requirements:
22
25
  - - '>='
23
26
  - !ruby/object:Gem::Version
24
27
  version: '0'
25
- prerelease: false
26
- type: :development
27
- description: Sikuli allows you to interact with your application's user interface using image based search to automate user actions.
28
+ description: Sikuli allows you to interact with your application's user interface
29
+ using image based search to automate user actions.
28
30
  email:
29
- - chas.lemley@gmail.com
31
+ - andreluisanastacio@gmail.com
30
32
  executables: []
31
33
  extensions: []
32
34
  extra_rdoc_files: []
33
35
  files:
34
36
  - .gitignore
37
+ - .rspec
35
38
  - Gemfile
36
39
  - License.txt
37
40
  - README.md
@@ -65,7 +68,7 @@ files:
65
68
  homepage: https://github.com/andreanastacio/rukuli
66
69
  licenses: []
67
70
  metadata: {}
68
- post_install_message:
71
+ post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
71
74
  - lib
@@ -81,8 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
84
  version: '0'
82
85
  requirements: []
83
86
  rubyforge_project: rukuli
84
- rubygems_version: 2.1.9
85
- signing_key:
87
+ rubygems_version: 2.0.3
88
+ signing_key:
86
89
  specification_version: 4
87
90
  summary: Ruby wrapper for Sikuli GUI automation library
88
91
  test_files: