swt 0.2-java → 0.3-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/swt/jar.rb +1 -3
  2. data/lib/swt/minimal.rb +1 -1
  3. metadata +2 -2
data/lib/swt/jar.rb CHANGED
@@ -22,10 +22,8 @@ module Swt
22
22
 
23
23
  path = File.expand_path(File.dirname(__FILE__) + "/../" + Swt.jar_path)
24
24
  if File.exist?(path + ".jar")
25
- puts "loading #{Swt.jar_path}"
26
25
  require path
27
26
  else
28
- puts "SWT jar file required: #{path}.jar"
29
- exit
27
+ raise "SWT jar file required: #{path}.jar"
30
28
  end
31
29
  end
data/lib/swt/minimal.rb CHANGED
@@ -4,7 +4,7 @@ require 'swt/event_loop'
4
4
  require 'swt/cucumber_runner'
5
5
 
6
6
  module Swt
7
- VERSION = "0.2"
7
+ VERSION = "0.3"
8
8
 
9
9
  import org.eclipse.swt.SWT
10
10
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: swt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.2"
5
+ version: "0.3"
6
6
  platform: java
7
7
  authors:
8
8
  - Daniel Lucraft
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-11 00:00:00 +01:00
13
+ date: 2011-06-12 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies: []
16
16