bind-it 0.2.4-java → 0.2.5-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  # BindIt is a tool to facilitate the creation of Java bindings in Ruby.
2
2
  module BindIt
3
3
 
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  require 'bind-it/binding'
6
6
 
7
7
  end
@@ -77,7 +77,7 @@ module BindIt
77
77
  # JARs are loaded before.
78
78
  def load_class(klass, base = nil, rename = nil)
79
79
  base ||= self.default_namespace
80
- self.load unless self.bound
80
+ self.bind unless self.bound
81
81
  self.load_klass(klass, base, rename)
82
82
  end
83
83
 
@@ -17,7 +17,8 @@ module BindIt
17
17
  # Load a JAR through Jruby/Rjb.
18
18
  def self.load(jar, path)
19
19
  if !::File.readable?(path + jar)
20
- raise "Could not find JAR file (looking in #{jar})."
20
+ raise "Could not find JAR file " +
21
+ "(looking in #{path}#{jar})."
21
22
  end
22
23
  if RUBY_PLATFORM =~ /java/
23
24
  set_java_logging if self.log_file
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bind-it
3
3
  version: !ruby/object:Gem::Version
4
+ version: 0.2.5
4
5
  prerelease:
5
- version: 0.2.4
6
6
  platform: java
7
7
  authors:
8
8
  - Louis Mullie
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-22 00:00:00.000000000 Z
12
+ date: 2012-12-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! ' BindIt is a thin wrapper over the Ruby-Java-Bridge (Rjb) to facilitate
15
15
  the creation of Java bindings in Ruby. '