swt 0.8-java → 0.9-java
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +16 -3
- data/lib/swt/full.rb +12 -0
- data/lib/swt/{jar.rb → jar_loader.rb} +9 -5
- data/lib/swt/minimal.rb +2 -11
- data/lib/swt/swt_bot_extensions.rb +6 -0
- data/vendor/swt/swt-linux32.jar +0 -0
- data/vendor/swt/swt-linux64.jar +0 -0
- data/vendor/{swt_osx_3_7.jar → swt/swt-osx32.jar} +0 -0
- data/vendor/swt/swt-osx64.jar +0 -0
- data/vendor/swt/swt-win32.jar +0 -0
- data/vendor/swt/swt-win64.jar +0 -0
- metadata +60 -66
- data/vendor/swt_linux.jar +0 -0
- data/vendor/swt_linux64.jar +0 -0
- data/vendor/swt_osx64.jar +0 -0
- data/vendor/swt_win32.jar +0 -0
data/LICENSE
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
All files in the
|
2
|
-
terms and conditions of the Eclipse Public License Version 1.0
|
3
|
-
A copy of the EPL is available at
|
1
|
+
All files in the directories "vendor/swt" and "vendor/jface" are provided to
|
2
|
+
you under the terms and conditions of the Eclipse Public License Version 1.0
|
3
|
+
("EPL"). A copy of the EPL is available at
|
4
|
+
http://www.eclipse.org/legal/epl-v10.html
|
5
|
+
|
6
|
+
Other files:
|
7
|
+
|
8
|
+
* All org.eclipse.swtbot.*.jar files are also provided under the EPL.
|
9
|
+
|
10
|
+
* The file org.apache.log4j.*.jar is provided under the Apache License 2.0,
|
11
|
+
a copy of which is available here:
|
12
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
|
14
|
+
* All org.hamcrest.*.jar files are provided under the BSD license, a copy
|
15
|
+
of which is available here:
|
16
|
+
http://code.google.com/p/hamcrest/source/browse/trunk/hamcrest-java/LICENSE.txt
|
4
17
|
|
5
18
|
Unless specified in the file itself, the contents of all other files in this
|
6
19
|
repository are provided to you under the following license (MIT):
|
data/lib/swt/full.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'swt/swt_bot_extensions'
|
1
2
|
|
2
3
|
module Swt
|
3
4
|
import org.eclipse.swt.SWT
|
@@ -86,6 +87,17 @@ module Swt
|
|
86
87
|
class Browser
|
87
88
|
import org.eclipse.swt.browser.BrowserFunction
|
88
89
|
end
|
90
|
+
|
91
|
+
def self.bot
|
92
|
+
@bot ||= begin
|
93
|
+
Dir[File.expand_path("../../../vendor/swtbot", __FILE__) + "/*.jar"].each do |fn|
|
94
|
+
require fn
|
95
|
+
end
|
96
|
+
bot = org.eclipse.swtbot.swt.finder.SWTBot.new
|
97
|
+
bot.extend SwtBotExtensions
|
98
|
+
bot
|
99
|
+
end
|
100
|
+
end
|
89
101
|
end
|
90
102
|
|
91
103
|
module JFace
|
@@ -9,18 +9,22 @@ module Swt
|
|
9
9
|
case Config::CONFIG["host_os"]
|
10
10
|
when /darwin/i
|
11
11
|
if Config::CONFIG["host_cpu"] == "x86_64"
|
12
|
-
'../../../vendor/
|
12
|
+
'../../../vendor/swt/swt-osx64'
|
13
13
|
else
|
14
|
-
'../../../vendor/
|
14
|
+
'../../../vendor/swt/swt-osx32'
|
15
15
|
end
|
16
16
|
when /linux/i
|
17
17
|
if %w(amd64 x84_64).include? Config::CONFIG["host_cpu"]
|
18
|
-
'../../../vendor/
|
18
|
+
'../../../vendor/swt/swt-linux64'
|
19
19
|
else
|
20
|
-
'../../../vendor/
|
20
|
+
'../../../vendor/swt/swt-linux32'
|
21
21
|
end
|
22
22
|
when /windows|mswin/i
|
23
|
-
|
23
|
+
if %w(amd64 x84_64).include? Config::CONFIG["host_cpu"]
|
24
|
+
'../../../vendor/swt/swt-win64'
|
25
|
+
else
|
26
|
+
'../../../vendor/swt/swt-win32'
|
27
|
+
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
|
data/lib/swt/minimal.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
require 'swt/
|
2
|
+
require 'swt/jar_loader'
|
3
3
|
require 'swt/event_loop'
|
4
4
|
require 'swt/cucumber_runner'
|
5
5
|
|
6
6
|
module Swt
|
7
|
-
VERSION = "0.
|
7
|
+
VERSION = "0.9" # also change in swt.gemspec
|
8
8
|
|
9
9
|
import org.eclipse.swt.SWT
|
10
10
|
|
@@ -104,15 +104,6 @@ module Swt
|
|
104
104
|
|
105
105
|
display.dispose
|
106
106
|
end
|
107
|
-
|
108
|
-
def self.bot
|
109
|
-
@bot ||= begin
|
110
|
-
Dir[File.expand_path("../../../vendor/swtbot", __FILE__) + "/*.jar"].each do |fn|
|
111
|
-
require fn
|
112
|
-
end
|
113
|
-
org.eclipse.swtbot.swt.finder.SWTBot.new
|
114
|
-
end
|
115
|
-
end
|
116
107
|
end
|
117
108
|
|
118
109
|
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,90 +1,84 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: swt
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.9'
|
4
5
|
prerelease:
|
5
|
-
version: "0.8"
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Daniel Lucraft
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-08-04 00:00:00 -04:00
|
12
|
+
date: 2011-08-23 00:00:00.000000000 +01:00
|
14
13
|
default_executable:
|
15
14
|
dependencies: []
|
16
|
-
|
17
15
|
description: Includes SWT jars and imports SWT classes into Ruby.
|
18
|
-
email:
|
19
|
-
|
20
|
-
executables:
|
21
|
-
|
16
|
+
email:
|
17
|
+
- dan@fluentradical.com
|
18
|
+
executables:
|
19
|
+
- swt_cucumber
|
22
20
|
extensions: []
|
23
|
-
|
24
21
|
extra_rdoc_files: []
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
22
|
+
files:
|
23
|
+
- bin/swt_cucumber
|
24
|
+
- lib/swt/cucumber_patches.rb
|
25
|
+
- lib/swt/cucumber_runner.rb
|
26
|
+
- lib/swt/event_loop.rb
|
27
|
+
- lib/swt/full.rb
|
28
|
+
- lib/swt/grid_data.rb
|
29
|
+
- lib/swt/jar_loader.rb
|
30
|
+
- lib/swt/minimal.rb
|
31
|
+
- lib/swt/swt_bot_extensions.rb
|
32
|
+
- lib/swt.rb
|
33
|
+
- LICENSE
|
34
|
+
- README.md
|
35
|
+
- vendor/jface/org.eclipse.core.commands.jar
|
36
|
+
- vendor/jface/org.eclipse.core.jobs.jar
|
37
|
+
- vendor/jface/org.eclipse.core.resources.jar
|
38
|
+
- vendor/jface/org.eclipse.core.runtime_3.5.0.v20090525.jar
|
39
|
+
- vendor/jface/org.eclipse.equinox.common.jar
|
40
|
+
- vendor/jface/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
|
41
|
+
- vendor/jface/org.eclipse.jface.jar
|
42
|
+
- vendor/jface/org.eclipse.jface.text_3.5.0.jar
|
43
|
+
- vendor/jface/org.eclipse.osgi.jar
|
44
|
+
- vendor/jface/org.eclipse.text_3.5.0.v20090513-2000.jar
|
45
|
+
- vendor/swt/swt-linux32.jar
|
46
|
+
- vendor/swt/swt-linux64.jar
|
47
|
+
- vendor/swt/swt-osx32.jar
|
48
|
+
- vendor/swt/swt-osx64.jar
|
49
|
+
- vendor/swt/swt-win32.jar
|
50
|
+
- vendor/swt/swt-win64.jar
|
51
|
+
- vendor/swtbot/org.apache.log4j_1.2.13.v200903072027.jar
|
52
|
+
- vendor/swtbot/org.eclipse.swtbot.junit4_x_2.0.4.20110304_0338-e5aff47-dev-e36.jar
|
53
|
+
- vendor/swtbot/org.eclipse.swtbot.swt.finder_2.0.4.20110304_0338-e5aff47-dev-e36.jar
|
54
|
+
- vendor/swtbot/org.hamcrest.core_1.1.0.v20090501071000.jar
|
55
|
+
- vendor/swtbot/org.hamcrest.integration_1.1.0.v20090501071000.jar
|
56
|
+
- vendor/swtbot/org.hamcrest.library_1.1.0.v20090501071000.jar
|
57
|
+
- vendor/swtbot/org.hamcrest.text_1.1.0.v20090501071000.jar
|
58
|
+
- vendor/swtbot/org.hamcrest_1.1.0.v20090501071000.jar
|
61
59
|
has_rdoc: true
|
62
60
|
homepage: http://github.com/danlucraft/swt
|
63
61
|
licenses: []
|
64
|
-
|
65
62
|
post_install_message:
|
66
63
|
rdoc_options: []
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
require_paths:
|
65
|
+
- lib
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
67
|
none: false
|
72
|
-
requirements:
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
73
|
none: false
|
78
|
-
requirements:
|
79
|
-
|
80
|
-
|
81
|
-
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
82
78
|
requirements: []
|
83
|
-
|
84
79
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.
|
80
|
+
rubygems_version: 1.6.2
|
86
81
|
signing_key:
|
87
82
|
specification_version: 3
|
88
83
|
summary: The SWT library available to JRuby.
|
89
84
|
test_files: []
|
90
|
-
|
data/vendor/swt_linux.jar
DELETED
Binary file
|
data/vendor/swt_linux64.jar
DELETED
Binary file
|
data/vendor/swt_osx64.jar
DELETED
Binary file
|
data/vendor/swt_win32.jar
DELETED
Binary file
|