bind-it 0.2.4 → 0.2.5

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.
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bind-it
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
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
  - !ruby/object:Gem::Dependency
15
15
  name: rjb